What actually reduces capital gains tax
You cannot avoid capital gains tax entirely if you sell an asset at a profit, but you can reduce what you owe through specific, legal methods. The main strategies are: holding assets longer to use lower long-term rates, offsetting gains with losses, donating appreciated assets to charity, and timing sales across tax years. Each method works differently and has real limits — none of them eliminate the tax, and some require you to give up the asset or accept a loss.
The IRS taxes capital gains based on how long you held the asset. If you sell within one year, you pay short-term rates (your ordinary income tax rate, which can be 10% to 37%). If you hold for more than one year, you pay long-term rates (0%, 15%, or 20%, depending on your income). This difference alone can save thousands on a single sale.
Key Takeaways
- Holding an asset for more than one year before selling drops your tax rate from your ordinary income rate to 0%, 15%, or 20%, which is the single largest reduction available.
- Losses on other investments can offset gains dollar-for-dollar, and unused losses carry forward to future years with no time limit.
- Donating appreciated stock or real estate to a charity lets you deduct the full current value while avoiding the capital gains tax entirely.
- Selling assets in a year when your income is lower (such as after retirement) can move you into a lower tax bracket and reduce your rate.
- These methods are legal tax planning, not tax evasion — the IRS expects people to use them, and they must be reported on your tax return.
Hold assets for more than one year to use long-term rates
The simplest and most common reduction is waiting. If you buy a stock, rental property, or other investment and hold it for at least 366 days before selling, the gain qualifies as long-term capital gain. Long-term rates are 0%, 15%, or 20% depending on your total income that year. Short-term gains (held one year or less) are taxed at your ordinary income rate, which ranges from 10% to 37%.
The difference is substantial. Suppose you buy stock for $10,000 and sell it for $15,000 one year and one day later. Your gain is $5,000. If your ordinary income rate is 32%, short-term tax would be $1,600. Long-term tax at 15% would be $750 — a savings of $850 on that single transaction. For larger gains, the savings multiply.
The holding period starts the day after you buy and ends the day you sell. Weekends and holidays count. If you bought on January 15, 2024, you can sell on January 15, 2025, and it still qualifies as short-term; you need to wait until January 16, 2025.
Use investment losses to offset gains
Tax-loss harvesting means selling an investment at a loss to offset gains elsewhere. If you have a stock that dropped in value, you can sell it and use that loss to reduce taxable gains from other sales. The losses and gains cancel out dollar-for-dollar.
Example: You sell one stock for a $10,000 gain and another for a $3,000 loss. Your net capital gain is $7,000, and you pay tax only on that amount. If you have more losses than gains in a year, you can deduct up to $3,000 of the excess loss against your ordinary income. Any remaining loss carries forward to the next year with no expiration — you can use it whenever you have gains or income to offset.
One important rule: if you sell a security at a loss and buy the same or a substantially identical security within 30 days before or after the sale, the wash-sale rule disallows the loss. You can buy a similar but not identical investment (for example, a different tech stock instead of the same one) to avoid this trap.
Donate appreciated assets directly to charity
If you own stock, real estate, or other property that has increased in value, you can donate it directly to a may have access to charity and deduct the current market value on your tax return. You avoid the capital gains tax entirely, and you get a charitable deduction for the full amount.
Example: You bought stock for $5,000 that is now worth $20,000. If you sell it, you owe capital gains tax on the $15,000 gain. If you donate it to a may have access to charity instead, you deduct $20,000 as a charitable contribution and pay zero capital gains tax. The charity receives the full $20,000 value, and you get the tax deduction.
This works only if the charity is IRS-may have access to (most established nonprofits, religious organizations, and educational institutions are). You cannot donate to a person or a non-may have access to organization and claim the deduction. You will need a written appraisal for real estate or other hard-to-value assets, and you must itemize deductions on your tax return for the deduction to help you.
Time large sales across multiple tax years
If you have a very large gain, you can spread the sale across two or more years to keep your income lower in each year. This can move you into a lower tax bracket and reduce your long-term rate from 20% to 15% or even to 0%.
Long-term capital gains rates depend on your total income. For 2024, the 0% rate applies to single filers with income up to $47,025 and married filers filing jointly up to $94,050. The 15% rate applies up to $518,900 (single) or $583,750 (married filing jointly). Above that, the rate is 20%. If you sell a large asset and jump into the 20% bracket, selling half one year and half the next might keep you in the 15% bracket both years.
This strategy requires planning and works best when you control the timing of the sale. It does not work for inherited assets (which get a step-up in basis and usually have no capital gains tax at all) or for assets you must sell on a fixed schedule.
Understand step-up in basis for inherited assets
If you inherit an investment, the tax basis resets to the market value on the date of death. This is called a step-up in basis. If your parent bought stock for $10,000 and it was worth $50,000 when they died, your basis is $50,000. If you sell it immediately for $50,000, you have zero gain and zero tax.
This is not something you do — it happens automatically. But it is important to know because it means inherited investments are usually tax-free to sell, even if they have appreciated significantly. The step-up applies to most inherited property, including real estate, stocks, and bonds. It does not apply to inherited retirement accounts (IRAs, 401(k)s), which have their own rules.
Frequently Asked Questions
Can I avoid capital gains tax by not selling?
Yes. If you never sell, you never trigger a taxable event. The investment can grow indefinitely without tax. The downside is you cannot access the money without selling, and the asset is still part of your estate when you die (though heirs get the step-up in basis). This works if you do not need the money and want to pass the asset to heirs.
What if I sell at a loss — do I get a refund?
No refund, but you can use the loss to offset gains or up to $3,000 of ordinary income per year. Unused losses carry forward indefinitely. If you have $10,000 in losses and $2,000 in gains, you offset the gains and deduct $3,000 against your salary or other income, leaving $5,000 to carry to next year.
Does moving to a state with no income tax reduce capital gains tax?
No. Capital gains tax is federal, not state-based. Nine states have no state income tax, but you still owe federal capital gains tax. Some states do tax capital gains separately or at a higher rate, so moving might reduce state tax, but the federal tax remains the same.
Can I use a trust to avoid capital gains tax?
Trusts do not eliminate capital gains tax, but they can defer it or spread it across multiple taxpayers. A trust pays tax on gains at trust tax rates, which reach the top rate (20% federal plus 3.8% net investment income tax) at lower income levels than individuals. Trusts are complex and expensive to set up, and they require professional tax and legal advice.
What is the net investment income tax, and does it apply to me?
The net investment income tax is an additional 3.8% tax on capital gains and other investment income for high earners. It applies to single filers with income over $200,000 and married filers over $250,000. If your capital gains push you over these thresholds, you owe both the regular capital gains tax and the 3.8% additional tax.