Back to IRS

Charity Cohan

What box on W2 shows 401k contributions? My stub and W-2 don't match

Doing a late return this fall because I was on extension and I'm staring at my W-2 trying to find my 401k contributions. Box 1 is lower than my gross pay and I assumed that's the 401k coming out, but I can't tell which box actually lists the amount. There's a bunch of letters in Box 12 too. I changed jobs in the middle of 2025 so I have two W-2s and the preparer I emailed hasn't answered. What box on w2 shows 401k contributions, and is Box 1 supposed to be smaller than what I actually earned?

Two W-2s from one year is what tripped me up too the first time. The 401k money is in Box 12, with a letter code next to the amount. The traditional kind shows as code D. A Roth 401k is code AA. Box 1 is wages after the pre-tax part comes out, so yes, it'll be lower than your gross. Do it per W-2, since each employer reports its own.

0 coins

Thanks. Does the code D amount show up on both of my W-2s or only the job I was at longer? I only see Box 12 filled out on one of them.

0 coins

Each employer only reports what went through its own payroll. If the second job never took 401k out of your pay, its Box 12 just stays blank. That sounds like what you have.

0 coins

Looking at my own W-2 right now: Box 12a says D and an amount. It's exactly the total of the 401k deductions on my last stub of the year. Compare that number against your year-to-date line on the stub and you'll know you found the right one.

0 coins

My final stub has a YTD line for it, so I'll compare tonight. Is the 401k also somewhere in Box 3 or 5 or is that only for the Social Security and Medicare wages?

0 coins

Boxes 3 and 5 are the Social Security and Medicare wages, and from what I've seen on mine those don't have the 401k subtracted the way Box 1 does. For how your own case counts, read the form's instructions on the IRS's site or ask a tax professional.

0 coins

An amended return I mailed in early 2026 was the thing that had me hunting through W-2 boxes, because I'd put the wrong number on the original. When I couldn't get anything from the 1040-X status screen, I used Claimyr (claimyr.com), which waited on hold on the IRS's line for me. A representative picked up and I asked what the received date was on my amended return; it said they had it as received in mid-March and it was still being processed. Claimyr's video on reaching a live person at the IRS: https://youtu.be/_kiP6q8DX5c

0 coins

My preparer is the one who'd file a 1040-X for me if I got it wrong. Did you need the original return in front of you when the representative answered?

0 coins

I had the original handy, along with the W-2s, and it asked for my filing status and the tax year first. Have those ready and you won't scramble.

0 coins

Box 12 letters confuse everybody, and I always thought D meant the dollar amount went on the 1040 line for 401k. Is that right? I'm pretty sure that's how it works.

0 coins

Not quite. The code D amount is just what the employer reports as the elective deferral. It isn't a number you enter somewhere to get a deduction. Box 1 already has it taken out. To see how your own case counts, check the form's instructions on the IRS's site.

0 coins

Ok, so I had it backwards and I'll leave it alone then. Thanks for correcting me.

0 coins

I'm three months past my original deadline and my W-2 is from a job that closed down, so Box 12 is the part I'm worried about. Does a missing code mean I never contributed? The stub said 401k but the W-2 has nothing in 12.

0 coins

A stub line that says 401k with a deduction amount should show up in Box 12 on the W-2. Ask the employer's payroll office to confirm. If you can't reach them, a wage and income transcript from the IRS Online Account shows what the IRS received from them.

0 coins

A wage and income transcript, got it. Is that the same as the tax return transcript? I keep seeing both.

0 coins

Different. The tax return transcript is mostly your return as you filed it. The wage and income transcript is built from the W-2s and 1099s the IRS received. You want the second one for this.

0 coins

I'd never have thought to match the Box 12 code against my stub until now, so that was my takeaway. My employer's payroll office said the stub's pre-tax label is their own wording, not an IRS term. I'd ask yours what each deduction line on the stub is called before you trust it.

0 coins

Mine just says 401K PRE on the stub. I'll email payroll to confirm it matches the D in Box 12. Did yours answer fast?

0 coins

Within two days for me. They sent back a short note saying the stub line and the Box 12 code were the same deduction.

0 coins

WHY is a W-2 so hard to read?? Eight boxes with numbers and then a pile of letters in 12 and nobody tells you which means what. And the IRS site doesn't just say 'here, this one'. Every year the same mess.

0 coins

The letters are listed on the back of Copy B and in the instructions for Form W-2 on the IRS's site. Mine still took a while to find, so I know the frustration.

0 coins

Back of Copy B, I never flipped mine over. That's something at least.

0 coins

A letter dated in the fall asking me to confirm information on my return was what sent me hunting through W-2 boxes. The notice's own number was on it, but I wanted someone to read it against my account. I used Claimyr, which waited on hold on the IRS's line, and then a representative picked up and I asked for the notice's date and what it was asking for. It confirmed the date on the letter and that they wanted a reply by the date printed on it.

0 coins

Mine isn't a notice, just the W-2 question, but I'm keeping the number on the paper in mind. Did you have the return handy when you asked?

0 coins

Yes, the return the notice named was in front of me, plus last year's. Both were asked for.

0 coins

On my W-2, Box 12 has a code D and the amount matched what my stub said, but my paycheck on the new job doesn't show it at all. Did I switch to a Roth by accident? I haven't touched the settings.

