ZIP Code Income
334,071 ZIP-code-years of US personal income and federal income tax, a longitudinal panel from the IRS Statistics of Income ZIP Code Data, covering 30,147 ZIP codes across tax years 2011 to 2022, one row per ZIP per year. The IRS splits each ZIP across six income brackets; here they are summed to one row with the number of returns filed (roughly households), the number of individuals, adjusted gross income, salaries and wages, and total federal income tax, every dollar figure in thousands of dollars exactly as the IRS reports. Three derived columns give the average AGI per return and average tax per return in whole dollars and the effective tax rate. Fisher Island, Florida (33109) is the richest ZIP in the country at over four million dollars of AGI per return; the national median is around 54,000 dollars. A US government public-domain source, ideal for longitudinal analysis: how incomes have grown by ZIP, the geography of wealth and tax burden, and cross-sectional comparisons by state and year. Eleven acceptance tests, one enforcing the 25 percent fill rule on every column.
334,071 rows
1 file
last pulled 2026-10-26
Where would you start?
Pick a question, or ask your own and
answer it; publish what you find as an insight. The same question
can carry many insights from different angles.
- How wide is the income gap between a state's richest and poorest ZIPs?
- Which metro areas contain the most top-1-percent ZIP codes?
- Which states have the flattest ZIP-level income distributions?
ZIP Code Income
334,071 rows × 11 columns
StateZIPYearReturnsIndividualsAGI_ThousandsSalaries_ThousandsTotal_Tax_ThousandsAvg_AGI_Per_ReturnAvg_Tax_Per_ReturnEffective_Tax_Rate_Pct
What is the ZIP Code Income dataset?
334,071 ZIP-code-years of US personal income and federal income tax, a longitudinal panel from the IRS Statistics of Income ZIP Code Data, covering 30,147 ZIP codes across tax years 2011 to 2022, one row per ZIP per year. The IRS splits each ZIP across six income brackets; here they are summed to one row with the number of returns filed (roughly households), the number of individuals, adjusted gross income, salaries and wages, and total federal income tax, every dollar figure in thousands of dollars exactly as the IRS reports. Three derived columns give the average AGI per return and average tax per return in whole dollars and the effective tax rate. Fisher Island, Florida (33109) is the richest ZIP in the country at over four million dollars of AGI per return; the national median is around 54,000 dollars. A US government public-domain source, ideal for longitudinal analysis: how incomes have grown by ZIP, the geography of wealth and tax burden, and cross-sectional comparisons by state and year. Eleven acceptance tests, one enforcing the 25 percent fill rule on every column.
How big is the ZIP Code Income dataset?
334,071 rows in one CSV file, with 11 columns in total: State, ZIP, Year, Returns, Individuals, AGI_Thousands, Salaries_Thousands, Total_Tax_Thousands, Avg_AGI_Per_Return, Avg_Tax_Per_Return, Effective_Tax_Rate_Pct.
Where does the data come from?
It is built by programmatically scraping irs.gov, last pulled on 2026-10-26. Datasets are versioned; older versions stay downloadable.
Is the dataset free to download?
Yes. Every CodeSights dataset is completely free as a CSV download; a free account is all it takes. Anyone can preview the data without signing in.
Can I see the code that built this dataset?
Yes. The exact Python scraper that built it is viewable on the dataset page by any signed-in member, so every number is reproducible.
Can the data contain errors?
Automated scraping leaves room for error and the underlying sources change over time, so no version is guaranteed accurate or complete. If a number matters, verify it against the original source.
Browse every free dataset on CodeSights