What is IRS Form 8949 used for? Finally trying to understand this

Every year I see Form 8949 somewhere in my tax software and I just click through it without really understanding what it does. This year I actually sold some stocks for the first time — a mix of winners and losers — and my broker sent me a 1099-B with like 40 transactions on it. The software is auto-populating something but I want to understand what IRS Form 8949 is used for before I just blindly accept whatever it fills in. I've read a couple of blog posts but they all say the same vague thing about "reporting capital gains and losses" without explaining the actual mechanics. What does the form actually do, what feeds into it, and how does it connect to the rest of my return?

47 comments

Form 8949 is the transaction-level detail sheet for every sale of a capital asset — stocks, bonds, crypto, real estate, whatever. Each row is one sale: date acquired, date sold, proceeds, cost basis, any adjustments, and the resulting gain or loss. The totals from each part of Form 8949 flow to Schedule D, which is where short-term and long-term gains get combined and netted. Schedule D then feeds a single number into your Form 1040. So 8949 is basically the supporting detail behind Schedule D.

Grace F.

Author

So Schedule D is kind of the summary and 8949 is the backup? That actually makes the structure click for me.

Exactly. Think of 8949 as the receipt and Schedule D as the total on the register. The IRS can match each row on 8949 to what your broker reported.

Form 8949 has two parts: Part I for short-term holdings (one year or less) and Part II for long-term (more than one year). The holding period matters a lot because short-term gains are taxed at ordinary income rates and long-term gains get preferential rates. For counting purposes, you start the day after you buy and end on the trade date you sell, not the settlement date.

Grace F.

Author

Does the day-after rule ever trip people up with year-end trades?

Yes, all the time. If you bought on December 31 and sold on December 31 the following year, the holding period started January 1 and ran through the sale date, so you've held it exactly one year, which is still short-term; you'd need to sell on January 1 or later to cross into long-term. Worth double-checking near year-end.

Worth knowing there are three boxes at the top of each part: box A (or D for long-term) means your broker reported cost basis to the IRS, box B (or E) means they reported proceeds but not basis, and box C (or F) means you got no 1099-B at all. You check the right box for each group of transactions. I had a messy batch of old shares where the broker had no basis records, so I uploaded my 1099-B to taxr.ai and it sorted the transactions into the right boxes and flagged which ones needed me to supply the basis myself. Saved me from putting everything in box A when some of it clearly belonged in box B.

Grace F.

Author

So I can't just lump all 40 transactions into one box even if they're all from the same broker?

Not if the basis reporting differs. Same broker can send covered and non-covered securities on the same 1099-B. You'd put covered ones (basis reported to IRS) in box A or D and non-covered in box B or E, on separate sections of the form.

This is the part tax software often glosses over. It matters for what you put in column (e) and whether you need an adjustment in column (g).

Column (f) is where adjustments get coded and column (g) is the dollar amount of that adjustment. The most common codes are W for a wash sale loss that's disallowed and B when your broker's reported basis is wrong. Each code changes what you do with column (e) and (g), so getting the code right actually changes the math the IRS sees.

Grace F.

Author

What counts as a wash sale exactly? My software flagged one transaction with a W but I didn't realize I had triggered it.

A wash sale happens when you sell stock at a loss and buy substantially identical stock within 30 days before or after that sale — the window runs in both directions. The disallowed loss doesn't disappear; it gets added to the cost basis of the replacement shares, which defers the loss until you eventually sell those shares outside the window. Your broker reports the disallowed amount in box 1g of the 1099-B if both trades were covered securities with the same CUSIP in the same account.

Grace F.

Author

So the loss isn't gone forever, it just moves to the new shares' basis?

Right. And the new shares also inherit the holding period of the shares you sold. Keep records of this or it gets confusing fast when you sell the replacement batch.

With 40 transactions, Exception 1 in the Form 8949 instructions can save a lot of work, since it lets you skip putting transactions directly on 8949 and report totals straight on Schedule D line 1a or 8a instead — but only for transactions where basis was reported to the IRS and there are zero adjustments needed. If even one row in that group needs a wash sale adjustment or a basis correction, it has to go on 8949 individually.

This is worth checking in the software. Some programs use the exception automatically and you don't even see a populated 8949 unless adjustments exist.

Exactly, which is fine as long as the software is correctly identifying which transactions qualify. Worth opening the actual form preview to verify.

Form 8949 is also where crypto goes now, but on the 2025 form it's completely separate from stock transactions. Digital asset sales use boxes G through I for short-term and J through L for long-term — you do not use boxes C or F for crypto anymore. I had a year with both stock sales and ETH trades and the two sets of boxes confused me. I uploaded the whole 1099-DA along with my 1099-B to Taxr and it mapped each transaction to the correct box and flagged where my exchange hadn't tracked basis at all.

Grace F.

Author

Wait, so if I ever add crypto trades I can't just throw them in with the stocks on the same section?

Correct, they go in the new lettered boxes, not the same ones as stock. The IRS instructions for Form 8949 spell this out.

