Tax Filing16 min read

How to Report Capital Gains on Your Tax Return 2026: Step-by-Step Filing Guide

Complete step-by-step guide to reporting capital gains on your 2026 tax return. Covers Form 8949, Schedule D, cost basis, short-term vs long-term gains, crypto reporting, and common mistakes that trigger IRS audits.

SM

Written by

Sarah Mitchell

Certified Public Accountant (CPA)

DC

Reviewed by

David Chen

Tax Attorney & Legal Editor

Published on

July 3, 2026

Why Reporting Capital Gains Correctly Matters More Than You Think

Every year, millions of Americans sell stocks, crypto, real estate, or other investments and face the same stressful question: how do I report this on my tax return without making a mistake that could cost me thousands in penalties? The IRS processed over 160 million individual tax returns last year, and capital gains reporting errors ranked among the top reasons for audit triggers and adjustment notices. A single misreported sale — forgetting to include cost basis, mixing up short-term and long-term holding periods, or omitting a crypto transaction — can snowball into a stressful, expensive problem.

The good news is that the reporting process follows a clear, logical structure once you understand how the forms connect to each other. Every sale gets reported on Form 8949, which feeds into Schedule D, which flows to your Form 1040. Whether you sold three shares of Apple or cashed out a six-figure crypto portfolio, the fundamental workflow is the same. This guide walks you through every step with specific line numbers, real examples, and the exact IRS forms you need.

Before you start gathering your records, it helps to understand your short-term capital gains tax rates and your long-term capital gains rates because the holding period determines which tax bracket applies to each sale. Getting this classification right from the beginning saves you from rework later.

Step 1: Gather All Your Transaction Records

Before you touch a single tax form, you need complete records of every sale you made during the tax year. This means collecting the following details for each transaction: the asset name or description, the date you acquired it, the date you sold it, the sale price (gross proceeds), your cost basis (what you originally paid plus any adjustments), and the resulting gain or loss.

Your brokerage firm will send you a Form 1099-B (or a consolidated 1099 statement) that reports your proceeds to the IRS. Most brokerages also report your cost basis, but this is where things get tricky. The IRS requires brokers to report cost basis for "covered securities" (generally, stocks acquired after 2011 and mutual funds after 2012), but older positions and certain other assets may show a blank or missing basis. If your 1099-B shows "basis not reported to IRS," you are responsible for calculating and reporting the correct basis yourself.

For cryptocurrency transactions, exchanges like Coinbase, Kraken, and Binance issue 1099-DA forms starting in 2025, but these often do not capture your complete transaction history — especially if you transferred crypto between wallets or used DeFi protocols. Our cryptocurrency tax guide explains exactly which transactions are taxable and how to track them properly, because the IRS has made it clear that failing to report crypto gains is a priority enforcement area.

If you sold real estate, you need the closing statements from both the purchase and the sale, plus records of any capital improvements you made to the property. Our real estate capital gains calculator can help you estimate the gain, but for the actual tax return, you need the supporting documents.

Step 2: Classify Each Sale as Short-Term or Long-Term

This classification is one of the most consequential decisions you will make when reporting capital gains, because the tax rate difference can be enormous. Assets held for one year or less produce short-term gains taxed at ordinary income rates (10% to 37%), while assets held for more than one year produce long-term gains taxed at the preferential rates of 0%, 15%, or 20%.

The holding period starts the day after you purchase the asset and ends on the day you sell it. If you bought 100 shares of Microsoft on March 15, 2025, and sold them on March 15, 2026, that is exactly one year — and it counts as a short-term holding period. You need to hold until March 16, 2026, for the gain to qualify as long-term. This one-day difference can save you thousands of dollars in taxes, so always double-check your dates carefully before classifying a sale.

Specific identification or FIFO (first-in, first-out) rules apply when you sell only a portion of your holdings. If you bought shares at different times and prices, you can choose which specific lot you are selling — and you should choose the lots that produce the most favorable tax outcome. Your brokerage may default to FIFO, but you can often override this selection. This becomes especially important when you are using tax-loss harvesting strategies to offset your gains with strategic losses.

Step 3: Complete Form 8949 — The Transaction-by-Transaction Report

Form 8949 is where you list every single capital asset sale, one transaction per row. The form is divided into two parts: Part I for short-term transactions and Part II for long-term transactions. Each part has three possible sections depending on how the basis was reported to the IRS:

Box A: Basis Reported to the IRS

