Included with a Data Pass
33,642 U.S. ZIP codes, with city, county and population.
Every residential ZIP code in the 50 states and D.C., as the Census Bureau maps them. Each one has its city, county, coordinates and land area, plus its 2020 Census population and housing units.
- Sales territories. Group ZIP codes by county or state and size them by population.
- Customer analysis. Join your own records by ZIP code to see where people are.
Coverage. Residential ZIP codes, as the Census Bureau maps them. ZIP codes used only for PO boxes or a single organization aren’t included.
One pass covers every dataset and collection for 365 days. No automatic renewal.
- Rows
- 33,642
- Columns
- 15
- Formats
- CSV, JSON, XML
As of: Census Bureau 2026 Gazetteer, 2020 Census counts, and the 2020 ZIP-to-county and ZIP-to-place relationship files. The Census Bureau redraws ZIP areas after each census and republishes the Gazetteer each year.
Need income, home values or age for each ZIP code? ZIP code demographics has them and joins on ZipCode. Both come with the Data Pass.
Preview
A few rows from the file
| ZipCode | City | StateCode | County | Population | HousingUnits | Latitude | Longitude |
|---|---|---|---|---|---|---|---|
| 80301 | Boulder | CO | Boulder County | 25944 | 12356 | 40.04569 | -105.20089 |
| 80302 | Boulder | CO | Boulder County | 27322 | 12672 | 40.02506 | -105.34866 |
| 80303 | Boulder | CO | Boulder County | 25328 | 12374 | 39.97322 | -105.20928 |
| 80304 | Boulder | CO | Boulder County | 27532 | 12219 | 40.04473 | -105.28835 |
| 80305 | Boulder | CO | Boulder County | 17283 | 7456 | 39.97687 | -105.24868 |
| 80310 | Boulder | CO | Boulder County | 8281 | 39 | 40.00399 | -105.26137 |
Field guide
What’s in each row
ZIP code and city
The ZIP code, its city and that city’s Census place code, and whether the ZIP is inside the city.
ZipCode City CityGEOID InCity
Location
State, county and the coordinates of the ZIP’s internal point.
StateCode State CountyFIPS County Latitude Longitude
Size
2020 Census population and housing units, and land and water area in square miles.
Population HousingUnits LandAreaSqMi WaterAreaSqMi
What we prepared
The work already done
What we did to the source
We started from the ZIP Code Tabulation Areas in the Census Bureau’s 2026 Gazetteer and added each one’s 2020 Census population and housing units, matched on the ZIP code. We gave each ZIP code the county and the city or community that holds most of its residents, estimated from the land the ZIP code shares with each one and that area’s 2020 population density. In Connecticut the county is the planning region that contains the ZIP code’s internal point. A ZIP code that shares no land with any place in our U.S. cities collection gets the nearest place in its state, with InCity set to false. We left out Puerto Rico and the territories, and kept ZIP codes and county codes as text so leading zeros survive.
How we check it
After loading we check the number of ZIP codes and their total 2020 population, and that two known ZIP codes come out in the right city and county. We also check that every ZIP code’s city matches a row in the U.S. cities collection.
Good to know
Before you use it
- These are ZIP Code Tabulation Areas, the Census Bureau’s map of residential ZIP codes. ZIP codes used only for PO boxes or a single organization (20500 is the White House) have no area, so they aren’t included.
- City is the city or community holding most of the ZIP’s residents. For 4,993 rural ZIP codes outside every community it is the nearest one, and InCity is false. It usually matches the city on mail, but not always.
- County is the one holding most of the ZIP’s residents. In Connecticut it is the planning region, which replaced counties in 2022.
- CityGEOID matches GEOID in the U.S. cities collection, and CountyFIPS matches other Census data.
- In every format, dates are written as yyyy-MM-dd, and yes/no values as true or false. An empty value means nothing was recorded.
Source
U.S. Census Bureau, ZIP Code Tabulation Areas
Public domain
Where it comes in handy
What you can build with it
- Sales territories. Group ZIP codes by county or state and size them by population.
- Customer analysis. Join your own records by ZIP code to see where people are.
- Store locators and delivery zones. Find nearby ZIP codes with the coordinates.
- City and county lookup. Fill in the city, state and county for a residential ZIP code.
Access
Try it free. Get all of it with a pass.
Free sample
- Every 100th ZIP code
- A README with the field guide and source
Data Pass $69
Download with your pass
- All 33,642 rows of U.S. ZIP codes
- One ZIP in CSV, JSON or XML, with a README
- Also every other collection and the whole dataset catalog, for 365 days
Commercial use is allowed, free or paid. Keep using what you download, even after your pass ends.
Downloaded a CSV? Convert CSV to JSON, generate SQL inserts, remove duplicate lines, or sort a list with the free tools.