Big Sale TaxHans Goldstein: Tax & Exit Planning
Home / Capital Gains / By State / Massachusetts
Massachusetts, 2026

Capital gains tax in Massachusetts (2026): selling a business, real estate or farm

Short answerMassachusetts taxes long-term gains at 5% and short-term gains at 8.5% for 2026, with collectibles at 12% (Form 1-ES, 2026). On top, a 4% surtax hits taxable income above $1,107,750. In our worked example a $3.2 million business sale costs $1,049,137 in total tax, and $253,690 of that is Massachusetts. Spreading the same sale over five years drops the state share to $160,000.

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 runMassachusetts resident, all cash at closing (2026)Same sale, five annual payments (2026 to 2030)
Filing statusMarried, jointMarried, joint
StateMassachusettsMassachusetts
Tax years15
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 gain32.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

Federal on the sale$0
NIIT$0
State$0
Total tax, held over a year$0
Effective rate0%
If held one year or less$0

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.

Free PDF sheet

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.

By entering your email you agree to receive this sheet and occasional educational emails from Hans Goldstein: Tax & Exit Planning. Unsubscribe anytime.

Frequently asked questions

What is the Massachusetts millionaires tax and does it hit capital gains?
Yes. The 4% surtax applies to all taxable income above the threshold, $1,107,750 for tax year 2026, and capital gains count toward that total. A long-term gain that would be taxed at 5% is taxed at 9% on the part above the line. Losses in one class of income cannot reduce another class when the surtax base is added up (M.G.L. c. 62, s. 4(d)).
Do I owe Massachusetts tax if I move away and then sell?
On Massachusetts real estate, yes: the gain is Massachusetts-source no matter where you live, and closings of $1 million or more trigger Form NRW withholding. If you sold on installments while a resident, later payments stay taxable after you move under 830 CMR 62.63.1. Gain on intangible assets such as stock generally follows your domicile at the time of sale.
Does Massachusetts allow installment sale treatment?
Yes. When the Massachusetts gain on the whole transaction is under $1 million, federal Section 453 treatment carries over automatically. At $1 million or more you must file a separate Massachusetts installment election and post security with the Commissioner (830 CMR 62.63.1). Uncapped contingent deals are presumed to produce at least $1 million of gain.
Does a married couple get two surtax thresholds?
Not on a joint return. The 2026 threshold of $1,107,750 is one number for every filing status, so a joint return has a single threshold. Spouses who file separate Massachusetts returns are each tested on their own taxable income, which is why some couples compare joint and separate filing in a large sale year with their CPA.
How much is withheld when a nonresident sells Massachusetts property?
For sales of $1,000,000 or more, the withholding agent takes 4% of the gross sales price, or 5% of estimated net gain if the seller elects the alternative calculation, plus 4% on any amount over the surtax threshold (Massachusetts DOR, 2026). The seller claims the amount as a credit on the Massachusetts nonresident return.
How Hans helps: the $5,000 Big Sale Tax Analysis runs your sale through every path that fits: a cash sale, a Section 453 installment sale, 1031, Opportunity Zones, charitable trusts, timing and loss offsets, year by year, and ends with a written recommendation your CPA can check. Get the Big Sale Tax Analysis.
Next step

Know 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.

Book a callCall Hans