How are stock gains and dividends taxed in brokerage account versus Roth IRA?

Trying to understand how are stock gains and dividends taxed in brokerage account versus Roth IRA before I decide where to put some extra money. I have a regular taxable brokerage with some dividend-paying ETFs and a few individual stocks I sold this year at a gain. I also have a Roth IRA sitting mostly in index funds. My 1099-B from the brokerage showed short-term and long-term gains and my 1099-DIV showed qualified and ordinary dividends. I know the Roth is "tax free" somehow but I'm not clear on what that actually means when I go to file. Do gains inside the Roth ever show up on my return? Does it matter how long I hold something inside the Roth? Just trying to figure out what I'm actually dealing with here.

32 comments

Inside a taxable brokerage, every taxable event hits your return. Dividends from your 1099-DIV go on Schedule B. Gains from sales go on Form 8949, then roll up to Schedule D. Whether a gain is short-term or long-term depends on your holding period: more than one year from the day after you bought to the day you sold is long-term. The holding period for securities uses trade date, not settlement date, on both ends.

Nina M.

Author

Thanks, that clears up the brokerage side. So every dividend payment and every sale is a separate taxable event I have to track?

Exactly. Your broker reports covered securities on the 1099-B and usually tracks cost basis for you. But you still need to review it for accuracy, especially if you reinvest dividends, because each reinvestment creates a new lot with its own basis and holding period.

The Roth IRA side is very different. Gains, dividends, interest — none of it is reported while the money stays inside. You don't get a 1099-B or 1099-DIV from your Roth custodian because those events are not taxable that year. The holding period inside the Roth is irrelevant for gains; short-term and long-term don't apply because the growth isn't taxed inside the account.

Nina M.

Author

Good to know the holding period doesn't matter inside the Roth. Does anything from the Roth ever show up on my return?

Only when you take a distribution. Qualified distributions from a Roth are tax-free and not reported as income, but your custodian still sends a 1099-R with a code showing it's qualified. If a distribution is not qualified it can be partly taxable. Publication 590-B at irs.gov walks through what makes a distribution qualified.

Qualified dividends in the brokerage get a lower rate than ordinary dividends, which is worth knowing when you're choosing where to hold what. Ordinary dividends from your 1099-DIV box 1a are taxed as ordinary income. Qualified dividends in box 1b get the same preferential rate that applies to long-term capital gains. Neither shows up inside the Roth at all.

This is why asset location matters. High-dividend stuff in the Roth, low-dividend index funds in taxable, at least in theory. Though it depends on your situation.

I uploaded my 1099-B, 1099-DIV, and the Roth 1099-R to taxr.ai and it mapped every line to the right form — showed me which dividends were going to Schedule B, which gains needed Form 8949, and confirmed the Roth distribution code meant no taxable amount. Saved me from manually cross-checking four documents. The rule on what rate applies to long-term gains versus ordinary dividends I looked up myself in the Qualified Dividends and Capital Gain Tax Worksheet in the Form 1040 instructions, but having the documents already sorted made that straightforward.

Nina M.

Author

Thanks — I've been doing that cross-checking by hand and it's slow. Good to know that kind of document mapping is possible.

One thing that surprised me: wash sale rules apply to your taxable brokerage but NOT inside the Roth. If you sell something at a loss in your brokerage and then buy the same security in your Roth IRA within 30 days before or after, that is still a wash sale. The loss is disallowed and you can't add it to basis inside the Roth either. It just disappears.

Nina M.

Author

Wait, really? So I can't dodge the wash sale rule by buying the same stock in my Roth right after selling it at a loss in my brokerage?

Correct. Publication 550 is explicit on this: buying substantially identical stock in your IRA or Roth IRA within the 30-day window on either side triggers the wash sale. And unlike a wash sale between two taxable accounts, the disallowed loss doesn't get added to the new shares' cost basis. It's permanently lost.

Short-term gains in the brokerage (held one year or less, using trade dates) are taxed as ordinary income. Long-term gains get preferential rates. Inside the Roth, none of that distinction matters because nothing is taxed. So if you're trading actively and generating lots of short-term gains, doing that inside the Roth shields all of it. The brokerage is better for stuff you plan to hold long-term where you'd qualify for long-term rates anyway.

