What is the 2-out-of-5-years rule? | Avoiding Capital Gains Taxes (2024)

The “2-out-of-5-years rule” is a rule related to the criteria that must be met in order for a property investor to avoid or reduce capital gains tax owed upon the sale of their property.

Avoiding Capital Gains Tax

To understand the 2-out-of-5-years rule, you need to understand the desire for property owners to avoid or reduce taxes owed when they sell a property.

To avoid paying more than they have to in taxes, many property investors take advantage of opportunities such as the 1031 exchange process or “home sale exclusion” tax breaks. The 2-out-of-5-years rule is one of the criteria that must be met in order to qualify for the home sale exclusion.

What is the 2-out-of-5-years rule? | Avoiding Capital Gains Taxes (1)

When selling a primary residence property, capital gains from the sale can be deducted from the seller’s owed taxes if the seller has lived in the property themselves for at least 2 of the previous 5 years leading up to the sale.

That is the 2-out-of-5-years rule, in short. But, there are some important details to keep in mind, so keep reading!

Primary Residence vs Investment Property

The reason the 2-out-of-5-years rule exists is because the home sale exclusion tax break is only applicable to the sale of a primary residence. In order to be legally considered a primary residence, as opposed to an investment property, is that the seller has lived in the property themselves for at least two out of the last five years.

Do the 2 years need to be consecutive?

The two years of on-site residency do not need to be consecutive. For example, a property owner might live in a house for a year, then move and rent it out for 3 years, then move back in for another year before selling; the property would still qualify as a primary residence.

The seller does not need to be living in the property at the time of sale in order to claim the home sale exclusion. They just need to have lived there for a minimum of two out of the last 5 years.

How much capital gains tax can I exclude?

The amount of capital gains that can be excluded is dependent on your tax filing status.

For those filing single, up to $250,000 in capital gains can be excluded. For those filing jointly, the limit is $500,000.

What about vacation rental property?

According to the 2-out-of-5-years rule, property that you lived in for at least two out of the last five years counts as a primary residence, even if you have considered it a vacation rental.

In order to be a true vacation rental property and not a primary residence, according to the tax code, the property would have to be rented out/not lived in by the owner for more than two of the previous five years.

How often can I claim the home sale exclusion tax break?

While there is technically no limit to how often the home sale exclusion can be claimed (every time a home is sold), the qualification of having lived in a property for at least two out of the last five years means that an individual couldn’t claim the tax break more than once every 2 years.

Exceptions to the rule

In this guide, we have outlined the basic features and requirements of the 2-out-of-5-years rule, but there are some exceptions to the rule in special circ*mstances.

Toward the end of this blog post by Clay Schmidt at Realized, he lays out some of the special situations in which some capital gains might still be excludable even if the 2-out-of-5-years rule isn’t exactly met the way we’ve outlined it in this guide.

What is the 2-out-of-5-years rule? | Avoiding Capital Gains Taxes (2)

Need Property Management in Utah?

The more complex your real estate portfolio, the more beneficial it can be to have a professional property management partner.

If you’re ready to streamline your property ownership in Utah, the Joseph Thomas team has the services you need.

Joseph Thomas does not provide legal, tax, or investment advice. We recommend the reader consult their attorney, accountant, and/or financial advisor before making any personal investment decisions.
What is the 2-out-of-5-years rule? | Avoiding Capital Gains Taxes (2024)

FAQs

What is the 2-out-of-5-years rule? | Avoiding Capital Gains Taxes? ›

Home sales can be tax free as long as the condition of the sale meets certain criteria: The seller must have owned the home and used it as their principal residence for two out of the last five years (up to the date of closing). The two years do not have to be consecutive to qualify.

What is the 2 out of 5 year rule for capital gains? ›

If you have lived in a home as your primary residence for two out of the five years preceding the home's sale, the IRS lets you exempt $250,000 in profit, or $500,000 if married and filing jointly, from capital gains taxes. The two years do not necessarily need to be consecutive.

How do you prove the 2 out of 5 year rule? ›

If you used and owned the property as your principal residence for an aggregated 2 years out of the 5-year period ending on the date of sale, you have met the ownership and use tests for the exclusion. This is true even though the property was used as rental property for the 3 years before the date of the sale.

How do you calculate 2 out of 5 year rule? ›

The 2-out-of-5-Year Rule

The home must have been owned and used for a minimum of two out of the last five years immediately preceding the date of sale. The two years don't have to be consecutive, however, and you don't have to live there on the date of the sale.

What is the 2 5 rule for capital gains? ›

