Y&NM extended the line to Altofts Junction in 1840 to meet the new North Midland Railway as part of a new route from York to London St Pancras via Normanton, Swinton, Chesterfield and Derby.
At Aldwarke Junction the route diverges from the North Midland via a junction constructed by British Rail and opened in 1965.