The Stillwater Ngākawau Line (SNL), formerly the Stillwater–Westport Line (SWL) and the Ngakawau Branch, is a secondary main line, part of New Zealand's national rail network. It runs between Stillwater and Ngakawau via Westport on the West Coast of the South Island. It was one of the longest construction projects in New Zealand's history, with its first section, at the south end, opened in 1889, and the beginnings of the Ngākawau Branch, at its Westport end, in 1875. The full line was completed in 1942. The only slower railway projects were Palmerston North to Gisborne, 1872 to 1942, and the Main North Line to Picton, 1872 to 1945.