How to Download Census Data for GIS Analysis
A practical guide to downloading US Census Bureau boundary data and joining it with demographic attributes for GIS analysis. Learn which tables to use and how to merge them.
The US Census Bureau publishes some of the most valuable free demographic data in the world. Population counts, income, age, race, housing — all available down to the neighborhood block level, all free, and all in the public domain.
The challenge is that Census data comes in two pieces that must be joined: geographic boundaries (from TIGER) and demographic tables (from the decennial Census and the American Community Survey). This guide walks you through the whole workflow.
The two halves of Census data
Half 1: Geographic boundaries (TIGER/Line)
TIGER (Topologically Integrated Geographic Encoding and Referencing) is the Census Bureau's geographic database. It provides Shapefiles for every geographic unit the Census uses — states, counties, tracts, block groups, blocks, roads, water features, and more.
TIGER Shapefiles are free, updated annually, and in the public domain.
Half 2: Attribute data (Decennial + ACS)
The demographic attributes live in separate tables, downloadable from data.census.gov or via the Census API.
- Decennial Census — a full count every 10 years. Most recent: 2020.
- American Community Survey (ACS) — annual sample-based estimates, released as 1-year, 3-year, and 5-year datasets.
- Population Estimates Program (PEP) — annual estimates between censuses.
Step 1: Choose your geography level
The Census uses a nested hierarchy of geographies. From largest to smallest:
| Geography | Typical count (US) | Best for |
|---|---|---|
| State | 50 + territories | National comparison |
| County | ~3,140 | Regional analysis |
| Census Tract | ~73,000 | Neighborhood-level analysis |
| Block Group | ~220,000 | Fine-grained local analysis |
| Block | ~8,000,000 | The smallest unit — extremely detailed |
Step 2: Download the TIGER boundaries
- Go to census.gov/geographies/mapping-files.
- Choose TIGER/Line Shapefiles.
- Select the year you want (usually the latest).
- Choose your geography type (Tracts, Block Groups, etc.).
- Select your state (or "All states" for the entire US).
- Download the ZIP file.
Extract the ZIP. You will see Shapefile components — .shp, .dbf, .shx, .prj, and possibly others.
Step 3: Download the demographic data
- Go to data.census.gov.
- Click "Advanced Search".
- Choose your dataset (Decennial or ACS).
- Choose your geography (e.g., "All census tracts in Texas").
- Choose your variables (e.g., Total Population, Median Household Income).
- Click "Download" and select CSV format.
The download will include a CSV file plus a metadata file explaining variable codes.
Step 4: Understand the join key (GEOID)
The critical concept is the GEOID — a numeric or alphanumeric code that uniquely identifies each Census geography. This is how you link the boundary shapefile to the demographic table.
GEOID structure:
- State: 2 digits (e.g., 48 for Texas)
- County: 5 digits (2 state + 3 county)
- Census Tract: 11 digits (2 state + 3 county + 6 tract)
- Block Group: 12 digits (tract + 1 digit block group number)
- Block: 15 digits
Step 5: Join the data in QGIS
- Load the TIGER Shapefile into QGIS.
- Load the CSV using Layer → Add Layer → Add Delimited Text Layer.
- When prompted, set "No geometry (attribute only table)".
- Right-click the Shapefile layer → Properties → Joins.
- Click the "+" to add a join. Choose: Join layer = your CSV, Join field = GEOID in CSV, Target field = GEOID in the shapefile.
- Click OK, then OK again.
The joined attributes will now appear in the Shapefile's attribute table. You can then style the layer by any of the demographic fields.
Step 6: Style and analyze
With the data joined, you can:
- Create a choropleth map by styling the layer on Total Population or Median Income
- Calculate population density by dividing population by tract area
- Perform hotspot analysis on demographic patterns
- Aggregate to larger geographies by grouping tract data into counties or custom regions
Common pitfalls
- Mismatched vintages — do not join 2020 boundaries with 2019 data. Always match years.
- Wrong geography level — make sure your CSV is at the same geographic level as your shapefile.
- Leading zeros — GEOIDs are often stored as text, not numbers, to preserve leading zeros. If you convert to number in Excel, the "01" for Alabama becomes "1" and the join will fail.
- Cross-state downloads — if you download data for multiple states, verify the CSV contains all of them.
Where to go from here
Once you are comfortable with the TIGER + CSV workflow, you can graduate to the Census API for programmatic access, or explore the Census Bureau's TIGERweb service (an ArcGIS REST service you can load directly into a browser-based GIS tool).
Summary
US Census data is one of the richest free demographic sources in the world. The trick is understanding the split between boundaries (TIGER) and attributes (Decennial/ACS), and joining them via GEOID. Once you have that workflow down, you can analyze any demographic pattern at nearly any scale.
Related guides
Ready to try it yourself?
Export ArcGIS REST services, WFS endpoints, and ArcGIS Online datasets to Shapefile, GeoJSON, KML, or GeoPackage — all in your browser.
Open the Downloader