Can I Override Broker FIFO Cost Basis Using Form 8949 Code B?

My broker defaults everything to FIFO and I didn't realize until after the year closed that I wanted to use specific identification on a few lots I sold last year. The 1099-B they sent shows the cost basis they calculated under FIFO. I want to report a different cost basis on my return because I had records showing which specific shares I intended to sell. Someone told me Form 8949 Code B is the right column to use when the broker reported basis to the IRS but I'm adjusting it. Is that actually how this works? Can I override broker FIFO cost basis using Form 8949 Code B, and what exactly do I put in columns (e), (g), and (h) to make it work without triggering a notice?

34 comments

Did you actually designate the specific shares at the time of the sale, or are you trying to do it now after the fact? That distinction matters a lot here. Specific identification generally requires you to identify the lot before or at the time of the sale, not retroactively. What did your records show at the time?

Monica G.

Author

Honestly that's the question I was afraid of. I didn't send a written confirmation to my broker. I did have a note in a spreadsheet I kept, dated the day of the sale, showing which lots I meant to sell. Does that count or does it have to go through the broker?

Code B in column (f) of Form 8949 is the adjustment code for when the broker reported cost basis on the 1099-B but that basis is incorrect. If you use specific ID and your basis differs from what the broker reported, you enter the broker's proceeds in column (d), the broker's reported basis in column (e), put B in column (f), then put the difference as an adjustment in column (g) — negative if your basis is higher than what they showed. Column (h) is your gain or loss after the adjustment. I uploaded my 1099-B to taxr.ai and it walked through each line of the form against my actual lot records so I could see exactly where the numbers landed before I filed.

Monica G.

Author

This is really helpful. So column (e) would still reflect my broker's reported basis, and I'd put the difference in (g)? Or do I put my actual specific-ID basis in (e) and use (g) only for the gap?

You put the broker's reported basis in (e) as-is from the 1099-B, then use (g) to adjust to your actual specific-ID basis. The net in (h) reflects your true gain or loss. The adjustment in (g) is what tells the IRS why (h) doesn't match what they'd calculate from (d) minus (e) alone.

Wait — does the broker's default FIFO method even show up differently on the 1099-B than specific ID would? Or does the 1099-B just show a dollar amount for cost basis either way?

The 1099-B just shows a cost basis amount, it doesn't label the method used. So the IRS only knows what number the broker reported. If you report a different number on 8949 with a code B adjustment, the IRS sees the discrepancy and your adjustment explains it. The burden is on you to have the records that justify your specific-ID claim.

The bigger question here is whether specific identification was actually available to you at the time. Some brokers lock you into their default method for a tax year once it closes. Did you check whether your brokerage agreement allowed specific ID and whether you elected it before the sale?

Monica G.

Author

My broker does allow specific ID but their platform requires you to select the lot at order entry. I didn't do that, I just placed a market order. So on their end it went through as FIFO. That's the whole problem.

If you didn't designate at the time of sale through the broker, courts and IRS guidance generally haven't been friendly to after-the-fact designation. The contemporaneous record you mentioned — a dated spreadsheet from the day of the sale — is better than nothing, but it's not the same as a broker confirmation. How significant is the difference in tax outcome between FIFO and your intended lots?

Monica G.

Author

Pretty significant, talking about a swing of a few thousand dollars in long-term vs short-term treatment, not just basis amount. That's why I'm trying to work this out carefully.

Are you sure you want to file with a basis that differs from your 1099-B without first asking your broker to issue a corrected 1099-B? If they won't correct it, then you're on your own defending your records. Have you contacted them?

Monica G.

Author

I called them and they said they can't reissue because the trade processed under their system's default and it's past the correction window. So yes, I'm going to have to do it on 8949 myself and keep my records.

Something worth knowing: the adjustment code on Form 8949 isn't just B by itself if there are multiple reasons for adjustment. If your only issue is the basis difference from specific ID, B alone is correct. When I had a similar situation with lot selection I had Taxr read through my 1099-B and my trade confirmations side by side — it flagged two positions where I'd actually mixed up the adjustment sign in column (g), which would have overstated my loss. Worth double-checking that before you submit.

