How to Fill Out IRS Form 8949 (w/Examples) + FAQs

You fill out IRS Form 8949 by listing each capital asset sale or exchange, including a description of the property, purchase and sale dates, proceeds, cost basis, and any adjustments, then summing the totals and transferring them to Schedule D. According to recent IRS audit data, nearly 40% of taxpayers misreport capital gains due to errors on Form 8949, risking penalties and unwanted attention from the government.

Filing mistakes often stem from misunderstanding the form’s structure, failing to separate short‑term and long‑term holdings or neglecting new digital asset reporting rules. In this comprehensive guide you’ll learn:

  • 📄 When to file Form 8949 and who must use it
  • 🗂️ How to separate short‑term vs long‑term transactions and choose the correct category
  • 🧮 Step‑by‑step instructions for every column, with realistic examples
  • ⚠️ Common pitfalls and how to avoid wash‑sale or basis errors
  • 🤝 How federal rules interact with state capital‑gains laws and digital‑asset regulations

Form 8949: Why This Form Exists and Who Needs It

The Internal Revenue Service (IRS) created Form 8949 to reconcile your individual transaction records with the information brokers report on Form 1099‑B, real estate closing agents report on Form 1099‑S, and — starting in 2025 — digital‑asset platforms report on Form 1099‑DA. Form 8949 provides a standardized grid for listing each capital asset sale or exchange. Without it, Schedule D would be a single total with no way to verify underlying transactions.

Anyone who sells or exchanges a capital asset, including stocks, bonds, mutual funds, exchange‑traded funds, digital assets (cryptocurrencies and non‑fungible tokens), precious metals, collectibles, real estate, or even your main home, may need to complete Form 8949. Individuals, corporations, partnerships, trusts and estates all use the form. If your broker’s 1099‑B reports every cost basis and you make no adjustments, you may instead report totals directly on Schedule D, but completing Form 8949 ensures accuracy and provides an audit trail.

How Form 8949 Fits Into the Tax Filing Ecosystem

A few related forms interact closely with Form 8949:

  • Schedule D is where you summarize the totals from your Forms 8949. It classifies gains and losses by holding period (short‑term vs long‑term) and applies carryovers or tax rules to calculate your net capital gain or loss.
  • Form 1099‑B (and 1099‑S for real estate, 1099‑DA for digital assets) are information returns that brokers and closing agents send to you and the IRS. They list proceeds and, when known, cost basis for each transaction. Form 8949 reconciles your figures with these forms.
  • Form 1040 or 1120 (for corporations) reports your final net capital gain or loss from Schedule D. Short‑term gains are taxed at ordinary income rates, while long‑term gains enjoy preferential rates.

Categories and Boxes: Understanding the A‑F System

Form 8949 separates transactions by holding period and by whether the broker reported cost basis to the IRS. You must file a separate page for each category:

  • Part I (Box A, B or C) reports short‑term transactions. Check Box A if the transaction appears on a 1099‑B with cost basis reported. Use Box B if the transaction is on a 1099‑B but the cost basis isn’t reported. Check Box C for transactions without a 1099‑B (private sales, certain collectibles or inherited property).
  • Part II (Box D, E or F) reports long‑term transactions held longer than one year. Choose Box D for sales reported on a 1099‑B with basis information, Box E for 1099‑B transactions without basis, and Box F for transactions with no 1099‑B.

Each combination of holding period and reporting status helps the IRS quickly identify where differences might exist between your return and broker‑reported information. Filing in the wrong category is a common cause of IRS notices.

Federal vs. State: Navigating Capital‑Gains Taxes

How the Federal Government Taxes Capital Gains and Losses

The federal tax system classifies capital gains into two buckets: short‑term gains (assets held one year or less) and long‑term gains (assets held more than one year). Short‑term gains are taxed at your ordinary income tax rate, which can range from 10% to 37%. Long‑term gains enjoy preferential rates of 0%, 15% or 20%, depending on your taxable income. Certain high earners may also owe the Net Investment Income Tax (NIIT) of 3.8% on top of capital gains.

Losses are valuable. You can offset capital gains with capital losses dollar for dollar. If your losses exceed your gains, you can deduct up to $3,000 ($1,500 if married filing separately) from ordinary income per year, carrying the remainder forward indefinitely.

