
Best public high schools in Massachusetts
As filmmaker and writer Nora Ephron said during a '96 commencement address at Wellesley College, "Your education is a dress rehearsal for a life that is yours to lead." If that's the case, high school may be one of the greatest dress rehearsals of all.
It's a place where students explore their interests, dive into extracurricular activities, finally get the freedom to choose their own classes, and prepare for college or the workplace. For many of these students and their families, public education is key: 49.4 million students enrolled in public pre-K-12 schools in fall 2021, according to the National Center for Education Statistics. Of those, about a third were in high school, enrolled across about 23,500 public secondary schools nationwide.
For many anxious parents, getting their kids into the best of these public high schools is of the utmost importance. Some families even move homes to get into better school districts. However, among all of these thousands of schools, a few stand out for their academic excellence, incredible track records, and the future success of their young students.
Stacker compiled a list of the 30 best public high schools in Massachusetts using 2023 rankings from Niche. Niche uses seven weighted factors for its rankings. A majority of the score is based on academics, but other factors include culture and diversity; sports; clubs and activities; resources; and surveys of parents, teachers, and students. School districts are provided when available; otherwise, the city is listed instead.

#30. Medfield Senior High School
- Enrollment: 750 (13:1 student to teacher ratio)
- Niche grade: Grade A

#29. Lynnfield High School
- Enrollment: 564 (12:1 student to teacher ratio)
- Niche grade: Grade A

#28. Advanced Math & Science Academy Charter School
- Enrollment: 965 (12:1 student to teacher ratio)
- Niche grade: Grade A

#27. The Bromfield School
- Enrollment: 573 (11:1 student to teacher ratio)
- Niche grade: Grade A

#26. Bedford High School
- Enrollment: 849 (11:1 student to teacher ratio)
- Niche grade: Grade A

#25. Amherst Regional High School
- Enrollment: 858 (12:1 student to teacher ratio)
- Niche grade: Grade A+

#24. Shrewsbury Senior High School
- Enrollment: 1,835 (15:1 student to teacher ratio)
- Niche grade: Grade A+

#23. Westwood High School
- Enrollment: 952 (10:1 student to teacher ratio)
- Niche grade: Grade A+

#22. Algonquin Regional High School
- Enrollment: 1,269 (11:1 student to teacher ratio)
- Niche grade: Grade A+

#21. Cambridge Rindge & Latin School
- Enrollment: 1,867 (9:1 student to teacher ratio)
- Niche grade: Grade A+

#20. Needham High School
- Enrollment: 1,669 (13:1 student to teacher ratio)
- Niche grade: Grade A+

#19. Sturgis Charter Public School
- Enrollment: 846 (9:1 student to teacher ratio)
- Niche grade: Grade A+

#18. Acton-Boxborough Regional High School
- Enrollment: 1,703 (13:1 student to teacher ratio)
- Niche grade: Grade A+

#17. Winchester High School
- Enrollment: 1,349 (14:1 student to teacher ratio)
- Niche grade: Grade A+

#16. Westford Academy
- Enrollment: 1,567 (13:1 student to teacher ratio)
- Niche grade: Grade A+

#15. Lincoln-Sudbury Regional High School
- Enrollment: 1,513 (12:1 student to teacher ratio)
- Niche grade: Grade A+

#14. Dover-Sherborn Regional High School
- Enrollment: 657 (12:1 student to teacher ratio)
- Niche grade: Grade A+

#13. Wayland High School
- Enrollment: 831 (11:1 student to teacher ratio)
- Niche grade: Grade A+

#12. Westborough High School
- Enrollment: 1,178 (12:1 student to teacher ratio)
- Niche grade: Grade A+

#11. Sharon High School
- Enrollment: 1,139 (11:1 student to teacher ratio)
- Niche grade: Grade A+

#10. Wellesley Senior High School
- Enrollment: 1,406 (12:1 student to teacher ratio)
- Niche grade: Grade A+

#9. Newton South High School
- Enrollment: 1,837 (12:1 student to teacher ratio)
- Niche grade: Grade A+

#8. Hopkinton High School
- Enrollment: 1,212 (14:1 student to teacher ratio)
- Niche grade: Grade A+

#7. Belmont High School
- Enrollment: 1,329 (16:1 student to teacher ratio)
- Niche grade: Grade A+

#6. Newton North High School
- Enrollment: 2,098 (11:1 student to teacher ratio)
- Niche grade: Grade A+

#5. Brookline High School
- Enrollment: 2,087 (11:1 student to teacher ratio)
- Niche grade: Grade A+

#4. Boston Latin School
- Enrollment: 2,416 (20:1 student to teacher ratio)
- Niche grade: Grade A+

#3. Weston High School
- Enrollment: 638 (11:1 student to teacher ratio)
- Niche grade: Grade A+

#2. Lexington High School
- Enrollment: 2,273 (12:1 student to teacher ratio)
- Niche grade: Grade A+

#1. MA Academy for Math & Science School
- Enrollment: 100 (14:1 student to teacher ratio)
- Niche grade: Grade A+
This story features data reporting and writing by Emma Rubin and is part of a series utilizing data automation across 50 states.