Live in NH, Work in MA: Tax Calculator
Count your Massachusetts workdays, see the share of your pay Massachusetts can tax, and what you may be able to claim back. Free, with no signup.
Chris Brown, Enrolled Agent
You work with me directly, start to finish.
Can I get Massachusetts tax back for days I worked from home in New Hampshire?
Chris Brown, Enrolled Agent
You work with me directly, start to finish.
See the full breakdown
- Massachusetts wages (goes on line 5)$0
- Social Security and Medicare deduction$0
- Household income Massachusetts can't tax$0
- Massachusetts share of your total income0%
- Personal exemption $0, prorated by that share$0
- Massachusetts taxable income$0
- Estimated Massachusetts tax at 5.00%$0
- Withholding if taken on your full wages$0
- Withheld beyond what the day count supports$0
- Withholding short of the estimated tax$0
That difference may be worth claiming.
For the year you are filing now, the claim happens on the Massachusetts nonresident return. For a year you already filed, it takes an amended return, generally allowed within three years of filing the original. Both routes are explained below.
Your withholding looks in line with your workdays, so there is likely nothing extra to claim for this year.
The withholding you entered is below the estimated tax, so the difference would be settled when the return is filed.
Your Massachusetts income is small enough that the state may not require a return from you at all. Filing is still how withheld tax comes back, so it is worth checking.
Want us to check this against your actual W-2?
Call 603-860-6000This is an estimate. It runs the day count, the Social Security and Medicare deduction, and the prorated personal exemption at the flat Massachusetts wage rate, and it treats a day split between the two states as a Massachusetts day, which is what the Form 1-NR/PY instructions direct. It leaves out dependent exemptions, the low-income provisions, and the surtax on very high income, so your actual return can differ. It is general information rather than advice on your specific situation. See the full disclaimer. The 2026 figures are last year's carried forward, because the 2026 instructions are not published yet; we update this page each year.
How Massachusetts counts your workdays
Massachusetts can only tax a New Hampshire resident on income earned for work physically performed in Massachusetts. For a salaried employee, that turns into a fraction: days worked in Massachusetts over total working days for the year. Days you didn't work at all, meaning weekends, paid holidays, vacation, sick time, and any other leave, come out of the count on both sides before anything is divided.
Two details trip people up. A day split between the Boston office and your kitchen table counts as a Massachusetts day unless you can prove you worked outside Massachusetts for more than half of it (830 CMR 62.5A.1(5)(a)), and the calculator takes the conservative treatment by counting every split day as a Massachusetts day. And the bottom of the fraction is your working days, so a generous vacation policy makes each remaining day count for more.
This page is the tool. The full picture of the cross-border rules, from the return lines to the remote-work history, lives in our NH and Massachusetts cross-border tax guide.
Why your household's other income matters
The day count settles how much of your salary Massachusetts can tax, and nothing else changes it. What the rest of your household's income changes is the deduction side. A nonresident gets the same personal exemption as anyone else, $4,400 single or $8,800 on a joint return in 2025, but only the Massachusetts fraction of it: the exemption is prorated by the share of your total income that came from Massachusetts.
So a spouse earning in New Hampshire, a retirement withdrawal, or a second job all make that share smaller, which shrinks the exemption and raises the Massachusetts tax slightly. It usually moves the answer by tens of dollars rather than hundreds, and it is one of the places software and DIY filers get it wrong in both directions. That is why the calculator asks.
How an overpayment gets claimed back
If your W-2 shows your full salary as Massachusetts wages, the claim happens on your Massachusetts nonresident return: the day-count wages go on line 5, the full withholding from box 17 goes on the withholding line, and the difference is claimed as a refund. The return can be e-filed, which gets a refund back faster than mailing it on paper.
For a year you already filed without the day count, the same correction goes on an amended Massachusetts return. Massachusetts accepts one within three years of the date you filed the original return, two years from an assessment, or one year from a payment, whichever is later, so up to three back years are usually still open. The calculator's year menu goes back that far for exactly this reason.
What backs up the day count
If Massachusetts asks, the burden of supporting the fraction is on you. Your employer's records carry the most weight: a badge or building-access report lists the exact dates you were in the Massachusetts office, and timekeeping data and a written hybrid schedule support it. Your own calendar, kept as the year goes, comes next, then commuting charges and parking records for the days in question. Many employers purge access logs after a year, so ask for a copy in the middle of the year and another one in January, and keep whatever you used to build the count.
Example: A married couple with one Massachusetts job, 2025
An engineer living in Nashua earns $130,000 from a Massachusetts employer and spends three days of a normal week in the office. 2025 has 261 weekdays; taking out 11 company holidays, 15 vacation days, and 5 sick days leaves 230 working days, of which 138 were in Massachusetts. That is a 60% share, so $78,000 of the salary is Massachusetts income.
The deductions come next. $2,000 of Social Security and Medicare comes off, and the personal exemption is prorated by the share of household income that came from Massachusetts. Filing jointly with a spouse earning $80,000 in New Hampshire, that share is $78,000 of $210,000, or 37.14%, so the $8,800 joint exemption is worth $3,268. Massachusetts taxable income lands at $72,732 and the tax at $3,637, against roughly $6,500 withheld on the full salary. The difference of about $2,863 is what the return can claim back. (An illustration with rounded figures; actual numbers vary with your schedule, your household income, and your withholding.)
Fixing the withholding going forward
Claiming it back on the return means lending Massachusetts money all year. The forward fix is asking payroll to withhold Massachusetts tax on your in-state share instead of the full salary. Take-home pay goes up right away. The trade-off is that the estimate has to hold: change to a schedule with more office days, or land a project that keeps you in Massachusetts for a stretch, and the lighter withholding leaves a balance due at filing.
What this estimate includes, and what it leaves out
The calculator follows the Massachusetts nonresident return in order: the working-day denominator with holidays and leave removed, the Massachusetts share of your wages, the Social Security and Medicare deduction on that Massachusetts income, and the personal exemption prorated by your household's Massachusetts share. The flat 5% rate applies to what is left. When you leave box 17 blank, it assumes your employer withheld on the full salary, which is the common case this page exists for.
Some of the return is still outside it. Dependent exemptions, the low-income provisions for smaller Massachusetts incomes, the rental and commuter deductions, and the extra 4% surtax on income over roughly $1.1 million are all left out, and income taxed at rates other than the wage rate is outside it too. Treat the result as the number that tells you whether a claim is worth pursuing, and have the actual return prepared from your real records.
Frequently asked questions
How many working days a year does the Massachusetts day count use?
A year has 260 to 262 weekdays. From those, take out every day you didn't work: paid holidays, vacation, sick days, and any other leave. Most full-time schedules land between 220 and 240 working days, and that number is the bottom of the fraction. The calculator counts the weekdays for the year you pick and pre-fills the usual eleven holidays.
What if I don't know exactly how many days I worked in Massachusetts?
Rebuild the count before you file, because the return is only as good as that number. A typical year is easier to reconstruct than people expect: your work calendar, badge or parking records, commuting charges, and the weeks you know you were away usually settle it. To try a figure out first, multiply your usual office days per week by about 46 working weeks, then refine it once you have the records in front of you.
Why does my spouse's income change my Massachusetts tax?
It doesn't change what Massachusetts taxes, only what it lets you deduct. Your Massachusetts wages come from the day count alone. Your personal exemption is then prorated by the share of your household's total income that came from Massachusetts, so a spouse earning in New Hampshire makes that share smaller and shrinks the exemption. Retirement withdrawals, a second job, and self-employment income all work the same way, which is why the calculator asks for them.
Is the number this calculator shows my actual refund?
It's an estimate of the withholding your day count doesn't support. It runs the day count, the Social Security and Medicare deduction, and the prorated personal exemption, and it leaves out dependent exemptions, the low-income provisions, and the surtax on very high income. Your real withholding can also differ from the flat 5% it assumes when box 17 is blank. Treat it as the number that tells you whether the claim is worth making.
Can I claim money back from Massachusetts for a year I already filed?
Often, yes. The fix is an amended Massachusetts return with the correct day-count wages. Massachusetts accepts one within three years of the date you filed the original return, two years from an assessment, or one year from a payment, whichever is later, so up to three back years are usually still open. That is why the calculator's year menu goes back that far.
Did my employer make a mistake by withholding Massachusetts tax on everything?
Massachusetts withholding is supposed to follow where the work is done, so withholding on the full salary is more than your days support. The W-2 is still accurate about what came out, and the usual fix is claiming the difference on your return. An employer can also issue a corrected W-2 or a written breakdown of your Massachusetts wages instead. Going forward you can ask payroll to withhold on just your Massachusetts share, which raises your take-home pay now but means owing at filing if you end up in the office more than planned.
Does this calculator work for self-employment income?
It's built for W-2 wages only. Massachusetts sources self-employment income under different rules, and the right answer depends on where the work is physically performed and how the business is set up. If part of your 1099 or business income was earned in Massachusetts, call us and we'll work out which sourcing rules apply to it.
Where to learn more
- NH and Massachusetts Cross-Border Tax GuideThe full guide for NH residents with a Massachusetts paycheck: the day-count rule, the return lines, and the remote-work history.
- Tax Help for NH Residents Working in MAWhat we prepare for cross-border commuters, and how the day-count return gets filed.
- Massachusetts tax rates (mass.gov)The state's own list of current rates, including the 5% rate on wages.
Talk to your tax professional today
Call to talk through your tax situation with a licensed tax pro who’ll remember you next year.