Although research consistently points to poorer teacher-student relationships for boys than girls, there are no studies that take into account the effects of teacher gender and control for possible measurement non-invariance across student and teacher gender. This study addressed both issues. The sample included 649 primary school teachers (182 men) and 1493 students (685 boys). Teachers completed a slightly adapted version of the Student-Teacher Relationship Scale. The results indicated limited measurement non-invariance in teacher reports. Female teachers reported better (i.e., more close, less conflictual, and less dependent) relationships with students than male teachers. In addition, both male and female teachers reported more conflictual relationships with boys than with girls, and female teachers also reported less close relationships with boys than with girls. The findings challenge society's presumption that male teachers have better relationships with boys than women teachers. © 2012 Society for the Study of School Psychology.