The Edinburgh and Glasgow Railway (E&GR) was authorised by an act of Parliament on 4 July 1838. It was opened to passenger traffic on 21 February 1842, between its Glasgow Queen Street railway station (sometimes referred to at first as Dundas Street) and Haymarket railway station in Edinburgh. Construction cost £1,200,000 for 46 miles (74 km). The intermediate stations were at Corstorphine (later Saughton), Gogar, Ratho, Winchburgh, Linlithgow, Polmont, Falkirk, Castlecary, Croy, Kirkintilloch (later Lenzie) and Bishopbriggs. There was a ticket platform at Cowlairs. The line was extended eastwards from Haymarket to North Bridge in 1846, and a joint station for connection with the North British Railway was opened on what is now Edinburgh Waverley railway station in 1847.

Patronage on the line quickly reached double the railway's initial estimates, and by 1850 58 locomotives and 216 coaches were needed to handle the traffic. Goods traffic started in March 1842 and slowly increased, overtaking passenger revenue by 1855.

The line still runs today as the main line between Edinburgh and Glasgow. It was electrified and improved under the auspices of the Edinburgh to Glasgow Improvement Programme. Eight-car electric Class 385 trains started operating from Monday 29 July 2019 between Glasgow and Edinburgh via Falkirk High. The fastest trains are scheduled to take 42 minutes.

History

Early schemes The earliest railways in Scotland were waggonways, intended for horse drawn operation, in most cases from a colliery or other mineral source, to a waterway for onward transport.

Notable early lines were the Kilmarnock and Troon Railway of 1812 and the Monkland and Kirkintilloch Railway of 1826, the first of the "coal railways" of the Monklands area. The Garnkirk and Glasgow Railway (G&GR) was authorised in the same year, and it opened in 1831.

There were unfulfilled ideas of connecting Glasgow and Edinburgh as early as 1824 and when the got its authorising act, the Garnkirk and Glasgow Railway Act 1826 (7 Geo. 4. c. ciii), there were thoughts of extending from Broomielaw in Glasgow over the to Edinburgh and Leith; the connection to sea-going shipping was paramount. In 1830 the railway engineers Thomas Grainger and John Miller were commissioned to survey for such a line. There was to be a tunnel under the centre of Glasgow but there was furious opposition to this; it was so strong that the proposal failed.

The Liverpool and Manchester Railway had opened in 1830, and was more successful than its promoters expected, showing that an intercity railway could be commercially successful. The pressure to connect the two great cities of central Scotland continued, and in the second half of the 1830s money became freely available, and investors, chiefly in England (many of them shareholders in the Liverpool and Manchester line), promoted a viable railway.

E&GR authorised

The Edinburgh and Glasgow Railway was authorised by the (1 & 2 Vict. c. lviii) on 4 July. The bill had been in committee for 37 days.

The first contract was let in late 1838, to William Aiton and his company.The Irish Builder, 1 March 1893, p. 61 Bad weather delayed the progress of the work but on New Years Day 1842 the public were invited to walk through the tunnel at Glasgow Queen Street. Policemen were stationed to prevent the entrance of disorderly persons. The tunnel was whitewashed and gas lit, and the proceeds went to the Paisley Relief Fund and workmen injured on the railway.

The Glasgow terminal was designed by James Carswell.

The line was engineered as a main line, and substantial earthworks, viaducts and tunnels were incorporated into the route, forming an almost perfectly level route, apart from the climb out of the Glasgow terminal. The original intention was to descend gently into Glasgow, crossing over the Forth and Clyde Canal, but opposition from the canal company obliged the to be brought under it instead, resulting in a steep descent at 1 in 41 from Cowlairs mostly in tunnel. Cowlairs tunnel is in length.

There were other major structures on the line: the Garngaber Viaduct carried the line over Bothlin Burn and the Monkland and Kirkintilloch Railway; Castlecary Viaduct consists of 8 arches and is long. The Falkirk (or Callendar) tunnel is long. Approaching Linlithgow the Avon Viaduct consists of 23 arches; Winchburgh tunnel is in length; and the Almond Valley Viaduct has 36 arches; it cost £130,000 to build.

The permanent way consisted of malleable iron rails on stone blocks; the form of construction was already obsolete; "half logs" were used in some places.

The construction of the line to the Haymarket terminal in Edinburgh cost £1,200,000 for . The Liverpool and Manchester Railway had cost £1,407,000.

Opening

A ceremonial opening of the line took place on 19 February 1842 and the Edinburgh and Glasgow Railway opened for passenger traffic on 21 February 1842, between its Glasgow station (sometimes referred to at first as Dundas Street, and later named Queen Street) and Edinburgh, where the station was at Haymarket, at the western edge of the New Town. It was Scotland's first trunk line. Goods traffic started in March 1842.

