Skip to content

Where to get ZIP code boundary files (free and trusted sources)

Searching for a ZIP code boundary map turns up dozens of downloads of unknown age. The short version: the U.S. Postal Service doesn't publish ZIP code polygons, and most free ZIP maps are built from the Census Bureau's ZIP Code Tabulation Areas. This guide lists the trusted sources, explains how they differ, and shows how to turn a national file into a KML you can map.

Quick answer

For free ZIP code boundaries in the United States, use the U.S. Census Bureau's ZIP Code Tabulation Areas (ZCTAs):

  • Cartographic boundary files are simplified for mapping and available as shapefile or KML. Start here for territory maps.
  • TIGER/Line shapefiles are the full-detail version, for precise GIS work.
  • Gazetteer files aren't boundaries, but give each ZIP area an internal latitude and longitude for plotting ZIP codes as points.

Commercial ZIP datasets are worth paying for only when you need boundaries that track USPS changes more closely than the Census does.

Why there's no official ZIP code boundary map

A ZIP Code is a USPS delivery designation: a set of addresses served by a post office and its routes. The Postal Service doesn't publish ZIP Codes as polygons, and the routes change regularly. Some ZIP Codes cover a single building or only PO Boxes, so they have no meaningful area at all.

Every ZIP boundary map is therefore an approximation built by someone. The questions that matter are who built it, from what, and when.

Trusted sources for ZIP code boundaries

ZIP code boundary and lookup data sources
SourceWhat you getFormatCostBest for
Census cartographic boundary files: ZCTASimplified ZIP Code Tabulation Area polygons for the whole U.S.Shapefile, KMLFreeTerritory maps and web maps
Census TIGER/Line shapefiles: ZCTAFull-detail ZCTA polygons that follow roads and streams closelyShapefile, geodatabaseFreePrecise GIS analysis
Census Gazetteer files: ZCTAOne row per ZCTA with land area and an internal-point latitude and longitudePipe-delimited textFreePlotting ZIP codes as points; see plot ZIP codes on a map
HUD-USPS ZIP Code Crosswalk filesTables linking ZIP Codes to counties, census tracts and metro areas, updated quarterlyExcelFree account requiredAssigning ZIPs to counties or regions; not shapes
Commercial ZIP boundary dataBoundaries derived from postal delivery data, often updated several times a yearVariesPaid licenseRouting, mail planning, frequent ZIP changes

How to judge a ZIP boundary download

Free ZIP boundary files also circulate on GitHub, data portals and blogs, often converted to GeoJSON. Before you use one, check:

  • Origin. Does it say it was built from Census ZCTAs or from postal data? No stated origin is a red flag.
  • Vintage. Look for the year, such as 2020 ZCTAs. Files built from 2010 ZCTAs miss newer ZIP Codes.
  • Resolution. Simplified files are lighter and fine for territories, but neighboring shapes may not share exact borders, which leaves slivers between ZIPs.
  • Field names. A clear ZIP column, such as ZCTA5CE20 in 2020 Census files, makes matching and labeling easy.
  • License. Census files are public domain. Commercial and derived files have their own terms.

When in doubt, download directly from the Census Bureau. It takes the same few minutes and removes the guesswork.

Turn a national ZIP file into a KML for your area

Census ZCTA file ~33,000 ZIP areas shapefile or KML Filter in QGIS keep your state, metro or ZIP list Export KML name = ZIP column Import and map Smaller files load faster and are easier to merge into territories.
A national file has tens of thousands of ZIP shapes. Keep only the ZIPs you plan before importing.
  1. Download the ZCTA file

    From the Census Bureau's cartographic boundary files page, download the ZIP Code Tabulation Areas shapefile and unzip it. Keep all of the files that come with it; a shapefile is several files with the same name.

  2. Open it in QGIS

    QGIS is free for Windows, macOS and Linux. Choose Layer → Add Layer → Add Vector Layer and pick the .shp file.

  3. Select your ZIP codes

    Use Select Features by Expression. For example, "ZCTA5CE20" LIKE '80%' selects Colorado's 80xxx ZIPs, and "ZCTA5CE20" IN ('80202','80203') selects a list. You can also select by location with a state or county boundary.

  4. Export the selection as KML

    Right-click the layer and choose Export → Save Selected Features As. Pick KML, set the name field to the ZIP column so each shape is named by its ZIP code, and save.

  5. Import and check

    In the TerritoryKit map builder, choose Import and add the KML. Each ZIP becomes a zone you can label, select and merge into territories.

TerritoryKit map of central Denver with 22 ZIP Code Tabulation Area boundaries from the U.S. Census Bureau imported from a KML file.
Census ZIP Code Tabulation Area boundaries for central Denver, exported from QGIS as KML and imported into a territory map.

To practice without downloading the national file, use the 22 central Denver ZCTAs below. They come straight from the 2020 Census files at full resolution.

Which format should you choose?

ZIP boundary file formats
FormatStrengthsWatch out for
KML / KMZOpens in Google Earth and imports into TerritoryKit; KMZ is a zipped KMLLarge national KML files are slow; export only your area
ShapefileThe standard Census format; best for GIS workSeveral files per layer; most browser tools need conversion
GeoJSONPopular for web maps and codeTerritoryKit imports KML or KMZ for boundaries, so convert GeoJSON in QGIS first

More on the two Google formats is in KML vs KMZ for territory mapping.

What to do with ZIP boundaries next

FAQ

Does the USPS publish ZIP code boundaries?

No. ZIP Codes are delivery routes and address lists, not official polygons. Free ZIP maps are usually built from the Census Bureau's ZIP Code Tabulation Areas; commercial vendors sell boundaries derived from postal data.

Where can I download a ZIP code KML file?

The Census Bureau's cartographic boundary files include ZIP Code Tabulation Areas in KML and shapefile formats. The national file is large, so filter it to your area in QGIS and export the selection as KML.

Are Census ZCTA boundaries accurate enough for sales territories?

Yes for most territory plans built from whole ZIP areas. They're approximate, so avoid them for mail delivery decisions, and check ZIPs that are new, PO Box-only or split between territories.

How often are ZIP code boundaries updated?

Census ZCTAs are revised with each decennial census, and the current set is from 2020. USPS changes ZIP Codes more often, so commercial datasets update several times a year.

Can I map multiple ZIP code boundaries at once?

Yes. Export all the ZIPs you need into one KML file and import it. Each ZIP becomes its own zone, and you can select several and merge them into a territory.

Related guides

Build your first territory map

Bring your account list, draw the territories you need, and see the results as the map changes. Your first map is free.

Open Map Builder
Try one map free. Sign in for ten exports.