{"@context":{"@vocab":"https://schema.org/"},"@type":"Dataset","@id":"https://api.ai-analytics.org/migration/25-017#migration","name":"Migration — Middlesex County, MA","description":"IRS county-to-county migration for Middlesex County, MA (2022-2023): net -5,282 tax returns ($-1,568,404,000 net AGI). 47,132 in, 52,414 out.","spatialCoverage":"Middlesex County, MA","isAccessibleForFree":true,"license":"https://creativecommons.org/publicdomain/zero/1.0/","place_id":"25-017","county":{"county_id":5385949003491664000,"county_fips":"25017","place_id":"25-017","state":"MA","county_name":"Middlesex County","inflow_returns":47132,"inflow_individuals":66041,"inflow_agi_usd_thousands":5028331,"outflow_returns":52414,"outflow_individuals":77106,"outflow_agi_usd_thousands":6596735,"net_returns":-5282,"net_individuals":-11065,"net_agi_usd_thousands":-1568404,"top_origins":"[{\"fips\": \"25-025\", \"name\": \"Suffolk County\", \"state\": \"MA\", \"returns\": 9674, \"agi_usd_thousands\": 1134188}, {\"fips\": \"25-009\", \"name\": \"Essex County\", \"state\": \"MA\", \"returns\": 4184, \"agi_usd_thousands\": 333630}, {\"fips\": \"25-021\", \"name\": \"Norfolk County\", \"state\": \"MA\", \"returns\": 3372, \"agi_usd_thousands\": 665241}, {\"fips\": \"25-027\", \"name\": \"Worcester County\", \"state\": \"MA\", \"returns\": 2927, \"agi_usd_thousands\": 246633}, {\"fips\": \"33-011\", \"name\": \"Hillsborough County\", \"state\": \"NH\", \"returns\": 1149, \"agi_usd_thousands\": 89942}, {\"fips\": \"25-023\", \"name\": \"Plymouth County\", \"state\": \"MA\", \"returns\": 669, \"agi_usd_thousands\": 53745}, {\"fips\": \"36-061\", \"name\": \"New York County\", \"state\": \"NY\", \"returns\": 641, \"agi_usd_thousands\": 117268}, {\"fips\": \"33-015\", \"name\": \"Rockingham County\", \"state\": \"NH\", \"returns\": 610, \"agi_usd_thousands\": 53557}, {\"fips\": \"06-037\", \"name\": \"Los Angeles County\", \"state\": \"CA\", \"returns\": 555, \"agi_usd_thousands\": 54017}, {\"fips\": \"25-005\", \"name\": \"Bristol County\", \"state\": \"MA\", \"returns\": 499, \"agi_usd_thousands\": 34970}]","top_destinations":"[{\"fips\": \"25-025\", \"name\": \"Suffolk County\", \"state\": \"MA\", \"returns\": 7512, \"agi_usd_thousands\": 859466}, {\"fips\": \"25-009\", \"name\": \"Essex County\", \"state\": \"MA\", \"returns\": 4847, \"agi_usd_thousands\": 628862}, {\"fips\": \"25-027\", \"name\": \"Worcester County\", \"state\": \"MA\", \"returns\": 4592, \"agi_usd_thousands\": 417464}, {\"fips\": \"25-021\", \"name\": \"Norfolk County\", \"state\": \"MA\", \"returns\": 3619, \"agi_usd_thousands\": 533656}, {\"fips\": \"33-011\", \"name\": \"Hillsborough County\", \"state\": \"NH\", \"returns\": 2099, \"agi_usd_thousands\": 212509}, {\"fips\": \"36-061\", \"name\": \"New York County\", \"state\": \"NY\", \"returns\": 1212, \"agi_usd_thousands\": 121704}, {\"fips\": \"33-015\", \"name\": \"Rockingham County\", \"state\": \"NH\", \"returns\": 1098, \"agi_usd_thousands\": 188584}, {\"fips\": \"25-023\", \"name\": \"Plymouth County\", \"state\": \"MA\", \"returns\": 873, \"agi_usd_thousands\": 113357}, {\"fips\": \"36-047\", \"name\": \"Kings County\", \"state\": \"NY\", \"returns\": 812, \"agi_usd_thousands\": 82898}, {\"fips\": \"06-037\", \"name\": \"Los Angeles County\", \"state\": \"CA\", \"returns\": 689, \"agi_usd_thousands\": 76242}]","filing_year_pair":"2022-2023","ingested_at":"2026-06-26T19:18:48Z"},"top_origins":[{"fips":"25-025","name":"Suffolk County","state":"MA","returns":9674,"agi_usd_thousands":1134188},{"fips":"25-009","name":"Essex County","state":"MA","returns":4184,"agi_usd_thousands":333630},{"fips":"25-021","name":"Norfolk County","state":"MA","returns":3372,"agi_usd_thousands":665241},{"fips":"25-027","name":"Worcester County","state":"MA","returns":2927,"agi_usd_thousands":246633},{"fips":"33-011","name":"Hillsborough County","state":"NH","returns":1149,"agi_usd_thousands":89942},{"fips":"25-023","name":"Plymouth County","state":"MA","returns":669,"agi_usd_thousands":53745},{"fips":"36-061","name":"New York County","state":"NY","returns":641,"agi_usd_thousands":117268},{"fips":"33-015","name":"Rockingham County","state":"NH","returns":610,"agi_usd_thousands":53557},{"fips":"06-037","name":"Los Angeles County","state":"CA","returns":555,"agi_usd_thousands":54017},{"fips":"25-005","name":"Bristol County","state":"MA","returns":499,"agi_usd_thousands":34970}],"top_destinations":[{"fips":"25-025","name":"Suffolk County","state":"MA","returns":7512,"agi_usd_thousands":859466},{"fips":"25-009","name":"Essex County","state":"MA","returns":4847,"agi_usd_thousands":628862},{"fips":"25-027","name":"Worcester County","state":"MA","returns":4592,"agi_usd_thousands":417464},{"fips":"25-021","name":"Norfolk County","state":"MA","returns":3619,"agi_usd_thousands":533656},{"fips":"33-011","name":"Hillsborough County","state":"NH","returns":2099,"agi_usd_thousands":212509},{"fips":"36-061","name":"New York County","state":"NY","returns":1212,"agi_usd_thousands":121704},{"fips":"33-015","name":"Rockingham County","state":"NH","returns":1098,"agi_usd_thousands":188584},{"fips":"25-023","name":"Plymouth County","state":"MA","returns":873,"agi_usd_thousands":113357},{"fips":"36-047","name":"Kings County","state":"NY","returns":812,"agi_usd_thousands":82898},{"fips":"06-037","name":"Los Angeles County","state":"CA","returns":689,"agi_usd_thousands":76242}],"_source":{"data_provider":"AI Analytics","data_provider_url":"https://api.ai-analytics.org","license":"https://creativecommons.org/publicdomain/zero/1.0/","primary_source":"https://www.irs.gov/statistics/soi-tax-stats-migration-data","primary_source_dataset":"IRS SOI County-to-County Migration Flows (FY2022-2023)","generated_at":"2026-06-27T20:01:06.966Z"}}