What is tax form 8949 used for — trying to understand before I file

So I sold some stocks this year for the first time and my broker sent me a 1099-B. I went to enter everything in my tax software and it kept generating something called Form 8949 and I had no idea what that was or why I needed it. I tried reading the IRS website but it was pretty dense. The software is prefilling some boxes and checking box A at the top of Part I but I don't know if that's right or what any of the columns mean. What is tax form 8949 used for exactly, and do I actually have to fill out every column or does the software handle it? Also there's a column (g) that's blank — should I be worried about that?

39 comments

Form 8949 is where you report every sale or exchange of a capital asset — stocks, bonds, crypto, whatever. Each row is one sale: what you sold, when you bought it, when you sold it, what you got for it (proceeds), what you paid for it (cost basis), and then any adjustments. The totals from Form 8949 flow to Schedule D, which is where your actual capital gains tax gets calculated. Think of 8949 as the detail sheet and Schedule D as the summary.

Andre F.

Author

So Schedule D is where the tax actually gets calculated and 8949 feeds into it? That makes way more sense. My software shows both and I didn't understand how they connected.

I uploaded my 1099-B to taxr.ai last year because I had like 40 transactions and it went through each one and flagged which box should be checked — A, B, or C — based on whether my broker reported the basis to the IRS. It also caught two rows where the basis was marked as not covered, which I would have put in the wrong box. That's how I learned box A is for covered securities with basis reported, box B is for sales on a 1099-B where basis wasn't reported to the IRS (usually noncovered securities), and box C is for no 1099-B at all.

Andre F.

Author

Wait, so the box you check at the top of Part I actually depends on each transaction, not on the whole form? I think my software is doing it right but I didn't understand why.

Exactly — if you have transactions in multiple categories they go on separate Forms 8949. One form with box A checked, another with box B, etc. The software handles the splitting automatically usually.

Does your 1099-B show anything in box 1g? That's the wash sale loss disallowed column. If you sold something at a loss and bought the same or substantially identical stock within 30 days before or after the sale, the loss gets disallowed and that amount shows in box 1g.

Andre F.

Author

I don't think I did that but I'm going to double-check. What happens if box 1g has an amount in it?

You'd put code W in column (f) of Form 8949 and enter the disallowed amount as a positive number in column (g). The loss doesn't go away forever — it gets added to the cost basis of the new shares you bought. The IRS only reports it in box 1g if both sales were covered securities with the same CUSIP bought in the same account, but the rule still applies even if 1g is blank.

column (g) being blank is totally normal if you don't have any adjustments. It only gets filled in when something needs to be corrected — wrong basis, wash sale, home sale exclusion, things like that. most people with straightforward stock sales leave it empty.

Are you holding any of these stocks longer than a year? Because that changes everything about which part of Form 8949 you use. Sales held more than one year go in Part II (long-term), one year or less go in Part I (short-term). The holding period starts the day after you bought and ends on the trade date you sold, not the settlement date.

Andre F.

Author

Most of mine are short-term, maybe a few months. So those all go in Part I. Good to know about the trade date vs settlement date thing — I would have counted wrong.

the columns on 8949 are: (a) description of property, (b) date acquired, (c) date sold, (d) proceeds, (e) cost or other basis, (f) adjustment codes, (g) adjustment amount, (h) gain or loss. column (h) is just (d) minus (e) plus or minus (g). your software computes (h) for you.

One thing worth knowing: if all your transactions have basis reported to the IRS and there are zero adjustments needed, you might not have to fill out Form 8949 at all for those. Exception 1 in the instructions lets you just put the totals directly on Schedule D line 1a (short-term) or line 8a (long-term) instead. Check whether your software is doing that — it's legitimate and saves a page.

Worth adding that Exception 1 only works when basis IS reported to the IRS (box A or D checked) AND there are no adjustments needed. If you have a wash sale code or any column (g) entry on those transactions, they can't use Exception 1 and need their own rows on 8949.

Right, good clarification. Even one adjustment code means that transaction has to go on Form 8949 individually.

Crypto question since I landed on this thread — are digital assets reported the same way on 8949? I have Bitcoin sales from this year.

No, different boxes now. For 2025 digital assets use boxes G, H, I for short-term and J, K, L for long-term. They do not use boxes C or F. The IRS instructions for Form 8949 and the digital assets page on irs.gov both cover this.

