Lyon County is a county in the U.S. state of Minnesota. As of the 2020 census, the population was 25,269. Its county seat is Marshall.