How much long-term capital gains can you take tax free with no income?

Trying to figure out how much long-term capital gains can you take tax free with no income. My situation: I took a leave of absence this year, zero W-2 wages, no rental income, nothing. I sold some index fund shares I'd held for about four years and realized a decent gain. My broker sent a 1099-B showing the proceeds and my cost basis, and Schedule D flows through to the 0% rate worksheet in the tax software. The software is showing $0 federal tax on the gain but I want to make sure that's actually right before I file. I've read there's a 0% bracket for qualified long-term capital gains but I can't find the exact threshold for this year anywhere official. Is this legit, and is there anything else that could mess it up?

34 comments

Are you sure your software is using the Qualified Dividends and Capital Gain Tax Worksheet and not just the regular tax table? That's the worksheet that applies the 0% rate to net long-term capital gains. If it's running that worksheet correctly and your taxable income (after the standard deduction) falls below the top of the 0% bracket, the result really is $0 federal on those gains.

Beth A.

Author

I checked and yes it's the QDCG worksheet. The gain is my only income so after the standard deduction my taxable income is well below whatever the threshold is. That's what made me nervous — it looked too clean.

What's your filing status? Single, married filing jointly, head of household? The 0% bracket ceiling is different for each one. The IRS doesn't publish a fixed rate — the thresholds are adjusted for inflation each year — so the right place to check the exact number for 2025 is the Schedule D instructions or the instructions for the QDCG worksheet.

Beth A.

Author

Single. No dependents. I'll pull the Schedule D instructions to verify the ceiling.

Filing status matters a lot here. The bracket for married filing jointly is roughly double the single amount, so a couple with one of them on leave could potentially shelter quite a bit at 0%.

Before I filed last year I had a similar zero-income year with long-term gains and I uploaded my 1099-B and the QDCG worksheet draft to taxr.ai. It read both documents and flagged that my cost basis was pulling the wrong lot — I'd sold specific shares but my broker had defaulted to FIFO. Taxr walked through what the corrected column (e) on Form 8949 should show and what adjustment to put in column (g). Ended up saving me from reporting a larger gain than I actually had. On your question: the 0% rate applies to the portion of your qualified net long-term capital gain that falls within the 0% threshold given your taxable income. With truly zero other income, the standard deduction itself comes off first, then the gain fills the bracket from the bottom.

Beth A.

Author

The lot-defaulting-to-FIFO issue is real — I had to call my broker to confirm which shares they actually reported. Good catch on that.

Does your state follow federal capital gains treatment? A few states tax long-term gains as ordinary income regardless of what the federal return shows. So you might owe state even with $0 federal.

Beth A.

Author

Good point. My state has a flat income tax and does tax capital gains, so I'm aware there'll be something owed at the state level. The question was really about federal.

California is a painful example — no preferential rate on capital gains at all. Full ordinary income rate at the state level even if federal is 0%.

Worth double-checking whether any of your shares triggered a wash sale in the 30 days before or after you sold. If you reinvested dividends in the same fund within that window the broker might have flagged a wash sale in box 1g of the 1099-B, which would add a code W to Form 8949 and reduce your deductible loss — or in your case inflate the apparent gain if the basis wasn't adjusted properly. I ran my 1099-B through Taxr last spring when I had a weird box 1g entry and it identified which column (f) code applied and whether the adjustment in column (g) should be positive or negative given that I had box A checked. Cleared up the confusion fast.

Beth A.

Author

I checked box 1g — it's blank. No reinvested dividends in this fund during the window either. So I think I'm clean on wash sales.

Blank box 1g is a good sign. Keep in mind the broker only reports wash sales on covered securities with the same CUSIP bought in the same account. If you hold the same fund in an IRA the broker won't flag it but the wash sale rule still applies.

Are you subject to the net investment income tax? That's a separate 3.8% on net investment income above certain modified AGI thresholds. With no other income and only long-term gains, you might still be below that threshold too, but it's worth checking — it appears on Form 8960, not Schedule D.

