Why zero tax on taxable income from capital gains and qualified dividends?

Filed my return this year and when I entered my long-term capital gains and qualified dividends, the software showed $0 federal tax on that income even though I clearly have taxable income showing on Form 1040. I thought capital gains were always taxed. I double-checked that I hadn't entered anything wrong. My ordinary income is pretty low this year because I took a sabbatical, so wages were minimal. The gains came from selling index fund shares I'd held for several years and from dividends my broker labeled qualified on the 1099-DIV. The software is not glitching — it calculated a refund that actually seems right when I add everything up — but I can't figure out why those gains and dividends are showing zero tax. Is there actually a 0% rate on this stuff, and what determines whether you land in it?

32 comments

Yes, there is a real 0% rate on net long-term capital gains and qualified dividends. It is not a glitch. The rate that applies depends on your taxable income — the same taxable income on line 15 of Form 1040 — compared to threshold amounts that adjust each year. If your taxable income falls below the threshold for your filing status, the preferential rate on the gains and dividends is literally zero. IRS Topic 409 at irs.gov/taxtopics/tc409 lays this out.

Andre H.

Author

That explains it. My ordinary income dropped so much this year that my taxable income landed below whatever the threshold is. I didn't realize the same line 15 number is what gates the rate.

My taxable income was low one year when I took parental leave and I saw the same zero. I actually uploaded my 1099-DIV and the Qualified Dividends and Capital Gain Tax Worksheet to taxr.ai and it walked through each line of the worksheet, flagging where the 0% threshold comparison happens and confirming my income sat below it. Helped me trust the number before I filed. The rate thresholds themselves shift yearly so I'd check the current year's worksheet instructions rather than rely on a remembered dollar figure.

Andre H.

Author

Good call on the worksheet. I found it in my software's forms view and the comparison step is exactly where the zero comes from.

Worth clarifying how the worksheet actually stacks the income. Your ordinary income fills the lower brackets first. The long-term gains and qualified dividends sit on top of that. The 0% rate applies only to the portion of gains that still falls within the 0% threshold band. If your ordinary income already pushed you above the threshold, the gains start getting taxed at 15% immediately.

This stacking concept tripped me up for a while. Even a small amount of extra ordinary income can push part of the gains into the 15% zone.

Andre H.

Author

So if I had taken even a small consulting gig this year, part of the gains might have crossed into 15%. That makes the sabbatical timing actually meaningful from a tax standpoint.

Qualified dividends are the key word on that 1099-DIV. Box 1b is qualified dividends, Box 1a is total ordinary dividends. Only the box 1b amount gets the preferential rate. If your 1099-DIV shows a large box 1a but small box 1b, most of those dividends are taxed at ordinary rates and would not be zero.

Andre H.

Author

Mine are almost entirely in box 1b which is why the whole dividend amount came out at zero. That tracks.

The form that actually does the calculation is the Qualified Dividends and Capital Gain Tax Worksheet, which is in the Form 1040 instructions. If your Schedule D shows 28% rate gain on line 18 or unrecaptured section 1250 gain on line 19, your software would have used the Schedule D Tax Worksheet in the Schedule D instructions instead. Either way the math works on the same principle — it computes tax on ordinary income separately from gains.

I had a year where my salary was low and I had a big long-term gain from an inherited fund position. I pasted the Qualified Dividends and Capital Gain Tax Worksheet into Taxr and asked it to check whether any portion of my gain was crossing into the 15% band. It read through the stacking lines and showed me exactly how much room I had left in the 0% range. Useful sanity check. For the inherited shares, basis was the fair market value at the date of death, so the gain was smaller than I expected anyway — Publication 551 at irs.gov covers that.

Inherited property also automatically gets long-term treatment regardless of how long you actually held it, so the preferential rate question applies right away.

Correct, that is a separate rule — holding period for inherited property is always treated as long-term. Two different pieces working together there.

One thing that surprised me: the 0% rate is not the same as the income being nontaxable. It still counts as taxable income for other purposes — it can affect things like the net investment income tax, IRMAA surcharges on Medicare premiums, eligibility for certain credits. The tax on the gains themselves is zero but the income is still there on your return.

