Home › Guides › Questions › Massachusetts tax residency when moving to Spain
Massachusetts retiree reviewing tax residency before moving to Spain
Questions · US retirees

Massachusetts tax residency when moving to Spain

Massachusetts is one of the states US retirees should not leave casually. A move to Spain may be real for immigration purposes, but Massachusetts can still ask whether your domicile changed, whether you kept a Massachusetts abode past the day count, and what Massachusetts-source income remains after departure.

For people leaving Massachusetts, the tax side of a move to Spain is not finished when the non-lucrative visa is approved. Spain may treat you as resident once your Spanish day count, home and centre of life point here. The IRS continues to tax US citizens. Massachusetts is a separate state layer, and the US-Spain tax treaty does not make Massachusetts disappear.

This page is the Massachusetts-specific companion to our broader guide on cutting US state tax residency before moving to Spain, alongside the state-specific notes for California, New York, New Jersey, Virginia and Connecticut and Minnesota. It is written for retirees and passive-income applicants moving to Spain, not for employees on a short overseas assignment. It is general orientation only, not Massachusetts tax advice. A Massachusetts exit should be checked with a Massachusetts tax adviser before the first Spanish tax year is allowed to run.

Massachusetts has two routes into residency

Massachusetts can treat you as a full-year resident in either of two ways. The first is domicile: if Massachusetts is your legal home, you are a resident even if you are physically living elsewhere for a period. The second is the statutory-resident rule: even without a Massachusetts domicile, you are treated as a resident if you maintain a permanent place of abode in Massachusetts and spend more than 183 days of the taxable year in the state. Either route pulls worldwide income into Massachusetts tax.

That two-route structure is what makes Massachusetts sticky for a Spain move. A retiree can physically leave and still carry a Massachusetts domicile if the state sees the departure as temporary or half-finished. A retiree whose domicile is already elsewhere can still trip the statutory-resident wire by keeping a Massachusetts dwelling available and spending too many days in the state. A clean file has to answer both questions: a real domicile shift to Spain, and disciplined control of any Massachusetts abode and day count.

Massachusetts lens: do not treat the Spanish visa as the whole answer. Massachusetts asks whether you abandoned your Massachusetts domicile and whether you kept a permanent place of abode plus more than 183 days in the state.

Domicile: abandoning Massachusetts and building a new home

Massachusetts describes domicile as the place you intend to be your permanent home, the place you plan to return to whenever you are away. You keep a Massachusetts domicile until you clearly abandon it and establish a new domicile elsewhere with the intention to remain. A foreign move to Spain can satisfy that logic, but only if the facts show permanence rather than an extended holiday abroad.

The weak file is the half-move. You lease an apartment on the Costa del Sol but keep the Massachusetts home furnished and available. Your Spanish file says relocation, but your driver's licence, voter registration, brokerage address, doctors, cars, insurance, clubs and closest routines stay in Massachusetts. You say you live in Spain indefinitely, yet your calendar shows long Massachusetts stays and no clear new centre of life. No single fact decides the question. The overall pattern does.

The stronger file is coherent. The Massachusetts home is sold or placed into a genuine third-party rental. Daily medical care, banking, household possessions and routines shift to Spain. The Spanish lease or deed, padrón, TIE, bank account, health insurance and local expenses all support the same date. Massachusetts ties that remain are explainable: family visits, a managed rental property, or specific source income, rather than a continuing home base you plainly intend to return to.

The statutory resident: abode plus more than 183 days

The statutory-resident rule is the trap that catches part-time snowbirds. Even after your domicile has moved to Spain, Massachusetts can treat you as a resident for a year if you both maintain a permanent place of abode in the state and spend more than 183 days there. A permanent place of abode is a dwelling you continually maintain and can use, whether or not you own it; guidance notes it can include a place maintained by a spouse. It generally does not include a hotel-style or purely temporary setting such as a hospital room, a dormitory, military barracks, or a dwelling with no kitchen or bathing facilities.

