W2 form 401k contribution — Box 12 code D vs my Box 1 wages, which one is right?
Got my W-2 from the new employer in the mail and I'm staring at it. Box 1 wages is a lot lower than what my final paystub showed as gross pay, and there's a code D in Box 12 with a number next to it. I've been putting money into the 401k since spring and I think that's what the gap is, but I wasn't sure whether the 401k contribution is supposed to show up in Box 1, Box 12, or both. I filed on extension this fall for tax year 2025 and I'm about to submit, so I don't want to type in the wrong box. Anybody read their own W-2 like this and know what the code D means?
53 comments

NeonNinja
In my first year with a 401k I filed using the paystub gross instead of the W-2, and my return was off. Your payroll office is who says what Box 12 code D stands for on their own forms, and the IRS's Get Transcript has a wage and income transcript that shows what your employer actually reported. If your Box 1 is lower than your gross pay, that's consistent with pre-tax money going into a retirement plan, but check the form's instructions on the IRS site for how it counts on your return.
0 coins
Diego Vargas
AuthorI'll pull the wage and income transcript tonight. Is that the same thing as the tax return transcript? I keep mixing those up.
0 coins
Anastasia Popov
Pretty sure both show the same wages so either works? Mine looked identical last year.
0 coins
Sean Murphy
Dated October 14, a notice in my mailbox said my return didn't match the wages the IRS had on file, and my own W-2 had a code D in Box 12 just like yours. Claimyr (claimyr.com) waited on hold with the IRS for me, and then I was talking with an IRS representative who read me the notice's date and said the letter was asking for a reply by the date printed on it. Claimyr's video on reaching a live person at the IRS: https://youtu.be/_kiP6q8DX5c. I brought the letter and my return up on the table while we talked, and the rep never touched the code D question, that stayed between me and my payroll office.
0 coins
Diego Vargas
AuthorDid the notice name a specific box or line, or just say the wages didn't match? Mine's a W-2 so I'm trying to figure out if I could end up in the same spot.
0 coins
Zara Khan
Doubt the mismatch is on you though. Mine turned out to be a typo my employer made on the W-2 itself, and a corrected one fixed it. Check with payroll before you assume you did something wrong.
0 coins
Luca Ferrari
Do both numbers on my W-2, Box 1 and Box 3, get compared with the paystub or is it only Box 1? Mine are different and I panicked a little.
0 coins
NeonNinja
Box 3 and Box 1 can differ, and your payroll office can tell you why on their own form. For the paystub, compare each total to the matching box, and ask payroll about anything that doesn't line up.
0 coins
Luca Ferrari
Ok, I'll email them tomorrow. Thanks for not making me feel dumb about it.
0 coins
Zara Khan
401k deferral amount on my W-2 sat in Box 12 with a letter next to it for years and I never read it once. Employer's W-2 instruction sheet explained the codes. Ask yours if they have one.
0 coins
Diego Vargas
AuthorNever thought to ask for an instruction sheet. Emailing HR in the morning.
0 coins
Nia Davis
After weeks of nothing on my refund tied to a return with a 401k contribution on the W-2, the date and amount on my account were what I needed. Claimyr waited on hold with the IRS and I ended up with a representative who told me the refund had been issued, the amount on record, and the date it went out. Everything else I read off the notice the IRS sent afterward.
0 coins
Mateo Martinez
That sounds close to mine, did the amount match your return or was it smaller than what you filed for?
0 coins
QuantumQueen
Didn't know the account would show the issued date. I'm going to check mine against the paystub withholding too.
0 coins
Aisha Rahman
Don't trust the paystub gross over the W-2. The W-2 is what the IRS has. The paystub is just your employer's internal numbers.
0 coins
Diego Vargas
AuthorRight, that's why I'm checking Box 1 against the wage and income transcript.
0 coins
Ethan Wilson
Careful though, if they differ, ask payroll first before filing. A corrected W-2 is easier than an amended return later.
0 coins
Yuki Sato
Tried the IRS line at 800-829-1040 three separate mornings about a W-2 that never showed up, and each time the recording said they couldn't take my call. Employer eventually mailed it, but only after I gave up on phoning and went through the IRS Online Account to see what the IRS had on file.
0 coins
Carmen Flores
Did the account show W-2s from the year in question? Mine only listed some.
0 coins
Yuki Sato
It showed the W-2s and some 1099s the IRS had received. If yours isn't there, ask the employer first.
0 coins
Andre Dubois
Our balance from last year's return, with a 401k contribution that I thought lowered our wages, came back higher than we expected. Claimyr waited on hold with the IRS, then a representative read me the balance owed for that tax year and said the amount on record. I wrote it down and compared it to the notice we'd just received.
0 coins
Diego Vargas
AuthorDid the notice's amount match what the rep read to you?
0 coins
CyberSamurai
If it doesn't match yours, the notice has a number in the IRS Help section to dispute it. Have your paperwork out when you phone.
0 coins
Zoe Alexopoulos
Last year my first 401k contribution showed up in a paycheck stub as a line I'd never seen, and the abbreviation was the payroll system's own wording. Payroll told me which line was the retirement deferral. The IRS doesn't define paystub abbreviations, so that's who to ask.
0 coins
Diego Vargas
AuthorSame here, my stub has a line that just says 401K with a number. Matches the code D amount, I think.
0 coins
Zoe Alexopoulos
Then compare to the W-2 and ask payroll if anything is off.
0 coins
Jamal Carter
I filed on extension in October, and the e-file got accepted pretty quickly, but the refund is still processing on Where's My Refund. I need the exact amount to check it, so I had to dig the return out again.
0 coins
Diego Vargas
AuthorRight, it asks for the exact refund amount plus filing status and the tax year. Mine's the same, still showing as received.
0 coins
Jamal Carter
Thanks, I thought I was missing something about the tool.
0 coins
Anastasia Popov
Is the 401k amount in Box 12 deducted from my taxable income? Someone told me no, someone told me yes.
0 coins
NeonNinja
How the contribution is taxed on your own return is beyond what I'd state. The form's instructions on the IRS's site, or a tax preparer, can tell you how your own case counts.
0 coins
Anastasia Popov
Fair, I'll ask my preparer. Didn't want to guess.
0 coins
Mateo Martinez
My W-2 showed up in the IRS Online Account weeks before the paper copy arrived. If yours hasn't come yet, ID.me or Login.gov sign-in will let you see wages the IRS has on file.
0 coins
Diego Vargas
AuthorMine came in the mail, but I'll compare it to what's in the account tonight.
0 coins
Carmen Flores
Setting up ID.me took me a while, so budget some time for it.
0 coins
Ethan Wilson
Two years behind on filing and a missing W-2 from a prior employer, I went to the employer first, and when that stalled the IRS line at 800-829-1040 with the employer's name and address on hand. They said to file with Form 4852 if the W-2 never arrives, using what I had from my paystubs.
0 coins
Diego Vargas
AuthorThat's the substitute form, right? I don't have a missing one but good to know.
0 coins
QuantumQueen
Did you have to attach anything else with it?
0 coins
Carmen Flores
On my wife's return the 401k contribution threw off our paycheck taxes too, and we adjusted our W-4 at work after. The IRS's Tax Withholding Estimator helped us fill the new one in, but I won't say what to put on yours.
0 coins
Diego Vargas
AuthorI should probably look at my W-4 anyway, new job and new year coming. Did you change it mid-year?
0 coins
Carmen Flores
We changed it in the fall. Payroll took a pay cycle or two to apply it, then the stub looked different.
0 coins
Aisha Rahman
IRS agents won't tell you how your 401k is treated on a return. They'll read what's on record. Anything else is tax advice and that's a preparer's job, or the IRS's own form instructions.
0 coins
NeonNinja
Agreed, and that's a clean way to put it. The record is what they can speak to.
0 coins
Diego Vargas
AuthorUnderstood, I'll keep my questions to the wage transcript then.
0 coins
CyberSamurai
A filing extension I got for the return didn't extend the payment due date, and I learned that the hard way with a CP14 afterward. If you owe on this return, interest and a late-payment penalty keep adding up until it's paid, so pay what you can.
0 coins
Diego Vargas
AuthorI don't think I owe, but good to know. Is there a payment plan if I do?
0 coins
CyberSamurai
Yes, short-term for 180 days or less, or a long-term monthly plan, both can be applied for online if you qualify.
0 coins
Zoe Alexopoulos
If the code D amount surprised you, ask your payroll office how the deferral was applied by pay period. They have that detail, and the IRS doesn't.
0 coins
Diego Vargas
AuthorEmailed them earlier today. They said they'd send a year-end summary.
0 coins
Zoe Alexopoulos
Good, that will line up with your W-2 totals.
0 coins
Diego Vargas
Update on mine. Payroll sent a year-end summary and my Box 1 matches gross pay minus the 401k deferral shown on the summary, and the wage and income transcript from Get Transcript matches the W-2 too. I'm going to file with the W-2 numbers and check the form instructions for the rest.
0 coins
NeonNinja
Matching W-2, payroll summary and transcript is about as solid as it gets. Hold onto all three with your return.
0 coins
Anastasia Popov
Thanks for posting the update, helped me figure out what to ask my own payroll.
0 coins