Monica G.

Author

The sign thing is exactly what I was nervous about. Negative adjustment in (g) means I'm claiming a higher basis than the broker reported, which reduces gain. Positive means I'm claiming lower basis, which increases gain. Is that right?

That's exactly right. If your specific-ID basis is higher than what the broker reported, your adjustment in (g) is a negative number. If it's lower, it's positive. The IRS's Form 8949 instructions spell out the sign convention — worth reading that section specifically before you finalize.

Can I ask what brokerage this is? Some platforms actually let you go back and reclassify within a short window after settlement. I know at least one major platform that allows it up to a few days after. Might be too late for you but worth others knowing.

Monica G.

Author

Settlement was months ago so definitely past any reclassification window. But good to know for anyone reading this in the future.

Where does the adjusted basis flow from Schedule D? Does the Schedule D total just pull from the Form 8949 column (h) totals, or do you have to reconcile anywhere else?

Schedule D pulls the totals from Form 8949 — you transfer the sums from each part of 8949 (short-term covered, long-term covered, etc.) to the corresponding lines on Schedule D. No separate reconciliation field, the adjustment is embedded in the (h) totals you carry over.

One thing I'd flag: if the adjustment flips a position from short-term to long-term gain or vice versa, make sure you have that lot on the correct Part of Form 8949. Part I is short-term, Part II is long-term. The holding period is determined by the specific lot you're claiming to have sold, not the FIFO lot.

Monica G.

Author

This is actually the core of my situation. The FIFO lot was short-term but the specific lot I intended to sell was held over a year, so it's long-term. So I'd put this sale in Part II, not Part I, even though the broker may have coded it as short-term on the 1099-B?

Yes, and your column (f) code would be B to reflect that basis was reported but you're adjusting it. The holding period follows the actual lot you're claiming under specific ID. Your records need to clearly support that the lot you're designating had been held more than twelve months as of the sale date.

Does anyone know if the IRS automatically sends a notice when your Form 8949 basis doesn't match the 1099-B? Or does it only come up if you get selected for examination?

The IRS matching program compares what brokers report to what appears on your return. A discrepancy doesn't guarantee a notice but it does increase the chance. Having a clear adjustment in column (g) with the right code is better than just entering a different number in (e) without explanation — the latter looks like an error rather than an intentional adjustment.

Are you keeping your spreadsheet, the trade confirmation, and any email or platform screenshot from the day of the sale? If this ever gets questioned, your documentation is everything. The IRS can ask for records used to prepare the return.

Monica G.

Author

Yes, keeping all of it — the spreadsheet with the timestamp, the trade confirmation, and a screenshot of my account showing the lot details. I figure if I'm going to override the 1099-B I need to be ready to show my work.

To be clear on one piece that sometimes trips people up: the proceeds in column (d) should match the 1099-B exactly. Don't adjust proceeds. Only the basis and resulting gain/loss flow through columns (e) and (g). If you change (d) to match what you think should have happened, that creates a different kind of mismatch.

What happens if someone just enters their specific-ID basis directly in column (e) without any code or adjustment in (g) — would that cause a problem?

Yes, it would. If you change column (e) from what the broker reported without using an adjustment code in (f) and an amount in (g), the IRS matching system sees a bare discrepancy with no explanation. Using code B in (f) and the adjustment in (g) is how you tell the IRS the difference is intentional and documented, not a data entry error.

Given that this involves a holding period change from short-term to long-term and a basis dispute with the broker, I'd seriously suggest talking to an enrolled agent or CPA before you file. The specific-ID designation rules are strict and if the adjustment gets challenged you want someone who can represent you in an examination.

Monica G.

Author

That's fair. I've been going back and forth on it. If the numbers warrant it I'll probably have an enrolled agent at least review the 8949 before I send it in.

Did you ever find out whether your broker's 1099-B coded the sale as covered or noncovered? If they coded it noncovered for some reason, you'd check box B or E on Form 8949 instead of A or D, and the whole approach shifts slightly.

Monica G.

Author

Checked the 1099-B again — it's marked covered, basis reported to IRS. So Code B is the right column. At least that part is clear.