Should I sell series I bonds or taxable stocks first for home repairs?

Trying to figure out whether to sell series I bonds or taxable stocks first for home repairs on my roof — estimate came in around what I have sitting in both accounts so I could pull from either. The I bonds were bought in 2021 and 2022, so the 2022 ones (and any from December 2021) aren't past the five-year mark yet and would lose the last 3 months of interest to the penalty if I cash them now. The taxable account has a mix: some positions are up, one lot is down about $4k from what I paid. I'm in the 22% bracket roughly. I already looked at the holding periods — everything in the taxable account is long-term. What I can't figure out is whether cashing the I bonds first or selling the stocks first (maybe harvesting that loss) actually changes my tax picture for this year. Is there a right order here, or does it just depend on the numbers?

35 comments

What's the size of the gain on the positions that are up? That matters a lot. If your long-term gains are in the 0% bracket for your filing status and income, selling the winners costs you nothing federally and you'd be giving up the I bond interest deferral for no tax reason. But if you're solidly in the 22% bracket you're likely in the 15% long-term rate, which changes the math.

Raj L.

Author

Total unrealized gain on the up positions is roughly $6k combined. The losing lot is down about $4k. So net if I sold everything it'd be around $2k of gain. Does that change which to sell first?

I had almost the same question last spring — I bonds maturing alongside a taxable brokerage with mixed lots. I uploaded my 1099-B and my prior year return to taxr.ai and it mapped out which lots carried the wash sale risk and which didn't, so I knew exactly what I was looking at before I called my broker. Anyway, on the actual question: I bond interest is ordinary income in the year you cash them. Long-term capital gains get their own rate. Those are two different tax characters and that's really the crux of the decision.

Raj L.

Author

So the I bond interest just stacks on top of my W-2 income and gets taxed at my marginal rate? I think I assumed it might be treated like a capital gain for some reason.

Yes, exactly — it's interest income, so it goes on Schedule B and flows to Form 1040 as ordinary income. No special rate. That's why the comparison with long-term capital gains isn't apples to apples.

Are you planning to do all the repairs in one tax year or could you split the cash need across two years? Because if you can pull some now and some in January you might be able to spread the ordinary income from the I bonds.

The loss lot is the piece I'd think about carefully. You said it's down $4k. If you sell it and then buy back a substantially identical position within 30 days before or after, the loss gets disallowed as a wash sale and the disallowed amount just gets added to the cost basis of the new shares. So if you're harvesting that loss to offset the gains on the other positions, make sure you actually stay out of the position for 30 days on both sides.

Raj L.

Author

Good catch — I wasn't planning to rebuy immediately but I should write that date down. The wash sale window is 30 days on each side, right, not just after?

Correct, 30 days before the sale or 30 days after. And it also applies if your spouse buys the same security or if you acquire it inside an IRA or Roth IRA during that window — the loss is still disallowed even though the IRS won't see it on a 1099-B in those cases.

Does your state tax I bond interest? Federal is straightforward — it's exempt from state and local tax — but that's one place where cashing bonds can look better than it does on the federal return alone.

Raj L.

Author

I'm in a state with income tax so that is actually a meaningful difference. Hadn't thought about the state side at all.

If you net out your gains and losses in the taxable account first, you're looking at roughly $2k of long-term net gain. At the 15% long-term rate that's a relatively small federal bill. The I bond interest is ordinary and hits your marginal rate. So purely on rate, the taxable account with the loss harvest looks cheaper to access than the I bonds, assuming you can stomach not rebuying that losing position for 30 days.

Raj L.

Author

That framing actually helps. So sell the loser to offset most of the winners, pay long-term rate on the remaining $2k net gain, and leave the I bonds alone to keep deferring the ordinary income. That's the direction I'm leaning.

That's the basic logic. Keep in mind the net long-term gain flows to Schedule D and then to Form 1040 — worth running the actual numbers with your full income picture before you pull the trigger, because phase-ins and other income can shift which bracket you're really in.

What software are you using to track your lots? Some brokers show you the tax impact before you place the sell order, which makes it a lot easier to pick which specific shares to sell.

Raj L.

Author

My broker has a tax lot selector but I haven't used it much. I'll look at that before I place any order. Good reminder.

