Dalkeith High School was previously the historic Dalkeith Grammar School. A list of masters of the Grammar School at Dalkeith (located on the High Street) commences at 1582. No other reference is made to the age of the school.
Dalkeith High School and Dalkeith Grammar School share a common history, with the former taking over from the latter. The school's founding date is 1582.