How are dividends and capital gains taxed in a taxable brokerage account?

Finally moved some money out of my 401k into a regular taxable brokerage account this year and now I'm realizing I have no idea how the taxes actually work. My broker sent me a 1099-DIV and a 1099-B and I'm staring at them trying to figure out what goes where. I know there's something called qualified vs ordinary dividends and that capital gains can be short or long term but I don't really understand how they get taxed differently or what forms I actually fill out. I've been trying to read through Publication 550 on the IRS site but it's a lot. Can someone walk me through how dividends and capital gains taxed in a taxable brokerage account actually work at a high level before I dig into the details?

36 comments

The basic split is this: your 1099-DIV has two dividend rows that matter. Box 1a is total ordinary dividends, taxed at your regular income rate. Box 1b is qualified dividends, which are a subset of 1a that get the lower long-term capital gains rate instead. The qualified amount goes on Form 1040 line 3a, not Schedule D, and gets its lower rate through the qualified dividends and capital gain tax worksheet. Your 1099-B covers your sales, which go on Form 8949 and then roll up to Schedule D. Short-term gains (held a year or less) are taxed as ordinary income. Long-term gains (held more than a year) get the preferential rate. The holding period rule: start counting the day after you bought, and the day you sold counts as the last day.

Alex W.

Author

Thanks, that breakdown actually helps a lot. So box 1b is already included in box 1a, it's not on top of it? That's what confused me reading the form.

Correct, 1b is a subset of 1a. You don't add them, you just get a better rate on the 1b portion.

I went through this same confusion last spring with a mix of ETF dividends and some stock sales. I uploaded my 1099-DIV and 1099-B to taxr.ai and it listed out exactly which boxes fed into which lines on Schedule D and my 1040, and flagged that two of my sales had the wrong holding period checked. Saved me from reporting a long-term gain as short-term. The rate difference on that one transaction was meaningful. For the actual rates and thresholds, the instructions for Schedule D walk through what applies at your income level.

One thing I keep seeing people mess up: qualified dividend status depends on the stock, not just on you. You have to hold the stock for more than 60 days during the 121-day window around the ex-dividend date. If you bought an ETF right before the dividend and sold right after, those dividends won't be qualified even if the broker puts something in box 1b. The broker doesn't always catch this. Publication 550 covers it in the investment income chapter.

Alex W.

Author

Good to know. I did buy one fund pretty close to its distribution date so I should check that.

Definitely check. The 121-day window is centered on the ex-dividend date, so count 60 days before and 60 days after that date and see if you held through it.

For the 1099-B side: when you sell shares your broker reports the proceeds in box 1a of the 1099-B, and usually the cost basis in box 1e. Box 1g will show any wash sale loss disallowed if the same security was bought within 30 days before or after the sale in the same account with the same CUSIP. That disallowed amount gets added back to your basis in the replacement shares. On Form 8949 you'd put a W in column (f) and the disallowed amount as a positive number in column (g).

Alex W.

Author

I don't think I had any wash sales but I'll double-check box 1g just in case.

Quick clarification on the holding period since someone asked earlier: for securities traded on an exchange, the holding period runs from the trade date you bought to the trade date you sold, not the settlement dates. So if you bought on December 30 and sold the following January 2, you count those trade dates. You need more than one year for long-term treatment.

This tripped me up my first year investing. I thought I had a long-term gain and it turned out to be short-term because I was counting from settlement.

My brokerage account had a weird year with DRIP shares reinvested at different prices throughout the year, which created a ton of small lots on my 1099-B. I had Taxr walk through the lot-by-lot detail and sort them into short-term and long-term buckets, then confirm which ones could go straight onto Schedule D line 1a under Exception 1 versus which needed their own Form 8949 rows because the basis was flagged as not reported to the IRS. That distinction matters a lot when you have dozens of reinvestment lots.

Alex W.

Author

I have DRIP shares too and was dreading counting them all. Didn't know about Exception 1 — good to know that simplifies the ones with no adjustments.

Exception 1 only works when basis is reported to the IRS and there are no adjustments needed. If the box says basis not reported, those go to Form 8949 Part II box E or Part I box B.

