On 1 May 1867 the Macmerry branch was opened as far as Ormiston, and the entire Macmerry branch was opened on 19 March 1869.
As yet no passenger trains were running; it was not until 1872 that passenger trains from Macmerry to Edinburgh started running, from 1 May; there were three trains a day, six days a week.