During the 2010-11 school year, there were a total of 192 students attending 10 classes in Montagny. A total of 351 students from the municipality attended any school, either in the municipality or outside of it. There was one kindergarten class with a total of 21 students in the municipality. The municipality had 9 primary classes and 171 students. During the same year, there were no lower secondary classes in the municipality, but 81 students attended lower secondary school in a neighboring municipality. There were no upper Secondary classes or vocational classes, but there were 4 upper Secondary students and 53 upper Secondary vocational students who attended classes in another municipality. The municipality had no non-university Tertiary classes, but there were 3 non-university Tertiary students and 5 specialized Tertiary students who attended classes in another municipality.