The Student–Teacher Relationship Scale (STRS) is widely used to examine teachers' relationships with young students in terms of closeness, conflict, and dependency. This study aimed to verify the dimensional structure of the STRS with confirmatory factor analysis, test its measurement invariance across child gender and age, improve its measurement of the dependency construct, and extend its age range. Teachers completed a slightly adapted STRS for a Dutch sample of 2335 children aged 3 to 12. Overall, the 3-factor model showed an acceptable fit. Results indicated metric invariance across gender and age up to 8 years. Scalar invariance generally did not hold. Lack of metric invariance at ages 8 to 12 primarily involved Conflict items, whereas scale differences across gender and age primarily involved Closeness items. The adapted Dependency scale showed strong invariance and higher internal consistencies than the original scale for this Dutch sample. Importantly, the revealed non-invariance for gender and age did not influence mean group comparisons.