Use this for transactions where your brokerage reported both proceeds and cost basis to the IRS on Form 1099-B, and the basis is correct. This is the most common category for recent stock and ETF sales. You simply transfer the information from your 1099-B to Form 8949.

Box B: Basis Not Reported to the IRS

Use this for transactions where your 1099-B shows proceeds but not cost basis — typically older stock positions acquired before the basis reporting requirements took effect. You must calculate and enter the correct basis yourself.

Box C: No Form 1099-B Received

Use this for transactions not reported on any 1099-B form, such as sales of real estate, certain crypto transactions, private company stock, or artwork. You are fully responsible for reporting accurate proceeds and basis.

For each transaction row on Form 8949, enter:

  1. 1Description of the property (e.g., "100 sh MSFT")
  2. 2Date acquired (MM/DD/YYYY format)
  3. 3Date sold (MM/DD/YYYY format)
  4. 4Proceeds (sale price)
  5. 5Cost or other basis (purchase price plus commissions and adjustments)
  6. 6Adjustments (if any — codes are listed on the form)
  7. 7Gain or loss (proceeds minus basis plus adjustments)

If you have dozens or hundreds of transactions, you can attach a separate statement with all the details and enter totals on Form 8949. Many tax software programs and stock tax calculator tools can generate this statement automatically from your brokerage data, which saves enormous time and reduces the risk of manual entry errors.

Step 4: Transfer Totals to Schedule D

Schedule D is the summary form where all your capital gains and losses come together. You transfer the totals from each section of Form 8949 to the corresponding lines on Schedule D:

  • Line 1a: Total short-term gains/losses from Box A transactions (already reported to IRS)
  • Line 1b: Total short-term gains/losses from Box B transactions (basis not reported)
  • Line 1c: Total short-term gains/losses from Box C transactions (no 1099-B)

The same structure applies to long-term transactions on lines 8a, 8b, and 8c. After entering these subtotals, Schedule D walks you through netting short-term gains against short-term losses, and long-term gains against long-term losses. If you have both net short-term gains and net long-term gains, they remain separate and are taxed at their respective rates.

If your total net capital loss exceeds $3,000 ($1,500 if married filing separately), you can only deduct $3,000 against your ordinary income this year. The remaining loss carries forward to future years indefinitely. This $3,000 annual limit is one reason why strategic tax-loss harvesting throughout the year is so valuable — harvesting losses early prevents them from piling up unused at year-end.

Step 5: Calculate Your Capital Gains Tax

Once Schedule D gives you your net short-term and net long-term gains, you need to calculate the actual tax owed. Short-term gains are simply added to your ordinary income and taxed at your marginal rate. Long-term gains use the Qualified Dividends and Capital Gain Tax Worksheet in the Form 1040 instructions, which applies the 0%, 15%, or 20% rate based on your taxable income.

For taxpayers with higher incomes, there is an additional layer to worry about. The Net Investment Income Tax adds a 3.8% surcharge on investment income for individuals with modified adjusted gross income above $200,000 (single) or $250,000 (married filing jointly). This tax applies to both short-term and long-term capital gains, effectively raising the top federal rate on long-term gains from 20% to 23.8%.

Your state capital gains tax rate adds yet another layer. Depending on where you live, your combined federal and state rate could range from about 24% in a no-tax state like Texas or Florida, to over 37% in California. This state-level impact is why some taxpayers consider establishing residency in a lower-tax state before realizing large gains.

Step 6: Special Reporting Situations

Reporting Crypto Capital Gains

Cryptocurrency reporting has become significantly more rigorous. Starting with the 2025 tax year, the IRS requires crypto exchanges to report transactions on Form 1099-DA. But if you used multiple exchanges, DeFi protocols, or moved crypto between wallets, you likely have transactions that no single exchange reports. You must track and report these manually. Every swap on Uniswap, every liquidity pool withdrawal, and every NFT sale is a taxable event that belongs on Form 8949.

Reporting Home Sale Gains

If you sold your primary residence, you may qualify for the Section 121 exclusion that shields up to $250,000 (single) or $500,000 (married) of gain from tax. Our home sale capital gains calculator helps you determine if you qualify and how much gain is taxable. You report the sale on Form 8949 and Schedule D, but only the taxable portion (the gain above your exclusion amount) appears as a capital gain. The excluded portion is never taxed.

Reporting 1031 Exchange Deferrals

