How to liquidate a rental house in Massachusetts: with tenants or without, and what it costs in tax
Published September 10, 2026 · Written by Sell My Mass House · Every statute and regulation cited is linked in the Sources section below.
Key facts
- A written lease survives the sale. The buyer becomes the landlord on the same terms (the lease binds successors under Massachusetts law).
- A tenant at will needs written notice of at least one full rental period or 30 days, whichever is longer (MGL c.186 s.12).
- At closing the security deposit and last month's rent pass to the buyer, with written notice to the tenant (MGL c.186 s.15B(5)).
- Depreciation you claimed is recaptured at sale at a maximum federal rate of 25 percent (IRS Topic 409).
- A 1031 exchange defers the tax only if the replacement property is identified within 45 days and closed within 180 days (IRS Form 8824).
In this guide
- Why landlords liquidate, and why timing matters more than price
- Option one: sell with the tenants in place
- Option two: empty the building, then sell to anyone
- What the sale itself requires in Massachusetts
- The tax bill: recapture, gain, and the 1031 option
- A sequence that works
- Frequently asked questions
- Sources
Why landlords liquidate, and why timing matters more than price
Landlords sell for reasons that have little to do with the market: a building that has become more work than income, an estate that needs to be settled, a partner who wants out, a move out of state, or a tenant situation that has become unmanageable. In every one of those cases the question is not "what is the top price" but "what is the cleanest number I can have in hand by a date I choose." That reframing matters, because the two ways of selling a rental in Massachusetts trade price against time and certainty in opposite directions.
Option one: sell with the tenants in place
This is the fastest route and often the only realistic one for a fully occupied building. The buyer purchases the property subject to the existing tenancies and becomes the landlord at closing. What the law requires:
- Leases carry over. A written lease is a contract that runs with the property, so the buyer takes the tenants on the same rent and the same end date.
- Deposits transfer. Under General Laws chapter 186, section 15B(5), the seller must transfer each security deposit and any last month's rent, with accrued interest, to the buyer at closing, and the tenant must be notified in writing of the new owner's name and address and where the deposit is held. Get this into the closing checklist, because a buyer who inherits a mishandled deposit inherits the triple damages exposure with it.
- Showings need cooperation. Section 15B(1)(a) lets a landlord enter to show the unit to prospective purchasers, but the tenant's schedule and the lease's notice terms still apply. Occupied showings are one of the main reasons landlords choose a direct sale to a single buyer over an open listing.
Who buys occupied rentals? Investors, almost exclusively, and mostly for cash or with investor financing. They price the building on its income and its condition, not on how it would show to a family. A direct cash sale fits this route well: one walkthrough, one offer, a closing date that works for the tenants, and no months of open houses in someone's living room.
Option two: empty the building, then sell to anyone
A vacant house can be sold to an owner occupant, which usually means a higher price. The cost is time, and the time is set by law:
- Tenants at will (no written lease, or a lease that has expired and rolled month to month) can be ended with written notice under chapter 186, section 12, of at least one full rental period or 30 days, whichever is longer.
- Tenants with a lease stay until the lease ends unless they agree to leave earlier. A negotiated early move out with a payment, sometimes called cash for keys, is legal and common, and it should be in writing.
- A tenant who does not leave after proper notice can only be removed through summary process in the Housing Court or District Court under chapter 239. Self help of any kind, lockouts, utility shutoffs, or removing belongings, is prohibited by chapter 186, section 14 and carries criminal penalties.
Add the vacancy period, any repairs the empty unit reveals, and a listing period, and the vacant route routinely takes a season or more. During that time you carry the mortgage, taxes, insurance, and utilities with no rent coming in. That carrying cost is what a landlord has to weigh against the higher price.
What the sale itself requires in Massachusetts
Whichever route you take, four state rules apply at the transfer:
- Smoke and carbon monoxide alarms certified by the local fire department under chapter 148, section 26F.
- Lead paint notification under chapter 111, section 197A for any building built before 1978. If a child under six lives in a unit, chapter 111, section 197 already required the unit to be deleaded or under interim control, and a buyer will ask for the compliance letters.
- Title 5 inspection under 310 CMR 15.301 if the property is on septic rather than town sewer.
- Deeds excise under chapter 64D, section 1, paid by the seller at the registry of deeds and calculated per five hundred dollars of the sale price.
Massachusetts has no general seller disclosure form. You may not misrepresent the building, and if you list with an agent, the agent's own duty under 254 CMR 3.00 to disclose known material defects applies.
The tax bill: recapture, gain, and the 1031 option
This is where liquidating a rental differs most from selling a home, and it is worth a meeting with a tax professional before you agree to a closing date. The federal framework, from IRS Publication 527, Residential Rental Property, IRS Topic 409, and IRS Form 8824:
- Depreciation recapture. Every year you owned the rental, the tax code let you deduct depreciation on the building. At sale, that depreciation is taxed as unrecaptured section 1250 gain at a maximum federal rate of 25 percent per IRS Topic 409, whether or not you actually claimed it.
- Capital gain. Gain above the adjusted basis is taxed as capital gain. The main home exclusion does not apply to a rental you did not live in as your main home.
- Like kind exchange. Internal Revenue Code section 1031 lets you defer both by rolling the proceeds into another investment property through a qualified intermediary. The two deadlines in the Form 8824 instructions are firm: identify the replacement within 45 days of closing and acquire it within 180 days. A sale with a fixed closing date, which a cash buyer can give you, makes that clock manageable. A listing that closes whenever the buyer's lender is ready does not.
- Installment sale. Spreading the gain across years by taking payments over time is possible under IRS Publication 537, though recapture is generally due in the year of sale.
Massachusetts taxes the gain as well. The state rate and rules change from time to time, so check the current figures with the Department of Revenue rather than relying on any article.
A sequence that works
- Pull the rent roll, every lease, every deposit receipt and bank statement, and the lead and Title 5 paperwork. A buyer will ask for all of it.
- Decide occupied or vacant based on carrying cost and the notice timeline above, not on the headline price alone.
- Get a cash offer and an agent's net sheet for the same building, and compare the net after commission, repairs, vacancy, and months of carrying.
- Talk to a tax professional about recapture and whether a 1031 exchange fits. If it does, line up the intermediary before you sign anything.
- Set the closing date, notify tenants of the sale and the deposit transfer at closing, and book the alarm inspection.
Liquidating a rental is a math problem with a calendar attached. Get the calendar right and the math takes care of itself. If listing the empty building would clearly net you more after all of that, an honest buyer will tell you so.
Frequently asked questions
Can I sell my rental property with tenants in it in Massachusetts? +
How much notice do I have to give a tenant to sell the house? +
What taxes do I pay when I sell a rental in Massachusetts? +
Is it better to sell a rental empty or occupied? +
Can a cash buyer close before my tenants' leases end? +
Sources
- Massachusetts General Laws chapter 186, section 15B (security deposits, entry to show the unit, transfer of deposits on sale): https://malegislature.gov/Laws/GeneralLaws/PartII/TitleI/Chapter186/Section15B
- Massachusetts General Laws chapter 186, section 12 (notice to end a tenancy at will): https://malegislature.gov/Laws/GeneralLaws/PartII/TitleI/Chapter186/Section12
- Massachusetts General Laws chapter 186, section 14 (lockouts and utility shutoffs prohibited): https://malegislature.gov/Laws/GeneralLaws/PartII/TitleI/Chapter186/Section14
- Massachusetts General Laws chapter 239 (summary process, eviction): https://malegislature.gov/Laws/GeneralLaws/PartIII/TitleIII/Chapter239
- Massachusetts General Laws chapter 148, section 26F (smoke detectors upon sale or transfer): https://malegislature.gov/Laws/GeneralLaws/PartI/TitleXX/Chapter148/Section26F
- Massachusetts General Laws chapter 111, section 197A (lead paint notification at transfer): https://malegislature.gov/Laws/GeneralLaws/PartI/TitleXVI/Chapter111/Section197A
- 310 CMR 15.00, Title 5 (section 15.301): https://www.mass.gov/regulations/310-CMR-1500-septic-systems-title-5
- Massachusetts General Laws chapter 64D, section 1 (deeds excise): https://malegislature.gov/Laws/GeneralLaws/PartI/TitleIX/Chapter64D/Section1
- IRS Publication 527, Residential Rental Property: https://www.irs.gov/publications/p527
- IRS Topic No. 409, Capital Gains and Losses: https://www.irs.gov/taxtopics/tc409
- IRS Form 8824, Like Kind Exchanges: https://www.irs.gov/forms-pubs/about-form-8824
- IRS Publication 537, Installment Sales: https://www.irs.gov/publications/p537
- Massachusetts Department of Revenue: https://www.mass.gov/orgs/massachusetts-department-of-revenue
Read how we buy Massachusetts rental properties, occupied or vacant.