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.
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.
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
- Selling in New Hampshire
- Selling in Rhode Island
- Selling in Connecticut
- Selling in New York
- 1031 exchange rules in Massachusetts
- Live in Massachusetts, sell in Florida
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.
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.
