What actually reduces capital gains tax

You reduce capital gains tax by either lowering the amount of gain you report or moving into a lower tax bracket. The gain itself — the difference between what you paid for an asset and what you sold it for — is what gets taxed. You cannot change that number after the sale. But you can change how much of it counts as taxable income in the year you sell, and you can change which tax rate applies to it.

The most direct methods are holding assets longer (to may have access to for long-term rates instead of short-term), offsetting gains with losses from other sales, and donating appreciated assets to charity instead of selling them. Each works differently and has different requirements. Some require planning before you sell. Some require specific documentation. None of them eliminate the tax entirely unless your total income for the year falls below the threshold where long-term capital gains are taxed at zero percent.

Key Takeaways

  • Long-term capital gains (assets held over one year) are taxed at 0%, 15%, or 20% depending on your income; short-term gains are taxed as ordinary income, which is higher for most people.
  • Harvesting losses from other investments can offset gains dollar-for-dollar, and unused losses can carry forward to future years.
  • Donating appreciated securities directly to charity avoids the capital gains tax entirely and gives you a charitable deduction.
  • Timing the year you sell — or spreading sales across two tax years — can keep you in a lower bracket or below the threshold for higher rates.
  • Stepped-up basis at death transfers appreciated assets to heirs at their current market value, erasing the original gain from taxation.

Hold assets for over one year to use long-term rates

The single largest difference in capital gains tax is whether you hold an asset for more than one year. Short-term gains (held one year or less) are taxed as ordinary income — the same rate as wages or salary. Long-term gains (held over one year) are taxed at preferential rates: 0%, 15%, or 20%, depending on your total taxable income for the year.

For 2024, the 0% long-term rate applies if your taxable income is below $47,025 (single filer) or $94,050 (married filing jointly). The 15% rate applies to income above those thresholds up to $518,900 (single) or $583,750 (married). Anything above that is taxed at 20%. These thresholds adjust each year for inflation. If you sell a stock you bought six months ago and make $10,000, that entire gain is taxed as ordinary income — potentially at 22%, 24%, or higher. If you wait six more months and sell the same stock, that same $10,000 gain might be taxed at 15% or even 0%.

The holding period is measured from the date you bought the asset to the date you sold it. The sale date is what counts, not when you received the proceeds. If you bought stock on March 15, 2023, you can sell it on March 16, 2024, and it qualifies as long-term.

Offset gains with losses from other sales

Tax-loss harvesting means selling an investment at a loss to offset gains from other sales. If you sold a stock for a $5,000 gain and another stock for a $3,000 loss in the same year, you report a net gain of $2,000 and pay tax on that amount instead of $5,000. The loss reduces the gain dollar-for-dollar.

If your losses exceed your gains in a year, you can deduct up to $3,000 of the net loss against ordinary income (wages, salary, interest). Any loss beyond $3,000 carries forward to the next tax year, where it can offset future gains or reduce ordinary income by another $3,000. This carryforward continues indefinitely — you never lose the loss, but you can only use $3,000 per year against ordinary income.

The loss must be from a real sale. You cannot simply declare an investment worthless. You must actually sell it and report the sale on your tax return. After you sell at a loss, you can buy the same or a substantially identical investment back, but not within 30 days before or after the sale — that is the wash-sale rule. If you violate it, the loss is disallowed and added to the cost basis of the new purchase instead.

Donate appreciated assets directly to charity

If you own stock, real estate, or other appreciated assets and want to give to charity, donating the asset itself instead of selling it and donating the cash avoids capital gains tax entirely. You get a charitable deduction for the full current market value, and the charity receives the asset tax-free.

Example: You bought stock for $10,000 that is now worth $40,000. If you sell it, you owe capital gains tax on the $30,000 gain. If you donate it directly to a may have access to charity, you deduct $40,000 as a charitable contribution, and no capital gains tax is owed. The charity can sell the stock without tax consequences because charities are tax-exempt.

