Get Your Free Long-Term Capital Gains Tax Guide
Understanding Long-Term Capital Gains Tax Basics Capital gains are profits you make when you sell something for more than you paid for it. If you buy a stock...
Understanding Long-Term Capital Gains Tax Basics
Capital gains are profits you make when you sell something for more than you paid for it. If you buy a stock for $1,000 and sell it for $1,500, you have a $500 capital gain. The tax rules for these gains depend on how long you held the item before selling it. Long-term capital gains occur when you hold an investment for more than one year before selling. This time requirement is important because the IRS taxes long-term gains at different rates than short-term gains.
The IRS created this distinction to encourage longer-term investing. Short-term capital gains—on items held for one year or less—are taxed as ordinary income at your regular tax bracket rate, which could be as high as 37% for the highest earners. Long-term capital gains receive preferential treatment with lower tax rates: 0%, 15%, or 20%, depending on your income level and filing status. For example, a single filer in 2024 with taxable income up to about $47,025 may pay 0% on long-term gains. Those earning between approximately $47,025 and $518,900 typically pay 15%. Only the highest earners pay the 20% rate.
This guide covers the rules, rates, and situations where long-term capital gains taxes apply. Understanding how these taxes work helps you make informed decisions about when to sell investments and how to plan your finances. Many investors don't realize they can control when gains become taxable through strategic timing of sales.
Practical Takeaway: Track the purchase date of every investment. The difference between holding something for 365 days versus 366 days can mean the difference between paying ordinary income tax rates and preferential long-term rates—potentially saving thousands of dollars.
How Tax Brackets Affect Your Capital Gains Rate
Your long-term capital gains tax rate depends entirely on your overall taxable income and filing status. The 2024 tax brackets create three tiers for long-term capital gains. Your regular income comes first, then capital gains stack on top. This is called "stacking," and understanding it matters significantly for tax planning.
For single filers in 2024, the 0% rate applies to long-term gains as long as your total taxable income (wages, business income, and gains combined) doesn't exceed $47,025. If you earn $35,000 in wages and have $10,000 in long-term capital gains, all $10,000 of those gains falls in the 0% bracket because your total income stays under $47,025. The next tier starts at $47,026 and goes to $518,900, where the 15% rate applies. Above $518,900, you pay 20%. For married couples filing jointly, the thresholds are higher: 0% through $94,375 in taxable income, 15% from $94,376 to $583,750, and 20% above that.
This structure creates planning opportunities. A couple retiring early might have very low income one year, allowing them to harvest long-term gains at 0% tax. Someone self-employed might time the sale of an investment to fall in a lower-income year. A person who just started a new job might delay selling appreciated stocks until January to keep that year's income lower.
Net Investment Income Tax adds another 3.8% for high earners. This applies to long-term capital gains for single filers with modified adjusted gross income over $200,000 or married couples over $250,000. So someone in the highest bracket actually pays 23.8% federal tax on long-term gains, plus their state's capital gains tax.
Practical Takeaway: Calculate your projected taxable income for the full year before selling appreciated investments. Moving a large sale from a high-income year to a lower-income year can shift your gains into a lower bracket, potentially reducing your tax bill by thousands.
Types of Investments That Trigger Capital Gains Taxes
Capital gains taxes apply to profits from selling many types of assets. Stocks are the most common example. If you own individual company shares or stock mutual funds and sell them for a profit, you owe capital gains tax on the difference between your purchase price and sale price. Real estate also triggers capital gains taxes when you sell a property for more than you paid for it, though a significant exclusion exists for primary residences. Bonds, investment real estate, fine art, collectibles, and cryptocurrency all generate capital gains when sold at a profit.
Some assets have special rules worth understanding. If you inherit investments, your cost basis gets "stepped up" to the market value on the date of the person's death. This means if someone bought a stock for $5,000 and it grows to $50,000, when they pass away, the heir gets a new basis of $50,000. If the heir sells immediately, there's no capital gains tax. This is one of the most valuable tax benefits available. Stocks in retirement accounts like 401(k)s and IRAs don't trigger capital gains taxes when you sell them inside the account, only when you eventually withdraw the money—and those withdrawals are taxed differently, usually as ordinary income.
Mutual funds and exchange-traded funds (ETFs) pass capital gains to shareholders even if the shareholder didn't sell the fund itself. When a fund manager sells stocks inside the fund, those gains get distributed to shareholders, who then owe taxes. A person could buy a mutual fund in November and receive a capital gains distribution in December, creating an unexpected tax bill. Individual stocks only create capital gains when you personally sell them.
The sale of a primary residence has special rules. Single filers can exclude up to $250,000 of gains, and married couples can exclude $500,000. This means a married couple who bought a house for $400,000 and sold it for $900,000 owes no capital gains tax, as their $500,000 gain falls within the exclusion. You must have owned and lived in the home two of the last five years.
Practical Takeaway: Document the original purchase price (cost basis) of every investment. If you've lost these records, your broker can usually provide historical statements, or you can reconstruct costs with old bank statements or investment confirmations.
Strategies for Managing Capital Gains Taxes
Several legitimate strategies can help reduce capital gains tax obligations without breaking any rules. Tax-loss harvesting is a common approach where you sell an investment at a loss to offset gains from other investments. If you have $15,000 in gains from one stock but another investment has dropped $8,000 in value, you can sell the losing investment. The $8,000 loss reduces your taxable gains to $7,000. Any losses that exceed gains in a year can reduce your ordinary income by up to $3,000, with excess losses carrying forward indefinitely to future years.
Timing your investment sales across tax years represents another planning tool. If you expect lower income in the upcoming year, you might delay selling appreciated assets until then to keep gains in a lower bracket. A consultant who had a high-income year might wait until the following January to sell appreciated investments, potentially moving those gains from the 15% or 20% bracket into the 0% or 15% bracket. This strategy works best when you have flexibility in when you sell.
Asset location refers to where you hold different investments. Stocks and funds that generate frequent capital gains or high income belong in tax-advantaged accounts like 401(k)s and IRAs, where gains don't trigger immediate taxes. Stable, long-term holdings can sit in regular taxable accounts, where the preferential long-term capital gains rates apply. Bonds and dividend-paying stocks deserve careful placement since their regular income gets taxed annually regardless of account type.
Charitable giving of appreciated securities offers significant benefits. Rather than selling an appreciated stock and paying capital gains tax, you can donate the stock directly to a charity. You receive a charitable deduction for the full market value and avoid capital gains tax entirely. A person who bought $5,000 of stock now worth $25,000 could donate the shares, deduct $25,000, and avoid taxes on the $20,000 gain. This works even better for people in high tax brackets.
Holding periods matter for the rate you pay. Simply waiting past the one-year mark converts short-term gains (taxed at ordinary rates up to 37%) to long-term gains (taxed at 0%, 15%, or 20%). For a
Related Guides
More guides on the way
Browse our full collection of free guides on topics that matter.
Browse All Guides →