Something people overlook with brokerage accounts is that even if you didn't sell anything, you might have capital gain distributions from mutual funds listed in box 2a of your 1099-DIV. Those are long-term regardless of how long you held the fund and go on Schedule D line 13. You didn't have to do anything to trigger them — the fund did it internally.

Alex W.

Author

Wait, so I could owe capital gains tax even if I never sold a share? That's annoying.

Yep. It's one of the hidden costs of active mutual funds in a taxable account. ETFs generally distribute less because of how redemptions work.

The Form 8949 boxes matter more than people realize. Part I is short-term, Part II is long-term. Within each part: box A means basis was reported to the IRS on a 1099-B, box B means it wasn't, box C means no 1099-B at all. For digital assets the 2025 form has new boxes G through L instead of C and F — don't use C or F for crypto anymore.

Didn't know about the new crypto boxes. My broker sent a 1099-DA this year which I'd never seen before.

1099-DA is the new form brokers send specifically for digital assets. The IRS instructions for Form 8949 cover how to handle it.

If you end up with more capital losses than gains, you can use the net loss to offset other income, but only up to the limit the IRS sets — look at Schedule D line 16 and the instructions for Form 1040 line 7a. Any amount you can't use in the current year carries forward. You figure the carryover with the Capital Loss Carryover Worksheet in the Schedule D instructions.

Alex W.

Author

Good to know there's a carryover. I had some losses this year so I'll look at that worksheet.

State taxes are a whole separate layer too. Some states don't have a preferential rate for qualified dividends or long-term gains — everything is ordinary income. Your federal 1040 treatment doesn't automatically carry over. Worth checking your state's instructions separately.

This catches people off guard every year. My state taxes long-term gains at the same rate as wages so the federal preferential rate is irrelevant at the state level.

I had Taxr go through my Schedule D and Form 8949 draft side by side with my 1099-B to check that every lot matched the right box, the right part, and the right holding period before I filed. It flagged one lot where the proceeds on the form didn't match what my broker reported, which I then went back and corrected with my broker before filing.

Alex W.

Author

That mismatch issue is exactly what I'm worried about. Good to know that kind of check is possible before you actually submit.

For anyone still fuzzy on what "ordinary" versus "qualified" actually means in practice: qualified dividends show up taxed at the same rates that apply to long-term capital gains. Ordinary dividends are stacked on top of your other income and taxed at whatever bracket that puts you in. The rate schedules are in the Schedule D instructions and the qualified dividends and capital gain tax worksheet in the 1040 instructions.

Alex W.

Author

So both long-term gains and qualified dividends use the same rate schedule? I thought they were different.

Same preferential rate schedule, yes. That's why they're treated together on the qualified dividends and capital gain tax worksheet rather than on the regular tax table.

Inherited shares in a taxable account get stepped-up basis to fair market value at the date of death, and are automatically treated as long-term regardless of how long you actually held them. Worth knowing if you received shares from an estate this year.

Inherited shares from my grandmother last year and had no idea about the step-up. That made a significant difference when I eventually sold.

Honestly the best starting point for all of this is IRS Topic 409 at irs.gov — it lays out the holding period rule, the rate categories, and the loss deduction limit clearly in one place. Then Publication 550 for deeper detail on qualified dividends.

If your brokerage switched custodians or you transferred shares during the year, double-check that the basis transferred correctly. Sometimes a transfer shows up on the 1099-B as basis not reported to the IRS even when you have records. That pushes those lots to Form 8949 box B instead of box A.

Alex W.

Author

I did do a partial transfer earlier this year. I'll pull my records and compare them against what the new broker shows as the basis.

Gifts of appreciated stock work differently for basis. If someone gave you shares and the fair market value at the time of the gift was above the donor's adjusted basis, your basis is the donor's basis. If the FMV was below their basis, your gain basis is their basis but your loss basis is the lower FMV. That dual-basis rule can produce a situation where you have neither gain nor loss on a sale.

The dual-basis thing is genuinely confusing. Publication 551 on the IRS site walks through the gifted property rules clearly if anyone needs to work through a specific situation.