Skip to the content.

@unwelcomedata · data from public sources

Where Americans moved between states — and the income that moved with them

State-to-state migration for 2023, measured two ways at once: who moved (Census ACS survey, people-weighted) and how much income moved with them (IRS tax-return data, income-weighted). Putting both next to each other is the point — they answer different questions and shouldn’t be blended into one number.

State migration — infographic


The findings that held up:


The charts

All figures are for 2023, from IRS tax-return data. “Net” = inflow-file arrivals minus outflow-file departures. Click any chart to open it full size.

The 5 states gaining the most people — and the 5 losing the most. Net migration in 2023 (arrivals minus departures), trimmed to the 10 extremes.

Net migration by state, 2023

The biggest one-way moves between states, 2023. The largest net directed pairs — the red state lost people to the blue state.

Biggest one-way moves between states, 2023

The states gaining — and losing — the most income to migration. Net adjusted gross income moved with migrants in 2023, in billions of dollars (IRS AGI, origin-year dollars).

Net income by state from migration, 2023

The average income of the people each state gains and loses. Net AGI per net migrant in 2023, in thousands of dollars per person — right: income arriving per net newcomer; left: income leaving per net departure. States with net migration of at least 20,000 people.

Income per net migrant by state

Most interstate moves cancel each other out. Each dot is a state pair, net migration against gross (total) churn. A pair can never have more net than total migration, so the diagonal is a ceiling almost no pair reaches.

Net vs gross interstate migration

Down to the county

The same IRS tax-return data also tracks moves county-to-county. These two charts are 2023, use IRS county-to-county identified flows only (small flows are suppressed by the IRS, so counties undercount by design), and net = inflow-file arrivals minus outflow-file departures.

County migration — the biggest gainers and losers. Net moves of people between counties in 2023 (top 5 gaining counties, bottom 5 losing). The counties losing the most are big urban cores — Los Angeles (−81,742), Cook/Chicago, Queens, Kings/Brooklyn, Miami-Dade — and the ones gaining the most are sunbelt suburbs in Florida and Texas (Polk, Pasco, Collin, Montgomery, Williamson).

County net migration — biggest gainers and losers, 2023

Los Angeles County’s two migrations. LA is the biggest single loser, so it gets a closer look — the top 10 destination counties, two ways. Left: by number of people — the volume goes to LA’s own cheaper inland ring (San Bernardino 34,872, Orange, Riverside). Right: by AGI per person (limited to destinations with at least 500 movers, to exclude tiny-sample resort counties) — the highest earners leave for other elite metros (Manhattan ≈ $186,987 of AGI per person, Miami-Dade, Santa Barbara, San Francisco). The headcount and the money go to different places.

Los Angeles County's two migrations, 2023 — by people and by AGI per person


How it was measured

Two federal sources, kept side by side rather than merged:

The two correlate strongly (Pearson r ≈ 0.86) but measure different universes, so the dataset reports both columns and never reconciles them to a single figure.

Caveats that materially affect interpretation:

Per-source collection methods, definitions, series breaks, and the full column glossary are in SOURCES.md.


The data

The published dataset is in export/:

The richer packaging (Excel, Parquet) and the full pipeline code are in the repo.


Reproduce it

The published dataset rebuilds from raw sources with one command:

python scripts/reproduce.py

It runs the full pipeline — ingest → load → clean → prepare — using the same logic the project uses throughout (in src/: ingest.py, clean_quality.py, prepare.py). On the first run it downloads the IRS SOI state CSVs and the Census ACS migration tables (the URLs are in SOURCES.md) into data/raw/; after that it runs offline. The output CSV is byte-for-byte identical to the published export/state_migration_flows_v1.csv. See scripts/README.md for options and the stage-by-stage breakdown.

For exploring the built database directly, queries/example_queries.sql has read-only reference queries (table list, provenance, top net gainers/losers, income-per-migrant).

(This reproduces the state-level flows dataset. The county-to-county layer is built through the same src/ pipeline from the IRS county files; the published county_migration_flows_v1.csv is included in export/.)


Sources & license

Full attribution — publisher, URL, collection method, definitions, series breaks, and known controversies — is in SOURCES.md. In short: IRS Statistics of Income migration data and U.S. Census Bureau ACS state-to-state migration flows, both U.S. government works in the public domain. No crowd-edited sources are used.


Further exploration


AI-Assisted Development This project was built with the assistance of Kiro, an AI-powered development environment. All data-sourcing decisions, methodology choices, and published findings are the responsibility of the author. AI was used for code generation, data-pipeline construction, and research assistance — not for analysis conclusions or editorial judgment.