Wow I would have just used the regular boxes. Good catch.

Had a situation last spring where I inherited some shares and wasn't sure how to report them on 8949. I gave Taxr the brokerage statement and the date the estate closed, and it worked through the holding period and basis question with me — inherited property is treated as long-term regardless of how long you actually held it, and the basis is generally the fair market value at the date of death. It flagged that Part II was the right place and that box D or E depended on whether the broker reported basis. Really helped me get the right boxes checked before I handed it off to my preparer.

Andre F.

Author

That inherited stock rule is interesting — so even if you sell it the week after you inherit it, it's still long-term? I didn't know that.

Exactly, that's the rule. Long-term regardless of your own holding period, with one narrow exception for someone who died in 2010 whose executor made a specific election — basically irrelevant for anyone filing now.

If your basis on the 1099-B is wrong, do you just override it in column (e)?

Depends on which box is checked. If box A or D (basis reported to IRS): enter the WRONG basis from the 1099-B in column (e) as-is, then put code B in column (f) and correct it with an adjustment in column (g) — negative in parentheses if the real basis is higher. If box B or E (basis not reported to IRS): enter the CORRECT basis in column (e) and put -0- in column (g). Different treatment depending on whether the broker told the IRS.

That would have saved me a lot of confusion last year. I just entered the right basis directly in column (e) on a box A transaction and my software flagged it.

For what it's worth I had Taxr go through my Form 8949 draft alongside my 1099-B last filing season. It compared the proceeds and basis line by line and listed the rows where the numbers didn't match what the broker reported, so I could see exactly which ones needed column (g) adjustments before I submitted. Caught a reinvested dividend that had been added to basis but wasn't reflected in the broker's figure.

Andre F.

Author

Reinvested dividends can mess up cost basis? I have a fund where dividends automatically reinvest. Does that mean each dividend creates a new lot with its own basis?

Yes, each reinvestment is a separate purchase with its own date and basis equal to what you paid (the dividend amount). When you sell, all those little lots have to be tracked. Some brokers do it for you in the 1099-B; others are inconsistent about it.

Honestly, skip the main form page and read irs.gov/instructions/i8949 instead, because it's a lot easier to follow. The column-by-column walkthrough in the instructions tells you exactly what to enter in each box and lists all the adjustment codes.

Andre F.

Author

I'll try those instructions instead. I was reading the main form page and getting lost.

Is there a limit to how many rows you can have on a single Form 8949? I have hundreds of transactions.

You just attach as many pages of Form 8949 as you need. Each page has a fixed number of rows but you continue on additional pages with the same box checked. The totals from all pages with the same box feed into Schedule D.

Worth mentioning Publication 550 on irs.gov covers holding periods, wash sales, and basis in a lot more depth than the 8949 instructions alone if you want to understand the why behind each rule.

Do RSUs show up on Form 8949? My company gives me RSUs and I sold some this year.

Yes, when you sell the shares. The shares vest and the value at vesting is treated as ordinary income (usually on your W-2). Your basis in the shares is that vest-date value. When you later sell, the difference between your sale proceeds and that basis goes on Form 8949 — short-term in Part I if you held less than a year from vest date, long-term in Part II if more. The tricky part is making sure you use the correct basis and don't double-count the income.

My broker's 1099-B shows zero basis on some lots. I think they didn't get the vest-price info. So I'd need to correct it in column (g) with code B?

If box A or D is checked (basis reported), yes: enter the zero from the 1099-B in column (e), put code B in column (f), and adjust in column (g). If box B or E is checked (basis not reported), just enter the correct basis in column (e) and -0- in column (g). Either way, check your W-2 to confirm the income amount that was already taxed — that's your starting point for the correct basis.

Saw someone mention losses earlier — if your 8949 adds up to a net capital loss for the year, there's a limit on how much of it you can deduct against ordinary income in one year. The rest carries forward. The Schedule D instructions and Topic 409 on irs.gov explain the carryforward worksheet.

Andre F.

Author

So losses don't just disappear if I can't use them all this year? That's good to know, I thought they were just gone.

They carry forward indefinitely. You'd use the Capital Loss Carryover Worksheet in Publication 550 or the Schedule D instructions to figure the amount that moves to next year.