When selling a primary residence property, capital gains from the sale can be deducted from the seller's owed taxes if the seller has lived in the property themselves for at least 2 of the previous 5 years leading up to the sale. That is the 2-out-of-5-years rule, in short.

What are exceptions to the 2 year capital gains rule? ›

A change in the place of employment for you, your spouse, any co-owner of the property, or any other person who uses your home as their principal residence is always a valid excuse if the location of the new job is at least 50 miles further away from your old home.

What is an example of the 2 out of 5 year rule rental property? ›

This creates two examples to consider. If you live in your home for two years and then rent it out for two years before selling it, you qualify for the full exclusion amount due to meeting the use test by having lived in the home for two out of the last five years before the sale and meeting the ownership test.

Do I have to buy another house to avoid capital gains? ›

You can avoid capital gains tax when you sell your primary residence by buying another house and using the 121 home sale exclusion. In addition, the 1031 like-kind exchange allows investors to defer taxes when they reinvest the proceeds from the sale of an investment property into another investment property.

How to avoid capital gains taxes on sale of rental property? ›

How To Avoid Capital Gains Taxes On The Sale Of Rental Property
  1. You own the home for at least 2 of the preceding 5 years before selling it.
  2. You use the home as your primary residence for at least 2 of the previous 5 years.
  3. You have no excluded capital gains tax from any other sale within the last 2 years.

How do you calculate capital gains tax? ›

Capital gain calculation in four steps
  1. Determine your basis. ...
  2. Determine your realized amount. ...
  3. Subtract your basis (what you paid) from the realized amount (how much you sold it for) to determine the difference. ...
  4. Review the descriptions in the section below to know which tax rate may apply to your capital gains.

How to calculate capital gains tax on sale of property? ›

As with other assets such as stocks, capital gains on a home are equal to the difference between the sale price and the seller's basis. Your basis in your home is what you paid for it, plus closing costs and non-decorative investments you made in the property, like a new roof.

What is the capital gains tax for people over 65? ›

The capital gains tax over 65 is a tax that applies to taxable capital gains realized by individuals over the age of 65. The tax rate starts at 0% for long-term capital gains on assets held for more than one year and 15% for short-term capital gains on assets held for less than one year.

How do I avoid capital gains on my taxes? ›

Here are four of the key strategies.
  1. Hold onto taxable assets for the long term. ...
  2. Make investments within tax-deferred retirement plans. ...
  3. Utilize tax-loss harvesting. ...
  4. Donate appreciated investments to charity.

At what age do you not pay capital gains? ›

Capital Gains Tax for People Over 65. For individuals over 65, capital gains tax applies at 0% for long-term gains on assets held over a year and 15% for short-term gains under a year. Despite age, the IRS determines tax based on asset sale profits, with no special breaks for those 65 and older.

Is capital gains tax 15% or 20%? ›

Long-term capital gains tax rate 2024
Capital gains tax rateSingle (taxable income)Married filing jointly (taxable income)
0%Up to $47,025Up to $94,050
15%$47,026 to $518,900$94,051 to $583,750
20%Over $518,900Over $583,750
Dec 21, 2023

How many times can you use the 2 out of 5 year rule? ›

The 2-Out-of-5-Year Rule Explained

However, these two years don't have to be consecutive, and you don't have to live there on the sale date. You can exclude this amount each time you sell your home, but you can only claim this exclusion once every two years.

Do you have to wait 2 years to avoid capital gains? ›

The seller must have owned the home and used it as their principal residence for two out of the last five years (up to the date of closing). The two years do not have to be consecutive to qualify. The seller must not have sold a home in the last two years and claimed the capital gains tax exclusion.

Do you have to pay capital gains if you reinvest in another house? ›

You can avoid capital gains tax when you sell your primary residence by buying another house and using the 121 home sale exclusion. In addition, the 1031 like-kind exchange allows investors to defer taxes when they reinvest the proceeds from the sale of an investment property into another investment property.

Top Articles
Latest Posts
Article information

Author: Trent Wehner

Last Updated:

Views: 6423

Rating: 4.6 / 5 (76 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Trent Wehner

Birthday: 1993-03-14

Address: 872 Kevin Squares, New Codyville, AK 01785-0416

Phone: +18698800304764

Job: Senior Farming Developer

Hobby: Paintball, Calligraphy, Hunting, Flying disc, Lapidary, Rafting, Inline skating

Introduction: My name is Trent Wehner, I am a talented, brainy, zealous, light, funny, gleaming, attractive person who loves writing and wants to share my knowledge and understanding with you.