Two features make Massachusetts strict on the day count. First, Massachusetts counts any part of a day spent in the state as a full day, so a short stopover, a weekend or a travel day generally counts. Second, the 183-day line is a bright number, so weak records lose arguments. If you keep any Massachusetts dwelling available for personal use, track your days from the start of the year: flights, calendars, card statements, medical appointments, hotel stays, leases and short notes on the purpose of each visit. Do not rebuild the year from memory after a state inquiry. A move to Spain should have a tax calendar from day one.

Massachusetts statusCore triggerSpain-move consequence
Domiciliary residentMassachusetts remains the legal domicileMassachusetts can keep taxing worldwide income even while you live abroad
Statutory residentPermanent place of abode plus more than 183 Massachusetts daysPart-year visits can become full-resident exposure if a dwelling stays available
Part-year residentMove out of Massachusetts during the year to a new homeDeparture date and Form 1-NR/PY workpapers matter
NonresidentNo Massachusetts resident route appliesMassachusetts generally looks to Massachusetts-source income only

What Massachusetts taxes while you are resident

If Massachusetts treats you as a resident, it taxes your income from all sources, wherever earned. Massachusetts applies a flat rate to most income, with short-term capital gains taxed at a higher rate, and it does not offer the kind of generous retirement-income carve-outs some states use. That is the overlap US retirees need to avoid. Spain may tax worldwide income after Spanish residence begins. The United States taxes citizens federally. If Massachusetts also treats you as resident, a third layer can apply to the same pension, IRA withdrawal, annuity, dividend or capital gain.

Massachusetts gives residents a credit for some taxes paid to other US states, but that is not the same as treaty relief with Spain. The US-Spain treaty coordinates federal US tax and Spanish tax; it does not bind Massachusetts. For a retiree moving from Massachusetts to Spain, the cleanest answer is usually not to hunt for a state credit after the fact. It is to stop being a Massachusetts resident before the income year creates the overlap.

The 4% surtax and the exit-year sale

Massachusetts adds a 4% surtax on the part of annual taxable income above roughly one million dollars, a threshold that is adjusted upward each year for inflation and sits above 1.05 million dollars for 2026. On top of the flat base rate, that means the top slice of a very high income year can face a combined Massachusetts rate near nine percent. Crucially, the surtax looks at total taxable income for the year, so a single large event can push an otherwise ordinary retiree over the line.

This is the Massachusetts angle that most affects a move to Spain. Many people sell the family home, liquidate a concentrated stock position, exercise options or sell a business interest in the same year they relocate. If that gain lands in a year you are still a Massachusetts resident, it can be exposed to both the base rate and the surtax, and then potentially to Spanish tax as well once Spanish residence begins. The timing of the sale, the timing of the residency break and the timing of the first Spanish tax year should be planned together, not in isolation. See the note on selling a US home after becoming a Spanish resident and the overview of how Spain taxes US retirement income.

Private-client point: a one-off exit-year sale is exactly what the surtax is built to catch. Decide whether the gain should be realised before or after the Massachusetts break, and before or after Spanish residence begins.

What Massachusetts can still tax after you leave

After a clean exit, Massachusetts's question generally shifts to Massachusetts-source income. Nonresidents and part-year residents generally report on Form 1-NR/PY. A nonresident is taxed on income derived from Massachusetts sources; a person who moves out during the year is a part-year resident and is taxed as a resident for the part of the year before the move and on Massachusetts-source income afterward. A foreign move should be reviewed through the same source-and-period lens.

For a retiree, Massachusetts-source income may include rent from Massachusetts real property, gain from the sale of Massachusetts real estate, income from a Massachusetts business or partnership, or services physically performed in Massachusetts during visits. That is different from retirement-account distributions that follow the person once nonresidency is real. A Massachusetts rental property can remain taxable to Massachusetts even when your IRA distribution is not. The property decision therefore belongs in the same planning meeting as the Spanish move, the home-sale timing question and the first Spanish tax year.

Pensions, IRA and 401(k): the PITLA shield

Federal law gives retirees a useful protection. Under 4 U.S.C. section 114, sometimes called the Pension Source Tax Act, a state generally may not tax covered retirement income, such as pensions, IRA and 401(k) distributions and certain deferred-compensation streams, of an individual who is not a resident or domiciliary of that state. Once you are genuinely a Massachusetts nonresident and non-domiciliary, that shield generally applies to your covered retirement income.

