How do I sell my house without paying capital gains tax?

Asked by: Prof. Kale Gleason  |  Last update: June 17, 2026
Score: 4.8/5 (45 votes)

To sell your house without paying capital gains tax, you must meet the IRS "primary residence" rule, which allows you to exclude up to $ 250 , 000 $ 2 5 0 , 0 0 0 ( 500 , 000 5 0 0 , 0 0 0 for married couples) of profit if you owned and lived in the home for at least two of the five years leading up to the sale. This "two-out-of-five-year" rule does not require the time to be consecutive.

How do you avoid capital gains when selling a property?

Qualifying for the 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.

What is the 6 year rule for capital gains?

The "6-year rule" for Capital Gains Tax (CGT) in Australia allows you to treat a former main residence as tax-exempt for up to six years after you move out, even if you rent it out, enabling you to avoid CGT on any growth during that period. You qualify by moving out, choosing to treat it as your main home for tax, and can reset the rule by moving back in. If you rent it out for longer than six years, only the portion of the gain after the six-year mark becomes taxable.
 

How do I prove my primary residence to avoid capital gains tax?

Determine whether you meet the residence requirement.

If you owned the home and used it as your residence for at least 24 months of the previous 5 years, you meet the residence requirement.

How much capital gains do I pay on $100,000?

On a $100,000 capital gain, you'll likely pay 15% for long-term gains, resulting in about $15,000 in federal tax (plus potential state tax), but it could be 0% or 20% depending on your total taxable income and filing status, while short-term gains are taxed as ordinary income (potentially 22-24%). 

How to LEGALLY Pay 0% Capital Gains Tax on Real Estate

27 related questions found

At what age can a homeowner sell a residence without paying capital gains?

Key Takeaways

The over-55 home sale exemption allowed homeowners over 55 to exclude up to $125,000 of capital gains from their taxes when selling a primary residence; however, this exemption ended in 1997.

How much is capital gains tax on a $500,000 house?

When you sell your primary residence, $250,000 of capital gains (or $500,000 for a couple) are exempted from capital gains taxation. This is generally true only if you have owned and used your home as your main residence for at least two out of the five years prior to the sale.

How to avoid capital gains tax on primary residence in Canada?

The principal residence exemption allows you to exclude the capital gain from the sale of your home from your income. Provided the property qualifies as your principal residence, the profit earned on the sale of your principal residence is sheltered from tax.

Who qualifies for 0% capital gains?

To qualify for 0% capital gains tax, you must have long-term capital gains (assets held over a year) and your taxable income (after deductions) must fall below specific IRS thresholds, which change annually but are roughly <$48,350 for single filers and <$96,700 for married filing jointly for the 2025 tax year, allowing for higher total income when combined with deductions like the standard deduction. The key is keeping your adjusted gross income (AGI) low enough so that after subtracting deductions, your taxable income remains within these limits. 

Who is eligible for a 50% CGT discount?

The beneficiary claiming the discount must be an Australian resident for tax purposes. The trust must have held the asset for at least 12 months before the CGT event occurs.

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

Yes, for the primary residence capital gains exclusion, you generally need to have owned and lived in the home for at least 2 of the last 5 years before the sale, but these two years don't have to be consecutive; however, you can't claim the exclusion if you've excluded gain on another home in the prior two years, with exceptions for unforeseen circumstances like job changes or health issues. For other investments, holding an asset for more than one year qualifies for lower long-term capital gains tax rates, but selling before two years means short-term gains taxed at your higher ordinary income rate. 

What is the one-time capital gains exemption?

The primary "one-time" capital gains exemption in the U.S. allows single filers to exclude up to $250,000 (or $500,000 for married couples filing jointly) of profit from selling their main home, provided they've owned and lived in it for at least two of the last five years before the sale. While it's often called a one-time exclusion, you can use it multiple times, but you must wait two years before claiming it again on another property.
 

What happens if I sell my house and don't buy another?

If you sell your house and don't buy another, you'll have cash proceeds (after paying off the mortgage and selling costs) and need to decide on new housing, often renting or moving in with family; financially, you might benefit from the IRS capital gains exclusion (up to $250k/$500k profit if you've lived there two of the last five years), but you'll pay tax on gains beyond that, while also managing the new costs of renting or storage.

What are some common capital gains tax mistakes?

One of the simplest yet most expensive mistakes is misunderstanding the difference between short-term and long-term capital gains taxes. Short-term gains — profits from assets held less than a year — are subject to typical income tax rates, which can reach 37% for high earners.

Does improvements on my home affect capital gains?

Unlike business expenses, you can't simply write off a kitchen renovation or new flooring on your current tax return. However, this doesn't mean your improvements provide no tax benefit. They may impact your capital gains tax when selling the home.

How much capital gains will I pay if the house is worth $400,000?

Under our scenario above, if the homeowner were single, her federal capital gain would be $400,000 - $250,000 = $150,000, and her federal capital gain tax would be $150,000 x 15% = $22,500.

What is the 20% rule for capital gains?

The 20% rule for capital gains refers to the highest federal tax rate for long-term capital gains, applying to higher income brackets when you sell investments (stocks, real estate) held for over a year, with lower rates of 0% and 15% for lower incomes, and even higher rates for special assets like collectibles. This rate kicks in for single filers earning over approximately $492,300 (2024) or $533,401 (2025), and higher for joint filers, making holding assets over a year a key tax strategy.

How do seniors avoid capital gains tax?

Utilize Tax-Advantaged Accounts: Tax-advantaged retirement accounts, such as 401(k)s, Charitable Remainder Trusts, or IRAs, can help seniors reduce their capital gains taxes. Money invested in these accounts grows tax-free, and withdrawals are not taxed until they are taken out in retirement.

What is the 36 month rule?

It allowed sellers to claim CGT exemption for the final 36 months of ownership, even if they had moved out. However, this was reduced to 18 months in 2014 and further to 9 months in 2020, which remains the rule today. This general law is in place as it prevents short-term transaction benefits concerning taxation.

How to get 0% tax on capital gains?

Capital gains tax rates

A capital gains rate of 0% applies if your taxable income is less than or equal to: $48,350 for single and married filing separately; $96,700 for married filing jointly and qualifying surviving spouse; and. $64,750 for head of household.

How much capital gains do I pay on $200,000?

Your capital gain (profit) is $200,000. Your taxable capital gain with the 50% discount applied is $100,000. Your estimated capital gains tax obligation is $37,175.

How long should I live in a house to avoid capital gains?

Live in the house for at least 2 years

One of the most effective ways to avoid capital gains taxes is by meeting the ownership and use test. If you live in your home for at least 2 out of the 5 years before selling, you may qualify for the Section 121 exclusion.