Capital gains tax in Massachusetts (2026): selling a business, real estate or farm
The surtax is the real Massachusetts capital gains story
Most states have one rate. Massachusetts has a split income tax and, since 2023, a 4% surtax that turns a one-time sale into a 9% state bill on the slice above the threshold. The surtax threshold is $1,107,750 for tax year 2026 ($1,083,150 for 2025), indexed every year (Massachusetts DOR surtax guidance, 2026). It applies to total taxable income, so wages, rent and the gain all stack together before the 4% kicks in.
Two details catch sellers off guard. First, the threshold is the same number for a single filer and a married couple filing jointly (2026 Form 1-ES). Second, under M.G.L. c. 62, s. 4(d), a loss in one part of Massachusetts income cannot be used to shrink another part when the surtax base is added up. A big short-term loss does not pull a long-term gain under the line.
In the worked example, the couple's single-year sale produces $253,690 of Massachusetts tax, of which most is the plain 5% and the rest is the surtax on income above $1,107,750 (2026).
Three gain rates, sorted by holding period and asset type
Massachusetts does not use the federal 0%, 15% and 20% brackets. It sorts gains into its own classes (2026 Form 1-ES and M.G.L. c. 62, s. 4):
- Long-term gain on most assets, 5% (2026). Business assets, stock, land and buildings held more than a year.
- Short-term gain, 8.5% (2026). Assets held one year or less.
- Long-term collectibles and pre-1996 installment sales, 12% (2026). Coins, art and similar collectibles stay at the old Part A rate.
- Qualifying Massachusetts startup stock, 3% (M.G.L. c. 62, s. 4(c)). Shares of a Massachusetts corporation incorporated in 2011 or later with under $50 million of assets at investment, bought within five years of incorporation and held at least 3 years.
Equipment recapture and other ordinary income from the deal fall in the regular 5% bucket for 2026, so recapture costs the same at the state level as long-term gain. For the federal layer (0%, 15% or 20%, with 20% above $613,700 of taxable income for joint filers under Rev. Proc. 2025-32 for 2026), see how long-term capital gains are taxed.
Massachusetts has its own installment election above $1 million
Seller financing is the most direct way to keep each year under the surtax line, and the worked example shows it: five payments cut the Massachusetts share from $253,690 to $160,000, because no single year crosses $1,107,750 (2026 threshold). But Massachusetts adds a step the federal return does not have.
Under 830 CMR 62.63.1, a seller who reports a sale on the federal installment method gets the same treatment automatically only when the Massachusetts gain for the whole transaction is under $1 million. At $1 million or more, the seller must file a separate Massachusetts installment election and post security with the Commissioner. Each partner, shareholder or member of a pass-through entity is tested separately. Contingent payments are presumed to be worth their stated maximum price, and an uncapped earn-out is presumed to produce at least $1 million of gain unless the Commissioner approves a lower value.
The same regulation keeps Massachusetts in the deal after you leave: a nonresident who sold a Massachusetts asset on installments still owes Massachusetts tax on later payments, using the apportionment from the year of sale. Model the note terms with the Section 453 installment sale analysis and the seller financing guide, which covers the down payment, security and default terms that protect you.
Selling Massachusetts real estate: Form NRW and the deeds excise
Starting November 1, 2025, the closing attorney or title company must file Form NRW within 10 days of closing for every Massachusetts real estate sale with a gross price of $1,000,000 or more, even when nothing is withheld (Massachusetts DOR, 830 CMR 62B.2.4). Full-year residents file a Transferor's Certification and are exempt from withholding.
Nonresident individuals have 4% of the gross price withheld for 2026, or 5% of estimated net gain if they elect the alternative calculation, plus another 4% on the amount above the surtax threshold. It is a prepayment credited on the return, and moving away does not help here: Massachusetts real estate gain stays Massachusetts-source (see the residency change analysis for intangibles).
Sellers also pay the deeds excise under M.G.L. c. 64D, s. 1: a base rate of $2 for each $500 of consideration, with Barnstable County at $1.50 per $500 under the same section. For a rental or commercial building, compare the 5% Massachusetts rate with a deferral path such as a 1031 exchange or an installment sale of rental property.
Business sales: what the 9% slice lands on
In an asset sale of a company, Massachusetts taxes goodwill, land and buildings held over a year at 5% for 2026 and treats inventory and recapture as ordinary 5% income, so the state barely cares how the purchase price allocation comes out. What moves the Massachusetts number is timing, because every dollar above $1,107,750 of taxable income in 2026 costs 9% instead of 5%. The levers are year-by-year: a two-tax-year closing, year-end timing, an earn-out or a note. Startup stock sellers should test the 3% Part C rate under M.G.L. c. 62, s. 4(c) alongside the federal Section 1202 exclusion.
The estate tax overlaps the sale decision
Massachusetts requires an estate tax return when the gross estate exceeds $2,000,000 for deaths on or after January 1, 2023, and the law gives a $99,600 credit for those estates (Massachusetts DOR estate tax guide, 2026). A seller in their seventies weighing a sale against holding for a step-up at death is trading 5% to 9% of income tax now against an estate tax on the full value later. Both numbers belong in the same model. Get the Big Sale Tax Analysis to see the one-year, installment and hold paths side by side.
What to know
Spreading a sale to stay under the surtax line means carrying the buyer's credit for years, and above $1 million of Massachusetts gain it also means a separate state election with security. Massachusetts keeps taxing installment payments after a move, so a later relocation does not undo a Massachusetts sale. The surtax threshold is indexed, so future-year numbers are estimates until DOR publishes them.
Worked example
Married couple, $250,000 of other income, sells an operating company for a $3.0 million long-term gain plus $200,000 of equipment recapture, all paid in 2026. Same couple and gain, paid in five equal installments of $600,000 of gain; the $200,000 recapture is still taxed in the year of sale under IRC 453(i).
| Engine run | Massachusetts resident, all cash at closing (2026) | Same sale, five annual payments (2026 to 2030) |
|---|---|---|
| Filing status | Married, joint | Married, joint |
| State | Massachusetts | Massachusetts |
| Tax years | 1 | 5 |
| Other income (wages, pension, interest) per year | $250,000 | $250,000 |
| Long-term capital gain | $3,000,000 | $3,000,000 |
| Section 1245 recapture (ordinary income) | $200,000 | $200,000 |
| Federal income tax on the sale | $673,847 | $562,411 |
| Net investment income tax (3.8%) | $121,600 | $121,600 |
| State income tax on the sale | $253,690 | $160,000 |
| Total tax caused by the sale | $1,049,137 | $844,011 |
| Effective rate on the gain | 32.8% | 26.4% |
| Gain kept after these taxes | $2,150,863 | $2,355,989 |
Computed October 7, 2026 by the Big Sale Tax engine (engine.js yearTax): federal brackets, 0/15/20% thresholds and AMT from Rev. Proc. 2025-32 (OBBBA-adjusted) and the One Big Beautiful Bill Act (P.L. 119-21); NIIT under IRC 1411 (thresholds not indexed); state tax from the engine's state table. "Tax caused by the sale" = tax with the sale minus tax without it. Excludes selling costs, local taxes and estimated-tax timing. Education only.
Run your own numbers
2026 law from the engine: federal 0/15/20% brackets (Rev. Proc. 2025-32), 25% cap on unrecaptured 1250 gain, ordinary rates on 1245 recapture, 3.8% NIIT over $200,000 single / $250,000 joint (IRC 1411), AMT, and your state's rules. Tax shown is the tax caused by the sale. Excludes selling costs, local taxes and NIIT exceptions for active business owners. Education only.
Long-Term vs Short-Term Capital Gains (2026)
The one-year holding rule, the 2026 0/15/20% thresholds for every filing status, NIIT, recapture, the state layer and a worked $200,000 example: 11 months vs 13 months, and what spreading the gain can save.
Frequently asked questions
What is the Massachusetts millionaires tax and does it hit capital gains?
Do I owe Massachusetts tax if I move away and then sell?
Does Massachusetts allow installment sale treatment?
Does a married couple get two surtax thresholds?
How much is withheld when a nonresident sells Massachusetts property?
Sources
- Massachusetts DOR, 2026 Form 1-ES instructions (rates and surtax threshold)
- Massachusetts DOR, 4% surtax on taxable income
- M.G.L. c. 62, s. 4 (rates, Part C, surtax)
- 830 CMR 62.63.1: installment transactions
- Massachusetts DOR, real estate sales of $1 million or more (Form NRW)
- Massachusetts DOR, estate tax guide
- M.G.L. c. 64D, s. 1 (deeds excise)
- Rev. Proc. 2025-32 (2026 federal brackets)
Figures as of October 7, 2026; each rate and limit above names its source and year. Education only, not legal or tax advice.
Keep reading
Installment sale (Section 453)
Report the gain as the buyer pays you instead of all in the year of sale, under rules that have been in the tax code for decades.
ReadSeller financing
Carry the buyer's note, collect interest, and pay the tax as the principal comes in, with the right collateral and terms behind it.
ReadMoving states before a sale
Becoming a resident of a no-income-tax state before you sell can remove state tax on some gains, but only for the right asset, with the right timing and a real
ReadYear-end closing timing
December or January? The closing date picks the tax year, the estimated tax bill, the Medicare premium two years out and which deductions still count.
ReadQSBS (Section 1202 and 1045)
Exclude up to $15 million or 10 times basis of gain on qualified C corporation stock, and roll gain into new QSBS within 60 days under Section 1045.
ReadStep-up at death (hold)
Holding an appreciated asset until death can erase the built-in gain for heirs; here is when that beats selling now and when it does not.
ReadKnow your number before you sign.
The Big Sale Tax Analysis is a flat $5,000. Start with a free scoping call; you are invoiced only after it, and only if you go ahead.
Prefer email? Request the analysis by email.