Went through this with I bonds and a brokerage account two years ago. I gave Taxr my 1099-B and had it check whether my broker's reported basis matched what I calculated — it found two lots where the basis looked off because of a reinvested dividend I'd forgotten about. Fixed those before I filed. On your situation: the holding period for the I bonds doesn't affect the tax character of the interest — it's always ordinary income whenever you cash them, whether that's year three or year twenty.

Raj L.

Author

So there's really no tax advantage to waiting longer on the I bonds from a character standpoint, just the deferral of recognizing that ordinary income until you actually cash them?

Exactly. The only tax lever with I bonds is timing — which year you recognize the income. There's no rate break for holding them longer, unlike stocks where holding past a year gets you long-term treatment.

Are the home repairs deductible at all? Like if any of this qualifies as a capital improvement to the home rather than a repair, it adds to your basis and affects gain when you eventually sell.

The Form 8949 piece is worth noting if you do sell the taxable lots: each lot gets its own line. Short-term lots go in Part I, long-term in Part II. Since yours are all long-term you'll be in Part II, checking box D, E or F depending on whether your broker reported the basis to the IRS. Most covered securities have basis reported, so box D is typical. The loss lot gets code W in column (f) only if you trigger a wash sale — if you stay clear of the 30-day window on both sides, no code needed.

Raj L.

Author

So if I cleanly harvest the loss with no repurchase in the window, it's just a normal long-term loss entry on Form 8949 Part II with no adjustment column needed?

Right. A clean loss with no wash sale issue just goes in as proceeds in column (d), basis in column (e), and the loss shows naturally in column (h). No code, no column (g) adjustment required.

I had Taxr read through my Schedule B and Form 8949 together after I cashed some I bonds and sold a few lots in the same year — it flagged that I'd entered the bond interest in the right place but hadn't carried the total forward to Form 1040 correctly. Small thing but it would have been a mismatch. On the broader question here: if you do cash the I bonds, the interest goes on Schedule B line 1, then flows to line 2b on Form 1040 as taxable interest. It doesn't touch Form 8949 at all.

Raj L.

Author

That's a useful distinction — two completely separate forms depending on what I sell. I bonds hit Schedule B, stock sales hit Form 8949 and Schedule D. Got it.

Does anyone know if you can cash only part of an I bond or do you have to redeem the whole thing? Asking because if you only need part of the funds it might matter.

TreasuryDirect lets you do partial redemptions as long as you leave at least $25 in the bond. So you don't have to cash the whole thing — you can take exactly what you need and leave the rest deferring.

Raj L.

Author

That's really useful — I didn't know partial redemptions were allowed. Changes the calculus a bit if I end up needing to pull from both.

One thing I'd double-check: if your total capital loss ends up exceeding your capital gains after the harvest, the excess loss you can deduct against ordinary income in a single year has a cap. Any amount beyond that cap carries forward to future years. The Schedule D instructions and Topic 409 on irs.gov walk through how the carryover worksheet works.

Raj L.

Author

In my case the net is still a small gain after the offset so I don't think I hit that, but good to know the rule exists for the carryover.

Are you keeping records of the repair invoices regardless? Even if it's maintenance and not a capital improvement, documentation is good practice in case the IRS ever asks about basis when you sell the home.

The interest deferral on I bonds is genuinely valuable if you're in a high ordinary income year. But if this is a relatively normal income year for you, the gap between your long-term capital gains rate and your marginal ordinary rate might not be as large as you'd think, and the loss harvest in the taxable account could cover most or all of the gain anyway.

Raj L.

Author

Yeah the net gain after the loss harvest is small enough that it's pretty clearly the cheaper route. I think I've made up my mind — sell the taxable lots, harvest the loss, leave the I bonds alone for now.

Worth mentioning: Publication 550 on the IRS site has a section on holding periods and a chapter on wash sales with the specifics on the 30-day window, the basis adjustment rule, and how to report disallowed losses on Form 8949 if you do accidentally trigger one. Useful to have bookmarked if you're managing this yourself. The address is irs.gov/publications/p550.

Good reference. The wash sale chapter there also covers the IRA/Roth IRA scenario — a lot of people miss that buying back in a retirement account still disallows the loss on the taxable sale.