This works only if the charity is a may have access to organization — generally a nonprofit, religious institution, educational organization, or public charity recognized by the IRS. You cannot donate to a private individual or a for-profit business. You must itemize deductions on your tax return to claim the charitable deduction; the standard deduction does not apply. For donations over $5,000, you typically need a written appraisal of the asset's value.

Spread sales across two tax years to stay in a lower bracket

Capital gains tax rates depend on your total taxable income for the year. If a large sale would push you into a higher bracket, selling part of the asset in December and part in January spreads the gain across two years and may keep you in a lower bracket both years.

Example: You are single with $40,000 in ordinary income. The 0% long-term capital gains rate ends at $47,025. If you sell an asset with a $20,000 gain in December, your taxable income becomes $60,025, and $12,975 of the gain is taxed at 15%. If you sell $10,000 of the gain in December and $10,000 in January, you stay under $47,025 both years, and both portions are taxed at 0%.

This requires that you actually own separate units of the asset (separate stock certificates, separate parcels of land) or that you can instruct your broker to sell a specific portion. You must also track which shares you sold in which year. Timing the sale also depends on whether you have other income or deductions that year that might affect your bracket.

Use stepped-up basis for inherited assets

When you inherit an asset, its cost basis is "stepped up" to its market value on the date of death. If your parent bought stock for $5,000 and it was worth $50,000 when they died, your basis is $50,000. If you sell it immediately for $50,000, you owe no capital gains tax because there is no gain.

This is not a strategy you can use yourself — it applies only to assets you inherit. But it is relevant if you are deciding whether to sell an appreciated asset now or hold it and let an heir inherit it. Selling now triggers capital gains tax on you. Holding until death means the heir inherits at stepped-up basis and can sell with no tax. This only works if the asset is in your estate at death; it does not apply to assets you transfer to someone while you are alive.

Stepped-up basis is a permanent feature of the tax code, though there have been proposals to change it. As of 2024, it applies to all inherited assets.

Consider your filing status and deductions

Your capital gains tax rate depends on your total taxable income, which is your gross income minus deductions. Increasing deductions lowers your taxable income and can move you into a lower capital gains bracket or even into the 0% bracket.

If you are close to a bracket threshold, maximizing deductions that year — such as contributing to a traditional IRA, claiming business losses, or making charitable donations — can lower your taxable income enough to keep more of your gain in a lower bracket. Conversely, if you have a year with unusually low income (retirement, sabbatical, job loss), selling appreciated assets that year may result in a lower tax rate than selling in a high-income year.

Your filing status also matters. Married filing jointly has higher income thresholds for each bracket than single filers, so a couple can realize more gain at the 0% rate than a single person can.

Frequently Asked Questions

Can I use losses from one type of investment to offset gains from another?

Yes. If you have a loss from selling a stock and a gain from selling real estate in the same year, the loss offsets the gain. The type of asset does not matter — only that both are capital assets and both are reported on your tax return. Losses from one investment account can offset gains from another.

What happens if I sell an asset at a loss and buy it back right away?

The wash-sale rule disallows the loss if you buy the same or substantially identical asset within 30 days before or after the sale. The loss is added to your cost basis in the new purchase instead. You can avoid this by waiting 31 days, or by buying a different but similar asset (for example, a different stock in the same sector) during the 30-day window.

Do I have to itemize deductions to get the benefit of donating appreciated assets?

Yes. You must itemize deductions on Schedule A to claim a charitable deduction for the donated asset. If you take the standard deduction, you get no tax benefit from the donation. However, you still avoid the capital gains tax on the asset itself, which is often the larger benefit.

If I inherit an asset, do I have to sell it to get the stepped-up basis benefit?

No. Stepped-up basis applies automatically when you inherit. Your cost basis is the market value on the date of death, whether you sell immediately or hold it for years. If you sell it later and the price has risen further, you owe tax only on the gain after the date of death.

Can I reduce capital gains tax by putting the asset in a trust?

Putting an asset in a trust does not change the capital gains tax owed when it is sold. The trust itself may owe the tax, or the tax may pass through to the beneficiary, depending on the trust type and whether the asset is sold during your lifetime or after death. Trusts are primarily used for estate planning and asset protection, not tax reduction on capital gains.