How can I legally avoid capital gains tax?

Asked by: Pink Konopelski  |  Last update: November 22, 2025
Score: 4.9/5 (17 votes)

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.

Are there any loopholes for capital gains tax?

By investing in eligible low-income and distressed communities, you can defer taxes and potentially avoid capital gains tax on stocks altogether. To qualify, you must invest unrealized gains within 180 days of a stock sale into an eligible opportunity fund, then hold the investment for at least 10 years.

How do I get zero capital gains tax?

A capital gains rate of 0% applies if your taxable income is less than or equal to:
  1. $47,025 for single and married filing separately;
  2. $94,050 for married filing jointly and qualifying surviving spouse; and.
  3. $63,000 for head of household.

What makes you exempt from capital gains?

However, thanks to the Taxpayer Relief Act of 1997, most homeowners are exempt from needing to pay it.1 If you're single, you will pay no capital gains tax on the first $250,000 of profit (excess over cost basis). Married couples enjoy a $500,000 exemption.2 However, there are some restrictions.

Can I reinvest my capital gains to avoid taxes?

A 1031 exchange, named after Section 1031 of the Internal Revenue Code, allows you to defer paying capital gains taxes by reinvesting the proceeds from the sale of your investment property into a similar property.

Here's how to pay 0% tax on capital gains

15 related questions found

What is the 6 year rule for capital gains tax?

Here's how it works: Taxpayers can claim a full capital gains tax exemption for their principal place of residence (PPOR). They also can claim this exemption for up to six years if they move out of their PPOR and then rent it out. There are some qualifying conditions for leaving your principal place of residence.

Where should I put money to avoid capital gains tax?

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. However, you will pay income taxes when you withdraw money from the account.

What is the exemption of capital gains?

Long-term capital gains of up to ₹1 lakh are exempted from tax. However, please note that as per the latest Union Budget, this limit of ₹1 lakh has been increased to ₹1.25 lakh, which will be effective from FY 24-25.

At what age do you no longer have to pay capital gains tax?

Unfortunately, there's no age limit to paying capital gains tax. However, you can manage and even reduce your tax burden with the right strategies and information. Here are the basics about capital gains tax rules and rates as well as some tax-saving tactics.

How to waive 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 income pays no capital gains tax?

Starting in 2025, single filers can qualify for the 0% long-term capital gains rate with taxable income of $48,350 or less, and married couples filing jointly are eligible with $96,700 or less.

How to offset capital gains?

Use Capital Losses to Offset Gains

Say you own two stocks, one worth 10% more than you paid for it, while the other is worth 5% less. If you sold both stocks, the loss on the one would reduce the capital gains tax that you would owe on the other.

What states have 0% capital gains?

There are only eight states that do not tax capital gains:
  • Alaska.
  • Florida.
  • Nevada.
  • New Hampshire*
  • South Dakota.
  • Tennessee.
  • Texas.
  • Wyoming.

How do rich people avoid capital gains tax?

“It is a simple fact that billionaires in America can live very extraordinarily well completely tax-free off their wealth,” law professor Edward J. McCaffery writes. They can do so by borrowing large sums against their unrealized capital gains, without generating taxable income.

Do you pay capital gains after age 65?

As of 2022, for a single filer aged 65 or older, if their total income is less than $40,000 (or $80,000 for couples), they don't owe any long-term capital gains tax. On the higher end, if a senior's income surpasses $441,450 (or $496,600 for couples), they'd be in the 20% long-term capital gains tax bracket.

What is the inherited capital gains tax loophole?

But when gains are inherited, the loophole zeroes out the gain for tax purposes. As a result, an investment sale that would create a taxable gain for the original owner is tax-free for the inheritor. Example: an investor buys 100 shares of stock for $200. Ten years later, the stock is worth $500.

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.

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.

Do you have to pay income tax after age 75?

Taxes aren't determined by age, so you will never age out of paying taxes. People who are 65 or older at the end of 2024 have to file a return for tax year 2024 (which is due in 2025) if their gross income is $16,550 or higher. If you're married filing jointly and both 65 or older, that amount is $32,300.

What is allowable against capital gains tax?

Costs you can deduct include: fees, for example for valuing or advertising assets. costs to improve assets (but not normal repairs) Stamp Duty Land Tax and VAT (unless you can reclaim the VAT)

Can I sell stock and reinvest without paying capital gains?

What if I reinvest the proceeds? Buying additional stock shares with the proceeds from a stock sale will not eliminate or reduce capital gains taxes. However, if you reinvest the gain into a QOF (Qualified Opportunity Fund), you can defer the payment of capital gains taxes while you are invested in an eligible fund.

What deductions offset capital gains?

You can use capital losses to offset capital gains during a tax year, allowing you to remove some income from your tax return. You can use a capital loss to offset ordinary income up to $3,000 per year If you don't have capital gains to offset the loss.

Can you avoid capital gains by buying another home?

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 wash sale rule?

Under the wash sale rule, your loss is disallowed for tax purposes if you sell stock or other securities at a loss and then buy substantially identical stock or securities within 30 days before or 30 days after the sale.