If you want background before you get into the form itself, irs.gov has a digital assets page that covers the broader reporting rules for crypto.

Schedule D is where your net long-term and net short-term amounts combine. If you end up with a net capital loss for the year, you can only deduct a limited amount against ordinary income — the limit and the rules for how much carries forward to future years are in Topic no. 409 on irs.gov and in the Schedule D instructions. The carryover worksheet matters if the loss is large.

Grace F.

Author

Is the carryover automatic in tax software or do I have to track it manually?

Software usually pulls it from last year's return if you're using the same program. If you switched software or did it on paper last year, you'd enter the carryover amount manually from last year's Schedule D or the worksheet in Publication 550.

Column (d) on Form 8949 is proceeds — always enter what the 1099-B shows, even if you think the number is wrong. If the proceeds are wrong, you use column (f) and column (g) to adjust, with an explanation. Don't just override column (d) with a different number; the IRS matches column (d) to what the broker reported.

Does the same logic apply to cost basis in column (e)?

It depends which box is checked. With box A or D (basis reported to IRS), you enter the broker's basis in column (e) even if wrong, then correct with a column (g) adjustment and code B. With box B or E (basis not reported to IRS), you enter the correct basis directly in column (e).

Inherited stock is always long-term no matter how long you personally held it, with one narrow exception for people who died in 2010 where an executor filed Form 8939. For everyone else, inherited property goes in Part II of Form 8949. The basis is generally the fair market value at the date of death, or the alternate valuation date if the estate chose it. Where the estate had to file Form 706, the basis you use has to match the value reported to you on Schedule A of Form 8971.

Grace F.

Author

Good to know — my grandmother left me some shares years ago and I always assumed I could figure out basis later.

Sooner is better. If the estate filed Form 706, there's a consistency requirement. Publication 551 on irs.gov covers basis of inherited property in detail.

Stock received as a gift is a different basis situation. If the fair market value at the gift date was at or above the donor's adjusted basis, you use the donor's basis (plus any gift tax adjustment). If FMV was below the donor's basis, the basis depends on whether you ultimately sell at a gain or a loss — there's a dual basis rule. Publication 551 lays it out clearly and it matters a lot for 8949.

The dual basis rule trips people up. You can end up recognizing neither gain nor loss if the sale price falls between the donor's basis and the FMV at the gift date.

RSUs are a slightly different path to Form 8949. When RSUs vest, the value at vesting is ordinary income reported on your W-2 — that's your cost basis for the shares. After that, any further appreciation or decline when you sell goes on Form 8949 like any other stock sale. The holding period starts on the vesting date. I had a lot of RSU tranches vest across different dates in the same year and uploaded my brokerage summary to Taxr; it laid out each lot's basis and vesting date so I could see exactly which sales were short-term and which had crossed into long-term.

Grace F.

Author

Does it matter whether I sell the shares the day they vest versus holding them?

Yes. Same-day sale after vesting is typically short-term with almost no gain or loss since basis equals vesting price. Hold longer than a year past vesting and any gain is long-term. The timing is worth thinking about especially if vesting prices vary a lot across your grant tranches.

Worth adding: if your company offers ISOs instead of RSUs, the tax mechanics are different — there's no W-2 income at exercise for regular tax but there can be an AMT adjustment on Form 6251. RSUs and ISOs are not the same thing and the 8949 path differs.

For anyone still confused about where to find official guidance: Publication 550 covers holding periods, wash sales, and basis rules in detail. The instructions for Form 8949 at irs.gov explain every column and code. Topic no. 409 covers the capital loss deduction limit and carryover rules. Those three together answer most questions this form raises.

Grace F.

Author

An actual map of where to look rather than just "consult a professional" is what I needed.

If your situation involves a large number of lots, big losses, or anything inherited or gifted, running through Form 8949 manually at least once is worth doing even if you use software. You'll catch errors the software might not flag, like a broker using the wrong basis for shares transferred from another firm.

Transferred shares are a classic problem. The receiving broker often has no basis information and marks everything as non-covered. You have to supply the original purchase price yourself and check that it ends up in box B or E with your correct basis in column (e).

Honestly, the Form 8949 instructions at https://www.irs.gov/instructions/i8949 are genuinely readable compared to most IRS documents. They walk through each column, list all the codes for column (f), and have a worksheet for figuring basis adjustments in column (g). I'd start there before anywhere else.

Grace F.

Author

Bookmarked. I'll go through it alongside my 1099-B this weekend.

Reading the instructions once with an actual 1099-B in hand makes everything click faster than any explainer article.

One scenario worth flagging: if you sold your main home and have gain above the exclusion amount, that goes on Form 8949 too — Part II with box F if you received a Form 1099-S. Code H and the excluded gain as a negative in column (g). It's not just for investment accounts.

Even if all your gain is excluded, you still have to report the sale on Form 8949 if you got a Form 1099-S. A lot of people skip this thinking there's nothing to report.

Right, and the ownership and residence tests for the exclusion have specific time requirements — Publication 523 on irs.gov has the eligibility test broken down step by step.