The Caledonian Railway lines to Edinburgh started with the main line that reached Edinburgh in 1848 as part of its route connecting the city with Glasgow and Carlisle. The potential of the docks at Granton and Leith led to branch line extensions, and residential development encouraged branch lines in what became the suburbs of Edinburgh. In 1869 a line was opened from Carfin through Shotts giving the Caledonian a shorter route between Glasgow and Edinburgh.
In the twentieth century the industrial decline of the areas served resulted in closures. However the main line from Carstairs and the Glasgow route through Shotts have increased their passenger services considerably, and some reopenings of stations have taken place.
The Caledonian Railway entered Edinburgh on 15 February 1848 when it opened its Edinburgh line from Carstairs to a terminus at Lothian Road. A locomotive depot was established at Dalry Road. This completed the first continuous railway line between Edinburgh and England; trains from Edinburgh combined with trains from Glasgow at Carstairs, and ran to London in combination. The rival North British Railway had already opened southwards from Edinburgh but for the time being passengers had to change at Berwick-upon-Tweed to cross the River Tweed on foot. The Caledonian Railway also ran trains between Edinburgh and Glasgow, competing with the more direct Edinburgh and Glasgow Railway, and a period of ruinous competition began.
The first Edinburgh terminal may have been satisfactory when first designed at Lothian Road, but in practical use it was clearly inadequate for the important city: it had a single platform which served both arrivals and departures, and a two-road goods shed with a single loading platform. During 1865, the Caledonian was considering how to improve it, and the Company considered making arrangements with the North British Railway to use Waverley station. The Burgh Council of Edinburgh was anxious that there should be a single main station in the city. However the North British was hostile in principle, and the idea came to nothing.
Major extension was obviously essential, and on 2 May 1870 a new temporary station was opened adjacent to, and to the north of Lothian Road; it was named Princes Street. It was a wooden structure; the Caledonian was short of cash at this time and a more imposing terminal was not affordable. The passenger part of the station now had two platforms.