Form 8949 column (f) codes: the adjustment-code cheat sheet
A plain-English cheat sheet for every Form 8949 column (f) adjustment code, with the column (g) sign rule and a worked wash-sale example.
The short answer. Column (f) of Form 8949 (Sales and Other Dispositions of Capital Assets) holds a one- or two-letter code that explains why the gain or loss on a row is not simply proceeds minus cost basis, and column (g) holds the dollar amount of that correction. The single rule that trips up retail investors is the sign convention in column (g): negative amounts go in parentheses, but a wash-sale disallowed loss is entered as a positive number. Get the letter and the sign right and the form does the rest. This page is the form mechanics — the codes and the signs — not a lesson on rates or strategy.
How the columns fit together
Form 8949 reports each capital-asset sale on its own row, and the totals flow up to Schedule D. Reading left to right, column (d) is your proceeds, column (e) is your cost basis, column (f) is the adjustment code or codes, column (g) is the dollar adjustment, and column (h) is the resulting gain or loss. Which of the six category boxes (A through F) a row belongs to — and whether the column (e) basis was reported to the IRS at all — is settled upstream by your 1099-B, a step covered in the 1099-B to Form 8949 mapping. The arithmetic is fixed: column (h) equals column (d) minus column (e) plus column (g). Because that formula always adds (g), the sign you put in column (g) is what actually moves your reported gain. A positive (g) increases gain or reduces a loss; a negative (g) reduces gain or increases a loss. If you want to understand how that final number is taxed once it lands on Schedule D, that belongs to the broader discussion of capital gains tax, not to the mechanics here.
The complete column (f) code table, with the column (g) sign
The reason this cheat sheet exists is that the software help pages and the raw IRS instructions make you hunt for the one detail that matters most — which way the dollar figure points. Here is every code from the Instructions for Form 8949, in plain English, paired with the sign you give the column (g) amount.
| Code | What it means | Column (g) entry |
|---|---|---|
| B | Basis on Form 1099-B (or 1099-DA) is wrong | The correction; negatives in parentheses |
| T | 1099-B shows the wrong holding period | Enter 0 if that is the only issue |
| N | You received the 1099-B as a nominee | Offset so the net is zero on your return |
| H | Sale of your main home with excludable gain | Excluded gain as a negative in parentheses |
| D | Accrued market discount (taxed as interest) | Negative adjustment |
| E | Selling expenses or option premiums not on the 1099-B | Negative adjustment |
| W | Wash sale | Disallowed loss as a positive number |
| S | Section 1244 small-business-stock loss | Follow the Schedule D instructions |
| C | Collectibles | Enter 0 (gain flows to the 28% Rate Gain Worksheet) |
| L | Nondeductible loss other than a wash sale | Nondeductible amount as a positive number |
| M | Reporting multiple transactions on one row | The combined adjustment |
| O | Any other adjustment not covered by a listed code | The appropriate amount |
| Q | Section 1202 exclusion on qualified small business stock | Excluded gain as a negative in parentheses |
| X | Section 1202 exclusion for empowerment-zone / DC-Zone assets | Negative in parentheses |
| R | Rollover or deferral of gain (opportunity fund, Section 1045) | Deferred gain as a negative in parentheses |
Notice the pattern hiding inside the list. Codes that exclude, defer, or remove income from the current year — H for a home-sale exclusion, Q and X for qualified small business stock, R for a rollover, D for market discount, E for selling expenses — all push the number down, so they are negative and go in parentheses. The two codes that take away a loss you are not allowed to claim — W for a wash sale and L for any other nondeductible loss — push the number up, so they are positive. Once you see the logic, you rarely have to look up the sign again.
The star of the show: code W and the wash sale
The wash sale is by far the most common adjustment a retail investor will ever enter, so it is worth walking through slowly. Suppose you sell 100 shares for $4,000 that you bought for $5,000, producing a $1,000 loss, and then you buy 100 substantially identical shares back eleven days later. That repurchase triggers the wash-sale rule, which disallows the loss for the current year. On the Form 8949 row you report proceeds of $4,000 in column (d) and basis of $5,000 in column (e), you write W in column (f), and you enter $1,000 as a positive number in column (g). Run the formula: $4,000 minus $5,000 plus $1,000 equals $0. The positive adjustment cancels exactly the loss you cannot currently take.
The wash sale has enough moving parts to deserve its own treatment — the 61-day window, the box 1g figure your broker hands you, and the IRA trap that turns a merely deferred loss into a permanently lost one. That full walkthrough lives in the wash sale on Form 8949: code W and column (g).
That deferral is the whole point. Code W and the wash-sale rule trace to Internal Revenue Code Section 1091, which disallows a loss when you buy a substantially identical security within 30 days before or after the sale. The disallowed amount is added to the basis of the replacement shares, so the benefit is postponed rather than lost — you reclaim it when you eventually sell those replacement shares without re-triggering the rule. Avoiding wash sales is a question of strategy, and that strategy lives in tax-loss harvesting in a taxable account; here the only job is to record the disallowed loss correctly on the form.
Stacking multiple codes on one row
Sometimes a single transaction needs more than one correction. The rule is mechanical and easy to forget: enter the codes in alphabetical order, with no spaces and no commas between them. A row that needs a basis correction, an other-adjustment, and a Section 1202 exclusion would read BOQ in column (f). Then you compute the net of all those adjustments and enter that single combined figure in column (g) — you do not get a separate dollar box for each letter. The letters tell the IRS what happened; the one netted number tells it by how much.
When you can leave columns (f) and (g) blank
Most explainers skip the simplest case of all, which is that you often do not need column (f) or (g) at all. If your broker reports basis to the IRS — these are covered securities, shown in box A for short-term and box D for long-term — and that basis is correct with nothing to adjust, there is simply no adjustment to make. You leave both columns empty. Better still, for those clean covered transactions you may report the totals directly on Schedule D without listing each sale on Form 8949 at all. The codes are there for the exceptions, not the routine sales, so do not invent an adjustment where none is warranted. A blank column (f) is frequently the correct answer.
Quick answers
What goes in column (f) of Form 8949?
One or more letter adjustment codes — for example B, T, N, H, D, E, W, S, C, L, M, O, Q, X, or R — that explain why the gain or loss differs from what your 1099-B reported.
How do I report a wash sale on Form 8949?
Enter code W in column (f) and the disallowed loss as a positive number in column (g); the positive figure removes the loss you cannot currently claim.
Can I enter more than one code in column (f)?
Yes. List the codes in alphabetical order with no spaces and no commas (for example, BOQ), and put the net of all the adjustments as a single figure in column (g).
When can I leave columns (f) and (g) blank?
When your 1099-B reports basis to the IRS (covered securities, box A or box D), the basis is correct, and nothing needs adjusting — there is simply no adjustment to make.
Educational content only. finbarrow is an independent editorial publication, not a licensed financial advisor, broker, tax preparer, or attorney. Verify rates and terms with the issuer or relevant regulator. See disclaimers and funding disclosures.