Dunedin was linked by rail to
Port Chalmers in 1872, Christchurch in 1878, with a link south to Invercargill completed the following year, and the first railway workshops were opened at
Hillside in South Dunedin in 1875. Early plans were for a grand main station on Cumberland Street, but these did not get further than the laying of a foundation, In October 1870 the gauge was changed from
standard gauge to
3ft 6in, as required by the
Railways Act 1870. In the opposite direction,
James Macandrew turned the First Sod of the Southern Trunk Railway on Saturday 18 March 1871 at the
Oval, near Grosvenor Road. Tenders were invited on Monday 29 July 1872 for labour only to build the station and goods shed. It seems the design was by D. L. Simpson, engineer to the Port Chalmers Railway Co. In October 1872 a x import goods shed was built. The first train to reach the new station was after 29 October 1872. Macandrew Street, now Burlington Street, was built to access the station from Moray Place. The first known excursion was to an
Oddfellows Lodge fete on 26 December 1872. The Grand Opening of the Dunedin & Port Chalmers Railway was on Tuesday 31 December 1872. The railway was sold to
Otago Provincial Council on 9 April 1873 for £187,106.
2nd station 1875 In December 1873 Proctor & Whittaker tendered £6,609 to
reclaim the site of the next Dunedin station, bounded by Castle, High, and Rattray Streets. In summer 1874/75 a x export goods shed was built opposite the new station. On 25 June 1874 Meikle & Campbell tendered £3,368 10s to build the 2nd station in timber on brick foundations, with an iron roof, on the same railway reserve as the first, but with the main entrance off Rattray Street instead of High Street, parallel with the carriage shed, and almost opposite Vogel Street. It opened on Tuesday 6 February 1875. The grand opening of the Dunedin & Clutha Railway was on 1 September 1875.
3rd station 1884 More land was reclaimed to the north of Rattray Street, and the 3rd station was put on the harbour side of Cumberland Street. On 10 March 1884 a contract for its foundations was let to W. Carlton for £1,256 14s and completed by 23 May 1884, with the 3rd station in use from 1 November 1884. The 2nd station was moved in 2 sections to the arrival-platform, late in 1884. By December 1884 the 3rd station had a covered carriage porch, booking office, waiting room, ladies' waiting room,
refreshment room, baggage office, verandah, x platform, access for carts, store room, lamp room, footbridge and
turntable. The engine shed was moved south of Jetty Street and in June 1885 another goods shed was built. In March 1900 the south end of the west (Cumberland Street) platform was extended south, for longer trains. In 1906 most of the 3rd station was demolished to make way for new tracks and a 2-storey building for staff accommodation, later part of the District Engineer's offices. The old sheds, which had been moved from The Triangle in 1884 were demolished in 1910 for duplication of the line to Mosgiel and elevation of the double track over 2 level crossings to ease the grade to
Caversham tunnel. File:Dunedin's 1st station.jpg|1st station (foreground) and import goods shed (left) in 1873/74 File:First Church of Otago and Dunedin's 1st and 2nd stations.jpg|1st (left) and 2nd (rt.) stations c. 1875 File:Dunedin Railway Station, passenger yards ATLIB 334913.png|3rd station in 1896 == Construction of the 1906 station ==