My itemized deductions exceed AGI — should I take extra IRA withdrawals or capital gains this year?

Doing a rough projection for the year and I'm in an unusual spot. Between a large charitable deduction from a donor-advised fund contribution, mortgage interest, and state taxes, my itemized deductions are going to exceed my AGI by a decent margin. So my federal taxable income is essentially zero, maybe even negative before the standard deduction kicks in. I know this is rare and I want to use it strategically. The question is whether it makes more sense to pull forward some traditional IRA withdrawals to fill up the "free" tax space, or instead realize long-term capital gains that I've been sitting on. Or both. My situation: retired, 64, no W-2 income, living off a brokerage account and some rental income. I haven't done this kind of planning before and I'm not sure which move has the cleaner tax math. What actually matters here when itemized deductions exceed AGI?

38 comments

Both can work but they behave differently in this situation. Long-term capital gains (LTCG) have their own rate brackets that run parallel to ordinary income brackets. Even if your taxable income is near zero, LTCG can still be taxed at 0% — but whether they stay at 0% depends on your total LTCG plus ordinary income stacking against those thresholds. The IRS lays out how the stacking works in Publication 550 and Topic 409. IRA withdrawals are ordinary income, so they fill the space deductions create more directly. The two work differently and mixing them matters.

Paul R.

Author

Stacking is the word I was missing. So the LTCG rate depends on where total income lands after ordinary income is placed first, then gains sit on top?

Exactly that. Ordinary income fills the lower brackets first, then gains sit on whatever is left before the next threshold. If your deductions wipe out the ordinary income, the gains can land at 0% if total income stays under the threshold. The Schedule D instructions walk through the Qualified Dividends and Capital Gain Tax Worksheet that does the actual stacking math.

Went through nearly this same thing two years back. Had a big DAF distribution year, low income otherwise. We ran the numbers and realized we could harvest a pile of long-held appreciated stock at 0% LTCG rate. The key was that our ordinary income was fully offset by deductions, so the gains were the only taxable income and they stayed under the 0% threshold. If you had done IRA withdrawals instead, those would have been ordinary income and would have used up the "zero bracket" space that the gains ended up occupying.

Paul R.

Author

This is the scenario I was imagining. Did you have to do anything special on the return to show the gains were at 0%?

Qualified Dividends and Capital Gain Tax Worksheet on Schedule D. It does the work automatically if you fill in the lines right. No special election or form, the math just falls out.

One thing that cuts against pure LTCG harvesting here: Roth conversions. If your deductions are wiping out taxable income, an IRA withdrawal at zero effective rate is essentially a free Roth conversion — you pay ordinary income tax on it, but if deductions absorb it, the tax is zero. That permanently moves money into a Roth where future growth is tax-free. LTCG harvesting resets basis but the money stays in the taxable account and can grow again and need harvesting again.

Paul R.

Author

Hadn't framed it that way. Future growth tax-free vs resetting basis on something that grows again. That's a real distinction.

The Roth conversion angle is exactly what a lot of retirees miss in low-income years. And it doesn't trigger wash sale rules the way some gain harvesting strategies can get complicated with related purchases.

I uploaded my prior-year return and my projected numbers to taxr.ai and it compared the two strategies side by side — showed me how much of the deduction excess was actually absorbing ordinary income vs gains under the stacking rules, and flagged that I was underestimating how rental income was affecting my AGI floor before deductions. Really clarified where the "free space" actually started. Worth running your own numbers through it. The IRA vs gains question is really an AGI composition question before it's a rate question.

Paul R.

Author

Rental income is a good flag — mine is positive so it does raise my AGI. So the deductions are reducing taxable income but AGI itself is higher. That changes the picture a bit.

AGI matters for things like the Net Investment Income Tax threshold, Medicare premium IRMAA calculations, and some phase-outs. Even if your taxable income is zero, AGI being elevated can still cost you in those other places. The ordinary income vs gains choice affects AGI differently.

Worth separating two different questions here. First: which type of income uses the deduction space most efficiently? Second: what are the downstream AGI effects? For the first question, ordinary income (IRA withdrawal) is offset dollar-for-dollar by itemized deductions. LTCG has its own worksheet and might be at 0% regardless. So if gains are already going to be 0%, harvesting them doesn't "use" your deduction space — it's parallel. The deduction space is best used by pulling IRA income you'd otherwise pay tax on later.

This framing is cleaner than how I put it. Deductions offset ordinary income. Gains have their own rate structure. They're not interchangeable in how they interact with deductions.

Paul R.

Author

So the more surgical move might be: take enough IRA withdrawal to fill the deduction-offset space, and harvest gains separately on top since those may be at 0% anyway?

I had Taxr read through my Schedule D and my projected IRA withdrawal amount alongside my itemized deductions worksheet — it listed out every line where the interaction between ordinary income, the deductions, and the gain stacking would shift, and drafted a comparison memo I could take to my CPA. For a situation this layered, that kind of structured summary saved a lot of back-and-forth. The IRS pages on Topic 409 and the Schedule D instructions are where the official rate structure lives if you want to check the logic yourself.

