The North Yorkshire Moors Railway was first opened in 1836 as the
Whitby and Pickering Railway. The railway was planned in 1831 by
George Stephenson as a means of opening up trade routes inland from the then important seaport of
Whitby. The initial railway was designed and built to be used by horse-drawn carriages. Construction was carried out by
navvies and coordinated by top engineers. Their three main achievements were cutting a
tunnel through rock at
Grosmont, constructing a rope-worked incline system at
Beck Hole and traversing the marshy and deep
Fen Bog using a bed of timber and sheep fleeces. The tunnel is believed to be one of the oldest railway tunnels in England. In its first year of operation, the railway carried of stone from Grosmont to Whitby, as well as 6,000 passengers, who paid a fare of 1
shilling to sit on the roof of a coach, or 1
shilling 3 pence to sit inside. It took two and a half hours to travel from Whitby to Pickering. In 1845, the railway was acquired by the
York and North Midland Railway who re-engineered the line to allow the use of
steam locomotives. They also constructed the permanent stations and other structures along the line which still remain today. The Beck Hole incline was re-equipped with a steam powered stationary engine and iron rope. They also added the line south from Pickering so that the line had a connection to
York and beyond. In 1854 the
York and North Midland Railway became part of the
North Eastern Railway. Steam locomotives could not operate on the Beck Hole incline; so in the early 1860s the
North Eastern Railway started construction of an alternative route which opened in 1865 – this is the route which is still in use today. The original route is now a
rail trail named the
Rail Trail. In 1923 the
North Eastern Railway was absorbed into the
London and North Eastern Railway as a result of the
Railways Act 1921. In 1948 nationalisation meant that
British Railways took control. During this time, little changed on the line. However, in his controversial report
Dr Beeching declared that the Whitby-Pickering line was uneconomic and listed it for closure; the last passenger service ran on 6 March 1965 with freight continuing until July 1966. The line was used in June 1965 to house the Royal Train for the Duke of Edinburgh's visit to the
RAF Fylingdales early warning station. In 1967, the NYMR Preservation Society was formed, and negotiations began for the purchase of the line. After running various open weekends and steam galas during the early 1970s (by permission of
British Railways) the NYMRPS transformed itself into a
charitable trust to ensure the future of the railway, and became The North York Moors Historical Railway Trust Ltd in 1972. Purchase of the line was completed and the necessary
Light Railway Order obtained, giving powers to operate the railway. The railway was able to reopen for running in 1973 as the North Yorkshire Moors Railway, with much of the traction provided by the
North Eastern Locomotive Preservation Group. Services to Whitby were also mooted as a possibility; one of the first was in 1987 when
92220 Evening Star worked a service between Pickering and Whitby. Since then, services ran sporadically with third party operators (such as the West Coast Railway Company in the early 2000s) as the NYMR was not a licensed company authorised to operate over Network Rail metals. From 2007, regular trains operated over the Esk Valley Line from Grosmont to Whitby, thus providing a service over the entire length of the original Whitby and Pickering Railway. Services were further improved in 2014 by the re-opening of a second platform at Whitby to enable services to increase from three out and back workings a day to five. After a year of operation, the NMYR stated that 120,000 people had travelled over the new operating section to Whitby and that overall in 2014, the railway had attracted nearly 350,000 visitors. The preserved line is now a tourist attraction and has been awarded several tourist industry and heritage accolades. The balance was paid in May 2019 and was to be used towards the renewal of iron bridges at railway station and a new carriage shed at . A report in February 2021 said that the railway had received a £1.9 million grant from the government's Culture Recovery Fund. The restrictions and lockdowns necessitated by the
COVID-19 pandemic in 2020, and into 2021, required the railway to cease operations for months. A crisis appeal was successful in raising over £400,000 in donations by September; that had increased to £440,000 by January 2021. A new carriage stabling facility was opened in September 2021, with space for 40 carriages. On 12 June 2023, King
Charles III arrived at the Pickering station on the
British Royal Train, pulled by the
LNER Class A3 4472 Flying Scotsman locomotive, "after a trip through the countryside on the North Yorkshire Moors Railway", according to a news report. The visit marked the 100th anniversary of the locomotive and the 50th anniversary of the current version of the railway being operated by volunteers. The driver of the Flying Scotsman made this comment at the time: "He's a regular because he has been here before when he opened the station in 2000". ==Stations==