Landlord Guide

The Accidental Landlord's Guide to Getting Out

February 5, 2026 · 5 min read

You never planned to be a landlord. Maybe you inherited a property, moved and couldn't sell, or received real estate in a divorce settlement. Now you're managing a property you never wanted—and the tax code treats you differently based on how you got here.

This guide explains the tax rules specific to your situation and the exit strategies available to you. Your path forward depends largely on how you became a landlord in the first place.

How You Got Here Determines Your Tax Basis

Your “cost basis” is what the IRS considers your original investment in the property. When you sell, you pay tax on the difference between the sale price and your basis. How you acquired the property determines your starting basis:

How You Got ItYour Cost BasisTax Implication
InheritedFair market value at date of death (“stepped-up basis”)Often lowest tax bill if selling soon
Converted from homeOriginal purchase price + improvementsMay qualify for partial primary residence exclusion
Divorce settlementOriginal purchase price (same as ex-spouse's basis)Full appreciation is taxable
Couldn't sellOriginal purchase priceFull appreciation is taxable
GiftDonor's original basis (carryover basis)May include decades of appreciation

If You Inherited the Property

Inherited property gets a “stepped-up basis” to fair market value at the date of death. This is one of the most valuable tax benefits in real estate—it erases all appreciation that occurred during the deceased's lifetime.

Stepped-Up Basis Example

Grandparent bought in 1985:$80,000
Value when inherited (2020):$400,000
Your basis:$400,000 (not $80,000)
Current value (2026):$475,000
Taxable gain if sold:$75,000

Without stepped-up basis, the gain would be $395,000. The step-up saves roughly $100,000+ in taxes in this example.

Timing matters: If you've only held the inherited property for a few years and it hasn't appreciated much, selling outright may cost less in taxes than you expect. Run the numbers before assuming you need a 1031 exchange.

If You Converted Your Primary Residence

If you moved out and started renting your former home, you have special rules that can significantly reduce your tax bill—but they have time limits.

The Section 121 Exclusion

You can exclude up to $250,000 ($500,000 if married) of gain from a home sale—if you owned and lived in it for at least 2 of the past 5 years.

The clock is ticking: Once you've been renting the property for more than 3 years, you no longer qualify for the full exclusion. After 5 years of renting, you lose it entirely.

Partial Exclusion Rules

If you've been renting for less than 5 years, you may qualify for a partial exclusion. The formula is based on “qualified use” vs “non-qualified use” periods.

Time Since Moving OutExclusion Available
Less than 3 yearsFull $250k/$500k exclusion
3-5 yearsPartial exclusion (prorated)
More than 5 yearsNo exclusion available

Strategic option: In some cases, you can claim the Section 121 exclusion for the “residential” portion of your gain, then use a 1031 exchange for the remaining “investment” portion. This requires careful planning with a tax professional.

The Depreciation Trap

If you've been claiming depreciation deductions on your tax returns (which you should be—it's required), those deductions get “recaptured” when you sell. This catches many accidental landlords off guard.

How Depreciation Recapture Works

Residential rental property is depreciated over 27.5 years. If you've been renting for 5 years on a property with a $300,000 building value:

Annual depreciation:$300,000 ÷ 27.5 = $10,909/year
Total claimed (5 years):$54,545
Recapture tax at 25%:$13,636

This tax is owed regardless of whether the property actually depreciated in value. A 1031 exchange defers this tax.

Your Exit Options

Depending on how you became an accidental landlord and how long you've held the property, different strategies make sense:

Option 1: Sell Outright and Pay Taxes

Best when:

  • Inherited recently with stepped-up basis
  • Qualify for Section 121 exclusion
  • Small gain relative to property value
  • Need immediate access to all cash

Avoid when:

  • Large taxable gain (100k+)
  • Significant depreciation to recapture
  • Want to stay invested in real estate

Option 2: 1031 Exchange into Another Property

Best when:

  • Large taxable gain
  • Want to remain in real estate investing
  • Willing to manage another property (or hire management)
  • Have time to find replacement property (180 days)

Avoid when:

  • Done being a landlord entirely
  • Need cash for other purposes
  • Small gain makes complexity not worthwhile

Option 3: 1031 Exchange into a DST

Best when:

  • Large gain but done managing property
  • Want passive income, no management
  • Have $100k+ in equity
  • Accredited investor ($200k+ income or $1M+ net worth)

Drawbacks:

  • Lower yields than direct ownership (typically 4-6%)
  • Illiquid—can't sell until DST exits
  • Limited control over property decisions
  • Sponsor fees reduce returns

Option 4: Move Back In (Primary Residence Conversion)

Best when:

  • Location works for your life
  • Willing to live there 2+ years
  • Gain is large ($250k-$500k range)

Drawbacks:

  • Must actually live there (IRS audits this)
  • 2-year commitment minimum
  • Depreciation recapture still owed
  • Only works if location fits your life

Option 5: Installment Sale

Best when:

  • Want to spread tax burden over multiple years
  • Don't need all cash immediately
  • Comfortable with seller financing risk

Drawbacks:

  • Buyer default risk
  • Tied to property until paid off
  • Interest income is taxable
  • Depreciation recapture taxed in year of sale

Decision Flowchart

Answer these questions in order to narrow down your best option:

1. Did you inherit the property?

Yes: Calculate your stepped-up basis. If you've held less than 3 years and appreciation is modest, selling outright may be cheapest.

2. Was this your primary residence within the last 5 years?

Yes: Check if you qualify for Section 121 exclusion. The closer to 3 years since move-out, the more urgent your decision.

3. Is your taxable gain over $50,000?

Yes: A 1031 exchange likely saves significant taxes. Decide if you want active management (buy another property) or passive (DST).

4. Are you completely done with real estate?

Yes: Selling outright or installment sale. The tax hit may be worth the clean break.

No, but no management: DST is designed for this.

No, want control: 1031 into another property you choose.

If You're Staying (For Now)

Not ready to exit? Many accidental landlords continue reluctantly because the timing isn't right. If that's you, here are ways to reduce the burden:

OptionCostWhat It Solves
Property manager8-12% of rentTenant calls, maintenance coordination
Home warranty + property manager$500-800/year + manager feePredictable repair costs, fewer decisions
Long-term leasePotentially lower rentFewer turnovers, stable tenant

These reduce the burden but don't solve the underlying problem. If you're holding primarily to avoid taxes, run the numbers—the ongoing hassle may not be worth it.

Key Takeaways

1

How you acquired the property matters: Inherited properties have stepped-up basis, converted homes may qualify for Section 121 exclusion.

2

Run the actual numbers: A stepped-up basis or partial exclusion might make selling outright cheaper than you expect.

3

Timing matters: If you converted your home, the Section 121 clock is ticking. Decide before you lose the exclusion.

4

Don't forget depreciation recapture: This 25% tax catches people off guard. Factor it into any exit strategy.

5

1031 isn't always the answer: Exchange costs, complexity, and ongoing requirements may not be worth it for smaller gains.

Important: Tax rules are complex and individual circumstances vary. This guide provides general education—consult with a tax professional or CPA before making decisions about your specific situation.