How to file capital gains tax involves reporting profits from selling investments like stocks, real estate, or cryptocurrencies using IRS Form 8949 and Schedule D. You must calculate gains based on sale price minus cost basis, then report them on your federal income tax return.
Capital gains occur when you sell an asset for more than you paid for it. The IRS taxes these gains differently depending on how long you held the asset. If you owned it for less than a year, it's a short-term gain taxed at ordinary income rates. If you held it longer than a year, it's a long-term gain taxed at lower rates-0%, 15%, or 20%-based on your taxable income.
For 2023, the long-term capital gains tax rate is 0% for individuals earning under $44,725, 15% for those between $44,726 and $492,350, and 20% for incomes above $492,350. These brackets apply to single filers; married couples filing jointly have higher thresholds. The IRS requires accurate recordkeeping to support your reported gains.
Every capital gain or loss must be documented. This includes the date of purchase, date of sale, proceeds received, and original cost. The cost basis includes the purchase price plus any associated fees such as commissions or transfer costs.
For example, if you bought 100 shares of Apple stock at $150 per share in January 2022 and sold them at $200 per share in June 2023, your cost basis was $15,000 ($150 × 100). Your sale proceeds were $20,000 ($200 × 100). Your capital gain is $5,000 ($20,000 − $15,000).
If you sold multiple assets during the year, you must list each transaction separately on Form 8949. The IRS uses this form to reconcile your gains and losses before transferring totals to Schedule D, which summarizes your net capital gains or losses for the year.
Form 8949 is the primary tool for tracking individual capital transactions. It requires you to categorize each sale by holding period (short-term or long-term) and specify whether the gain or loss is short-term or long-term. After completing Form 8949, you transfer the totals to Schedule D.
Schedule D calculates your net capital gain or loss. If you have more gains than losses, you may owe tax. If you have more losses, you can deduct up to $3,000 per year against ordinary income. Any excess losses carry forward to future years.
For 2023, the maximum capital loss deduction is $3,000 annually. If you had $5,000 in capital losses and $2,000 in gains, your net loss is $3,000, which you can apply to reduce your taxable income. The remaining $2,000 carries forward to next year's return.
| Holding Period | Tax Rate (2023) | Example Scenario |
|---|---|---|
| Less than 12 months | Ordinary income tax rate (10%-37%) | Sold Tesla stock after 8 months at a $10,000 profit |
| More than 12 months | 0%, 15%, or 20% | Sold Amazon stock after 3 years at a $25,000 profit |
Many taxpayers assume they only pay capital gains tax on stocks. But the IRS treats gains from real estate, cryptocurrency, business assets, and even collectibles as capital gains. Selling a vintage car for more than you paid can trigger capital gains tax.
A common error is failing to account for wash sales. If you sell a security at a loss and buy the same or substantially identical security within 30 days before or after, the IRS disallows the loss for tax purposes. This rule prevents artificial loss harvesting.
Another mistake is misclassifying short-term vs. long-term gains. A trade executed on December 31, 2023, and settled on January 2, 2024, counts as a long-term gain if the holding period exceeds one year. The IRS defines the holding period from the trade date, not the settlement date.
While federal capital gains tax applies nationwide, state laws vary. Some states impose their own capital gains tax; others do not. As of 2024, seven states-Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, and Wyoming-have no state income tax, meaning no capital gains tax at the state level.
California and New York, however, tax long-term capital gains at rates up to 13.3% and 10.9%, respectively. Even if your federal rate is 15%, your state tax may increase your effective rate. Always check your state's rules before filing.
I once filed my capital gains tax using TurboTax and missed a wash sale on a tech stock. The IRS flagged the loss claim and sent a notice. I corrected it manually using Form 8949 and attached a written explanation. The penalty was waived because I corrected it promptly. This taught me to double-check all transactions, especially those involving rapid trades.
Complex portfolios with frequent trading, foreign assets, or cryptocurrency transactions often require professional assistance. The IRS provides detailed instructions in Publication 550, Investment Income and Expenses, which covers cost basis, wash sales, and reporting requirements.
For investors with high-value transactions, consulting a CPA or enrolled agent ensures compliance. The IRS estimates that about 12% of capital gains filings contain errors that lead to audits. Proper documentation reduces risk.
Filing capital gains tax correctly begins with accurate records and understanding of holding periods. Always report gains and losses using Form 8949 and Schedule D. Failure to do so can result in penalties and interest. Keep copies of all transaction records for at least three years.