The wash‑sale rule disallows losses when you sell a stock or other security at a loss and buy substantially identical securities within 30 days before or after the sale. Form 8949 uses adjustment code W to denote this disallowed loss; you add the non‑deductible amount back to the cost basis of the repurchased shares.

Special federal provisions modify gains on certain assets:

  • Main home exclusion (Internal Revenue Code §121): You may exclude up to $250,000 of gain ($500,000 if married filing jointly) when selling your principal residence, provided you meet ownership and use tests. The excluded gain is entered as a negative adjustment on Form 8949 using code H.
  • Qualified Small Business Stock (QSBS): Section 1202 allows up to a 100% exclusion of gains on certain C‑corporation stock held more than five years. Use code Q to adjust the excluded portion.
  • Qualified Opportunity Funds (QOFs): Investing gains into a QOF allows you to defer tax. Use code R to adjust the deferred gain amount.
  • Section 1244 stock: Losses on small business stock may be deductible as ordinary losses. Use code S for such adjustments.

State Capital‑Gains Differences: Where You Live Matters

While federal rules apply uniformly, state taxation of capital gains varies widely. Most states tax capital gains as ordinary income. However, eight states (Alaska, Florida, New Hampshire, Nevada, South Dakota, Tennessee, Texas and Wyoming) do not levy state income tax and thus impose no state capital‑gains tax. Washington imposes a 7% tax on long‑term capital gains above a $250,000 threshold, even though it lacks a general income tax. Minnesota applies an additional 1% tax on net investment income above $1 million.

Several states encourage investment by offering partial exclusions:

StateUnique capital‑gains treatment
ArizonaExcludes 25% of net long‑term capital gains from taxable income.
ArkansasExcludes 50% of net long‑term capital gains from ordinary income, and fully exempts gains exceeding $10 million.
HawaiiAllows a $50,000 deduction for long‑term gains on qualifying residential properties.
MontanaApplies a credit equal to 2% of net long‑term gains.
New MexicoStarting 2025, excludes the greater of $2,500 or 40% of up to $1 million of a taxpayer’s long‑term gains.
North DakotaAllows a deduction equal to 30% of net long‑term gains.
South CarolinaDeducts 44% of net long‑term gains from taxable income.
WisconsinExcludes 30% of net long‑term gains; an additional exclusion applies to gains on qualified Wisconsin business stock.

These state‑level nuances mean that residents of high‑tax states may consider timing or relocating before realizing large gains. Always consult your state’s tax rules when preparing your return.

Step‑by‑Step Guide to Completing Form 8949

1. Determine Holding Period and Category

Before you touch the form, identify whether each sale is short‑term or long‑term based on the period between the acquisition date and the sale date. Determine whether the transaction is reported on a 1099‑B, 1099‑S or 1099‑DA, and whether cost basis is reported. This classification tells you which box (A through F) to check in Part I or Part II.

2. Gather Documentation

Collect all statements and records: brokerage statements, 1099‑B forms, 1099‑DA forms for digital assets, 1099‑S forms for real estate transactions, purchase confirmations, and records of basis (including reinvested dividends, improvements to property, or transaction fees). For digital assets, maintain a wallet‑by‑wallet log showing acquisition date, number of units, cost basis and fair market value at sale.

3. Enter Description of Property (Column (a))

List each asset sold separately. Use clear descriptions such as “100 shares of XYZ Co. common stock,” “Ethereum (ETH) 1.2 units,” or “Residential property – 123 Main Street.” If you combine multiple transactions into one line (for example, multiple sales of the same stock), you must attach a statement detailing each transaction and use adjustment code M for multiple transactions.

4. Date Acquired and Date Sold (Columns (b) and (c))

Enter the purchase date in column (b) and the sale or disposition date in column (c). For inherited property, use the date of the decedent’s death as your acquisition date. If you acquired shares on multiple dates and average them, you may enter “VARIOUS” in column (b) and include the full list on the attached statement. For digital assets purchased over time, use a specific identification or FIFO method depending on your record‑keeping.

5. Proceeds and Cost Basis (Columns (d) and (e))

