Can you tax loss harvest a 401k? Tried to ask the IRS and got nowhere
Every article I read about tax loss harvest strategies talks about brokerage accounts and taxable portfolios. My 401k took a pretty big hit earlier this year and I started wondering whether the same idea applies inside a retirement account. My plan is through my employer and I've been contributing for about six years. When I tried to call the IRS at 800-829-1040 to ask a general question about how 401k contributions and losses are treated, I sat on hold for what felt like forever and the line eventually just ended the call without connecting me to anyone. I know the IRS isn't a financial advisor but I figured someone could at least point me to the right form or publication. Can you tax loss harvest a 401k, or is this just not a thing the IRS recognizes the same way?
73 comments

Mateo Martinez
Wages and withholding for 2025 not matching what my employer reported — that was my situation when I finally reached someone at the IRS. The W-2 my employer sent showed a different withholding number than what my pay stubs added up to, and my return had already been filed. Claimyr (claimyr.com) sat on hold on 800-829-1040 for me; the representative who picked up pulled up the wages and withholding reported for 2025 under my SSN and read me the exact figures the IRS had on file. Video on reaching a live person at the IRS: https://youtu.be/_kiP6q8DX5c. The figures matched my employer's W-2, not my stubs, so the rep suggested I go back to payroll to reconcile. On your 401k question: the IRS treats a traditional 401k as a tax-deferred account, meaning the money goes in pre-tax and growth isn't taxed until withdrawal. Because you haven't recognized any gain or loss yet while the money sits inside the plan, there's no loss to harvest in the way that term is used for a taxable brokerage account. That's why every article you're reading points to taxable accounts — that's where the harvesting actually applies. For the specific tax rules around 401k losses or distributions, the IRS's site or a tax professional is really the place to go, since the answer depends on your own situation.
0 coins
Aisha Hussain
My withholding discrepancy last year turned out to be a mid-year payroll system switch my employer did in June. Never would have caught it without comparing the W-2 to my final December stub. The point about the 401k being pre-tax is exactly the distinction nobody explained to me when I first started reading about tax loss harvesting — I assumed it worked everywhere.
0 coins
Ethan Clark
Pre-tax deferral is the piece I kept missing too. My contributions come out before federal income tax is calculated on my paycheck, so there's genuinely no taxable event happening inside the plan year to year.
0 coins
Nia Wilson
AuthorThe withholding situation sounds like a headache. And the pre-tax explanation actually clicks for me now — if I haven't paid tax on the gains, there's no mechanism to realize a loss either. That makes sense.
0 coins
StarStrider
403b through my school district operates the same way on this point. Contributions go in pre-tax, everything grows tax-deferred, and when I asked my plan administrator about harvesting losses they looked at me like I'd asked to borrow their car. The concept just doesn't translate to accounts where the tax event hasn't happened yet. Roth 401k contributions work differently in that they go in after-tax, but even there the growth is sheltered, so the same harvesting logic still doesn't apply the way it does in a regular brokerage account.
0 coins
Nia Wilson
AuthorRoth 401k contributions being after-tax but still not harvestable — I had not thought through that angle at all. So the tax shelter cuts both ways.
0 coins
Yuki Sato
Exactly right on both. The tax protection is what makes retirement accounts valuable, and it's also why the loss harvesting tool doesn't fit inside them.
0 coins
Carmen Ruiz
My Roth IRA confused me on this for the same reason. After-tax money goes in, but once it's in there you can't pull out a loss to claim on your return while the account is still open and growing.
0 coins
Andre Lefebvre
Around March of this year I went through something adjacent to your situation. I had a brokerage account and a rollover IRA at the same firm and kept mixing up which account my losses were in. The losses in the brokerage account were real and harvestable. The ones in the IRA were not. My tax preparer finally drew me a diagram: taxable account losses show up on Schedule D; inside an IRA or 401k, there's no Schedule D event while the money stays in the plan. That's the wall you're hitting.
0 coins
Nia Wilson
AuthorSchedule D being the dividing line is a useful way to frame it. If the transaction doesn't generate a Schedule D entry, there's nothing to harvest.
0 coins
Zoe Alexopoulos
My preparer said the same thing to me after I asked about losses inside my IRA two years ago. The form is the clearest signal — if the account doesn't produce a 1099-B, the loss isn't showing up anywhere you can use it.
0 coins
Jamal Anderson
1099-B not being issued for retirement account activity is the practical tell. My broker sends one for my taxable account every year; the retirement accounts produce nothing of the kind.
0 coins
Mei Wong
Return status showing 'still being processed' in the IRS Online Account from the time I filed on extension in September through mid-November — that was my own situation before I decided to call. Claimyr sat on hold with 800-829-1040 and I got to a live agent who checked my return's status on the account. The representative confirmed the return was received and in processing, with no notice issued or missing document flagged at that point. I ended up checking Where's My Refund again about two weeks later and the status had moved. On the 401k question, I'd add that if you ever fully withdraw from a 401k after retiring and your total contributions ended up exceeding what you got back (unusual, but possible in certain plan types), there's a narrow question about whether a loss is deductible at that point — but that's a situation for a tax professional to look at, not something to figure out from general reading.
0 coins
Nia Wilson
AuthorExtension filer here too — September 15 for my partnership return, different animal but same anxiety watching it sit at 'still being processed' for weeks. And noted on the narrow withdrawal scenario; I'm nowhere near that stage but good to know there are edge cases worth asking a professional about.
0 coins
QuantumQuasar
My extension return from October is still processing and I've been refreshing Where's My Refund every few days. Good to hear the status does eventually move.
0 coins
Aisha Hussain
The edge case at full plan withdrawal is something I'd never considered. My 401k is growing for now so it's not my immediate concern, but that's worth filing away.
0 coins
StarStrider
My plan balance dropped a lot in the past 18 months and for a brief moment I was wondering if I'd ever recover contributions. Good reminder that if that extreme scenario did happen, it's a question for a professional, not a DIY research project.
0 coins
Liam McGuire
You mentioned sitting on hold until the line dropped — that happened to me twice in a row trying to reach 800-829-1040 about a withholding question earlier this year. What finally worked was calling at 7 a.m. local time when the lines first open. Got through in about 20 minutes that day. The IRS says wait times average around 15 minutes outside filing season, but on some lines it runs longer. I won't pretend my experience matches that average.
0 coins
Amara Eze
My early morning attempts have gone better too, though it's not a guarantee. The one time I tried on a Monday it still took a long time — Mondays seem heavier.
0 coins
Nia Wilson
Author7 a.m. is worth a shot. I tried mid-morning and that's when I hit the dead end. Will try first thing next time.
0 coins
Ethan Clark
Filing season timing matters too. The IRS itself says the average goes up outside of January through April. I'm not sure I believe the 8-minute filing season average but the direction of it makes sense.
0 coins
Giovanni Greco
My HR department actually handed me a one-pager when I enrolled in my 401k that had a line about tax loss harvesting — except it was specifically about the brokerage window option some plans offer. If your plan has a self-directed brokerage window, you can hold individual stocks or ETFs inside the 401k through it. But even then, selling at a loss inside that window doesn't create a harvestable loss on your tax return for the same reason: it's still inside the tax-deferred wrapper. The loss just changes your account balance; it doesn't create a deductible event outside the plan.
0 coins
Nia Wilson
AuthorMy plan actually does have a brokerage window option that I've never used. Good to know that even with individual securities in there, the wrapper still blocks the harvesting mechanism.
0 coins
Yuki Sato
Brokerage windows inside 401ks trip a lot of people up on this. The added flexibility doesn't change the fundamental tax treatment of the account itself.
0 coins
Fatima Al-Farsi
Honestly the IRS phone line is set up to handle notices, refund questions, payment plans — the stuff tied to your specific account. A broad question about how a type of account is taxed is going to be a rough experience on that line. The representative can confirm what's on your account but they're not going to walk you through investment strategy. For the conceptual question you're asking, IRS Publication 590-A and 590-B cover IRAs in detail, and the instructions for Schedule D cover capital losses. Those won't answer the 401k question directly but they'll show you the structure. The plan document from your employer and a tax professional are the right resources for 401k-specific rules.
0 coins
Nia Wilson
AuthorPublication 590-A is one I hadn't looked at. I'll start there even though it's IRA-focused, just to understand the tax-deferred structure better before I go further.
0 coins
Carmen Ruiz
Schedule D instructions were actually how I figured out the taxable vs. retirement account divide for myself. If a transaction isn't generating an entry there, it's not a tax event you can act on.
0 coins
Zoe Alexopoulos
The plan document from the employer is underused for this kind of question. Mine had a section on distributions and taxation that answered a few things I'd been wondering about for months.
0 coins
Dylan Wright
BEEN SAYING THIS FOR YEARS and nobody listens — the IRS phone line is not equipped to answer hypothetical tax questions and people get frustrated when they can't get a straight answer on something the representative genuinely can't rule on. It's not that they're unhelpful. The line is for account-specific stuff: what do I owe, did my payment post, what does this notice mean. 'How is my 401k taxed in this scenario' is a question for a CPA or enrolled agent, full stop. The IRS's site has publications for a reason.
0 coins
Nia Wilson
AuthorFair point, and I think I was setting myself up for that frustration by calling with a conceptual question rather than an account question. Noted for next time.
0 coins
Sofia Torres
The distinction between account-specific and policy questions is real. My enrolled agent has been invaluable for the 'how does this work' questions; the IRS line I use for 'what does my account show'.
0 coins
GalacticGuardian
My situation last spring was different — I had moved funds inside my 401k from one fund to another and received absolutely nothing tax-wise because of it. No 1099, nothing. That confused me because in my brokerage account the same kind of move would have triggered a 1099-B. The plan administrator confirmed that intra-plan transfers don't generate taxable events. That's the clearest illustration I've found of why the harvesting concept doesn't apply: you can sell at a 'loss' and reinvest inside the plan and the IRS never sees it as a transaction at all.
0 coins
Nia Wilson
AuthorIntra-plan transfer producing nothing tax-wise is actually a perfect illustration. The IRS has no visibility into that move because there's no taxable event to report.
0 coins
Andre Lefebvre
My brokerage account generates a 1099-B every year just from dividend reinvestment and a couple of small sales. The contrast with my 401k statements, which show the same kind of activity with zero tax paperwork, really does make the structure clear.
0 coins
QuantumQuasar
My 403b had the same thing — I rebalanced in January and expected some kind of tax document. Nothing came, and when I asked the plan administrator they confirmed that's correct. Took me a while to trust that answer.
0 coins
Sofia Torres
Enrolled agent here, and the question you're asking is one of the most common points of confusion I see. Tax loss harvesting is a strategy that works specifically in taxable accounts because those accounts generate recognizable gain and loss events. A 401k is designed so that you defer recognition entirely until distribution. You're not 'recognizing' anything while the money is inside the plan, so there's nothing to harvest. The IRS's rules on this follow from the basic structure of qualified plans under the tax code, but how they apply to your specific plan and situation is worth going over with a professional who can see your whole picture.
0 coins
Nia Wilson
AuthorDeferring recognition entirely — that's the phrase that finally makes the whole thing click. No recognition inside the plan means no event to harvest. Thank you for the clean explanation.
0 coins
Liam McGuire
The 'recognition' framing is exactly what my CPA used when she explained it to me. Once I understood that piece the whole structure of retirement accounts made more sense.
0 coins
Amara Eze
My enrolled agent used almost the same language last tax season. Deferral means there's no current-year event for the IRS to see, which is the point of the account in the first place.
0 coins
Carmen Ruiz
My brokerage account and my Roth IRA are at the same custodian, and for a long time I looked at them as basically the same thing. Sold something at a loss in the Roth and expected it to show up on my Schedule D. It didn't, and when I asked the custodian they explained that the account type controls whether a loss is a tax event. The Roth protects the gains; it also absorbs the losses. The IRS never sees either one while the account is active. That realization reframed how I look at all my accounts.
0 coins
Aisha Hussain
My Roth realization came the same way — a sale inside it that I expected to 'do something' on my return and then nothing on Schedule D. The custodian's explanation was more useful than any article I'd read.
0 coins
Giovanni Greco
Same custodian for multiple account types makes it easy to forget they're treated completely differently for taxes. The statements look the same; the tax treatment is not.
0 coins
Dmitry Smirnov
Reply or document on record was what I needed confirmed before I could move forward on a CP2000 response I had mailed in September. Claimyr kept the line with 800-829-1040 and I reached an agent who confirmed the IRS had received my response and the supporting documents I sent. The agent told me a notice would be mailed with the next steps and to watch for it and reply by whatever date it carried. On the 401k thread: the reason harvesting doesn't work inside a 401k is the same reason a loss inside a Roth doesn't show up on your return — the account is a container the IRS doesn't look inside until money comes out.
0 coins
Nia Wilson
AuthorCP2000 situation sounds stressful — glad you got confirmation the documents were received. And the 'container' framing is probably the simplest version of this explanation I've seen in this whole thread.
0 coins
Zoe Alexopoulos
The container analogy is what I'm using from now on. Everything inside is invisible to the IRS's tax machinery until a distribution event opens the lid.
0 coins
Ethan Clark
My CP2000 response last year sat for weeks before I could get any confirmation. Good to know there's a way to actually verify on the account.
0 coins
Amara Eze
My financial planner told me something similar about Roth conversions and the harvesting question. When you convert from traditional to Roth, that's a distribution event and it does show up on your return — but even there, you're recognizing income, not a loss. The loss you're seeing on your statement is a paper loss inside a tax-deferred account; it only becomes a real event if you take a distribution and can demonstrate your total distributions fell below your total after-tax contributions, which is rare and complicated.
0 coins
Sofia Torres
The Roth conversion point is well-made. Conversion creates a taxable event — but it's income recognition, not loss harvesting. People sometimes conflate 'this conversion happened' with 'I can now claim my losses' and those are two completely different things.
0 coins
Nia Wilson
AuthorRoth conversion as an income event rather than a loss event is a distinction I had not made clearly in my head. That's another question for my tax person before I do anything.
0 coins
QuantumQuasar
My 403b dropped more than 20% in one quarter earlier this year and I had the exact same instinct you did — surely there's something I can do with these losses before the year ends. The answer my plan administrator gave me, and what everyone here is confirming, is that the loss isn't yours to use until the money comes out. It's locked inside the tax deferral. Frustrating but it's also the tradeoff for the deferral benefit.
0 coins
Nia Wilson
AuthorThe tradeoff framing helps. You get the deferral on the gains, and the flipside is the losses stay locked in too. It's the same shelter working in both directions.
0 coins
StarStrider
My plan balance looks similar and I had the same instinct this fall. The deferral benefit really does cut both ways — which is exactly why the accounts exist.
0 coins
Yuki Sato
Locking in losses as the cost of locking in gains is a simple way to explain it. I'm going to use that the next time someone asks me about this.
0 coins
Jamal Anderson
Taxable brokerage account is the right venue for the harvesting strategy, and it's worth noting that even there the wash-sale rule limits what you can do — you can't sell at a loss and immediately buy the same or substantially identical security within 30 days on either side of the sale. Some people think the wash-sale rule doesn't apply inside a retirement account because retirement accounts are tax-advantaged. That's a misread: buying a substantially identical security inside an IRA or 401k within the wash-sale window on a loss sale in your taxable account can disallow the loss. The IRS's Publication 550 covers this. It's a reason to coordinate across all your accounts when harvesting losses in a taxable account.
0 coins
Nia Wilson
AuthorWash-sale rule reaching across from my taxable account into my retirement account is something I genuinely did not know. That's exactly the kind of thing I would have gotten wrong without asking.
0 coins
Sofia Torres
The cross-account wash-sale issue is one of the most commonly missed points in DIY tax loss harvesting. Publication 550 is the right reference — and a tax professional looking at all your accounts is worth it if you're doing this actively.
0 coins
Andre Lefebvre
My broker sent me a wash-sale alert last December when I tried to reinvest in my IRA right after a taxable sale. I didn't know it was an issue until that alert showed up. Good catch included in this thread.
0 coins
Yuki Sato
Rebalancing inside a 401k is actually one of the underappreciated advantages of the tax-deferred structure. Because there's no taxable event when you sell and rebuy inside the plan, you can move from one fund to another freely without thinking about capital gains. The same rebalancing in a taxable account could trigger a 1099-B and a Schedule D entry. So while you can't harvest the losses, you also aren't penalized for rebalancing — which is part of the same deal.
0 coins
Nia Wilson
AuthorHad not thought about rebalancing being penalty-free inside the 401k as the upside of the same rule. That's actually a real benefit I should be taking advantage of more actively.
0 coins
GalacticGuardian
My rebalancing moves inside the plan are completely free from a tax standpoint and I do them once a year. The same moves in my taxable account I have to plan carefully. Same custodian; completely different calculus.
0 coins
Aisha Hussain
W-2 discrepancy from earlier this year — my employer switched payroll vendors in July and the year-to-date figures on my stubs didn't roll over correctly into the new system. When I filed, my numbers matched the W-2 my employer submitted, but the mid-year gap had me worried. The IRS Online Account let me see the wages and withholding the IRS had on file for 2025 without having to call anyone, which was a relief. On the main topic: the 401k question is one where a wage and income transcript won't help you either — it shows what employers reported, not what's happening inside a plan.
0 coins
Nia Wilson
AuthorWage and income transcript showing employer-reported figures rather than plan internals is a useful distinction. I hadn't thought about what the transcript would even show in this scenario.
0 coins
Mateo Martinez
The IRS Online Account showing wages and withholding on file is exactly what I needed before I decided to call. Having those numbers in hand before reaching an agent made the conversation much faster.
0 coins
Zoe Alexopoulos
My tax preparer last year pulled up my IRS Online Account together with me during our meeting to show me what the IRS actually had on record versus what I thought was there. Eye-opening. The account shows W-2 and certain 1099 data the IRS received, plus transcripts. It doesn't show anything from inside a 401k or IRA — consistent with everything said here about those accounts being invisible to the IRS until a distribution.
0 coins
Nia Wilson
AuthorMeeting with the preparer and looking at the IRS Online Account together is something I should do before next season. I've been treating my 401k and my taxable account as interchangeable when planning and clearly they aren't.
0 coins
Carmen Ruiz
My preparer did the same walk-through with me after I had questions about what the IRS had on file. Seeing the wage and income transcript live answered questions I'd had for two years.
0 coins
Ethan Clark
Deferral being the whole point of the account is what finally got through to me. My 401k contributions reduce my taxable income now. The IRS isn't taxing the growth inside. When I eventually withdraw, that's when the income is recognized and taxed. There's no mechanism anywhere in that structure for me to claim a loss while the money is still in the plan. The loss you're seeing on your statement is a change in your account balance, not a tax event.
0 coins
Nia Wilson
AuthorContributions reducing current-year taxable income, deferring recognition until withdrawal, no tax event in between — that's the clearest end-to-end summary of what I was missing. Appreciated.
0 coins
Giovanni Greco
The statement loss vs. the tax event is the distinction that took me the longest to internalize. My account balance goes down on paper but the IRS hasn't seen any of that money yet, so there's nothing to report.
0 coins
Liam McGuire
Your original question is a good one and comes up a lot when markets drop. The short answer that everyone here has landed on is correct: you cannot tax loss harvest a 401k in the way that phrase is used. The tax event isn't there to harvest. For what it's worth, if you want to understand the rules for your specific plan type and situation, an enrolled agent or CPA who handles investment taxation is better positioned than the IRS phone line. The IRS line is excellent for account questions — a notice, a balance, a payment — but tax strategy questions are outside what a representative is set up to answer.
0 coins
Nia Wilson
AuthorEnrolled agent for the strategy questions, IRS line for the account questions — that's the division I'm going to keep in mind. I conflated the two when I called and that's partly why I got nowhere.
0 coins
Dylan Wright
Exactly the right way to frame the two channels. The IRS representative is looking at your account; an enrolled agent is interpreting the rules for your situation. Different jobs.
0 coins
Sofia Torres
An enrolled agent with investment tax experience is really the right call for anything involving coordination between a 401k, an IRA and a taxable account. The rules interact in ways that require knowing all three.
0 coins