Minnesota State Highway 40 (MN 40) is a 72 miles state highway in west-central Minnesota, which travels from South Dakota Highway 20 (SD 20) at the South Dakota state line near Marietta and continues east to its eastern terminus at its intersection with County State-Aid Highway 5 (CSAH 5) in Willmar.