Macoupin County, Illinois

18 ZIP codes · 862.97 sq mi of land · FIPS 17117

Population44,350
StateIllinois
FIPS code17117
Time zoneCentral
Land area862.97 sq mi
Center (lat, long)39.2659, -89.9263

Area codes in this area

217447618730

These are the area codes that most often serve Macoupin County (including overlays). The exact area code depends on the phone number — landlines, mobiles and overlays can differ even on the same street.

Cities and towns (largest first)

BenldBunker HillEagarvilleGillespieMount OlivePiasaSawyervilleStauntonWilsonvilleCarlinvilleChesterfieldGirardHettickModestoNilwoodPalmyraShipmanVirden

ZIP codes in Macoupin County

62009 Benld62014 Bunker Hill62023 Eagarville62033 Gillespie62069 Mount Olive62079 Piasa62085 Sawyerville62088 Staunton62093 Wilsonville62626 Carlinville62630 Chesterfield62640 Girard62649 Hettick62667 Modesto62672 Nilwood62674 Palmyra62685 Shipman62690 Virden

Population: U.S. Census Bureau, ACS 5-year estimates, 2024.

More details

What FIPS code 17117 means

FIPS county codes have five digits. The first two, 17, are the code for Illinois, and the last three, 117, identify Macoupin County within the state. Government and business data files (Census, health and election data, for example) often use this code instead of the county name.

Macoupin County by the numbers
People per square mile51
Rank in IL by population32 of 102
Rank in IL by land area11 of 102
Land area862.97 sq mi (2,235 km²)
ZIP codes18
Largest ZIP codes in Macoupin County
ZIPPlacePopulation
62626Carlinville7,876
62088Staunton6,400
62033Gillespie4,294
62690Virden3,838
62014Bunker Hill3,669
62640Girard3,391
62069Mount Olive2,897
62009Benld1,723
62685Shipman1,670
62674Palmyra1,447

Population of the whole Census ZIP area. Some ZIPs cross county lines.

How we check this page

County names, FIPS codes, land area and the ZIP-to-county match come from US Census Bureau files, and population from U.S. Census Bureau, ACS 5-year estimates, 2024. Pages are rebuilt from the same files whenever the data is refreshed, and automated checks look for broken links and missing values before each update goes live.

Last reviewed: October 2026. Updated: October 23, 2026. Read our sources and methodology, or tell us if something looks wrong.