Broker Check
Selling a Home After Renting It: A Key Tax Planning Window to Understand

Selling a Home After Renting It: A Key Tax Planning Window to Understand

March 31, 2026

Over the past few years, we’ve seen a situation come up more often.

Someone buys a home, locks in a low interest rate…
Then a few years later, life changes.

A move for work.
A growing family.
A desire for a different location.

Instead of selling, the question becomes:

“Should we keep the home and turn it into a rental?”

That can be a great option—but there’s an important tax rule that can significantly impact the outcome.


The Rule to Know: The Section 121 Exclusion

When you sell a primary residence, you may be able to exclude:

  • Up to $250,000 of gain (single)
  • Up to $500,000 of gain (married filing jointly)

To qualify, you generally need to have:

  • Owned the home for at least 2 years, and
  • Lived in the home for at least 2 of the last 5 years

This is often referred to as the “2 out of 5 year rule.”


Where the Planning Opportunity Comes In

When a primary residence becomes a rental, many people assume they’ve lost that exclusion.

But that’s not always the case.

If structured properly, there may still be a window of time where you can:

  • Move out
  • Rent the home
  • Still sell it later and qualify for the exclusion

Understanding the Timeline

This is where the planning becomes important.

Think of it like a rolling 5-year window:

Years 1–2 (or more)

You live in the home as your primary residence.


Years 3–5

You move out and convert the property to a rental.


Before Year 5

You sell the property while still meeting the “2 out of 5 year” requirement.


Practical takeaway:

In many cases, this creates a window where the home can be rented for roughly up to 3 years and still qualify.

But once you move beyond that window, the exclusion may no longer apply.


Why Timing Matters

This is where small decisions can have a large impact.

If a property has appreciated significantly:

  • Selling within the window could allow for a large portion of the gain to be excluded
  • Waiting too long could result in that same gain being fully taxable

That’s a meaningful difference.


A Common Follow-Up Question

Some people consider this:

“What if we move back into the home later to requalify?”


Moving Back In: What Actually Happens

It’s true that moving back into the home can help meet the 2-year use requirement again.

However, it does not automatically restore the full exclusion.

Here’s why:

Nonqualified Use

When a property is used as a rental after 2008, that period is generally considered nonqualified use.

That portion of the gain is typically:

👉 Not eligible for the full exclusion


What this means in practice:

Even if you:

  • Move back in for 2 years
  • Then sell

A portion of the gain may still be taxable, based on the time it was used as a rental.


Putting It All Together

This type of decision is rarely just about real estate.

It’s about:

  • Timing
  • Tax treatment
  • Income strategy
  • Long-term planning

Keeping a home as a rental can be a great move.

But understanding the timeline and tax implications ahead of time can make a significant difference in the outcome.


Final Thought

This is one of those planning areas where:

What you do matters.
But when you do it often matters more.

_______________________________________