Massachusetts Capital Gains Tax: What You'll Actually Owe
If you are selling appreciated property in Massachusetts, the state tax is only one of four layers, and usually not the one that does the most damage.
What is the tax bill on your Massachusetts sale going to be?
Send me the sale price and rough basis. Within one business day I'll email you the actual number and the Seller's Guide to §453. If it doesn't fit your deal, I'll tell you that plainly.
No retainer · no obligation. Hans Goldstein, a licensed insurance agent (CA Insurance License #4273294), will contact you and may discuss insurance products, including annuities.
Go deeper: the 2026 Massachusetts capital gains guide for sellers of a business, property or farm on Big Sale Tax.
How Massachusetts treats capital gains
Massachusetts taxes long-term capital gains at 5%, but the millionaire surtax adds 4% on total income above $1,107,750 for 2026 ($1,083,150 for 2025), which a single large sale will usually trigger.
The three layers on a Massachusetts sale
Most sellers budget for one tax and get hit with four:
- Federal long-term capital gains at 0%, 15% or 20% depending on total taxable income for the year.
- Net investment income tax of 3.8% once modified AGI passes $200,000 single or $250,000 married filing jointly. Those thresholds are not indexed for inflation, so more sellers cross them every year.
- Depreciation recapture, if the asset was a rental or business property. The real-property portion is taxed at up to 25% as unrecaptured Section 1250 gain, and equipment is recaptured as ordinary income. See depreciation recapture.
- Massachusetts state tax at up to 9.0%, applied on top of everything above.
The result on a large sale is around 32.8% once the surtax applies.
Why the year matters more than the rate
Every one of those layers is triggered by income landing in a single tax year. The federal rate steps from 0% to 15% to 20% based on taxable income. The 3.8% surtax switches on at a fixed threshold. For sellers 65 and older, the new $6,000 senior deduction begins phasing out at $75,000 of modified AGI ($150,000 joint) and is fully gone by roughly $175,000 ($250,000 joint), so a single large sale wipes it out completely.
Spreading the same gain across several years keeps each year's income lower, and each layer is calculated on that lower number. That is the entire mechanism behind an installment sale under IRC §453, and it is why two sellers with identical gains can pay very different totals.
Recapture is the exception: under §453(i) it is recognized in the year of sale regardless of how payments are structured.
What this actually costs: Massachusetts numbers
Take a $500,000 long-term gain, on top of $200,000 of other income, married filing jointly.
That is roughly 29% of the gain before any recapture. The Massachusetts portion alone is about $25,000, money that has nothing to do with the federal rules everyone reads about.
If the asset was ever a rental or business property, add depreciation recapture: up to 25% on the real-property portion and ordinary rates on equipment.
The four layers, in the order they hit you
1. Federal capital gains. 0%, 15% or 20%, decided by your total taxable income for the year, including the gain itself. That is why one large sale lands people in the 20% bracket who normally sit far below it.
2. The 3.8% net investment income tax. Switches on above $200,000 modified AGI single, $250,000 married filing jointly. Those thresholds have never been indexed for inflation, so each year quietly captures more sellers.
3. Depreciation recapture. Only if you depreciated the asset. The real-property portion is unrecaptured Section 1250 gain at up to 25%; equipment is Section 1245 recapture at ordinary rates. The §1245 piece cannot be spread: §453(i) puts it in the year of sale. Unrecaptured §1250 gain on a building is spread with the payments.
4. Massachusetts tax. at up to 9.0%, applied on top of everything above.
Who Massachusetts can tax, and on what
- Real property is taxed where it sits. If the property is physically in Massachusetts, Massachusetts taxes the gain whether or not you live there. Moving does not help you on in-state real estate.
- Everything else generally follows residency on the date of sale: business interests, stock, collectibles.
If you are a non-resident selling real property in Massachusetts, expect withholding at closing and a non-resident return the following spring. Withholding is an estimate, not the final tax.
Does spreading the sale help in Massachusetts?
Yes. Massachusetts taxes the gain as ordinary income, so the amount landing in a single year drives your state bracket as well as your federal one. Spreading the gain pulls both down at once, which is why the effect compounds in high-rate states.
An installment sale under IRC §453 spreads the gain across the years you actually receive payments, so every threshold above is tested annually instead of once.
The trade-offs deserve stating plainly: you need a buyer willing to pay over time, you carry collection risk, recapture still lands in year one, and large installment balances can trigger an interest charge under §453A. It fits some sales and not others, which is exactly what a conversation before closing is for.
Find out what your sale is really going to cost you in tax, and what you can do about it
No retainer. On a funded structure, the insurer pays a one-time commission of about 4% of the amount structured to the brokerage firm that places it (Hans’s share is about 2.4%; no trail). It is built into the annuity pricing, not a separate fee.
Find out what your tax bill actually looks like before you sell, including the parts your CPA may not raise until the return is already being prepared.
Most people find out what they owe after the sale closes, when nothing can be changed. A short conversation now tells you the number, which layers apply to your situation, and which options are still open while the sale is still in front of you.
- What you will actually owe: federal, the 3.8% surtax, recapture and your state
- Which of those layers you can still do something about
- Whether spreading the sale changes the number in your case
Hans Goldstein · 213-414-2808 · Hans Goldstein: Tax & Exit Planning · This is an educational conversation, not tax advice. Bring your CPA in before you file.
Hans Goldstein, a licensed insurance agent (CA Insurance License #4273294), will contact you and may discuss insurance products, including annuities.
Selling a house in Massachusetts: what you'll actually owe
The home sale exclusion carries over. Massachusetts excludes the same gain on a principal residence that federal IRC Section 121 excludes ($250,000 single, $500,000 married filing jointly), and state law sets the 2002 version of Section 121 as a floor. Rental and investment property gets no such exclusion.
Rates on the gain. For 2026, long term capital gains are taxed at 5%. Short term gains are taxed at 8.5%. Long term gains on collectibles and pre-1996 installment sales are taxed at 12%.
The 4% surtax counts your sale. Massachusetts adds a 4% surtax on taxable income above $1,107,750 for 2026. The threshold is measured against total taxable income, and the state's own worksheet adds capital gains into that total. Any taxable gain left after the home sale exclusion, plus all gain on a rental, counts toward the threshold.
Deeds excise at closing. The deeds excise ("tax stamps") is $4.56 per $1,000 of sale price, which is $2.28 per $500 including a 14% surcharge. It is paid by the person who signs the deed, meaning the seller. In Barnstable County (Cape Cod), the combined state and county rate is $6.48 per $1,000. As of this writing, Boston's proposed local transfer fee (bill H.5464) sits in the Committee on Revenue and has not been enacted.
Nonresident withholding on $1 million sales. For closings on or after November 1, 2025, the closing agent must file Form NRW within 10 days for any Massachusetts sale with a gross price of $1,000,000 or more. Full year residents are exempt from withholding but still sign a Transferor's Certification. For a nonresident individual, withholding is 4% of the gross sales price, or 5% of estimated net gain if the seller elects the alternative calculation, plus an extra 4% on any amount over the surtax threshold. Withholding is credited against the tax on your return.
Moving away does not erase the tax. Nonresidents are taxed on gain from selling real property located in Massachusetts.
Installment sales. If Massachusetts gain on the deal is under $1 million, federal installment treatment carries over automatically. At $1 million or more, you must file a separate Massachusetts election and post security, or you are treated as electing out and the gain is taxed in the year of sale. A resident who sells on installments and later moves away stays taxable in Massachusetts on all remaining gain and interest from that sale. Very large deferrals can also trigger an interest charge on the deferred tax.
Common mistakes. Assuming the surtax only reaches wages, forgetting that short term gain is taxed at 8.5%, and assuming a buyer or move out of state changes who owes the tax.
Figures can change; confirm your situation with a CPA or at mass.gov/dor.
Worked example: a Massachusetts home sale in 2026
Assumptions: married filing jointly, a home bought for $400,000 including improvements and sold for $1,200,000, lived in for at least 2 of the last 5 years. The $800,000 gain minus the $500,000 exclusion leaves $300,000 of taxable long-term gain, on top of $150,000 of other taxable income.
The 4% surtax does not apply here because total income stays under the 2026 threshold of $1,107,750. This is arithmetic on stated assumptions, not a projection of anyone's actual bill. For how the exclusion works when the gain runs past it, see capital gains on a home sale over the exclusion.
Frequently asked
Q: What is the Massachusetts capital gains tax rate? A: Up to 9.0%. Massachusetts taxes capital gains as ordinary income, so the rate depends on your total income for the year.
Q: Does Massachusetts have a lower rate for long-term capital gains? A: Yes. Massachusetts taxes long-term gains at 5% and short-term gains at 8.5%, and the 4% surtax applies to both above the threshold. The preferential 0/15/20% treatment is federal.
Q: How do I calculate capital gains tax in Massachusetts? A: Start with your sale price minus your adjusted cost basis, which is what you paid plus improvements minus any depreciation you took. That gain is then subject to federal capital gains rates, potentially the 3.8% net investment income tax, depreciation recapture if it was a rental, and Massachusetts tax. The calculator on this site layers all four.
Q: Can I avoid Massachusetts capital gains tax by moving before I sell? A: Residency changes are scrutinised closely and the facts matter a great deal, including where you lived at closing and whether the asset is real property physically located in the state. Real estate is generally taxed by the state where it sits regardless of where you live. Talk to a CPA before relying on this.
Selling something specific in Massachusetts?
- Selling real estate in Massachusetts
- Selling a business in Massachusetts
- Selling a mobile home park in Massachusetts
- Selling a self-storage facility in Massachusetts
- Selling a dental practice in Massachusetts
- Selling a veterinary practice in Massachusetts
- Selling a SaaS business in Massachusetts
- Selling an insurance book of business in Massachusetts
Run your specific numbers
The calculator runs your sale through real 2026 federal + state tax brackets and shows §453 savings vs lump sum side-by-side.
Run the calculator → 213-414-2808