To qualify for the IRS Section 121 exclusion, you must have owned and used your home as your principal residence for at least two years (24 months) out of the five years before the sale, meeting both an ownership test and a use test, and generally not have used the exclusion for another home sale within the past two years, though exceptions exist for health, job changes, or military service. You can exclude up to $250,000 (single) or $500,000 (married filing jointly) of the profit from the sale.
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.
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 requirements.
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.
You're only allowed to exclude gain on the sale of a home once every two years. This is true unless the reduced gain exclusion rules apply.
As long as you sell your first investment property and apply your profits to the purchase of a new investment property within 180 days, you can defer taxes.
Common Mistakes Homeowners Make (and How to Avoid Them)
You only need to have lived in your home for two years within the last five years before selling, not the two years immediately preceding the sale. How to avoid it: Keep a clear record of when you lived in the home so you can confidently meet this requirement.
There isn't a single "one-time" capital gains exemption, but the most common exemption allows you to exclude up to $250,000 (single) or $500,000 (married filing jointly) of profit from the sale of your primary residence, which can be used multiple times as long as you meet ownership and use tests (lived in it 2 of the last 5 years) and haven't used the exclusion in the past two years. Other options exist, like 1031 exchanges for investment properties or Charitable Remainder Trusts, but they have different rules.
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.
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%).
Buying another property does not automatically eliminate capital gains tax on a primary residence or investment property. Homeowners may qualify for the Section 121 Exclusion, which allows up to $250,000 in tax-free gains for single filers or $500,000 for married couples if residency requirements are met.
The main restriction on using the Section 121 Exclusion is the ownership and use test. This requires that the taxpayer has owned the home and used it as a primary residence for at least 24 months out of the previous 60 months. The 60-month period ends on the date the home is sold.
The 2025 tax legislation signed into law by President Trump, commonly referred to as the One Big Beautiful Bill Act, largely preserves the existing capital gains tax framework. Long-term capital gains rates remain set at 0%, 15% and 20%, with no changes to the underlying brackets.
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.
To avoid or minimize capital gains tax on a second home, you can convert it into your primary residence for at least two of the last five years to use the $250k/$500k exclusion (single/married), perform a 1031 exchange (for investment properties) to defer gains into another investment, donate it to charity, increase your cost basis with improvements, or strategically time the sale for lower income years.
Capital improvements: Improvements that add value to your home or prolong its useful life can reduce the amount of capital gains tax you owe when you sell your home, but won't be immediately deductible.
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.
In order to take advantage of Section 121 Exclusion and to significantly save on taxes, you have to be living in the house for two out of the five years before you sell it. It cannot be utilized as real estate investment property, a second or vacation home, or a business property.
A common way to defer or 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.
One-time forgiveness, officially known as First-Time Penalty Abatement (FTA), is an IRS program that allows qualified taxpayers to have certain penalties removed from their tax accounts.
Want to lower the tax bill on the sale of your home? There are ways to reduce what you owe or avoid taxes on the sale of your property. If you own and have lived in your home for two of the last five years, you can exclude up to $250,000 ($500,000 for married people filing jointly) of the gain from taxes.