Hartford is a city in Geneva County, Alabama, United States. It incorporated in 1896. It is part of the Dothan, Alabama Metropolitan Statistical Area. At the 2010 census the population was 2,624, up from 2,369 in 2000.