If you completed a 1031 like-kind exchange, you do not recognize the gain in the year of the exchange. Instead, you file Form 8824 (Like-Kind Exchanges) to report the exchange and defer the gain. The deferred gain reduces your basis in the replacement property, and it remains deferred until you eventually sell that property (or do another 1031 exchange).

Wash Sale Adjustments

If you sold a stock at a loss and repurchased a substantially identical security within 30 days before or after the sale, the wash sale rule disallows the loss deduction. You must adjust your basis on Form 8949 by entering code "W" in the adjustment column and adding the disallowed loss to the basis of the replacement shares. This is a common audit trigger, so handle it carefully.

Common Mistakes That Trigger IRS Notices

Mistake 1: Omitting Transactions Because They Were Small

Every sale must be reported, regardless of how small the gain or loss. The IRS receives a copy of your 1099-B and matches it against your return. If your brokerage reported a $50 sale and you did not include it, the IRS automated matching system will flag the discrepancy and send you a CP2000 notice proposing additional tax.

Mistake 2: Using Incorrect Cost Basis

If your 1099-B shows "basis not reported to IRS" and you leave the basis column blank or enter zero, the IRS assumes your entire sale proceeds are gain. This results in a massively overstated tax bill. Always calculate and enter the correct basis, even when it is not pre-filled on your 1099-B.

Mistake 3: Mixing Up Short-Term and Long-Term Classifications

This mistake directly affects your tax rate. A long-term gain classified as short-term gets taxed at the higher ordinary income rate, potentially costing you 15-20 extra percentage points in tax. Double-check every holding period before entering it on Form 8949.

Mistake 4: Forgetting to Report Crypto Transactions

The IRS has made crypto enforcement a top priority. The question about virtual currency transactions now appears prominently on the front page of Form 1040. Answering "No" when you had taxable crypto events is a serious misrepresentation that can result in penalties of 20% of the underpaid tax for negligence, or 75% for fraud.

Mistake 5: Not Netting Gains and Losses Properly

Schedule D requires you to net short-term gains against short-term losses first, and long-term gains against long-term losses first. Only after netting within each category do you combine the results. Getting this sequence wrong can change your tax liability significantly.

Filing Tips for a Smooth Process

  1. 1Use tax software — Programs like TurboTax, H&R Block, and FreeTaxUSA import your 1099-B data automatically and generate Form 8949 and Schedule D for you. This dramatically reduces manual entry errors.
  2. 2Keep records for at least three years — The IRS generally has three years to audit your return, but if you underreport income by more than 25%, they have six years. Keep all brokerage statements, purchase confirmations, and closing documents.
  3. 3File Form 8949 even if you have a summary statement — If you attach a detailed transaction statement, you still need to complete the totals on Form 8949. Do not skip this form.
  4. 4Review before filing — Compare your reported proceeds total on Schedule D against the total on all your 1099-B forms. They should match. If they do not, you have missed or double-counted something.
  5. 5Consider estimated tax payments — If you have significant capital gains, you may owe estimated taxes to avoid underpayment penalties. The safe harbor is paying at least 100% of last year's tax liability (110% if your AGI exceeds $150,000) through withholding or estimated payments.

The Bottom Line

Reporting capital gains on your tax return is a systematic process: gather records, classify holding periods, list transactions on Form 8949, summarize on Schedule D, and calculate the tax. Each step builds on the previous one, and accuracy at every stage prevents costly mistakes downstream. Whether you are filing yourself or working with a CPA, understanding this workflow gives you confidence that your return is correct and complete. Take it one step at a time, double-check your numbers, and when in doubt, consult a qualified tax professional.

Fact-Checked & Reviewed

This article was written by Sarah Mitchell (CPA, MST (Master of Science in Taxation)) and reviewed for accuracy by David Chen (JD, LLM in Taxation (New York University)). All tax rates, thresholds, and rules referenced are based on IRS publications and current tax law as of the date published. Tax laws change frequently — always consult a qualified tax professional for advice specific to your situation.

report capital gainsForm 8949Schedule Dtax return filingIRS reportingcapital gains tax filing

Disclaimer: This article is for informational purposes only and does not constitute tax, legal, or financial advice. Tax laws and regulations change frequently, and the information presented here may not reflect the most current updates. You should consult with a qualified CPA, tax attorney, or financial advisor before making any tax-related decisions. TaxGainsCalc is not responsible for any actions taken based on the information provided in this article.