Long-Term Capital Gains Tax Rates and Brackets
Long-term capital gains rates create a separate bracket system overlaying regular income tax brackets, requiring careful calculation to determine your effective rate.
For 2024, the thresholds are: 0% rate for single filers with taxable income up to $47,025, married filing jointly up to $94,050, and head of household up to $63,000. The 15% rate applies to single filers from $47,025 to $518,900, married filing jointly from $94,050 to $583,750, and head of household from $63,000 to $551,350. The 20% rate applies above these thresholds.
Your capital gains rate depends on total taxable income including the capital gains themselves. A single filer with $40,000 in ordinary income and $15,000 in long-term capital gains has $55,000 total taxable income. The first $7,025 of gains ($47,025 - $40,000) is taxed at 0%, while the remaining $7,975 is taxed at 15%, resulting in $1,196 in capital gains tax ($0 + ($7,975 × 0.15)).
This stacking means capital gains "sit on top" of ordinary income when determining rates. If your ordinary income is $45,000 and you have $10,000 in capital gains, that $10,000 pushes you from the 0% capital gains bracket partially into the 15% bracket. Strategic planning can keep income low enough to maximize the 0% bracket.
The 0% long-term capital gains rate provides powerful planning opportunities for retirees and others with modest ordinary income. A retired couple with $50,000 in Social Security and pension income plus $40,000 in long-term capital gains might pay zero capital gains tax if taxable income (after standard deduction) falls within the 0% threshold.
High earners face the 20% top rate plus the 3.8% Net Investment Income Tax (NIIT), creating an effective 23.8% federal rate. Add state capital gains taxes (which vary widely), and top-bracket taxpayers in high-tax states can face combined rates exceeding 30-35% on long-term gains.
State Capital Gains Taxes
State treatment of capital gains varies dramatically, from no state tax to rates exceeding 13%, significantly affecting after-tax returns.
Nine states have no income tax and therefore no capital gains tax: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington, and Wyoming. Selling investments while residing in these states avoids state capital gains tax entirely, though establishing residency purely for tax purposes can invite IRS scrutiny.
Most states tax capital gains as ordinary income at standard income tax rates. If your state has a 5% income tax rate, capital gains are taxed at 5% regardless of holding period. Federal preferential treatment doesn't extend to state taxes in these jurisdictions.
A few states provide preferential rates for long-term capital gains. Arizona allows excluding 25% of long-term gains, effectively reducing the tax rate. New Mexico provides deductions for capital gains income. These states recognize the federal distinction between short and long-term gains in their tax codes.
California, New York, New Jersey, Oregon, and Minnesota have the highest state capital gains tax rates, all exceeding 9%. California tops out at 13.3% for high earners. Combined with federal taxes and NIIT, California residents in the top bracket pay approximately 37.1% on long-term capital gains.
Calculate total tax burden by adding federal and state rates. A long-term gain taxed at 15% federal plus 5% state creates a 20% combined rate. With NIIT added, top-bracket earners in high-tax states face combined rates approaching 35-40%.
Some investors consider state residency in tax planning. Moving from California to Nevada before realizing large capital gains saves 13.3% on those gains. However, states aggressively challenge residency changes timed around large transactions, requiring careful documentation and genuine relocation.
Tax-Loss Harvesting Strategies
Tax-loss harvesting uses investment losses to offset gains, reducing overall tax liability. This powerful strategy requires careful planning and adherence to IRS rules.
Capital losses offset capital gains dollar-for-dollar. If you have $30,000 in long-term gains and $12,000 in long-term losses, you only pay tax on $18,000 net gain. Short-term losses offset short-term gains first, then long-term gains, while long-term losses offset long-term gains first, then short-term gains.
Losses exceeding gains can offset up to $3,000 of ordinary income annually. If you have $8,000 in losses and $2,000 in gains, the $6,000 net loss offsets $3,000 of ordinary income this year, with the remaining $3,000 carrying forward to next year. This $3,000 limit applies regardless of filing status.
Excess losses carry forward indefinitely until used. A $50,000 loss with no offsetting gains creates $3,000 ordinary income deductions annually for 16+ years until exhausted (plus offsetting future gains). Track carryforward losses carefully, as they're valuable tax assets.
The wash sale rule prevents selling securities at a loss and immediately repurchasing them. If you sell stock at a loss and buy substantially identical stock within 30 days before or after the sale (61-day window), the loss is disallowed. The disallowed loss adds to the basis of the repurchased stock, deferring the loss.
Implement tax-loss harvesting by reviewing portfolios before year-end to identify positions with unrealized losses. Sell losers to harvest losses while maintaining market exposure by purchasing similar (but not substantially identical) securities. You might sell a technology ETF at a loss and immediately buy a different technology ETF, maintaining sector exposure while harvesting the loss.
Time harvesting carefully. Short-term losses are more valuable for offsetting short-term gains taxed at higher ordinary rates. Long-term losses offset long-term gains taxed at preferential rates. Ideally, match loss character to gain character, though any losses eventually provide value.