Column (d) records your proceeds — the amount you received from the sale, minus commissions or fees. The number should match what appears on your 1099‑B or other statements. Column (e) records your cost or other basis — generally what you paid to acquire the asset, including commissions, fees and certain improvements. For gifted property, the basis may be the donor’s basis; for inherited property, the basis generally steps up to fair market value on the date of death.

If your broker did not report basis to the IRS, you must provide your basis even when the 1099‑B lacks it. When basis is incorrectly reported by the broker, use adjustment code B and adjust the difference in column (g).

6. Adjustments and Codes (Columns (f) and (g))

Form 8949 includes codes to identify adjustments that affect your gain or loss. Some common codes include:

  • WWash Sale: use this when you sold a security at a loss and repurchased a substantially identical security within 30 days; add the disallowed loss to the cost basis of the new shares.
  • HMain Home Exclusion: reduces gain up to $250,000 ($500,000 married) on the sale of your principal residence.
  • BIncorrect Basis Reported on 1099‑B: when the broker’s basis is wrong; you adjust the difference in column (g).
  • NNominee: used when you sell securities on behalf of another person or are the nominee holder.
  • QQualified Small Business Stock (QSBS): used to exclude eligible gains under Section 1202.
  • RDeferred Gain from Qualified Opportunity Fund: used to defer a gain by investing in a QOF.
  • TIncorrect Holding Period: used when the broker incorrectly reports a short‑term holding as long‑term or vice versa.
  • OOther Adjustment: catch‑all for unique circumstances like accrued market discount or Section 1256 contracts.

Enter the appropriate code in column (f) and the adjustment amount (positive or negative) in column (g). Negative adjustments (like a main home exclusion) reduce your gain; positive adjustments (like wash‑sale disallowed loss) increase your basis or gain.

7. Calculate Gain or Loss (Column (h))

Subtract the cost basis plus or minus adjustments from the proceeds: (d) – (e) –/+ (g) = (h). Enter a negative number for a loss and a positive number for a gain. Repeat for every transaction on the page.

8. Total the Columns and Transfer to Schedule D

After listing all transactions for a particular category (e.g., Part I Box A), total columns (d), (e), (g) and (h) at the bottom of the page. Transfer these totals to the corresponding line on Schedule D. Repeat for each category (A through F). Keep copies of your supporting statements, as you may need to send them to the IRS if you e‑file.

Avoid These Common Mistakes When Filling Form 8949

Even experienced investors and tax professionals can stumble on Form 8949. Avoiding these errors saves time, reduces audit risk and keeps you compliant.

Failing to Report All Transactions

The IRS receives copies of your 1099‑B, 1099‑S and 1099‑DA forms. Omitting even a small sale can trigger an automated notice. Ensure you have statements from every brokerage, crypto exchange and real estate transaction. For digital assets held on self‑custody wallets, you still must report your transactions even without a 1099‑DA.

Mixing Short‑Term and Long‑Term Transactions

Do not mix holding periods within the same section. Short‑term transactions belong in Part I (Boxes A‑C), while long‑term transactions belong in Part II (Boxes D‑F). Mixing them results in incorrect tax rates and misclassification on Schedule D.

Miscalculating Cost Basis

Basis includes more than purchase price: it also includes commissions, transaction fees and improvements (for property). For stocks acquired through dividend reinvestment plans or DRIPs, each reinvestment is a separate purchase with its own basis. For cryptocurrencies, determine basis using accepted accounting methods like FIFO, LIFO or specific identification. Neglecting to adjust basis for stock splits, return‑of‑capital distributions or gift/inheritance rules can significantly skew your gain or loss.

Ignoring Wash‑Sale and Replacement Stock Rules

A common mistake is deducting a loss when you repurchase substantially identical shares within 30 days. Under the wash‑sale rule, the disallowed loss must be added to the basis of the replacement shares. Track purchase and sale dates across all accounts and brokerages to avoid inadvertently creating a wash sale.

Incorrect or Missing Adjustment Codes

Using the wrong code or leaving column (f) blank when an adjustment is required can lead to mismatches with IRS records. For example, if you sold your main home and excluded part of the gain, failing to record code H and the corresponding negative adjustment could result in the IRS treating the full gain as taxable.

