Skip to content

Tax on Selling Investment Property in Massachusetts

About $560,000 on a $3 million sale

Selling an investment property in Massachusetts for $3 million costs a high-income owner about $560,000 in 2026 tax: $413,000 federal and $147,000 to Massachusetts. The seller's deeds excise tax adds about $14,000 to closing costs. A 1031 exchange set up before closing can defer the tax on the gain.

Run your own numbers

Tax year 2026. Last verified November 22, 2026.

The bill at five prices

Worked out for a married couple with $600,000 of other taxable income who bought 10 years ago for 55% of today's price. The last row is what the same sale owes now when it is set up as a 1031 exchange.

Sale price$1 million$2 million$3 million$5 million$10 million
Gain on the saleAfter closing costs and depreciation$545,000$1,091,000$1,636,000$2,727,000$5,454,000
Federal capital gains taxNearly all at the 20% rate$76,000$153,000$231,000$385,000$770,000
Federal tax on depreciationThe depreciation taken, at 25%$40,000$80,000$120,000$200,000$400,000
Net investment income tax3.8% of the gain$21,000$41,000$62,000$104,000$207,000
Massachusetts income tax9% of the gain$49,000$98,000$147,000$245,000$491,000
Total tax$186,000$373,000$560,000$934,000$1,868,000
Share of the gain34.1%34.2%34.2%34.2%34.3%
Deeds excise taxPaid at closing, inside closing costs$5,000$9,000$14,000$23,000$46,000
Tax due now with a 1031 exchangeWhen you buy at or above the target spend below$0$0$0$0$0
Target spend to defer it allThe sale price less closing costs$935,000$1,871,000$2,806,000$4,677,000$9,354,000

Swipe the table sideways to see every price

Rounded to the nearest $1,000. An exchange defers the tax on the gain. It does not remove transfer tax or closing costs, and the deferred gain carries into the property you buy.

What Massachusetts adds

Massachusetts income tax on the gain
9%. 5% on long-term gains plus a 4% surtax on income over about $1.1 million.
Source
Deeds excise tax
$4.56 per $1,000 including the 14% surtax, customarily paid by the seller; Barnstable County totals more with its county excise.
Source
Withholding when a nonresident sells in Massachusetts
For closings on or after November 1, 2025, a sale of Massachusetts real estate at $1,000,000 or more requires a Form NRW and, for a nonresident, generally withholding of 4% of the transferor's share of the gross sales price (830 CMR 62B.2.4). A nonresident in a 1031 exchange avoids withholding on deferred gain by stating it on the Transferor's Certification and consenting to Massachusetts jurisdiction.
The full Massachusetts rules and sources
Does Massachusetts follow a deferred gain
Massachusetts follows the deferred gain: when the replacement property is sold, the portion of the gain reflecting appreciation of the Massachusetts real estate is Massachusetts source income, even for a nonresident. A nonresident who avoids withholding through an exchange also consents to Massachusetts jurisdiction to collect that tax when the gain is realized.
The full Massachusetts rules and sources

Massachusetts ranks 7 of 51 for the cost of selling a $3 million investment property, counting tax and the seller's transfer tax together. Rank 1 is the most expensive. See every state side by side.

What changed and what is coming

For Massachusetts. See every state's changes.

  • November 1, 2025 · Massachusetts · In effect

    Nonresident sellers face withholding at closing on sales of $1,000,000 or more: 4% of the seller's share of the price, plus another 4% on the part above the surtax threshold, unless the seller elects withholding on estimated net gain. An exchange is handled by a certification filed with Form NRW. Source

How the exchange changes the math

On the $3 million sale above, about $560,000 leaves at tax time. In an exchange the sale proceeds go from the closing into your exchange account, and the whole amount goes into the next property. You name replacement property in writing within 45 days of closing and buy within 180 days. Buy for about $2,806,000 or more, put all of the exchange account into it, and none of the tax in the table is due now.

The exchange has to be in place before the sale closes. Once the money reaches you, it is a taxable sale. Massachusetts is one of the states that follow a deferred gain, so read the rule above before buying in another state. Start with the exchange calculator or open an exchange.

Questions people ask

How much tax would I pay selling a $2 million investment property in Massachusetts?

About $373,000 for a high-income owner in 2026, on a gain of about $1,091,000. That is $275,000 of federal tax and $98,000 of Massachusetts income tax. The figure assumes the property was bought 10 years ago for 55% of the sale price. Your own basis and depreciation change it.

What is the Massachusetts tax rate on a gain from investment real estate?

This report uses 9% for 2026. 5% on long-term gains plus a 4% surtax on income over about $1.1 million. A 1031 exchange that defers the federal tax generally defers the state tax on the same gain. The source is linked on this page.

Can a 1031 exchange defer the tax on a Massachusetts sale?

Yes, when you sell investment or business real estate and buy other investment or business real estate in the United States. The exchange has to be set up before the sale closes, the proceeds go into your exchange account, and you have 45 days to name replacement property and 180 days to buy it. To defer all of the gain on a $3 million sale, the purchase needs to be about $2,806,000 or more.

Compare

Before closing or not at all

Once the sale closes and the money reaches the seller, that sale cannot become an exchange. One conversation before the closing date keeps the option open.

See your 2 dates

Figured for a Massachusetts property and a married couple filing jointly with $600,000 of other taxable income, closing costs of 6% plus the seller's transfer tax, a purchase 10 years ago at 55% of the sale price and straight-line depreciation on a residential building. City and county income taxes are left out. Estimates for planning, not tax or legal advice.

Call