We have a new bus service through the village numbered 111 or 122. Operated by Prentice Coaches, It is a council-supported service that provides a direct link from the village to the Royal infirmary in one direction and to Wallyford station and points east in the other. For further information and live tracking have a look at the Prentice Coaches page.
There is also the Lothian Buses number 40 service, which runs between Portobello and Penicuik. Timetable valid from October 2015.
Trains run from Wallyford and Musselburgh stations to Edinburgh Waverly and North Berwick. A timetable is available here.