The short answer
You can leave a problem tenancy without paying the tax on your gain: sell the rental, occupied or vacant, through a qualified intermediary and exchange the proceeds into property that someone else manages, such as DST interests or a net-leased building. The exchange clock does not start until the sale closes, so an eviction affects when you can close and to whom you can sell, not the 45-day or 180-day deadlines. Decide first whether to sell with the tenant in place, which narrows the buyer pool to investors, or to finish the eviction under your state's law and sell vacant.
At a glance
| When the 45-day clock starts | On the transfer of the relinquished property, not on listing or eviction |
|---|---|
| Closing deadline | 180 days after the sale or the return due date with extensions, whichever is earlier |
| Identification limits | Three properties of any value, or more within 200% of the value sold |
| Federal notice rule | 15 U.S.C. 9058(c): 30 days' notice to vacate for covered dwellings, including 1-4 unit properties with federally backed loans |
| Security deposits | Not income when received if you plan to return them; amounts you keep are income |
| Suspended passive losses | Released only on a fully taxable disposition, not in an exchange |
| Hands-off replacement | DST interests, where the trustee and sponsor manage and investors have no operating role |
The decision is occupied or vacant, and it shapes your buyer pool more than your tax
A rental with a tenant who is not paying or is damaging the unit can still be sold. Unless the tenant leaves before closing, the buyer inherits the situation, so the realistic buyer is an investor who prices in the cost of resolving it rather than an owner-occupant who needs the unit empty.
Finishing an eviction first widens the pool but costs months of carrying costs and legal fees, and the timing is set by your state's landlord-tenant law and court calendar, not by the tax rules. If your loan is federally backed, check whether 15 U.S.C. 9058(c) applies; its text requires 30 days' notice to vacate for tenants of covered dwellings, a term that includes 1-4 unit properties with federally backed mortgage loans.
Neither choice changes the exchange. What matters to section 1031 is that you held the rental for investment and that the proceeds go to a qualified intermediary at closing.
The exchange clock starts at closing, so set the contract around the eviction, not the other way around
Section 1031(a)(3) gives you 45 days after you transfer the old property to identify replacements and 180 days, or until your return is due if earlier, to close. Nothing runs while the eviction is pending. Sign the exchange agreement with the intermediary before closing, and add a cooperation clause to the sale contract.
If the buyer wants the property delivered vacant, make delivery a condition with a realistic outside date, and agree in advance who bears the cost if the tenant stays past it. A sale that slips past a planned replacement closing is a bigger risk than an eviction that runs long, because once the old property closes the deadlines are fixed.
If you find the replacement before the tenant problem is resolved, a reverse exchange lets you buy first and sell later, at higher cost and with its own deadlines; the reverse exchange guide explains the structure.
Hypothetical: a $1,000,000 fourplex with one problem unit, sold occupied or vacant
Hypothetical: you own a fourplex with an adjusted basis of $350,000. One tenant has stopped paying. A buyer offers $940,000 with the tenant in place; your agent estimates $1,000,000 vacant after an eviction expected to take four months and cost $20,000 in lost rent and legal fees. Run your own numbers with your CPA and an attorney; eviction timing is a local question.
- Occupied sale at $940,000: a $590,000 gain, all deferred if you reinvest at least the net proceeds and replace any mortgage paid off.
- Vacant sale at $1,000,000 after $20,000 of costs: a $650,000 gain on the sale, also deferrable, and about $40,000 more equity to reinvest, if the eviction finishes on schedule.
- Taxable sale of either: the gain is taxed in layers, with the depreciation portion at up to 25% and the rest at up to 20% plus the 3.8% net investment income tax where it applies.
- Either way, security deposits handed to the buyer at closing affect the settlement statement; see deposits and prorations for how they interact with boot.
Replacement property you never manage: DST interests and net-leased buildings work differently
A DST interest takes you out of management entirely. Under Rev. Rul. 2004-86 the trustee cannot renegotiate leases or take on new tenants, and some DSTs address that limit with a master lease to a single tenant entity that deals with the occupants. Your exposure moves from one tenant's behavior to the property's performance and the master tenant's strength, covered in master lease risk.
A single-tenant net-leased building keeps you as landlord, but of one business tenant whose lease puts most operating costs on the tenant as the lease defines them. You still own the vacancy risk if that tenant leaves; DST vs net lease compares the two.
Distributions from either are not guaranteed, and DST interests cannot be sold quickly, so keep cash for emergencies outside the exchange.
Choose by what wore you down. If it was the calls, repairs and turnovers, a DST removes all of them. If it was the uncertainty of one bad tenant, a net lease to an established business reduces that but does not end it, and a vacancy in a single-tenant building is a larger problem than one empty unit in a fourplex. Many owners split the proceeds between the two, which the identification rules allow as long as the list stays within the three-property or 200% limits.
Before you list, gather the records that protect both the sale and the exchange
Collect the leases, the rent ledger, deposit records and any notices or court filings for the problem unit, because a buyer's lender and title company will ask. Publication 527 treats deposits you plan to return as not income when received and any amount you keep as income in the year you keep it, so record which deposits transfer to the buyer and which you retained.
Check for suspended passive losses on the property. Section 469(g)(1) frees them only when all gain is recognized in a fully taxable disposition, so an exchange carries them forward rather than releasing them; this answer covers the trade-off.
Then line up the intermediary and a short list of replacements before the closing date, so the 45-day list is ready the day the sale funds.
Related questions
Can I sell to my problem tenant and still do a 1031?
Yes, a tenant can be the buyer, and the exchange works the same way. See selling to your tenant for the issues that arise.
Does unpaid rent I never collected affect the exchange?
Not the exchange itself. How uncollected rent is treated on your return depends on your accounting method, so ask your CPA.
Will a pending eviction stop the closing?
It may, if the buyer or lender requires delivery vacant. Write the contract so both sides know what happens if possession is delayed.
Is a DST really free of tenant problems?
You will not deal with tenants, but the property's income still depends on them, and distributions can fall if occupancy or rent collections drop.
Can I take some cash out to cover legal bills?
Yes, at the cost of tax on that cash as boot. Take it at the sale closing; once the intermediary holds the funds your access is restricted until the exchange ends.
Sources
Checked against these publications on September 30, 2026. Rules and figures change; confirm the current version with your CPA or attorney before you act. This page is general information, not tax or legal advice.