The key is the order. PITLA helps after Massachusetts nonresidency and non-domicile are real. It does not save a file where Massachusetts still says you are a domiciliary or statutory resident, and it does not convert Massachusetts-source real-estate or business income into non-Massachusetts income. For a non-lucrative visa retiree, the planning sequence is: build the Massachusetts exit evidence, document the Spain domicile facts, then rely on the pension-source shield for retirement income and separately manage any Massachusetts property, business or exit-year gain.

Retiree point: "my pension is protected" is not the same as "Massachusetts residency ended." The protection depends on the domicile and residency answer first.

A Massachusetts-to-Spain exit checklist

A clean Massachusetts exit is built through ordinary facts, not one magic form. Your Massachusetts return, federal return, Spanish immigration documents and Spanish tax-residence analysis should tell a consistent story: your permanent home moved from Massachusetts to Spain on a specific date.

Also read the moving-to-Spain-from-USA checklist, the guide to how Spain taxes US retirement income, and the overview on cutting US state tax residency. Massachusetts pairs a sticky domicile test with a strict statutory-resident day count and a surtax that punishes a badly timed exit-year sale, so the facts deserve the same disciplined treatment as California or New York.

Frequently asked questions

Does moving from Massachusetts to Spain automatically end Massachusetts tax residency?

No. Massachusetts can treat a person as resident through domicile or through the statutory-resident rule. A Spain move helps only if the facts show that the Massachusetts domicile was abandoned and a new permanent home was established elsewhere, and if you do not keep a Massachusetts abode plus more than 183 days in the state.

What is a Massachusetts statutory resident?

Someone who is not domiciled in Massachusetts but maintains a permanent place of abode in the state and spends more than 183 days of the taxable year there. Massachusetts counts any part of a day in the state as a full day, so the day count is strict.

What does Massachusetts tax after I become a nonresident?

Generally Massachusetts-source income. Nonresidents and part-year residents usually file Form 1-NR/PY. Massachusetts-source income can include Massachusetts rentals, gain on Massachusetts real estate, or work physically performed in Massachusetts.

Will the 4% surtax hit a home or business sale in my exit year?

It can. The surtax applies to annual taxable income above roughly one million dollars, indexed each year. A large one-off gain realised while you are still a Massachusetts resident can be exposed to the base rate and the surtax, so the timing of the sale and the residency break should be planned together.

Can Massachusetts tax my IRA, 401(k) or pension after I move to Spain?

If you are genuinely not a Massachusetts resident or domiciliary, federal 4 U.S.C. section 114 generally prevents Massachusetts from taxing covered retirement income. The protection depends on first breaking Massachusetts residency and domicile.

Does the US-Spain treaty stop Massachusetts state tax?

No. The treaty coordinates federal US tax and Spanish tax. Massachusetts is not a party to that treaty, so the state layer must be managed through Massachusetts residency, domicile, day-count and source-income rules.

Sources reviewed July 2026: Massachusetts Department of Revenue guidance on legal and residency status, domicile and the statutory-resident definition (permanent place of abode plus more than 183 days, with any part of a day counted as a full day); Mass.gov guidance on Massachusetts tax rates and the 4% surtax on taxable income above an inflation-indexed threshold; Massachusetts DOR guidance on resident, part-year resident and nonresident filing and Form 1-NR/PY; and 4 U.S.C. section 114 on state taxation of nonresident retirement income. General information only, not legal, tax or immigration advice, and not Massachusetts state-tax advice.

Massachusetts to Spain

Plan the Massachusetts exit before the Spanish tax year starts

Tell us whether you will keep a Massachusetts home, how often you expect to return, whether a large sale is coming, and what income funds the move. We can align the immigration calendar with the Massachusetts exit questions your US adviser should resolve.

✓ Thank you. We'll review your situation and reply within 24 hours.

Confidential · No obligation · Reply within 24 hours

Do not let Massachusetts follow you to Spain

For Massachusetts retirees, immigration timing, domicile evidence, day-count facts, surtax planning and state-residency work should be handled together before the first Spanish tax year becomes expensive.

iMessage WhatsApp