The net investment income tax is a separate 3.8% on investment income above an income threshold, calculated on Form 8960. It runs parallel to the regular capital gains rate, so you can owe that even while your regular rate is 0%.

Andre H.

Author

That's an important distinction. I checked Form 8960 and I'm well under the threshold this year, but I'll need to watch it if income picks back up.

The 0% rate also applies to long-term gains, not short-term. Short-term gains are taxed at ordinary income rates, same as wages. So if any of your index fund sales were shares held one year or less from the trade date you bought to the trade date you sold, those go on Part I of Form 8949 and hit the ordinary rate table, not the preferential one.

Andre H.

Author

All my sales were shares held several years so they're all in Part II of Form 8949 and landed on Schedule D line 8b. No short-term exposure.

If your income is variable year to year, this opens up a planning window sometimes called a 0% bracket harvest. In a low-income year you can realize gains that would otherwise be taxable in a future higher-income year, pay nothing now, and reset your basis. Not tax advice, just something worth raising with a CPA or enrolled agent if your income swings significantly.

Worth noting the wash sale rules don't apply to gains — only to losses. So harvesting a gain and immediately buying back the same fund doesn't trigger any disallowed amount. Different story if you're harvesting a loss.

My broker's 1099-B showed proceeds and cost basis, and after I ran everything through Form 8949 and Schedule D, the tax line for long-term gains was zero. I honestly thought I had made an error somewhere. Called the IRS and they just confirmed the rate structure exists. The Qualified Dividends and Capital Gain Tax Worksheet is the place to verify your software did it right — you can run it by hand in maybe 15 minutes.

When my capital gains jumped one year from selling a rental fund position, I pasted the Qualified Dividends and Capital Gain Tax Worksheet plus my Schedule D into Taxr and had it trace through each numbered line to confirm which rate applied to which dollar of gain. It marked up the stacking calculation and flagged that a small slice was hitting 15% because my ordinary income used up most of the 0% band. Saved me from assuming it was all zero. For a bigger gain situation I'd still loop in a CPA to review.

Andre H.

Author

That's the scenario I want to avoid assuming — that all gains are zero just because some are. The stacking order matters a lot when income isn't obviously low.

The rate also applies to qualified dividends from REITs only partially — REIT dividends are mostly ordinary unless specifically designated as qualified. Worth checking the breakdown your fund or broker provides before assuming all dividends in box 1b are from normal stock holdings.

Section 199A dividends from REITs show up in box 5 of the 1099-DIV, not box 1b. Those are a separate deduction calculation entirely, not the preferential dividend rate.

The worksheet can't handle the 28% rate that applies to collectibles gains and certain small business stock gains. If your Schedule D has any 28% rate gain on line 18, you use the Schedule D Tax Worksheet in the Schedule D instructions instead, which routes that separately. Most people selling index funds never see it, but if you hold gold ETFs or similar, check Schedule D line 18.

The official place to understand all of this together is Publication 550 at irs.gov/publications/p550, the chapter on capital gains and losses. It covers the rate tiers, the holding period rules, and how qualified dividends interact with the same worksheet. Longer read but worth it if you want the full picture rather than just trusting software.

Topic 409 is the shorter version for people who just want to confirm the rate structure without reading the full pub. Both are on irs.gov.

Worth double-checking: does your software show the Qualified Dividends and Capital Gain Tax Worksheet in the forms list? Some software hides it in a summary view. If you can pull up the actual worksheet you can see line by line exactly where your income sits relative to the threshold and confirm the zero is correct and not a data entry issue.

Andre H.

Author

Found it in the forms list. Line 9 shows the amount taxed at 0%, and the tax lines for the 15% and 20% portions (lines 18 and 21) show zero on mine. I'm satisfied the software did it right now.

Also keep your 1099-B from the broker. If the IRS ever questions the basis or the holding period, you'll need the trade dates and cost basis records. The 1099-B shows what was reported to the IRS in box 1e and whether basis was reported, which determines whether your Form 8949 entries go in box A, B or D, E depending on short or long term.

Andre H.

Author

All covered securities with basis reported, so box D for the long-term ones. I did confirm that in the forms view too.