McCook County is a county in the U.S. state of South Dakota. At the 2020 census, the population was 5,682. Its county seat is Salem. The county was established in 1873, and was organized in 1878. It was named for the former governor of the Dakota Territory and Civil War general Edwin Stanton McCook.