0 coins

Your new payroll's stub is the place to look. A Roth deferral would use code AA on a W-2 when it's reported at year end. Ask the new employer's payroll or benefits office what you're enrolled in.

0 coins

I'll ask HR on Monday then. I didn't think the plan would change on its own.

0 coins

A week after I e-filed this fall I realized I'd keyed Box 1 in the wrong spot. I didn't know a 1040-X would be the fix, so I looked it up. Is it right that the amended return status takes about three weeks to even show up?

0 coins

Three weeks after you submit it, yes, and the IRS says to allow 8 to 12 weeks to process, up to 16 in some cases. You need your SSN, date of birth and ZIP to check it.

0 coins

Thanks. I'll stop looking at it every morning then.

0 coins

Where's My Refund showed nothing for my 2025 return for months and I wasn't sure if my W-2 entries were even the problem. After a notice I couldn't read, I used Claimyr, which waited on hold on the IRS's line for me. A representative picked up and I asked about my refund, and it said the amount on record and the date it was issued. That was the number I'd been missing from my bank statement.

0 coins

The amount and date issued, got it. So it's on the account even when Where's My Refund doesn't show it?

0 coins

Not exactly. The representative told me what was on the record, and I read the rest in the notice that came afterward.

0 coins

If your Box 12 amount doesn't match the stub and you can't reach anyone, the Taxpayer Advocate Service can help when something hasn't been resolved. It's free, an independent part of the IRS, and you ask with Form 911 or the number on their page: https://www.taxpayeradvocate.irs.gov/

0 coins

I'll keep that in mind. I don't think my problem is at that stage yet. Do they take a case when the problem is just reading a W-2?

0 coins

They look at cases where someone's in financial hardship from a tax problem or the IRS hasn't resolved it past the normal time. No promise they'll take any particular case, so it's a later step.

0 coins

On my first W-2 I had no clue, so I put my Box 1 amount in the 401k spot on my software. My refund came back smaller than I thought. Does that mean I messed up?

0 coins

Box 1 is your wages after the pre-tax part comes out, so it's not the contribution. The contribution is the Box 12 amount. I can't tell you how it affected your refund. Check the software's summary or ask your preparer.

0 coins

Got it, I'll look at what I typed in against Box 12. Thanks.

0 coins

A stub from the last pay period had my 401k total and I just pointed to that when my preparer asked. They matched it against Box 12 and said it lined up. Easy way to double check.

0 coins

That's what I'm doing tonight. My stub's YTD line against code D.

0 coins

Good call. If they don't match, ask payroll before you file anything.

0 coins

I started a new job in August and my first W-2 came with only a few boxes filled in. Is it normal that the second job's Box 12 is empty when I put money in the plan?

0 coins

If you put money in and the W-2 doesn't show it, that's a question for the payroll office, because their stub line should show in Box 12 on the W-2. I can't say why yours is empty.

0 coins

I'll email payroll. Thanks, I'd rather ask than guess.

0 coins

Box 12 on mine has two entries, D and DD, and I thought they were both 401k. The DD one was my health coverage cost, not a contribution. Check which letter you're looking at before you add them together.

0 coins

Mine has D and then a DD. So that's what the second one is, I'm glad I asked before adding. Do you remember the other letters?

0 coins

Look at the back of Copy B, it lists every letter. I only remember the ones on my own form.

0 coins

Filing late because of a job change and the W-2 mismatch had me worried about penalties. I can only say what the IRS says: there's one for filing late and one for paying late, and a penalty can be removed or reduced for reasonable cause. No promises. The number's on the notice if you get one.

0 coins

I haven't gotten a notice yet. I'll file as soon as the W-2 boxes make sense. Does it matter that I'm on an extension?

0 coins

An extension to file isn't an extension to pay. I can't say how your own balance works out. That's for your preparer or the IRS.

0 coins

My Box 12 code D amount matched the retirement line on my last stub, and Box 1 was lower by exactly that. Took me twenty minutes of staring at the form before I saw it. Check the back of Copy B and your stub and you'll find it.

0 coins

Twenty minutes sounds right, I've been at it longer. Did your preparer need the stub too or just the W-2?

0 coins

Mine only wanted the W-2s. I'd keep the stub just in case you need to point to a number.

0 coins

One more check if you can't match the numbers: the wage and income transcript in the IRS Online Account shows the W-2 data the IRS received from each employer. You sign in with ID.me or Login.gov at https://www.irs.gov/your-account. If it differs from your paper W-2, ask the employer first.

0 coins

I don't have an online account yet. Does it take long to set up?

0 coins

I can't say how long it takes, it depends on you. Have your SSN and a photo ID ready and read what each screen asks.

0 coins

Ok, I'll try that after I check the stub. Thanks for the pointer.

0 coins

Final word from me: D is a traditional 401k, AA is Roth, both in Box 12. Box 1 is lower because of the pre-tax part. Compare the amount to your last stub's YTD line. If it doesn't match, ask payroll.

0 coins

That's the summary I needed. Stub and Box 12 tonight, payroll email tomorrow if they don't match. Thanks everybody.

0 coins

You've got a good plan. If the preparer ever answers, tell them what you found in Box 12 so they don't redo it.

0 coins

IRS AI

Expert Assistant
Secure