Paul R.

Author

Taking a summary to a CPA is smart. I've been trying to build intuition first so I'm not paying for basic orientation time.

Net Investment Income Tax is a real wrinkle here. NIIT applies to investment income above an AGI threshold (the threshold and rate are in the Form 8960 instructions — look them up for the current year). Capital gains count toward that. IRA withdrawals don't. So if your AGI is already running higher because of rental income, harvesting a lot of gains could push you into NIIT on the gains while IRA withdrawals would not.

Paul R.

Author

Form 8960 — adding that to my list. I hadn't thought about NIIT at all. My rental income alone might already be getting close.

Form 8960 line 5a is where your gains go, and line 12 is where your net investment income is totaled; line 14 is where the AGI threshold comparison happens. If you're close, the choice between IRA and gains could flip the NIIT calculus entirely.

Something people sometimes get wrong: a "negative" taxable income doesn't mean you get a refund of taxes on a negative number. Taxable income floors at zero. So if deductions exceed AGI by a lot, the excess above zero doesn't carry forward or do anything for ordinary income purposes. It just means you have more room to pull IRA income before taxable income goes positive again.

Correct. The room is real but it's bounded. Once you've filled it with IRA withdrawals, additional IRA income starts being taxed normally. There's a ceiling to the "free" space.

At 64 you're close to RMDs starting. One argument for Roth conversions now is that every dollar converted reduces your future RMD base. If the RMDs would otherwise push you into higher brackets or IRMAA surcharges later, converting at zero effective rate now is a planning win that extends beyond this single year.

IRMAA is the one that bites people. Medicare premiums are based on income from two years prior, so a big Roth conversion year at 64 shows up in premiums at 66. Worth modeling that tradeoff explicitly.

Paul R.

Author

That two-year lookback is something I didn't have on my radar. So converting aggressively at 64 could raise my Medicare Part B and D premiums at 66 even if taxable income returns to zero after.

The 83(b) election and RSU side of this community doesn't quite apply here, but just noting: if any of your appreciated stock in the brokerage account has a very low basis from early purchases or inherited shares, the basis rules differ. Inherited stock gets a stepped-up basis to fair market value at date of death under Publication 551, so harvesting those gains might show minimal actual gain. Worth checking your cost basis on 1099-B before deciding which lots to harvest.

Paul R.

Author

Some of the stock is inherited. So the basis would be the FMV at date of death not what the original owner paid?

That's right. And under Publication 551, inherited property is treated as long-term regardless of how long you personally held it. So no short-term gain risk on inherited lots. Your broker may or may not have the correct inherited basis on file — worth confirming before you sell.

Charitable deductions from a DAF — you got the deduction when you funded the DAF, not when grants go out, right? I want to make sure the deduction you're counting is in the right year. If you funded it last year, the deduction already happened. The DAF grants themselves don't generate another deduction.

Paul R.

Author

Yes, funded it this year so the deduction is current year. The grants are going out this year too but I know only the contribution to the DAF gets the deduction.

State taxes matter here too. If your state has income tax, IRA withdrawals may be taxable at the state level even if federal taxable income is zero. Some states don't allow the same itemized deductions or don't have the same LTCG rates. The federal math being clean doesn't mean the state math is the same.

Paul R.

Author

Good point. My state taxes retirement income, so an IRA withdrawal that's federally free isn't necessarily state-free.

For the gains harvesting specifically: watch the wash sale rules if you plan to repurchase similar positions after selling. Wash sale rules apply to losses, not gains — so if you're harvesting gains there's no wash sale issue. But if you're also harvesting some losses in the same sweep, selling at a loss and buying back a substantially identical security within 30 days before or after the sale disallows the loss per Publication 550. The disallowed loss gets added to the basis of the repurchased shares.

Repurchase timing. I'm on that step currently and it's easy to accidentally trigger a wash sale on the loss side when you're doing a combined gain/loss harvest in the same account.

If you decide to do IRA withdrawals and want to treat some as a Roth conversion, make sure the custodian codes it correctly. A conversion goes on Form 8606. You'll get a 1099-R with distribution code 2 (under 59½) or 7 (59½ or older) and the conversion is tracked on Form 8606 Part II. At 64 you're past 59½ so no early distribution penalty, but the form still matters for tracking basis if you have any after-tax IRA contributions.

Paul R.

Author

No after-tax contributions to the traditional IRA so basis tracking on 8606 is simpler. But I'll make sure the custodian flags it as a conversion not just a withdrawal.

To pull the threads together: itemized deductions offset ordinary income first. Use that space for IRA withdrawals or Roth conversions at zero or low effective rates. LTCG at 0% may already be available on the gains side independently through the stacking worksheet on Schedule D. NIIT and IRMAA are the two external forces that can change which choice is better. The exact crossover point is a function of your specific numbers and a CPA or enrolled agent can run the actual projection.

Paul R.

Author

This is the framework I needed. I'll model the NIIT threshold and the IRMAA lookback before I commit to any particular dollar amount. Thanks everyone.