Skip to content

State-to-state migration flows of tax filers by year

For every pair of states and every year, the number of tax returns, exemptions and income that moved from one state to the other, with the reverse flow and the net, from IRS records for 2004-05 through 2022-23. Covers all tax filers, with no age or education detail. Answers where a state's households move to and come from, and which states it gains from or loses to. Built by Moonlight Analytics.

Quick facts

Field Value
Table workforce.workforce_03_flows_state_pair_year
Domain workforce
Grain state-pair-year
Geography state
Time coverage 2005 to 2023, annual
License class public
Current vintage 2026-09
All vintages 2026-09
Refresh cadence on_vintage_bump
Produced by github.com/moonlight-analytics/workforce-analyses, analyses/03-migration/pipeline.py
Producing commit 33ef042
Last validated 2026-10-08

Columns

# Column Type Definition Units Methodology
1 origin string State (USPS code) the filers lived in for the first tax year. 50 states and DC. Moves to or from foreign addresses are not in this table.
2 dest string State (USPS code) the filers lived in for the second tax year.
3 year integer The second of the two filing years. 2023 means returns filed in 2022 and 2023 were compared. Addresses are as of filing, so the move happened roughly during the calendar year before year.
4 tax_years string The filing-year pair in words, for example 2022-23.
5 series string pre_2011 or from_2011. The IRS rebuilt its year-to-year matching with the 2011-12 file. The two series are not comparable. Never chain or difference across them.
6 returns integer Tax returns that moved from origin to dest. returns A return is roughly a household. Counts only filers matched in both years, so it under-covers the young, the low-income and recent graduates.
7 exemptions integer Personal exemptions on those returns: roughly the number of people. exemptions Filers plus dependents claimed. Not a count of all movers.
8 agi_thousands integer Adjusted gross income on those returns. thousand USD, nominal Income reported for the second year. Not adjusted for inflation.
9 returns_reverse integer Returns that moved the other way, from dest to origin, in the same year. returns
10 exemptions_reverse integer Exemptions on returns that moved from dest to origin. exemptions
11 net_returns integer returns minus returns_reverse: the origin's net loss of returns to dest. Negative means origin gained from dest. returns
12 net_exemptions integer exemptions minus exemptions_reverse. exemptions

Sources

Source Vintage License class
IRS Statistics of Income migration data (state inflow files, 2004-05 to 2022-23) 2026-09 public

Caveats

  • Each pair appears twice, once in each direction, and each row also carries the reverse flow. Sum returns by origin for a state's out-migration or by dest for its in-migration; do not also add the reverse columns.
  • Returns and exemptions, not people. A return is roughly a household; exemptions approximate people. Neither counts everyone who moved.
  • Under-covers the people a brain-drain question is about. Only filers matched in two consecutive years are counted, which misses many young, low-income and newly graduated movers. Use this table for where households in general go, not for graduates.
  • The method changed with the 2011-12 file. Use series and never compare or chain pre_2011 with from_2011.
  • Files lag about two years. The latest pair is 2022-23.
  • A few small state pairs are missing in some years (2,544 to 2,550 of 2,550 possible).
  • Income is nominal and is the movers' income in the second year.

Citation

Use this text verbatim.

Moonlight Analytics (2026). State-to-state migration flows of tax filers by year, vintage 2026-09. Derived from IRS Statistics of Income migration data.

Query it

SELECT * FROM workforce.workforce_03_flows_state_pair_year LIMIT 10;

Every row also carries _vintage and _dataset_id.