Whitchurch–Stouffville is traversed by two railway lines: One is Canadian National Railway's primary freight corridor connecting Greater Toronto to Northern Ontario and Western Canada, which is being considered for future GO Transit train service with stations in the communities of Vandorf and Gormley (West). The other railway line, formerly the Toronto and Nipissing Railway, is now owned by GO Transit and hosts Stouffville line passenger service to and from Toronto. This line includes two stations in Whitchurch–Stouffville: the Stouffville GO Station in urban Stouffville, and the line's terminus, Lincolnville GO Station, located to Stouffville's northeast. The York-Durham Heritage Railway also runs historical trains between the station and Uxbridge on summer weekends.