The ageing building is set to be demolished to make way for a new joint campus between St Mary's and Haddington Infant School, due to open on the existing site in October 2012.
The school, which was founded in 1869, held a number of events to celebrate - including saying farewell to Kenny McCrorie, the school's janitor of eight years, who departed for St Gabriel's Primary School in Prestonpans.
On June 22, an 'End of an Era' exhibition of the school archives took place, with photographs and other paperwork on display. This was well attended by pupils and families, past and present.
June 23 was Mr McCrorie's last day. Anne Bisset, headteacher, spoke on behalf of the school in wishing him a fond farewell, while a spokesperson said: "Mr McCrorie is, quite simply, the best janitor a school could possibly ask for and will be greatly missed."
A presentation of cards, framed photographs and vouchers was made to the janitor.
The presentation was preceded by a mass, lead by Canon James Friel, and a final school assembly - attended by pupils, staff, and a number of parents, past pupils and invited guests.
On June 24, the school held a 'Dig and Donate' event - when parents and pupils could dig up any bulbs, flowers, trees and shrubs from the school playground and take them away to a new home for a small donation.
Last Thursday, a removal team arrived while the school enjoyed a day out to East Links Family Park in Dunbar, before its doors closed for the last time at 12.35pm last Friday.
Work to erect the new primary school is due to begin this summer after planning permission was granted for the state-of-the-art building.