IRS Form 8949 — what actually goes on each line and when do you need it?

Filed my own return for years but this is the first time I had actual stock sales to report. My broker sent a 1099-B with like 30 transactions — some covered, some not covered, one flagged with a wash sale. I pulled up IRS Form 8949 and immediately got confused about which box to check at the top (A, B, or C), and whether I even need to fill in every single transaction or if there's a shortcut. TurboTax auto-imported everything but I want to understand what it actually did before I hit submit. Is the form just a giant list of trades, or is there logic to how you sort them? And what does the 1099-B box 1g number actually do to my cost basis on the form?

44 comments

The boxes at the top split your trades into three buckets for short-term (Part I) and three more for long-term (Part II). Box A (or D for long-term) is for covered securities where your broker reported the basis to the IRS. Box B (or E) is sales on a 1099-B where basis was not reported to the IRS (typically noncovered). Box C (or F) is anything with no 1099-B at all. You fill out a separate Part I or Part II for each box you need.

So if my 1099-B has both covered and noncovered short-term trades, I'd need two separate Part I sections on two separate copies of the form?

Yes, exactly that. One copy with box A checked, one with box B. They both flow to Schedule D line 1b and line 2 respectively.

Before I figured any of this out I uploaded my 1099-B to taxr.ai and had it read through every transaction and sort them by which Form 8949 box they belonged in. It also flagged the one with a wash sale code W before I even noticed box 1g had a number in it. Really helped me see the structure before I touched the actual form. The covered vs. noncovered split is the first thing to get straight.

That's useful — I kept staring at the transactions trying to figure out if covered vs. noncovered was about the trade date or the account type. Sounds like it's actually printed right on the 1099-B?

Yes, the 1099-B labels each row. If it says covered and shows basis, that's box A or D. If it says noncovered, the broker didn't report basis to the IRS so you go box B or E and you supply the correct basis yourself in column (e).

The wash sale piece tripped me up the most. Box 1g on your 1099-B shows the disallowed loss amount. On Form 8949 you put code W in column (f) and then enter that same disallowed amount as a positive number in column (g). It offsets the loss in the proceeds/basis math so you can't deduct it this year. The disallowed amount gets added to the cost basis of the replacement shares instead.

So my actual deductible loss on that trade is reduced by whatever is in box 1g, and that amount effectively moves to my new shares' basis?

Right. And if your broker only flags wash sales when the repurchase was in the same account with the same CUSIP, you could have wash sales they didn't catch — say if you rebought in a different account or your spouse bought the same stock within that 30-day window on either side of the sale.

Worth knowing there's a shortcut called Exception 1. If all your transactions are covered (box A or D) and you have zero adjustments — no wash sales, no incorrect basis, nothing in columns (f) or (g) — you can skip Form 8949 entirely for those and just enter the totals straight on Schedule D line 1a (short-term) or line 8a (long-term). Saves a ton of time when you have a lot of clean trades.

Does that shortcut apply to digital assets too or just regular stocks?

No, digital assets use the new boxes G through L on the 2025 Form 8949 and they never qualify for that shortcut. Every crypto transaction goes on the form itself.

Holding period is what decides Part I vs. Part II. The IRS counts from the day after your trade date purchase to the trade date of the sale — not settlement dates. More than one year is long-term, one year or less is short-term. If you inherited shares, they're automatically long-term no matter how long you personally held them (with a narrow exception for someone who died in 2010 and whose executor filed Form 8939).

Good to know — I had a few shares I'd held for about 13 months so I wanted to be sure those counted as long-term. Trade date to trade date clears that up.

Had a situation last year where my broker reported the wrong basis on a covered sale — they used the split-adjusted price incorrectly. I asked Taxr to walk through the Form 8949 correction steps for my specific 1099-B and it laid out exactly which columns to fill and how to write the adjustment. For a covered sale where basis is reported to the IRS (box A or D), you still enter the broker's wrong basis in column (e), then put a negative adjustment in column (g) to bring it to the correct basis. Code B in column (f).

Why do you enter the wrong basis and then adjust, instead of just entering the right basis?

Because the IRS already received the wrong number from your broker. If you just enter the right basis without explanation the numbers won't reconcile with what the IRS has on file. The adjustment in column (g) is what accounts for the difference and code B signals an incorrect basis.

My question is about crypto specifically. I had hundreds of transactions last year — purchases, sales, a few swaps. Do all of those have to be listed one by one on Form 8949 or is there any way to summarize?

Each taxable disposal technically needs its own row. Some third-party crypto tax software generates a Form 8949 PDF that you can attach. If you're e-filing, check whether your software accepts the aggregated totals with a detailed PDF attached as a substitute statement.

So there's no clean shortcut like Exception 1 for covered stocks?

