Tranent to Cockenzie Waggonway

Tranent to Cockenzie Waggonway on an engraving by J. Gellatly (ca.1840)

The Tranent to Cockenzie Waggonway was an early waggonway, possibly the first in Scotland, opened in 1722. It was 2+12 miles (4 km) miles long and connected coal pits at Tranent with the salt pans at Cockenzie and harbour at Port Seton in East Lothian, Scotland. The track was wooden, and wagons were drawn by horses. The Battle of Prestonpans in 1745 was fought across the line.

It was converted to use iron rails in 1815, and was connected to the new main line North British Railway from 1846, later becoming superseded by a branch line of that railway. A section of the original line of route was still in railway use until 1968. Some of the route can be traced at the present day.