Neglecting Digital‑Asset Reporting

Digital assets are treated as property. With the introduction of Form 1099‑DA, exchanges must report your transactions starting in 2025, but you still must maintain your own records. Failing to report crypto trades, staking rewards or NFT sales on Form 8949 can lead to penalties. When exchanging one cryptocurrency for another, the IRS treats it as a sale followed by a purchase, even if no fiat currency changes hands.

Not Using the Multiple Transaction Code

If you combine several transactions into one line on Form 8949, you must attach a statement listing each individual trade and use code M (Multiple transactions) in column (f). Failing to attach the statement could invalidate your return.

Forgetting Carryovers and Loss Limits

When you have net capital losses exceeding $3,000 ($1,500 if married filing separately), the excess carries forward to future years. Failing to apply the carryover can cause you to pay more tax than necessary. Form 8949 doesn’t record carryovers; you calculate them on Schedule D’s worksheets and keep track year to year.

Detailed Examples: Form 8949 in Practice

Scenario 1 – Stock Sale With Basis Reported

A taxpayer sells 100 shares of XYZ Co. on March 15 for $5,500. She bought the shares on January 10 of the same year for $4,000, incurring $25 in commissions when buying and $25 when selling. The broker issued a 1099‑B with cost basis reported.

StepExample details
Choose CategoryShort‑term transaction reported with basis; Part I Box A.
Description (a)“100 shares XYZ Co. stock”
Date acquired (b)01/10/2025
Date sold (c)03/15/2025
Proceeds (d)$5,500 – $25 commission = $5,475
Cost basis (e)$4,000 + $25 commission = $4,025
Adjustment code (f)None (no adjustments)
Adjustment amount (g)0
Gain/loss (h)$5,475 – $4,025 = $1,450 short‑term gain

Scenario 2 – Stock Sale With Incorrect Basis and Wash Sale

Assume you sold 50 shares of ABC Corp. on September 1 for $2,000. Your 1099‑B reported basis of $1,400, but your own records show you paid $1,500 plus $20 in commissions. Within 30 days you repurchased 50 shares of the same stock for $1,800, creating a wash sale for the $320 loss.

StepExample details
Choose CategoryShort‑term transaction; Part I Box A (basis reported).
Description (a)“50 shares ABC Corp. stock”
Date acquired (b)Various (multiple purchase dates)
Date sold (c)09/01/2025
Proceeds (d)$2,000 minus selling commission
Cost basis (e)$1,520 ($1,500 + $20 commission)
Adjustment code (f)B for incorrect basis and W for wash sale. Use multiple codes separated by a comma.
Adjustment amount (g)+120 (Basis correction: $1,520 – $1,400 = +$120) +320 (wash‑sale disallowed loss) = +$440 total adjustment.
Gain/loss (h)$2,000 – $1,520 – $440 = $40 short‑term gain (wash‑sale disallowed loss adds to basis of replacement shares).

The $320 disallowed loss is added to the cost basis of your repurchased shares. When you eventually sell those shares, you will use $1,800 + $320 = $2,120 as your basis.

Scenario 3 – Cryptocurrency Sale Without 1099

You purchased 2 ETH on June 1, 2023, at $1,800 each. On July 10, 2025, you sold 2 ETH for $3,200 each on a decentralized exchange that will not send a 1099‑DA. You paid a $40 transaction fee.

StepExample details
Choose CategoryLong‑term transaction with no 1099; Part II Box F.
Description (a)“2 ETH (Ethereum)”
Date acquired (b)06/01/2023
Date sold (c)07/10/2025
Proceeds (d)2 × $3,200 – $40 fee = $6,360
Cost basis (e)2 × $1,800 = $3,600
Adjustment code (f)None (unless additional adjustments apply)
Adjustment amount (g)0
Gain/loss (h)$6,360 – $3,600 = $2,760 long‑term gain

Even without a 1099‑DA, you must still report this sale on Form 8949. Keep detailed records of acquisition and sale dates, cost basis and transaction fees. If you later receive a Form 1099‑DA from the exchange, compare it against your records and adjust using code B if necessary.

