Two railway stations were constructed in the second half of the 19th century at Agincourt. One was built just west of the crossroads as part of the Toronto and Nipissing Railway line heading north from Scarborough Junction on the Toronto – Montreal mainline, and greatly improved access. The line eventually became part of Canadian National Railways, and the station operates today as Agincourt Station on the GO Transit Stouffville commuter rail route. A second station was built east of the crossroads, just north of Sheppard and Brimley Roads, on what is today CP Rail track that runs from downtown Toronto diagonally northeast through the neighbourhood. Commuter rail service to Toronto's Union Station was offered, but was discontinued in the 1970s. The line branches east of a marshalling yard, built by CP in the 1960s between McCowan and Markham Roads on the east of the neighbourhood, into the (Peterborough–) Havelock and Belleville (– Montreal) subdivisions.