madison county is a county in the u.s. state of alabama. as of the 2010 census, the population was 334,811, making it the third-most populous county in alabama. the county seat is huntsville. the county is named in honor of james madison, fourth president of the united states of america.