Evidence and Legal Cases: Lessons From Courtrooms

The IRS and courts have demonstrated that failure to report capital transactions accurately can lead to serious consequences. In United States v. Ahlgren (2025), one of the first criminal tax evasion cases centered solely on cryptocurrency, an early Bitcoin investor underreported his digital asset gains, used mixers to obscure transactions and provided false information to his preparer. The court sentenced him to 24 months in prison and ordered over $1 million in restitution, emphasizing that digital asset sales must be reported on Form 8949 and that the IRS will pursue misreporting.

Other tax court cases have highlighted pitfalls for stock traders and real estate investors. Traders who claim mark‑to‑market (Section 475) treatment without qualifying as a trader in securities have lost their cases, resulting in capital‑loss limitations and penalties. Real estate investors who fail to meet the ownership‑and‑use tests for the main home exclusion have been taxed on the full gain. These decisions underscore that claiming a tax benefit (like a loss or exclusion) requires strict compliance with the rules and proper documentation on Form 8949 and Schedule D.

Form 8949 vs. Related Forms: A Quick Comparison

FormPurpose and Key Relationships
Form 8949Lists each sale or exchange of capital assets; reconciles your records with broker‑reported data; provides columns for description, dates, proceeds, cost basis and adjustments.
Schedule DSummarizes totals from Form 8949, applies carryovers and tax rules, and calculates net capital gain or loss for inclusion on Form 1040 or 1120.
Form 1099‑BIssued by brokers for sales of stocks, bonds and some crypto products; reports proceeds and sometimes cost basis; serves as source for Form 8949.
Form 1099‑DANew form (2025 onward) issued by digital‑asset brokers; reports sales or exchanges of cryptocurrencies and NFTs; used to populate Form 8949.
Form 1099‑SReports proceeds from real estate transactions; you use it to report the sale on Form 8949 and claim the home‑sale exclusion if applicable.
Form 6252Used for installment sales; when selling property and receiving payments over multiple years, you use Form 6252 to calculate gain each year and report the annual gain on Form 8949.
Form 4797Used for business property sales; when an asset is used in a trade or business, gains are reported on Form 4797 instead of Form 8949.

Understanding how Form 8949 integrates with these forms reduces errors and ensures you report gains and losses in the correct place.

Glossary of Key Terms and Entities

  • Capital Asset – Any property you own that is not inventory or used in a trade or business. Examples include stocks, bonds, mutual funds, digital assets, real estate and collectibles.
  • Cost Basis – The amount you paid for a capital asset plus commissions and fees. Adjusted basis accounts for improvements (for real estate), stock splits, wash‑sale disallowed losses and return‑of‑capital distributions.
  • Proceeds – The total amount you receive from selling or exchanging a capital asset, minus transaction fees. For cryptocurrency trades, proceeds equal the fair market value of the asset received at the time of the exchange.
  • Short‑Term vs. Long‑Term – The distinction based on holding period; assets held one year or less are short‑term and taxed as ordinary income, while assets held more than one year are long‑term and taxed at preferential rates.
  • Wash Sale – A sale of securities at a loss followed by the purchase of substantially identical securities within 30 days before or after the sale; the loss is disallowed and added to the basis of the new shares.
  • Section 1202 (QSBS) – A tax provision allowing partial or full exclusion of gains from the sale of qualified small business stock held for more than five years. Use code Q on Form 8949 to adjust the excluded gain.
  • Section 121 (Main Home Exclusion) – A provision allowing homeowners to exclude up to $250,000 of gain ($500,000 if married filing jointly) on the sale of a principal residence if ownership and use tests are met.
  • Section 1244 Stock – Stock in a small corporation that allows up to $50,000 ( $100,000 if married filing jointly) of losses to be deducted as ordinary losses instead of capital losses. Use code S on Form 8949.
  • Qualified Opportunity Fund (QOF) – Investment vehicles designed to spur economic development in low‑income areas. Investing capital gains into a QOF may allow you to defer or reduce tax; use code R for adjustments.
  • Nominee – A person or entity that holds an asset on behalf of the real owner. If you act as a nominee, you must report the sale on Form 8949 using code N and furnish a statement to the beneficial owner.
  • Digital Asset – A broad category of digital representations of value, including cryptocurrencies (e.g., Bitcoin, Ethereum), non‑fungible tokens (NFTs) and stablecoins. The IRS treats digital assets as property for tax purposes.

