What is the Section 121 loophole?

Asked by: Corine Nikolaus  |  Last update: March 14, 2026
Score: 4.8/5 (17 votes)

Under section 121 of the Internal Revenue Code, you may be able to exclude much of the gain from the sale of your main home that you also used for business or to produce rental income, if you meet the ownership and use tests.

How do you qualify for 121 exclusion?

In general, to qualify for the Section 121 exclusion, you must meet both the ownership test and the use test. You're eligible for the exclusion if you have owned and used your home as your main home for a period aggregating at least two years out of the five years prior to its date of sale.

How to prove 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.

What are the limitations of section 121 exclusion?

The Section 121 Exclusion is an IRS rule that allows you to exclude from taxable income a gain of up to $250,000 from the sale of your principal residence. A couple filing a joint return gets to exclude up to $500,000.

What is the capital gains loophole in real estate?

This tax loophole allows property owners to defer capital gains on their sale as long as the proceeds are used to purchase another property within a set time frame.

Don't Convert Your Primary Residence Into a Rental Property

20 related questions found

What is a simple trick for avoiding capital gains tax?

An easy and impactful way to reduce your capital gains taxes is to use tax-advantaged accounts. Retirement accounts such as 401(k) plans, and individual retirement accounts offer tax-deferred investment. You don't pay income or capital gains taxes on assets while they remain in the account.

Can I sell a property and reinvest without paying capital gains?

Homeowners can avoid paying taxes on the sale of a home by reinvesting the proceeds from the sale into a similar property through a 1031 exchange.

At what age do you not pay capital gains?

Current tax law does not allow you to take a capital gains tax break based on your age. In the past, the IRS granted people over the age of 55 a tax exemption for home sales, though this exclusion was eliminated in 1997 in favor of the expanded exemption for all homeowners.

How to avoid paying capital gains tax on sale of rental property?

Use a 1031 Exchange to Defer Capital Gains

It's a popular way to defer capital gains taxes when selling a rental home or even a business. Often referred to as a “like-kind” exchange, this tax deferment strategy is defined in Section 1031 of the Internal Revenue Code.

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.

What is the one-time capital gains exemption?

If it's your primary residence

You can sell your primary residence and avoid paying capital gains taxes on the first $250,000 of your profits if your tax-filing status is single, and up to $500,000 if married and filing jointly. The exemption is only available once every two years.

How does IRS know your primary residence?

But if you live in more than one home, the IRS determines your primary residence by: Where you spend the most time. Your legal address as listed for tax returns, with the USPS, on your driver's license and on your voter registration card.

What happens to the cost basis of a home when one spouse dies?

When one spouse dies, the surviving spouse receives a full step-up in basis on the entire property, not just the half that belonged to the deceased. So, what does this "step-up" mean? The basis of an asset is its original cost for tax purposes.

What is the 121 reduced gain exclusion loophole?

Under section 121 of the Internal Revenue Code, you may be able to exclude much of the gain from the sale of your main home that you also used for business or to produce rental income, if you meet the ownership and use tests.

What is the difference between 1031 exchange and 121 exclusion?

Since a 1031 exchange is exclusively for business or investment properties and a Section 121 exclusion is only for primary residences, they are rarely able to be used together. However, there are three scenarios where you may be able to choose between the two options or take advantage of both tax benefits at once.

How do I avoid capital gains on sale of primary residence?

Sale of your principal residence. We conform to the IRS rules and allow you to exclude, up to a certain amount, the gain you make on the sale of your home. You may take an exclusion if you owned and used the home for at least 2 out of 5 years. In addition, you may only have one home at a time.

Can I move back into my rental and avoid capital gains tax?

If you like your rental property enough to live in it, you could convert it to a primary residence to avoid capital gains tax. There are some rules, however, that the IRS enforces. You have to own the home for at least five years. And you have to live in it for at least two out of five years before you sell it.

What are the rules for section 121 exclusion?

The IRS has issued guidance to clarify the rules. TO EXCLUDE GAIN ON THE DISPOSITION OF A HOME from income under IRC section 121, a taxpayer must own and occupy the property as a principal residence for two of the five years immediately before the sale. However, the ownership and occupancy need not be concurrent.

How to not get hit on capital gains tax when selling a house?

Take qualifying deductions

You may be able to lower your capital gains taxes by deducting expenses such as for major home improvements before you sell or costs you incur during the sale. For example, if you spent $75,000 on a new kitchen and made $300,000 on your home sale, only your $225,000 profit will be taxed.

Do people over 65 have to pay capital gains tax?

Key takeaways. Seniors must pay capital gains taxes at the same rates as everyone else—no special age-based exemption exists.

How do I legally not pay capital gains tax?

A few options to legally avoid paying capital gains tax on investment property include buying your property with a retirement account, converting the property from an investment property to a primary residence, utilizing tax harvesting, and using Section 1031 of the IRS code for deferring taxes.

What is the 2 out of 5 year rule?

To qualify for the principal residence exclusion, you must have owned and lived in the property as your primary residence for two out of the five years immediately preceding the sale. Some exceptions apply for those who become disabled, die, or must relocate for reasons of health or work, among other situations.

How to calculate capital gains on sale of rental property?

When selling the rental property, the investor will subtract the adjusted cost basis from the sale price to determine the capital gain. If the property sells for $350,000, the capital gain would be $350,000 (sale price) – $280,000 (adjusted cost basis) = $70,000. This $70,000 is the capital gain for tax purposes.

What is the 6 year rule for capital gains?

CGT 6-Year Rule

Allows temporary renting of PPOR for up to 6 years while still claiming main residence exemption. – Each 6-year absence period is treated individually. - No limit on number of times you can use this exemption. - Property must have been your main residence before renting out.

Does selling land count as income?

In this scenario, the tax rules generally treat you as a real estate dealer. That means your entire profit — including the portion from pre-development appreciation in the value of the land — will be treated as ordinary income subject to a federal income tax rate of up to 39.6%.