Harlan is a city in Shelby County, Iowa, along the West Nishnabotna River. The population was 4,893 at the time of the 2020 census. It is the county seat of Shelby County.