Musselburgh Grammar School a state-funded secondary school in Musselburgh, East Lothian, Scotland. It serves as the main secondary school for Musselburgh and the surrounding areas of Wallyford and Whitecraig. The school dates back to the sixteenth century, and the present building was erected in 1835. Until the 1950s, Musselburgh Grammar was a fee-paying school. In 2005, the school's roll was 1310. Jodie Hannan is the current head teacher.