This study seeks to understand the emotional connection of teachers' academically productive talk (APT) with student learning from the students' perspective. Using a sample of 2,225 students (N 7th grade = 1,146 and N 8th grade = 1,079) from 16 middle schools in a city of China, we investigate the relationship between students' perceptions of their teachers' APT, student emotions (enjoyment and anxiety) and their discursive engagement with others in the mathematics classroom. Results from structural equation modelling and mediation analysis show that after controlling for gender, family resources and mathematics achievement, student-perceived teacher APT was positively associated with their discursive engagement with classmates. Furthermore, student enjoyment and anxiety in class mediated the relationship between student-perceived teacher APT and student discursive engagement with classmates. Multi-group analysis revealed that the model was invariant across genders and grades, indicating that the associations were applicable to male and female students as well as to seventh and eighth graders. These findings shed light on the emotional relationship of teacher APT with the discursive engagement of their students. Although prior research observes a positive relationship between teacher productive classroom talk and student discursive engagement primarily through classroom observations and teacher reflections, this study provides evidence from the students' perspective and highlights the mediating role of student emotions in the relationship.Although past studies from the perspectives of teachers and researchers show how teachers' guidance of productive classroom talk supports students' cognitive processes, few have investigated the social and emotional relationship between teacher talk and student classroom engagement from the perspective of students. To fill this gap, this study examines how students' perceptions of the teacher's use of classroom talk are linked to their emotions (enjoyment and anxiety) and discursive engagement with classmates. Specifically, we examine the academically productive talk (APT) of teachers from the students' perspective. APT is a form of dialogic instruction that teachers use to position students as active thinkers in classroom conversations (Michaels & O'Connor, 2015;Resnick et al., 2015).