You can't completely avoid capital gains tax on all sales, but you can significantly minimize or defer it through strategies like holding assets over a year (long-term rates), using tax-advantaged retirement accounts, offsetting gains with losses (tax-loss harvesting), selling your primary home (up to $250k/$500k exclusion), or using real estate-specific methods like 1031 exchanges or donating appreciated property to charity. The best approach depends on your financial goals and asset type, often requiring professional advice.
You can avoid or minimize capital gains tax by holding assets over a year for lower long-term rates, using tax-advantaged accounts (like Roth IRAs/401(k)s), donating appreciated assets to charity, using tax-loss harvesting to offset gains, or leveraging primary residence exclusions for your home, but completely avoiding tax often involves specific strategies like Qualified Opportunity Zones or 1031 exchanges for real estate.
Second, capital gains taxes on accrued capital gains are forgiven if the asset holder dies—the so-called “Angel of Death” loophole. The basis of an asset left to an heir is “stepped up” to the asset's current value.
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.
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. You can meet the ownership and use tests during different 2-year periods.
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.
A Living Trust Does Not Eliminate Capital Gains Taxes
Another common myth is that putting a home or investments in a trust removes capital gains tax obligations. However: If you sell an asset while it's in a revocable living trust, you still owe capital gains tax on any profit.
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%).
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.
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.
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.
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.
Does reinvesting reduce capital gains? Real estate investors can employ certain tax strategies to potentially defer gains on the sale of a property. But with stocks, reinvesting your gains does not reduce the federal income taxes you may owe.
Exemption under Section 54EC
Section 54EC provides that you do not have to pay LTCG tax on the sale of any long-term capital assets if the capital gains are invested in the designated government bonds and instruments. The bonds must be purchased within six months following the asset's sale.
Use a 1031 exchange
A 1031 exchange, also referred to as a like-kind exchange, lets you defer capital gains taxes when you sell a rental property. The caveat is that you must reinvest the proceeds into a similar investment property.
Capital gains tax on $300,000 depends on your filing status and total income, but for most, it will be taxed at the 15% federal rate, meaning around $45,000 in tax, potentially rising to 20% if your total income is very high, and you'll also need to account for state taxes and potentially a 3.8% Medicare surtax. A $300,000 gain usually falls into the 15% bracket for single filers (above $48,350) and married filing jointly (above $96,700), while for married filing separately, it hits the 20% bracket (over $300,000).
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.
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.
Offset any losses you've made on other assets against your gain. So, if you have a share portfolio or family heirloom that sold at a loss, for example, you can use that to reduce the taxable gain against another asset you're selling, such as property.
5) Defer taxes—You may be able to defer some of the capital gains tax if you help finance the sale and are being paid over several years. In this case, you may be able to declare the capital gain over the duration of the payments, for up to 5 or 10 years depending on the circumstances.
Putting your house in trust doesn't protect assets outside of the trust from probate. So if you want to avoid probate completely, you may want to move your other assets into the trust as well.
If you die within 7 years of making a transfer into a trust your estate will have to pay Inheritance Tax at the full amount of 40%. This is instead of the reduced amount of 20% which is payable when the payment is made during your lifetime.
The simplest way to avoid capital gains tax is to regularly use your capital gains tax allowance (officially known as your annual exempt amount or AEA). How easy this is to do depends on the assets you are selling.