The short answer
A Massachusetts investment property can be sold through a 1031 exchange with no Massachusetts income tax on the deferred gain, because the Commonwealth follows the federal deferral. Two state-specific steps apply: for any sale at or above $1,000,000 the closing agent must file Form NRW, and a nonresident seller avoids the default 4% withholding only by certifying the exchange on the Transferor's Certification. If the replacement property sits outside Massachusetts, the deferred Massachusetts appreciation remains Massachusetts-source income when that property is eventually sold in a taxable sale.
Massachusetts at a glance
| State tax on real estate gain | 5% on gain held over a year; 8.5% if held one year or less (tax year 2026) |
|---|---|
| 4% surtax | Applies to taxable income above $1,107,750 for tax year 2026 |
| Closing withholding | Form NRW on sales of $1,000,000 or more since Nov. 1, 2025; 4% of gross price by default |
| Exchange exemption | Certify the § 1031 deferral on the Transferor's Certification; boot is still withheld on |
| Claw-back | 830 CMR 62.5A.1(3)(d): MA appreciation is taxed when the replacement property sells |
| Deeds excise | $2.28 per $500 ($4.56 per $1,000) statewide; $6.48 per $1,000 in Barnstable County |
| Who pays the stamps | The person who makes the deed, in practice the seller (G.L. c. 64D, § 2) |
Sales of $1,000,000 or more now go through Form NRW at closing
Since November 1, 2025, every sale or exchange of Massachusetts real estate with a gross sales price of $1,000,000 or more must be reported to the Department of Revenue on Form NRW, Nonresident Real Estate Withholding, within 10 days of closing. The closing attorney or title company is the withholding agent; if there is none, the buyer takes on the job.
The form is due even when nothing is withheld. Each seller hands the withholding agent a signed Transferor's Certification on or before closing, and DOR waived penalties on withholding agents only for closings between November 1 and December 31, 2025.
The $1,000,000 test looks at the whole transaction, not each owner's share. DOR's own example is a $1,600,000 building owned equally by four people: each receives under $1,000,000, yet withholding is calculated for every one of them.
- Default withholding on a nonresident individual: 4% of the gross sales price, which includes debt the buyer assumes.
- Alternative calculation, by election only: 5% of the estimated net gain.
- Either way, an extra 4% is withheld on the portion above the 2026 surtax threshold of $1,107,750.
- Full-year residents, resident trusts, estates of resident decedents and pass-through entities are exempt, but only if they file the certification.
How an exchanging seller keeps the proceeds with the qualified intermediary
Regulation 830 CMR 62B.2.4(6) says withholding is generally not required on gain that is deferred under Section 1031. To use that rule, the seller fills in the Part 3, Section 3 oval on the Transferor's Certification stating that all or part of the gain will be deferred through a qualified intermediary, and in doing so consents to Massachusetts jurisdiction to collect the tax when the gain is eventually realized.
Any boot is still withheld on. The regulation requires withholding on gain recognized under Section 1031(b), so cash taken at closing or debt that is not replaced is subject to withholding even though the rest of the transaction qualifies.
If the exchange later fails, the seller must notify the Commissioner in writing within ten days after the identification and closing periods expire and remit the amount that would have been withheld with the next estimated payment. That turns the federal identification and closing periods into a Massachusetts compliance matter, not only a federal one.
A seller with no certification at closing is withheld on the gross price at the full rate, so the qualified intermediary and the closing attorney should have the form signed before the closing date.
Massachusetts taxes the gain at 5%, or 8.5% for short holds, with a 4% surtax above $1,107,750
For tax year 2026, long-term capital gain from a Massachusetts rental or commercial property is taxed at 5%, the same rate as wages and rent. Gain on property held one year or less is short-term and taxed at 8.5%.
On top of either rate, the 4% surtax applies to the portion of taxable income above $1,107,750 in 2026; the threshold was $1,083,150 for 2025 and moves with inflation each year. The surtax base is the sum of Part A, Part B and Part C income, so one large sale can push a landlord who is normally far below the line into the 9% combined rate for that year.
Because the surtax is measured by the year's taxable income, deferring the gain through an exchange removes the sale itself from the 2026 calculation. That is the main state-level reason Massachusetts owners exchange rather than sell.
Nonresidents report the gain on Form 1-NR/PY. Gain from real property located in Massachusetts is Massachusetts-source income, so a Vermont or New Hampshire owner of a Massachusetts triple-decker pays Massachusetts tax on the sale even though they live elsewhere.
The claw-back: Massachusetts appreciation stays Massachusetts income after the property leaves
Massachusetts does not tax the gain deferred in a like-kind exchange. But 830 CMR 62.5A.1(3)(d) adds that when the taxpayer later disposes of the property acquired in the exchange, the part of the gain that reflects appreciation of the Massachusetts real estate is Massachusetts-source income.
In practice a nonresident who exchanges a Worcester apartment building for a Texas warehouse owes Massachusetts tax on the Worcester appreciation when the Texas warehouse is sold in a taxable sale. The obligation is reported on the Massachusetts return for the year the replacement property is sold.
Rolling from one exchange into the next keeps the gain deferred for Massachusetts as well as federal purposes. The jurisdiction consent on the Transferor's Certification is how DOR keeps a hook on nonresidents who exchange out of state.
For a Massachusetts resident the rule matters less, because residents are taxed on all income wherever the property sits; it becomes relevant if the owner moves away before the replacement property is sold.
Deed excise stamps: $4.56 per $1,000 statewide, $6.48 on Cape Cod
Massachusetts charges a deeds excise of $2.28 for each $500 of consideration, which works out to $4.56 per $1,000, on deeds recorded for more than $100. Under G.L. c. 64D, § 2 the excise is paid by the person who makes the deed, so by law and by custom it falls on the seller.
Barnstable County is the exception. The registry there collects $6.48 per $1,000, made up of a $3.42 state rate and a $3.06 county rate, after rounding the consideration up to the next $500.
An exchange does not change the stamps. The deed to your buyer is recorded for full consideration whether the proceeds go to you or to the qualified intermediary, and taking a DST interest instead of deeded Massachusetts land avoids a second set of stamps on the replacement side.
Replacement property
A DST replacement property and the Massachusetts claw-back
A Delaware Statutory Trust lets a Massachusetts seller complete the exchange without buying and managing another building, and the state rules above still apply cleanly: the sale is certified on the Transferor's Certification, the deferral is respected, and no stamps are paid on the replacement.
For a Massachusetts resident, distributions from DST properties in other states are Massachusetts income taxed at 5% and counted toward the surtax threshold; whether a credit for tax paid to the state where the property sits offsets any of it is a question for your CPA. For a nonresident who owned Massachusetts property, the claw-back means the Massachusetts appreciation is reported to the Commonwealth when the DST sells, unless the interest is exchanged again.
Because DST sponsors typically hold property in several states, ask your CPA to map which states will see the income and which will see the eventual gain, and confirm the current threshold and rates with the Massachusetts Department of Revenue. Cash-out DST structures and the other investment types each change that map.
Questions investors ask about 1031 exchanges in Massachusetts
Does the Massachusetts withholding apply to a resident selling a $2,000,000 rental?
Form NRW must still be filed because the price is over $1,000,000, but a full-year resident who submits a Transferor's Certification is exempt from withholding. The exemption carries a representation that the seller will remain a resident after closing.
I am taking some cash out of my Massachusetts exchange. Is that withheld on?
Yes. 830 CMR 62B.2.4(6)(b) requires withholding on gain recognized under Section 1031(b), so the boot is withheld on while the deferred portion is not.
How is the 4% surtax figured on a sale that closes in 2026?
Add Part A, B and C income for the year; the amount above $1,107,750 is taxed an extra 4%. A completed exchange keeps the deferred gain out of that total.
If I exchange Boston property for out-of-state property, does Massachusetts ever tax the gain?
As a nonresident, yes: 830 CMR 62.5A.1(3)(d) treats the Massachusetts appreciation as Massachusetts-source income when the replacement property is sold in a taxable sale. Another exchange keeps it deferred.
Who pays the deed stamps when the property is in an exchange?
The seller, as the person making the deed, at $4.56 per $1,000 ($6.48 in Barnstable County). The exchange has no effect on the excise.
Sources
The rules above were checked against these publications on September 18, 2026. Rates and forms change; confirm the current version with your CPA and the Massachusetts tax agency before you close. This page is general information, not tax or legal advice.
- Mass. DOR, Filing and Withholding Rules: Real Estate Sales of $1 Million or More
- 830 CMR 62B.2.4, Withholding on Sales of Massachusetts Real Estate
- Mass. DOR, 2026 Transferor's Certification and Instructions
- 830 CMR 62.5A.1, Non-resident Income Tax (Cornell LII)
- Mass. DOR, Massachusetts 4% Surtax on Taxable Income
- Mass. DOR, Massachusetts Tax Rates
- Mass. DOR Directive 95-4, Enforcement of the Deeds Excise
- Barnstable County Registry of Deeds, Fee Schedule and Recording Procedures