There were four passenger trains each way daily; and there were ten intermediate stations and the journey took 150 minutes. Two passenger trains ran each way on Sundays, "timed at hours which would not interfere with the ordinary period of divine service". This provoked great controversy as the observance of the Sabbath was held as sacred by much of Scottish public opinion at the time. Edinburgh time was observed, 4.5 minutes later than Glasgow time. The intermediate stations were at Corstorphine (later Saughton), Gogar, Ratho, Winchburgh, Linlithgow, Polmont, Falkirk, Castlecary, Croy, Kirkintilloch (later Lenzie) and Bishopbriggs. There was a ticket platform at Cowlairs.Smith says Gogar station opened "shortly after the line itself".

The opening created phenomenal passenger demand, three times what was expected, and by 1850 the company needed 58 locomotives and 216 coaches to handle the traffic. The quantity of passenger business on the line considerably exceeded the estimates, reaching almost double the daily volume; third class travel was especially buoyant, although in the first years third class passengers did not have seating accommodation, and even second class carriages did not have glazed windows. Goods traffic started in March 1842 and slowly increased, overtaking passenger traffic in revenue terms by 1855.

In the years 1845–1846, Alexander Bain installed an electric telegraph system along the line; the cost to him was £50 per mile.

Cowlairs incline

The incline section was worked by stationary engine and cable haulage: an high pressure steam engine was constructed at Cowlairs, and a continuous hemp rope was used to pull trains up the gradients. Special brake vehicles were attached to downwards trains to control the descent. There was soon difficulty with the hemp rope slipping in damp weather, and two banking enginesEngines specifically provided to push heavy trains up the steep gradient. named Samson and Hercules, were introduced in 1844, but they were found to be damaging to the track, and the powerful exhaust caused vibrations in the roof, leading to leakage of the canal water. The banking engines were sent to the Monklands area in 1848, and wire rope haulage with the stationary engine was used instead.

The endless rope for the incline was driven by two beam engines at Cowlairs, of the high pressure type, made by Kerr, Neilson and Company of Glasgow. They had cylinders with a stroke. The crankshaft had a spur wheel of diameter, which drove the cable drum through gearing. The main cable drum was in diameter, mounted in a pit under the track. The beam engines were supplied with steam at by 8 boilers, each long and in diameter.

The boilers were replaced in 1862 – 1863 by seven Cornish boilers. The cable haulage continued in operation until 31 January 1908, when banking engines took over. The stationary engines at Cowlairs were scrapped the following year.

An accident took place in 1869 and the Inspecting Officer's report gives insight to the operations on the incline:

Trains are worked up the incline between Queen's Street station and Cowlairs by attaching them to an endless wire rope, which is worked by a stationary engine at the top of the incline, and trains are piloted down the incline from Cowlairs to Queen's Street station, by attaching heavy breaks with a breaksman in each break in front of the trains. Sometimes the engines remain attached to the tail of the trains in descending the incline, and sometimes the trains proceed without an engine. This depends on whether the engine is required at Queen's Street or not, but in every case the breaksmen, who travel on the incline breaks in front of the train, are placed in charge of the train.

On the 25th of last November, 13 empty waggons were required at Queen's street station, and a message to that effect was telegraphed to Cowlairs, where there is a large depot. A train of 13 empty waggons, with two incline breaks and two breaksmen in front, and an engine and tender behind the waggons, was formed at the top of the incline at the west end of Cowlairs station on the day in question, and it was despatched by signal at 5.6 pm to Queen's Street. "Line Clear" had been received from Queen's Street telegraph hut, and the telegraph clerk at Cowlairs, after telegraphing to Queen's Street that the train of empties had left, telegraphed "engine behind".

The rear part of the train became derailed in the tunnel, and the train became divided; the front part continued and the telegraph clerk failed to satisfy himself that the whole train had arrived; later,

At this time a passenger train from Helensburgh had been twice telegraphed from Cowlairs to Queen's Street, but the clerk at Queen's Street would not accept the train, as the empties had not arrived. As soon as the 11 empties arrived, he telegraphed "line clear" and a train, which consisted of three incline breaks and three breaksmen, a carriage truck, a horse box, a 3rd [class carriage], a 1st, a 3rd, a 1st, a guard's van, a 1st, a 3rd, a 1st, a 3rd, and a guard's van, coupled in the order given, left Cowlairs for Queen's Street station at 5.15 pm. As the breaksmen entered the tunnel they found it full of smoke and steam.

The passenger train collided with the derailed rear part of the trains of wagons.

Hamilton Ellis described the operation after the banking engines were first discontinued:

Rails continued to break under the heavy banking engines and the stationary engine was brought out of retirement, and Newall’s untwisted cable substituted for the earlier hemp rope. The cable was 2.78 miles long and weighed 24 tons. Leaving Glasgow the train moved slowly to the tunnel mouth and there a chain secured to a hemp messenger rope, lashed in turn to the cable, was linked to the front drawhook [which was inverted]. The locomotive then set back slightly to make the messenger rope taut. This of course brought the main cable up against the underside of the engine, where a pulley wheel was mounted to engage with it and prevent it from fouling. With the locomotive thus secured to the cable, the driver, advised by the foreman cable attendant, gave a whistle signal, and the Queen Street signalman then telegraphed the Cowlairs box. If and when the line was clear, the Cowlairs signalman sounded three blasts on a horn, piped down through the tunnel and the winding engine was started.