To fill out Form 8949, you list each investment sale on its own row, sort those rows into Part I (held one year or less) or Part II (held more than one year), pick the checkbox that matches how your broker reported the basis, complete the eight columns for each transaction, and carry the part totals over to Schedule D. The form exists so the numbers you report line up with what your broker already sent the IRS on Form 1099-B, and so you can correct that broker data when it’s wrong.1Internal Revenue Service. About Form 8949 – Sales and Other Dispositions of Capital Assets
Sort Each Sale Into Part I or Part II First
Before you write anything on a line, decide which half of the form it belongs on. Part I is for short-term transactions, meaning assets you held one year or less. Part II is for long-term transactions, meaning assets you held more than one year.2Internal Revenue Service. IRS Form 8949 – Sales and Other Dispositions of Capital Assets
The split matters because short-term gains are taxed as ordinary income while long-term gains get preferential rates, but for filling out the form the point is simpler: a sale in the wrong part will produce the wrong tax on Schedule D.3Internal Revenue Service. Topic No. 409 Capital Gains and Losses
Inherited property is the one holding-period rule people miss. Regardless of how long the person who died held the asset, and regardless of how briefly you held it before selling, an inherited asset is automatically long-term and goes in Part II. The basis resets to fair market value on the date of death (the stepped-up basis), so gain or loss is measured from that value, not from what the original owner paid.4Internal Revenue Service. Gifts and Inheritances
Pick the Right Checkbox
Inside each part, one checkbox has to be marked. It tells the IRS how the transaction’s cost basis was reported on your 1099-B, and getting it wrong is the most common reason people receive a CP2000 underreporting notice.5Internal Revenue Service. Topic No. 652, Notice of Underreported Income – CP2000 If your sales span more than one category, you’ll need a separate copy of Form 8949 for each checkbox.
Boxes A–F for Stocks, Bonds, and Similar Assets
Part I uses Boxes A, B, and C. Part II uses Boxes D, E, and F. The logic runs the same both times:
- Boxes A and D: basis was reported to the IRS on Form 1099-B, and no adjustments are needed. This covers most routine brokerage sales.
- Boxes B and E: basis was reported to the IRS, but you need to adjust it. Wash sales, RSU sales with wrong broker basis, and corporate actions like mergers or spinoffs fall here.
- Boxes C and F: basis was not reported to the IRS. Common for inherited property and older investments purchased before brokers were required to track basis.
Boxes G–L for Digital Assets
Starting with the 2025 tax year, cryptocurrency and other digital asset sales get their own checkboxes instead of sharing C and F. Short-term digital asset sales use Boxes G, H, and I in Part I. Long-term digital asset sales use Boxes J, K, and L in Part II.6Internal Revenue Service. Instructions for Form 8949 – Sales and Other Dispositions of Capital Assets The three-tier pattern is the same: basis reported with no adjustment, basis reported but needs adjustment, basis not reported.
Fill In the Eight Columns
Every transaction is one row across eight columns.
Column (a) – Description. A brief identifier of what you sold, such as “100 sh XYZ Corp” or “2.5 Bitcoin.” Specific enough to match the entry on your 1099-B.
Column (b) – Date acquired. The date you originally bought or received the asset. For inherited property, enter “INHERITED” or the date of the decedent’s death. If you bought the position in multiple lots, use the acquisition date of the specific lot you sold.
Column (c) – Date sold. The date of the sale or disposition. The gap between columns (b) and (c) is what confirms whether the sale lands in Part I or Part II.
Column (d) – Proceeds. The total amount you received, taken from your 1099-B. This should be the gross figure before commissions or fees, but brokers handle fees differently, so cross-check the 1099-B against your trade confirmations.
Column (e) – Cost or other basis. What you paid, including purchase commissions. For Boxes A, B, D, or E, start with the basis the broker reported. For Boxes C, F, or any of the digital asset boxes where basis wasn’t reported, you calculate it yourself from your own records, including original purchase price plus reinvested dividends and any capitalized costs.
Column (f) – Adjustment code. Leave blank for Box A or Box D transactions. For every other box, enter a letter code telling the IRS why your numbers don’t match the broker’s.
Column (g) – Adjustment amount. The dollar figure that goes with the code in column (f). Use a positive number when the adjustment increases your basis (which reduces the gain). Use a negative number in parentheses when it decreases basis.
Column (h) – Gain or loss. Proceeds minus basis, plus or minus the adjustment. Column (d) minus column (e), then apply column (g). A negative number is a loss. This is the figure that ultimately flows to Schedule D.
Use the Right Adjustment Code
Any transaction in Boxes B, C, E, F, or the digital asset equivalents needs a code in column (f). Three come up most often.
Code W – Wash Sales
A wash sale is a sale at a loss where you buy the same or a substantially identical security inside a 61-day window: 30 days before the sale through 30 days after. The loss is disallowed for the current year and instead added to the basis of the replacement shares.7Internal Revenue Service. Link and Learn Taxes – Case Study 1: Wash Sales
On the row, enter “W” in column (f) and the disallowed loss as a positive number in column (g). If the raw loss was $500, column (g) is $500, and column (h) works out to zero on that sale. The $500 lives on in the higher basis of the replacement shares, where it reduces gain (or increases loss) when those shares are eventually sold.
Code B – Incorrect Basis Reported
Code B fixes a wrong basis on the 1099-B. It comes up constantly with employee stock: restricted stock units and shares from employee stock purchase plans, where brokers often report basis as $0 or a figure that ignores the compensation income already taxed on your W-2. Without the fix, you pay tax twice on the same dollars.
Put the broker’s reported basis in column (e), enter “B” in column (f), and put the correction in column (g) so column (h) reflects the true gain or loss. For RSUs, the correct basis is generally the fair market value of the shares on the vesting date, which is the amount included as wages on your W-2. Your equity portal or brokerage supplemental statement will have the vesting price.
Code O – Other Adjustments
Code O covers adjustments without their own dedicated letter. One example is separating out unrecaptured Section 1250 gain on depreciated real property, which is taxed at a maximum 25% rate rather than the standard long-term rate. Keep documentation ready to explain any Code O entry.
A Few Other Codes
- Code L: a loss that’s partly or fully non-deductible because of basis limitations in a pass-through entity like an S corporation or partnership.
- Code T: a deferred gain, such as a Section 1031 like-kind exchange of investment real estate. Code T requires attaching a supporting statement.
- Code N: gain that qualifies for the qualified small business stock exclusion under Section 1202. Stock held more than five years may qualify for some or full exclusion; any excess still gets reported.8Office of the Law Revision Counsel. 26 U.S. Code 1202 – Partial Exclusion for Gain From Certain Small Business Stock
Handling Cryptocurrency Basis
Digital assets create a basis-tracking problem that stocks usually don’t, because a single active trader can generate hundreds of taxable events across multiple wallets and exchanges. The reporting mechanics on Form 8949 are the same, but how you arrive at column (e) needs attention.
The default method is first-in, first-out: the oldest coins you own are treated as the ones sold first. The only alternative the IRS accepts is specific identification, where you designate the particular lot being sold at the time of the trade. You can’t make that choice at tax time looking backward. The lot has to be identified contemporaneously, and without adequate records, FIFO applies automatically.
Software labels like “HIFO” (highest-in, first-out) or “LIFO” (last-in, first-out) are not separate IRS-approved methods. They’re strategies applied within specific identification, and they only hold up if the underlying lot-level documentation supports the selection. A checkbox in a tax program doesn’t create the required contemporaneous record on its own.
Carry the Totals to Schedule D
Form 8949 doesn’t compute your tax on its own. Each part produces a summary total on its last line, and those totals go on Schedule D.1Internal Revenue Service. About Form 8949 – Sales and Other Dispositions of Capital Assets
Short-term totals from Part I go to Line 1b of Schedule D. Long-term totals from Part II go to Line 8b.9Internal Revenue Service. Instructions for Schedule D (Form 1040) Schedule D then combines those with items that don’t need Form 8949, such as capital gain distributions from mutual funds, and nets short-term against long-term.
A net loss can offset up to $3,000 of other income per year ($1,500 if married filing separately). Anything beyond that carries forward.10Internal Revenue Service. IRS Schedule D (Form 1040) – Capital Gains and Losses The final Schedule D number is reported on Line 7 of Form 1040.11Internal Revenue Service. Instructions for Schedule D (Form 1040)
Keep the Records That Support Every Row
Every column entry has to be supported by paperwork: acquisition dates, purchase prices, sale dates, sale prices, vesting-date values for RSUs, date-of-death values for inherited assets, and exchange plus wallet records for crypto.
Property records need to be kept until the statute of limitations closes on the year the sale was reported, which is generally three years after filing, or six years if you understated gross income by more than 25%.12Internal Revenue Service. How Long Should I Keep Records? For assets you still hold, keep the purchase records indefinitely.
Getting basis wrong is not just an accuracy issue. A substantial understatement of tax can trigger a 20% accuracy-related penalty on the underpayment. For individuals, “substantial” means an understatement greater than the larger of 10% of the correct tax or $5,000, and failing to report income shown on a 1099-B is one of the specific examples the IRS cites when defining negligence.13Internal Revenue Service. Accuracy-Related Penalty