Live in Maryland, Work in Massachusetts: Which State Taxes Your Paycheck?
Answer
Expect withholding in Massachusetts and a return in both. Maryland and Massachusetts hold no reciprocal agreement, so the overlap is resolved after the fact: Massachusetts taxes the Massachusetts-source wages, and your Maryland resident return claims a credit for that tax against the Maryland liability on the same income.
Last verified
Without an agreement between Maryland and Massachusetts, the overlap is handled after the fact rather than prevented. That is why the filing order matters: the Massachusetts figure is an input to the Maryland return, so completing Maryland first means doing it twice.
A Maryland resident taxed by another state on the same income claims the credit for taxes paid to other states on Form 502CR. The credit is capped at the Maryland tax on that income, so it removes the double tax but never refunds the excess when the other state charges more.
What you file
- 1Nonresident return · MassachusettsForm 1-NR/PY
File the Massachusetts nonresident return FIRST — you need the Massachusetts tax figure before you can complete Maryland.
- 2Resident return · MarylandForm 502CR
File a Maryland resident return reporting all income, then claim the credit for tax paid to Massachusetts. The credit is capped at what Maryland would have charged on that same income, so if Massachusetts taxes it at a higher rate the difference is not refunded.
The two states, side by side
| Maryland | Massachusetts | |
|---|---|---|
| Taxes wages | Yes — graduated | Yes — flat |
| Reciprocity partners | 4 (Form MW507) | None |
| Convenience rule | No | No |
| Nonresident return | Form 505 with Form 505NR | Form 1-NR/PY |
| Credit for other-state tax | Form 502CR | Schedule OJC |
| Nonresident safe harbour | None published | None published |
| Local income tax | Yes | No |
| Revenue department | Comptroller of Maryland | Massachusetts Department of Revenue |
| Last verified |
The other direction
Reversing the commute does not always reverse the answer. Living in Massachusetts and working in Maryland gives:Both states — credit offsets the double tax.
Same two states, different situation
The withholding answer turns on how you are paid and where the work happens, not only on which two states are involved.
- Remote worker: Maryland → MassachusettsHome state only
- 1099 contractor: Maryland → MassachusettsHome state, plus the client state if you work there
- Moved mid-year: Maryland → MassachusettsTwo part-year returns
Other Maryland pairs
Questions people actually ask
I live in Maryland and work in Massachusetts. Which state takes the tax out of my paycheck?
Expect withholding in Massachusetts and a return in both. Maryland and Massachusetts hold no reciprocal agreement, so the overlap is resolved after the fact: Massachusetts taxes the Massachusetts-source wages, and your Maryland resident return claims a credit for that tax against the Maryland liability on the same income.
Which state should my employer be withholding for?
Massachusetts. The wages are sourced to Massachusetts, so Massachusetts withholding is correct and there is no Maryland withholding to set up.
Will I end up paying tax twice on the same income?
Not twice over, but you will pay the higher of the two rates. Maryland gives residents a credit for tax paid to Massachusetts on the same income, claimed on Form 502CR. The credit is capped at the Maryland tax on that income, so if Massachusetts taxes it more heavily the excess is not refunded by either state.
How current is this?
The Maryland and Massachusetts rules on this page were last checked against Comptroller of Maryland and Massachusetts Department of Revenue on 2026-08-07. We re-check the full grid every December after state legislative sessions close, and re-check the convenience-of-the-employer states quarterly because that is where the rules move fastest.
Sources
Every fact above comes from the revenue department that publishes the rule. We do not cite secondary summaries, and we do not restate a figure we could not find at source.
- Comptroller of Maryland — individual income taxaccessed 2026-08-07
- Maryland — Form MW507accessed 2026-08-07
- Massachusetts Department of Revenue — individual income taxaccessed 2026-08-07