Pros and Cons of Using Form 8949

ProsCons
Creates a clear audit trail for every transaction, aligning your records with broker‑reported data.Time‑consuming, especially for active traders with hundreds of transactions.
Allows you to adjust basis for errors, wash sales or special provisions like home‑sale exclusions and QSBS.Requires meticulous record‑keeping to track purchase dates, basis and adjustments for each asset.
Necessary to claim losses, carryovers and special tax treatments (QOF, QSBS, Section 121).The complexity may lead to mistakes if you misunderstand codes or categories.
Provides flexibility to combine transactions and attach statements when using code M for multiple sales.Software or professional help may be needed to compile large volumes of trades accurately.
Ensures compliance with digital asset reporting requirements and new Form 1099‑DA rules.Failing to file correctly can result in penalties, interest and potential audits.

Frequently Asked Questions (FAQs)

Do I always have to file Form 8949 when I sell stocks? Yes. Even if your broker reports the correct basis on Form 1099‑B, completing Form 8949 provides an audit trail and allows you to adjust for wash sales or other differences.

Can I skip Form 8949 if all my transactions have correct basis on 1099‑B? Yes, but only if you have no adjustments and you report summary totals directly on Schedule D. Many taxpayers still file Form 8949 to avoid mistakes.

Do I need to report cryptocurrency trades on Form 8949? Yes. Digital assets are treated as property; each sale or exchange must be reported. Starting in 2025, brokers will issue Form 1099‑DA, but you are responsible for your own records.

Are NFTs subject to capital‑gains tax? Yes. Non‑fungible tokens are digital assets. Selling or exchanging an NFT for cryptocurrency or other property is a taxable event reported on Form 8949.

Is the sale of my primary home taxable? No if the gain is under $250,000 ($500,000 married) and you meet ownership and use tests. You must still report the sale on Form 8949 using code H for the excluded portion.

Can I deduct a loss from a wash sale? No. The wash‑sale rule disallows the loss. You must add the disallowed amount to the basis of the replacement shares and use code W on Form 8949.

What happens if I sell inherited property? You receive a stepped‑up basis equal to the fair market value at the decedent’s death. Report the sale on Form 8949 using the stepped‑up basis. Usually it is long‑term regardless of how long you held it.

Do states tax capital gains differently? Yes. Some states have no income tax, some provide partial exclusions, and a few (like Washington and Minnesota) impose special capital‑gains taxes. Check your state’s rules when calculating tax owed.

Can I file Form 8949 electronically? Yes. Most tax software supports electronic filing of Form 8949. If you submit attached statements for multiple transactions, you may need to mail Form 8453 with the statements.

Are crypto‑to‑crypto exchanges taxable? Yes. Exchanging one cryptocurrency for another is treated as a sale of the first and purchase of the second. Report the fair market value of the received crypto as proceeds and compute gain or loss on Form 8949.

Is there a penalty for not filing Form 8949? Yes. Failing to report capital transactions can lead to penalties, interest and additional tax. In serious cases, criminal charges have been brought against individuals who deliberately omit transactions.

Can I average the cost basis of mutual fund shares? Yes. For mutual funds and certain ETFs, you may elect to use average cost to simplify basis calculations. Once elected, you must consistently use this method and report sales on Form 8949 accordingly.

Should I use FIFO or specific identification for crypto? It depends. FIFO (first‑in, first‑out) is simple and widely accepted. Specific identification can minimize tax liability but requires precise records of each unit sold. Whatever method you choose, apply it consistently.

Do I need a tax professional for Form 8949? Not necessarily. If you have few transactions, you can complete the form yourself using IRS instructions. For complex portfolios, high volumes of trades or digital‑asset activity, a tax professional or specialized software is advisable.

Is there a statute of limitations on capital‑gains reporting? Yes. Generally, the IRS has three years from the due date of the return to assess additional tax. However, if you omit more than 25% of your gross income, the period extends to six years. Fraudulent returns have no statute of limitations.