How to Report a Wash Sale on Your Tax Return: Form 8949 and Schedule D

To report a wash sale on Form 8949, enter the sale using the proceeds and cost basis from your 1099-B, put code “W” in column (f), enter the disallowed loss as a positive number in column (g), and let column (h) resolve to the correct gain or loss. The totals then flow to Schedule D. The mechanics are straightforward once you know which line goes where, but a few details, especially when your broker’s numbers don’t match your own, decide whether the return holds up.

Pick the Right Part of Form 8949

Form 8949 has two parts. Part I is for short-term transactions, meaning securities you held one year or less. Part II is for long-term transactions, held more than a year. Within each part, there are three boxes at the top: one for sales where your broker reported the cost basis to the IRS, one for sales where the broker reported proceeds but not basis, and one for sales not reported on a 1099-B at all.1Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets

Check your 1099-B to see which category applies. Most publicly traded stock sales fall under “basis reported to the IRS.” You’ll need a separate Form 8949 for each box you check, so if you have both short-term and long-term wash sales, expect at least two forms.

Watch the Holding Period

The holding period for replacement shares in a wash sale includes the time you held the original shares.2Office of the Law Revision Counsel. 26 U.S. Code 1223 – Holding Period of Property That matters when you sell those replacement shares later. For the wash sale itself, use the holding period of the shares you actually sold to decide between Part I and Part II.

Columns (a) Through (e): Copy From the 1099-B

The first five columns come directly from your broker’s 1099-B, unadjusted:

  • Column (a): description of the security (for example, “100 sh XYZ Corp”)
  • Column (b): date acquired
  • Column (c): date sold
  • Column (d): sale proceeds
  • Column (e): cost basis

Use the figures as the broker reported them. The wash sale correction happens in the next two columns.

Columns (f) and (g): The Wash Sale Adjustment

Column (f) is where you enter adjustment codes. For a wash sale, enter the letter W.3Internal Revenue Service. 2025 Instructions for Form 8949

Column (g) is the dollar amount of the adjustment. Enter the disallowed loss as a positive number. If your loss on the sale was $1,000 and the wash sale rule disallows the entire loss, put $1,000 in column (g). Not negative $1,000. Positive.

Column (h) is the net gain or loss on the line, calculated as proceeds minus basis plus the adjustment: (d) − (e) + (g). Using $4,500 in proceeds, $5,500 in basis, and a $1,000 wash sale adjustment, column (h) works out to zero. The loss disappears from this year’s return and gets folded into the basis of the replacement shares, where it will affect the eventual gain or loss when you sell those.4Charles Schwab. Wash-Sale Rule: How It Works and What to Know

Partial Wash Sales

If you sold 100 shares at a loss but repurchased only 75 within the 61-day window, only the portion of the loss tied to those 75 shares is disallowed. The rest is a normal deductible loss. You can report this on a single line by entering the disallowed portion (not the full loss) in column (g), or split the sale across two lines to keep the math visible: one line with the “W” code and disallowed loss, one line with the remaining shares as an ordinary loss.

When the Broker Already Made the Adjustment

If your broker identified the wash sale, the disallowed amount will appear in Box 1g of your 1099-B, and the cost basis reported to the IRS may already reflect it.5Internal Revenue Service. Instructions for Form 1099-B In that case, you can transfer the broker’s numbers straight through, still using code “W” in column (f) and the disallowed amount in column (g).

Verify the figure against your own records before you file. Brokers only see what happens inside their own walls. If you sold shares at Broker A and bought replacement shares at Broker B, or if the replacement purchase happened in an IRA at the same firm, the 1099-B will report a clean loss and miss the wash sale entirely. The obligation to catch it is yours. Pull trade confirmations across every account and check the 30 days before and 30 days after each losing sale.

If the broker’s disallowed loss is wrong and you need to report a different amount, enter the correct figure in column (g). If your figure is smaller than the broker’s, attach a brief statement explaining the difference.3Internal Revenue Service. 2025 Instructions for Form 8949

Move the Totals to Schedule D

Sum each part of Form 8949 and carry the totals to Schedule D. Short-term totals from Part I go to line 1b (or the corresponding line for the box you checked). Long-term totals from Part II go to line 8b.6Internal Revenue Service. Instructions for Schedule D (Form 1040)

Schedule D combines short-term and long-term results on line 16, and that figure flows to Form 1040. A net loss is deductible against other income up to $3,000 per year ($1,500 if married filing separately), with any excess carrying forward.7Internal Revenue Service. Schedule D (Form 1040) – Capital Gains and Losses Because a properly reported wash sale produces no loss on this year’s return, it won’t affect that calculation directly, but it does reduce the total loss available to deduct.

Track the New Basis of the Replacement Shares

Reporting the wash sale on Form 8949 is only half the job. The disallowed loss becomes an addition to the cost basis of the replacement shares. If you paid $5,500 for replacement shares and $1,000 was disallowed, your adjusted basis in those shares is $6,500.4Charles Schwab. Wash-Sale Rule: How It Works and What to Know If the replacement purchase happened at the same broker that reported the sale, the firm typically tracks this automatically. If it happened elsewhere, keep your own records so you use the correct basis when you eventually sell.

Wash Sales Involving an IRA

One boundary worth flagging before you file. If the replacement shares were purchased inside a traditional or Roth IRA or a 401(k), the wash sale rule still disallows the loss, but the basis adjustment has nowhere to land, because retirement account shares don’t carry a basis you’ll ever use on a return. The loss is gone for good.8Internal Revenue Service. Publication 550 (2025), Investment Income and Expenses Report the sale on Form 8949 with the “W” code and the full disallowed amount in column (g), and don’t count on ever recovering the loss through a basis adjustment.

What Counts as a Wash Sale in the First Place

The reporting only kicks in if the transaction actually meets the definition. A wash sale occurs when you sell a security at a loss and, within 30 days before or after the sale, acquire a substantially identical security or enter into a contract or option to acquire one.9Office of the Law Revision Counsel. 26 U.S. Code 1091 – Loss From Wash Sales of Stock or Securities Buying the same stock (same CUSIP) or a call option on it clearly qualifies. Stocks of different companies do not, even in the same industry. Common stock and non-convertible preferred stock of the same issuer are treated as different securities. Bonds with different maturities and rates are generally different from each other.8Internal Revenue Service. Publication 550 (2025), Investment Income and Expenses

Mutual funds and ETFs are the gray area. Two S&P 500 index funds from different providers hold nearly identical portfolios but have different CUSIPs, and the IRS hasn’t ruled directly on whether swapping one for another triggers the rule. If you sold a fund at a loss and repurchased something very close, decide before filing whether you’re treating it as a wash sale, and report accordingly.