Hardin County is a county located in the U.S. state of Iowa. As of the 2010 census, the population was 17,534. The county seat is Eldora. The county was named in honor of Col. John J. Hardin, of Illinois, who was killed in the Mexican–American War.