Need to Know Tax › Massachusetts
Massachusetts · form and line
Part-Year and Nonresident Returns
Moved to or from Massachusetts, or earned income there while living elsewhere: where each type of income goes on the Massachusetts return, and how to report tax paid to another state.

Edited by Charles Trautman, EA
Need to Know Tax · form and line numbers read by AI from the 2025 Massachusetts Department of Revenue forms, November 29, 2026
Before you start
A move between states, or income earned in a state you do not live in, means two state returns that have to agree with each other and with the federal return. This is the return most worth taking to a tax professional. This page shows where each number goes.
Line check: the form and line numbers on this page were read by AI from the 2025 Massachusetts forms on November 29, 2026. The editor, an enrolled agent, has not yet checked them line by line, so look at the form before you rely on a line number.
You file the regular Massachusetts resident return
A full-year resident does not use the part-year and nonresident lines on this page. Your Massachusetts return already takes in the income you earned in the other state. What you need is the credit for the tax that state charged you: Form 1, line 30 (Schedule OJC).
A full-year resident fills in Schedule OJC and carries the credit to Form 1, line 30.
How Massachusetts does it
Where each type of income goes
Lines are from the 2025 Massachusetts forms; click a form name to open it. Massachusetts uses one form, Form 1-NR/PY, for both kinds of filer, so the two columns match. What differs is what goes on each line: click a row to read it. The 2026 lines will be added when the state posts its forms.
| Click a type of income to read what goes in the Massachusetts column | Federal line | Part-year resident 2025 form and line | Nonresident 2025 form and line |
|---|---|---|---|
| Income, Form 1-NR/PY lines 5 to 12 | |||
Wages received while a resident. Pay for work done in Massachusetts. A job partly in Massachusetts is split by working days on the line 13 worksheet. | 1040, line 1z | Form 1-NR/PY, line 5 | Form 1-NR/PY, line 5 |
Part-year resident: Wages received while a resident. Nonresident: Pay for work done in Massachusetts. A job partly in Massachusetts is split by working days on the line 13 worksheet. | |||
Taxable pensions and IRA amounts received while a resident. Generally none: federal law bars a state from taxing a nonresident's qualified retirement income. | 1040, lines 4b and 5b | Form 1-NR/PY, line 6 | Form 1-NR/PY, line 6 |
Part-year resident: Taxable pensions and IRA amounts received while a resident. Nonresident: Generally none: federal law bars a state from taxing a nonresident's qualified retirement income. | |||
Interest received while a resident, less the $100 or $200 exemption. None, unless tied to a Massachusetts business. | 1040, line 2b | Form 1-NR/PY, line 7 | Form 1-NR/PY, line 7 |
Part-year resident: Interest received while a resident, less the $100 or $200 exemption. Nonresident: None, unless tied to a Massachusetts business. | |||
Income for the resident period. Income of a business, trade or profession carried on in Massachusetts. | Schedule 1, lines 3 and 6 | Form 1-NR/PY, line 8 | Form 1-NR/PY, line 8 |
Part-year resident: Income for the resident period. Nonresident: Income of a business, trade or profession carried on in Massachusetts. | |||
Income for the resident period. Rent from Massachusetts real property and the Massachusetts share of pass-through income. | Schedule 1, line 5 | Form 1-NR/PY, line 9 | Form 1-NR/PY, line 9 |
Part-year resident: Income for the resident period. Nonresident: Rent from Massachusetts real property and the Massachusetts share of pass-through income. | |||
Amounts received while a resident. Unemployment tied to Massachusetts employment (10a); Massachusetts lottery and casino winnings (10b). | Schedule 1, lines 7 and 8 | Form 1-NR/PY, line 10a and 10b | Form 1-NR/PY, line 10a and 10b |
Part-year resident: Amounts received while a resident. Nonresident: Unemployment tied to Massachusetts employment (10a); Massachusetts lottery and casino winnings (10b). | |||
From Schedule X, for the resident period. Massachusetts-source items from Schedule X. | Schedule 1 | Form 1-NR/PY, line 11 | Form 1-NR/PY, line 11 |
Part-year resident: From Schedule X, for the resident period. Nonresident: Massachusetts-source items from Schedule X. | |||
Interest, dividends and gains for the resident period, from Schedule B and Schedule D. Only gain on Massachusetts real or tangible property, or amounts tied to a Massachusetts business. | 1040, lines 2b, 3b and 7 | Form 1-NR/PY, line 24 and 28 | Form 1-NR/PY, line 24 and 28 |
Part-year resident: Interest, dividends and gains for the resident period, from Schedule B and Schedule D. Nonresident: Only gain on Massachusetts real or tangible property, or amounts tied to a Massachusetts business. Line 24 is Schedule B income; line 28 is the tax on long-term gains from Schedule D. | |||
| The proration lines | |||
Line 2 is the dates you were a resident. Line 3 is days as a resident divided by 365, to four decimals. Not used by a full-year nonresident. | Form 1-NR/PY, lines 2 and 3 | does not apply | |
Part-year resident: Line 2 is the dates you were a resident. Line 3 is days as a resident divided by 365, to four decimals. Nonresident: Not used by a full-year nonresident. | |||
Not used by a part-year resident, unless there was also Massachusetts income while a nonresident. Line 13 splits wages by working days. Line 14 divides the income on this return (14d) by income from all sources (14f); the result is line 14g. | does not apply | Form 1-NR/PY, lines 13 and 14 | |
Part-year resident: Not used by a part-year resident, unless there was also Massachusetts income while a nonresident. Nonresident: Line 13 splits wages by working days. Line 14 divides the income on this return (14d) by income from all sources (14f); the result is line 14g. | |||
| Deductions, exemptions and tax | |||
Up to $2,000 per person, for amounts tied to the income on this return. Up to $2,000 per person, for amounts tied to the income on this return. | Form 1-NR/PY, lines 15a and 15b | Form 1-NR/PY, lines 15a and 15b | |
Part-year resident and nonresident: Up to $2,000 per person, for amounts tied to the income on this return. | |||
Half of the rent paid on a Massachusetts principal residence while a resident, up to $4,000. A nonresident has no Massachusetts principal residence. | Form 1-NR/PY, line 18 | Form 1-NR/PY, line 18 | |
Part-year resident: Half of the rent paid on a Massachusetts principal residence while a resident, up to $4,000. Nonresident: A nonresident has no Massachusetts principal residence. | |||
Several lines are cut by the line 3 figure: medical and health savings accounts, charitable gifts, student loan interest, commuter costs and 529 contributions. The college tuition and organ donation deductions are for full-year residents only. Deductions tied to Massachusetts income, cut by the line 14g figure. | Form 1-NR/PY, line 19 | Form 1-NR/PY, line 19 | |
Part-year resident: Several lines are cut by the line 3 figure: medical and health savings accounts, charitable gifts, student loan interest, commuter costs and 529 contributions. The college tuition and organ donation deductions are for full-year residents only. Nonresident: Deductions tied to Massachusetts income, cut by the line 14g figure. | |||
Line 4g is the full-year total. Line 22 is line 4g times line 3. Line 22 is line 4g times line 14g. | Form 1-NR/PY, lines 4 and 22 | Form 1-NR/PY, lines 4 and 22 | |
Part-year resident: Line 4g is the full-year total. Line 22 is line 4g times line 3. Nonresident: Line 22 is line 4g times line 14g. The same exemption amounts as on Form 1. | |||
5% of taxable income (26), plus tax on Schedule B income (27) and long-term gains (28). No Tax Status is line 31, from Schedule NTS-L-NR/PY. 5% of taxable income (26), plus tax on Schedule B income (27) and long-term gains (28). No Tax Status is line 31, from Schedule NTS-L-NR/PY. | Form 1-NR/PY, lines 26 to 32 | Form 1-NR/PY, lines 26 to 32 | |
Part-year resident and nonresident: 5% of taxable income (26), plus tax on Schedule B income (27) and long-term gains (28). No Tax Status is line 31, from Schedule NTS-L-NR/PY. The 4% surtax on income over $1,083,150 (2025) applies here too. | |||
| Tax paid to another state: who can claim the credit | |||
Not this row: see the two rows below. Not this row: see the two rows below. | Form 1, line 30 (Schedule OJC) | Form 1, line 30 (Schedule OJC) | |
Part-year resident and nonresident: Not this row: see the two rows below. A full-year resident fills in Schedule OJC and carries the credit to Form 1, line 30. | |||
Allowed for tax due to another state on income that Massachusetts also taxed during the resident period. The form marks this line for part-year residents only. Does not apply. | Form 1-NR/PY, line 34 (Schedule OJC) | not allowed | |
Part-year resident: Allowed for tax due to another state on income that Massachusetts also taxed during the resident period. The form marks this line for part-year residents only. Nonresident: Does not apply. | |||
Does not apply. Massachusetts gives a nonresident no credit. The credit comes from your home state, on its return, for the tax you paid Massachusetts. | not allowed | not allowed | |
Part-year resident: Does not apply. Nonresident: Massachusetts gives a nonresident no credit. The credit comes from your home state, on its return, for the tax you paid Massachusetts. | |||
A worked example: a mid-year move
A single person with no dependents moved to Massachusetts on July 1, 2025. Wages were $40,000 from a job in the old state through June and $50,000 from a Massachusetts job after the move. Bank interest was $200 through June and $400 after. Federal adjusted gross income is $90,600. No other income, no adjustments, standard deduction.
| Form 1-NR/PY, lines 2 and 3 | Resident July 1 to December 31: 184 days divided by 365 = 0.5041 |
| Form 1-NR/PY, line 5: wages | $50,000, the wages received while a resident |
| Interest | $400 received while a resident: line 7 if from a Massachusetts bank (less $100), otherwise Schedule B and line 24. The example treats it as taxed in full. |
| Form 1-NR/PY, line 22: exemptions | $4,400 times 0.5041 = $2,218 |
| Taxable income | $50,400 less $2,218 = $48,182, before the deduction of up to $2,000 for Social Security and Medicare tax withheld |
| Massachusetts tax | 5% of $48,182 = about $2,409 |
The old state taxes the $40,200 earned before the move on its own part-year return. No income is taxed by both states, so there is no credit for tax paid to another state on either return.
An illustration with 2025 figures, to show how the lines connect. It is not advice for your return.
Tax paid to another state: how to report it
When two states tax the same income, one of them gives a credit so you are not taxed twice. As a rule the state where the income was earned taxes it first, and the state where you live gives the credit.
- File the other state's return first. Schedule OJC says you must have filed a return and paid tax in the other state or jurisdiction.
- Fill in Schedule OJC, one row for each jurisdiction. The 2025 schedule asks for the two-letter code, the income on which you paid tax there, the W-2 withholding, and the total tax due before credits and payments. Its line numbers were not read (need to verify).
- Figure the Massachusetts tax on the same income. The credit cannot be more than the share of Massachusetts tax that falls on the income taxed by both.
- Take the smaller figure. Enter it on Form 1, line 30, or Form 1-NR/PY, line 34.
- Keep the other state's return. The Department may ask for a copy.
If you moved during the year, expect little or no credit. Each state taxes the months you lived there, so the same income is not usually taxed twice. The credit matters when income keeps coming from the old state after the move.
If you live elsewhere and earned income in Massachusetts, file the Massachusetts return as a nonresident, pay Massachusetts, and claim the credit on your home state's return.
City taxes do not count: the credit is for tax due to a state, a U.S. territory, the District of Columbia or a Canadian province, not to a city or county.
Where these returns go wrong
- Taking the credit for the tax withheld. The credit is based on the tax shown on the other state's finished return, not the withholding on the W-2.
- Claiming the credit on both returns. Only one state gives it, normally the state you live in.
- Doing the returns in the wrong order. The return for the state where the income was earned comes first, because the home state's credit needs its numbers.
- Trusting the state wages on the W-2. After a mid-year move with one employer, the state wage boxes can overlap or both show the full year. Split the wages by where the work was done and when.
- Reporting investment or retirement income to Massachusetts as a nonresident. Bank interest, dividends, pensions, IRA withdrawals and Social Security belong to the state you live in when you receive them.
- Reporting a pension to the state you left. Once you have moved, the old state cannot tax your retirement income, even if you earned the pension there.
- Reporting the whole year's income. Form 1-NR/PY takes only resident-period income and Massachusetts-source income.
- Taking the full exemptions. They are multiplied by the line 3 figure for a part-year resident, or the line 14g figure for a nonresident.
- Claiming the Earned Income Credit as a nonresident. It is for residents and part-year residents.
- Claiming credit for a city income tax. Schedule OJC does not take city or county taxes.
- Filing jointly with different residency periods. A joint Form 1-NR/PY generally needs both spouses to have the same periods.
Also
- The Earned Income Credit and the Child and Family Tax Credit are for part-year residents, multiplied by the line 3 figure (lines 47 and 50). Nonresidents do not qualify.
- The Senior Circuit Breaker Credit (line 48) is for part-year residents only among Form 1-NR/PY filers.
- A nonresident who sells Massachusetts real estate may have tax withheld at closing; it is claimed on line 54.
- Anyone with Massachusetts gross income over $8,000 must file, wherever they live.