Beth A.

Author

I hadn't thought about Form 8960. Looking at the instructions now. With zero wages my MAGI is just the gain itself so I need to see where the NIIT threshold sits.

The NIIT threshold is in the Form 8960 instructions — it's a fixed amount ($200,000 for single filers) that isn't adjusted for inflation. If your MAGI is below the threshold you don't even need to file 8960.

How long exactly did you hold the shares? You said about four years but the holding period on Form 8949 matters precisely. The rule is you start counting the day after the trade date you bought and the holding period ends on the trade date you sold. More than one year qualifies as long-term — it's not based on settlement dates.

Beth A.

Author

Bought in early 2021, sold in March 2025. Well over a year. The 1099-B shows the acquisition date and the software is putting it in Part II of Form 8949, so it's treating it as long-term.

Lots of people assume 0% means they don't have to report the sale. You still report every transaction — on Form 8949 carried to Schedule D, or straight on Schedule D line 8a when basis was reported to the IRS and no adjustments are needed — even if the tax works out to zero.

Correct. The 1099-B is filed with the IRS by the broker. If you don't report it on Form 8949 or Schedule D the IRS will send a notice because proceeds show up on their end with no matching entry on your return.

Did you get any state withholding taken out of the sale? Some brokers do that for certain states automatically. If so you'd want to reconcile that on the state return even if no federal tax is owed.

The 0% rate only applies to the net capital gain — so if you had any short-term gains they'd be taxed as ordinary income first. Any short-term transactions on that 1099-B?

Beth A.

Author

No short-term sales at all this year. The only thing on the 1099-B is the one lot I sold in Part II, long-term, basis reported to the IRS. So box D checked on the form.

If you had capital loss carryovers from prior years those would reduce your net gain first. Did you carry anything forward from 2023 or 2024? The carryover worksheet in the Schedule D instructions shows how that flows.

Beth A.

Author

No carryovers. I checked last year's Schedule D — line 16 was positive, no loss to carry forward.

Something that tripped me up once: make sure the cost basis your broker shows on the 1099-B actually matches your records. If you bought shares over time through automatic investments the per-share basis averages can get complicated. A mismatch means you'd want a code B in column (f) of Form 8949: with box A or D checked, keep the 1099-B basis in column (e) and correct it with the adjustment in column (g); with box B or E, put the correct basis in column (e) and -0- in column (g).

What if you had done a Roth conversion in the same year? That's ordinary income and would push more of your gain into higher brackets. Good that you have truly zero other income — it keeps the calculation simple.

That's a real planning consideration. A Roth conversion in a low-income year is attractive but you have to watch that you don't push your taxable income above the 0% capital gains ceiling, or the gain starts getting taxed at 15%.

Are you planning to do this again next year? If you have more low-basis shares to sell, spreading them across two tax years when you expect low income is a pretty common harvesting strategy. Just track your basis carefully each time.

Beth A.

Author

Yes, actually. I have more shares in the same fund with gains. If I stay under the 0% ceiling this year I may do another lot next year. I'll make sure to document the specific lots clearly so the broker reports the right acquisition date.

To verify the 0% bracket ceiling for the current year, look at the Schedule D instructions on irs.gov — there's a tax rate worksheet embedded in there that lists the breakpoints by filing status. That's the authoritative number for whatever year you're filing.

Beth A.

Author

Found it. The worksheet is right in the Schedule D instructions. That confirmed what the software was doing. Feels a lot better having the IRS source rather than a random article.

Topic 409 on irs.gov is about the limit on deducting and carrying over capital losses, so it won't give you the 0% breakpoints. Either way the Schedule D instructions are the place to end up.

Publication 550 covers the holding period rules in detail if you want the chapter and verse on what counts as long-term. The key line is that you begin counting the day after acquisition and the sale date itself counts as part of the holding period.