Correct — for digital assets you must use boxes G through L and the exception doesn't apply. Every transaction needs to be accounted for somewhere, even if you attach a summary sheet.

Something people miss: the wash sale rule can reach into your IRA. If you sell a stock at a loss and your traditional or Roth IRA buys substantially identical shares within the 30-day window before or after, it's still a wash sale. But in that case the disallowed loss does NOT get added to the IRA's basis — it's just gone permanently. That's a rough outcome if you're not watching for it.

Wait, so if I sold at a loss in my brokerage and then my IRA auto-reinvested dividends in the same stock within 30 days, I could lose that deduction entirely?

Yes, that's the risk. The 30-day window runs both before and after the sale date, so any acquisition in a substantially identical security counts — including IRA purchases. The broker may not catch it because they don't see your IRA account.

Losses that exceed your gains don't just disappear. Net capital losses can offset other income up to the limit the IRS sets — check Schedule D line 16 and then Form 1040 line 7a. Whatever you can't use this year carries forward to future years. The Capital Loss Carryover Worksheet in the Schedule D instructions shows the calculation.

Is there a different limit if you're married filing separately?

Yes — the deductible loss limit is lower for married filing separately than for other filing statuses. The Schedule D instructions have the exact figures. The carryover worksheet accounts for whichever limit applies to you.

Column (d) on Form 8949 is always the proceeds shown on your 1099-B, even if you think the number is wrong. You correct errors through column (g), not by changing column (d). I made the mistake of entering what I thought the proceeds should be and my return got a CP2000 notice because the IRS matched the 1099-B amount and mine didn't match.

I was one click away from typing in my own proceeds number, so thanks for the warning. So column (d) = what the form says, column (e) = broker's basis as reported, then column (g) fixes anything off?

Yes, that's the right sequence. The IRS instructions for Form 8949 at irs.gov/instructions/i8949 spell out the column-by-column logic. For a covered sale where only the basis is wrong, code B and a column (g) adjustment is the move.

I had RSUs vest and then immediately sold them the same day last year. The company reported the vest-date value as W-2 income, but my 1099-B showed the full sale proceeds as if my basis was zero — so it looked like I had a huge capital gain on Form 8949. I uploaded both documents to Taxr and it compared the W-2 income amount against the 1099-B proceeds and explained why the basis wasn't zero and what the correct column (e) entry should be.

How did you end up fixing it on the form?

The RSU shares' basis is the fair market value at vesting — that's the same amount already taxed as W-2 wages. So for a same-day sale you usually end up with little or no capital gain. If the 1099-B shows noncovered, you enter the correct basis in column (e) yourself and don't need a column (g) adjustment.

If you exercised ISOs last year, the spread between the exercise price and fair market value at exercise doesn't go on Form 8949 yet — it's an AMT adjustment on Form 6251 line 2i. You'd only report on Form 8949 when you actually sell the shares. The corporation should have sent you Form 3921 showing the exercise price, FMV at exercise date, and number of shares.

What if you exercised and sold in the same calendar year?

No AMT adjustment required in that case. The ISO rules say the adjustment only applies when you hold the stock past the exercise year. A same-year sale avoids the AMT complication but you lose the preferential long-term rates too — worth running both scenarios.

Inherited stock is worth flagging separately. Your basis is generally the fair market value at the date of death, not what the original owner paid. That FMV becomes your starting point in column (e) on Form 8949. And per Publication 551, if the estate had to file Form 706, you may need to use the value reported on Schedule A of Form 8971 rather than your own FMV estimate.

Yes, and remember inherited property is always treated as long-term regardless of how long you personally held it after inheriting. Part II of Form 8949, box D or E depending on whether the basis was reported.

Gifted stock has a different basis rule that catches people. If the FMV at the time of the gift was lower than the donor's adjusted basis, you use the donor's basis to figure a gain. But if you sell at a loss, you use the FMV at the date of the gift as your basis for the loss calculation. And if the sale price falls between those two numbers you have neither gain nor loss. All three outcomes are possible from the same gift.

So I'd need to know what the original owner paid and what it was worth on the day they gave it to me, just to know which basis applies?

Exactly. Without both numbers you can't be sure which scenario you're in. Publication 551 covers the gifted property basis rules in detail if you want the full breakdown.

For anyone who sold their home and also has stock sales — the home sale goes on Form 8949 too if you got a Form 1099-S. It goes in Part II (long-term), box F, with code H in column (f) and the excluded gain as a negative number in column (g) so the taxable gain is correct. If you didn't get a 1099-S and your gain is fully excluded, you don't report it at all.

Wait, the home sale exclusion gets handled right on Form 8949 itself, not a separate form?

Yes — if you received a 1099-S you have to report it even with zero taxable gain, and the exclusion is shown as a negative adjustment in column (g). Publication 523 covers the ownership and use tests that determine how much you can exclude.