The classroom is the primary site for learning. A vital feature of classroom learning is the division of educational content into various disciplines. While disciplinary differences could substantially influence the learning process toward success, little is known about the neural mechanism underlying successful disciplinary learning. In the present study, wearable EEG devices were used to record a group of high school students during their classes of a soft (Chinese) and a hard (Math) discipline throughout one semester. Inter-brain coupling analysis was conducted to characterize students' classroom learning process. The students with higher scores in the Math final exam were found to have stronger inter-brain couplings to the class (i.e., all the other classmates), whereas the students with higher scores in Chinese were found to have stronger inter-brain couplings to the top students in the class. These differences in inter-brain couplings were also reflected in distinct dominant frequencies for the two disciplines. Our results illustrate disciplinary differences in the classroom learning from an inter-brain perspective, suggesting that an individual's inter-brain coupling to the class and to the top students could serve as potential neural correlates for successful learning in hard and soft disciplines correspondingly.