Mostly agree but there's also the question of what you're giving up by locking the money in a Roth. It's not purely about taxes if you need access to the money before retirement.

Had a situation last year where I sold the same ETF in both accounts and wasn't sure how to handle the 8949 for the brokerage side. I gave Taxr my 1099-B and the Form 8949 my software had drafted, and it flagged that one of my cost basis entries looked like it might be affected by a wash sale I'd triggered in a different account. Ended up catching a real error. For the actual rate that applied to my long-term gains I checked the Qualified Dividends and Capital Gain Tax Worksheet in the Form 1040 instructions since that depends on your income.

Nina M.

Author

That wash sale across accounts thing is exactly what I was worried about after reading the other comment. Glad you caught it.

To answer the original question directly: brokerage account — you report every sale on Form 8949, dividends on Schedule B, everything flows to your 1040. Roth IRA — nothing is reported while it's inside the account; only distributions trigger any form (1099-R from your custodian), and qualified ones are tax-free.

The Form 8949 boxes matter a lot for the brokerage side. Short-term transactions where basis is reported to the IRS go in Part I box A. Long-term with reported basis go in Part II box D. If your broker didn't report basis (older shares, noncovered securities) you use box B or E. Your 1099-B should say whether each lot is covered or noncovered.

Nina M.

Author

My 1099-B does say covered/noncovered for each line. Didn't realize those map to different boxes on 8949. That's helpful.

Right, and if the basis on the 1099-B is wrong for a covered lot, you still enter what the 1099-B says in column (e), then put a code B in column (f) and correct it with an adjustment in column (g) — negative if the correct basis is higher, positive if it's lower. Don't just change the number in column (e) for a covered security.

Dividends inside the Roth compound without any drag. Dividends in the brokerage, you owe tax each year even if you reinvest them. That difference in after-tax compounding over decades is usually the main argument for holding high-yield dividend assets in the Roth.

This is true in principle. Though worth noting: if your dividends are qualified and you're in the 0% bracket for long-term gains, the brokerage drag might be smaller than you think. It depends on your income.

Something that trips people up: even if all your Roth growth is tax-free, your contributions themselves were already after-tax money, so the IRS doesn't tax them again on the way out. But you need to meet the qualified distribution rules — generally age and how long the account has been open — or some of the earnings portion could be taxable. Publication 590-B covers the rules for what counts as qualified.

If you have capital losses in the brokerage that exceed your gains, you can deduct up to the annual limit against other income, with any excess carrying forward. That carryover can offset future gains. None of that mechanics applies inside the Roth because losses inside the Roth don't come out as deductible losses on your return.

Yep. The flip side of tax-free growth is that losses inside the Roth are also trapped. You can't harvest them.

The Schedule D instructions are worth reading alongside the Form 8949 instructions if this is your first year with a lot of transactions. Schedule D line 1a and line 8a let you skip Form 8949 for covered transactions with no adjustments, which can simplify things if most of your 1099-B lots are straightforward.

Nina M.

Author

Thanks — most of my lots are covered with no wash sales so maybe I can use the shortcut lines for those.

Just to flag: foreign dividends in a brokerage account can generate a foreign tax credit situation (Form 1116 or the Schedule 3 direct credit), which is another layer you don't have in a Roth. Not the core question but relevant if you hold international funds.

Reinvested dividends in a taxable brokerage are still taxable in the year paid even though you never received cash. Each reinvestment also adds to your cost basis for that security. If you don't track those reinvestments carefully over the years, you can end up overpaying tax when you sell because your basis looks lower than it actually is.

Nina M.

Author

This is something I've definitely not been careful about. I should pull the full transaction history from my broker and make sure all those reinvestments are showing up in basis.

To pull the thread together: brokerage gains and dividends are taxed as they happen, with the rate depending on whether gains are short or long-term and whether dividends are ordinary or qualified. Roth IRA shelters all of that completely while funds stay inside, and qualified distributions come out tax-free. The tradeoff is Roth contribution limits and the qualified distribution rules on the way out.