Back to IRS

Diego Rojas

Does 401k show on pay stub and affect what the IRS sees on my W-2?

Started a new job back in March and enrolled in the company 401k right away — they take out a percentage each pay period. Looking at my stub, I see a bunch of deduction lines but I'm not sure which one is the 401k contribution and whether that pre-tax amount actually changes what shows up on my W-2 at the end of the year. Basically trying to figure out if the IRS ends up seeing my full gross salary or the lower number after the 401k comes out. Also noticed my federal income tax withholding looks lower than I expected and I can't tell if that's connected to the 401k deduction or if my W-4 is just set up wrong. Anyone dealt with this?

November on a payment plan and the monthly amount on my IRS Online Account didn't match the letter I'd gotten back in September — I needed someone to tell me which number was right. Claimyr (claimyr.com) stayed on hold with 800-829-1040 while I went about my day, and when an agent picked up I asked about my installment agreement. The representative pulled up the account and read me the current monthly payment amount and the next due date; the September letter had the original terms and the online account reflected a later adjustment, so the account number was the correct one. Video on reaching a live person at the IRS: https://youtu.be/_kiP6q8DX5c. After that I set up autopay through the online account so the adjusted amount would pull on the right date going forward.

0 coins

My online account showed a different amount than my paper agreement too — I had no idea which one to trust until I phoned. Good move confirming it directly.

0 coins

The adjusted amount being different from the original letter tripped me up for two months. The account is the live version; the letter is a snapshot of what the terms were when it was printed.

0 coins

Pre-tax 401k contributions are taken out before federal income tax withholding is calculated, so yes, they lower the taxable wages your employer reports to the IRS. The W-2 your employer sends you in January will show your reduced taxable wages in Box 1, and your 401k contribution for the year in Box 12 with a code. The IRS sees Box 1, not your gross salary, for income tax purposes. That's why your federal withholding looks lower — there's less taxable income to withhold from.

0 coins

So the W-2 Box 1 number being lower than my gross is correct and expected — not an error I need to worry about?

0 coins

Exactly right. The difference between your gross and Box 1 should roughly equal your 401k contributions for the year. If the math doesn't add up when you get the W-2, that's when you'd want to ask your payroll office.

0 coins

Learned this the hard way my first year at a job with a 401k. Filed and was confused why Box 1 was so much less than my offer letter salary. Payroll explained it and suddenly the whole thing made sense.

0 coins

Your pay stub should have a section for deductions and a separate section for pre-tax deductions specifically. The 401k line is usually labeled with something like '401k', 'Ret', 'DCRET' or whatever your employer's payroll system calls it — your HR or payroll office can tell you exactly which line is which. The important thing is that it shows up under pre-tax deductions, not post-tax, because that's what determines whether it lowers your Box 1 wages or not.

0 coins

Mine says '401K PRE' on the stub — sounds like that confirms it's the pre-tax one?

0 coins

401K' PRE is a pretty clear label for pre-tax. Still worth confirming with payroll that'it s a traditional 401k and not a Roth 401k, because Roth contributions are post-tax and show up differently on the W-2 — they'don t reduce Box1.

0 coins

The Roth vs. traditional distinction is huge and so many people miss it when they first sign up. HR should have given you the enrollment paperwork that says which type you're in.

0 coins

Wait I thought 401k contributions didn't show up on taxes at all until you withdraw? So why would it matter to the IRS now?

0 coins

The IRS still needs to know the contribution happened — it shows in Box 12 of the W-2 so they can track that you're within the annual contribution limit. It's not taxed now, but it's reported. When you eventually withdraw in retirement, that's when the tax kicks in.

0 coins

Oh okay that makes more sense. I was confusing 'not taxed yet' with 'not reported at all'. Thanks for clearing that up.

0 coins

A lot of people mix those two things up. The reporting and the taxing are separate steps that happen years apart.

0 coins

My first stub at a new job had seven deduction lines and I genuinely couldn't decode half of them. Called HR and they walked me through every single one — 401k, health insurance, dental, HSA, the works. If your stub is confusing, HR is really the fastest answer because they know your specific payroll system's labels.

0 coins

Might just call HR Monday. I wanted to understand the tax angle first so I didn't go in completely lost.

0 coins

That's smart. Knowing what Box 1 means before you call HR means you can ask a sharper question about your specific deduction lines.

0 coins

Social Security and Medicare taxes are still taken out on 401k contributions even though federal income tax isn't — just so you know. So your OASDI and Medicare lines on the stub are based on your full gross wages, not the reduced amount. That part doesn't go down just because you're contributing pre-tax to the 401k.

0 coins

That explains why those two lines seemed high relative to my federal withholding. Didn't realize they worked differently.

0 coins

The Medicare and Social Security boxes on the W-2 (Boxes 3 through 6) will show the higher gross-based amounts, while Box 1 shows the lower federal-income-tax wages. It looks inconsistent but it's correct.

0 coins

Exactly. And Boxes 3 and 5 should match each other (unless you hit the Social Security wage base), and they'll both be higher than Box 1 by roughly your 401k contribution amount.

0 coins

Withholding looking different than expected reminded me of a situation I had earlier this year. My W-2 from my previous employer looked off — the wages reported didn't match what I had calculated from my stubs. Claimyr kept the line open with the IRS while I had the number ready, and when the agent answered I asked about the wages and withholding the IRS had on file for that tax year. The representative told me the exact figures the employer had reported, and they matched my employer's records, not my own running total — I'd been miscounting the pre-tax deductions all year.

0 coins

Knowing what the IRS actually has on file vs. what I calculated myself sounds like a sanity check I might need too before I file.

0 coins

A wage and income transcript through the IRS Online Account shows the W-2 data the IRS received from your employer. I pulled one for the previous year and it had all the Box figures broken out — that's how I figured out where my count went wrong.

0 coins

Wage and income transcripts are underused for exactly this. Available through the online account for the current year and several prior years.

0 coins

My W-4 situation probably applies here too. When I enrolled in the 401k I didn't update my W-4 and was confused when my withholding went down. It went down because less taxable income was left after the pre-tax deduction, not because of any W-4 change. The IRS's Tax Withholding Estimator is worth running if you want to check whether your current W-4 is still set up right for the new take-home and contribution amount.

0 coins

I'll run the estimator. I was worried I'd accidentally set something wrong on my W-4 at onboarding.

0 coins

If you filed your W-4 without claiming any extra deductions or credits and left the rest at the default, the lower federal withholding after the 401k enrollment is probably just the math working correctly.

0 coins

The estimator is genuinely useful for this. It asks about your expected income, deductions and other withholding and spits out whether you'll owe or get a refund when you file.

0 coins

There's a Box 12 code on the W-2 that flags the type of retirement plan contribution. Traditional pre-tax 401k contributions use Code D. Roth 401k contributions use Code AA. If you can find out from your employer which code your W-2 will show, that tells you exactly how your contribution is being treated for tax purposes without having to decode the stub labels.

0 coins

I never knew the Box 12 codes meant specific things. So Code D means the contribution already reduced Box 1 taxable wages?

0 coins

Right — Code D with an amount in Box 12 means traditional pre-tax 401k, and that amount should be roughly the difference between your total wages and Box 1.

0 coins

The W-2 instructions on the IRS's site at https://www.irs.gov/ list all the Box 12 codes if you want to look them up before January.

0 coins

HR told me something that stuck: the pay stub is your employer's document, not an IRS document. The W-2 is what the IRS actually works from. So stub labels can be in any format the payroll software uses, but the W-2 boxes are standardized. If you can read your W-2 boxes, you know exactly what the IRS sees.

0 coins

That reframing helps. I was trying to map stub lines to IRS categories directly and it was making my head spin.

0 coins

The only stub lines that map cleanly to IRS boxes are the federal tax withheld line (matches W-2 Box 2), Social Security withheld (Box 4), and Medicare withheld (Box 6). Everything else on the stub is in your employer's own format.

0 coins

Around the third week of October my Where's My Refund status hadn't updated since I filed my 2024 return on extension back in September. Claimyr sat on hold with 800-829-1040 for me, and once I was on with a live agent I asked about the status of that return. The representative confirmed the return was received and was still being processed, and said a notice would go out if anything else was needed from me. I decided to give it another few weeks before checking again.

0 coins

An extended return filed in September being processed through October and into November is pretty standard. The IRS works through the backlog from extension filers after the main season closes.

0 coins

Good to know confirming with an agent is an option when the online tool isn't updating. I've been staring at the same status screen for weeks.

0 coins

The transcript in the IRS Online Account sometimes shows a bit more detail on where things stand than Where's My Refund does, though for a recently filed extension return neither might update much until processing moves further along.

0 coins

My payroll person told me to check the year-to-date column on the stub rather than just the current-period column if I wanted to understand my 401k contributions. The YTD 401k number is what should show up in Box 12 of your W-2 at year end, so running that comparison in January when you get your W-2 is a quick way to verify everything was reported correctly.

0 coins

Using the YTD column as a check against Box 12 — that's a practical tip I would not have thought of on my own.

0 coins

And if YTD on your last December stub doesn't match Box 12, that's exactly the conversation to have with payroll before you file. Usually it's just a rounding difference, but occasionally there's an error.

0 coins

My YTD on the final stub matched Box 12 to the dollar both years I checked. It's a good two-minute verification worth doing.

0 coins

Enrolled in a 401k mid-year at my current job and was paranoid about whether the pro-rated amount would be handled right. Asked HR to send me a summary of what they'd report to the IRS and they had a form ready showing the exact contribution amount. Most payroll departments can give you that if you ask — saves the guesswork.

0 coins

Didn't know HR would have a summary like that. Good to know I can ask for it rather than trying to add up stub-by-stub.

0 coins

Usually it's called a benefits statement or a 401k contribution summary. The name varies by company but most HR teams know what you mean when you ask for the total pre-tax retirement contribution for the year.

0 coins

My federal income tax withholding genuinely looked wrong for three months after I bumped my 401k contribution. I kept thinking I'd made a W-4 mistake and was going to owe a huge bill in April. Ran the Tax Withholding Estimator in December and it showed I was actually on track to get a small refund. The lower withholding was just because less of my paycheck was federally taxable.

0 coins

This is exactly the scenario I was afraid of. Good to hear the estimator caught it and you weren't under-withheld.

0 coins

The estimator asks for your YTD withholding and expected annual income, so running it in November or December gives you a pretty accurate picture before you file. I run it every fall now when I'm thinking about next year's W-4.

0 coins

Running it in fall rather than waiting until you file is the right call. Gives you time to adjust the W-4 and have a few more paychecks correct the withholding before year-end if needed.

0 coins

Roth 401k confusion is worth flagging here because a few people I know enrolled in a Roth 401k thinking it worked the same as traditional for taxes and were surprised when Box 1 on their W-2 was the same as their gross salary. With Roth the contribution is post-tax, so it doesn't lower Box 1. The Box 12 code will be AA instead of D. Neither is wrong — they're just taxed at different times.

0 coins

My enrollment docs said 'traditional pre-tax 401k' so I think I'm in the right one for what I'm expecting, but I'll double-check the Box 12 code when the W-2 comes.

0 coins

If your enrollment confirmation says pre-tax traditional you're set. The Box 12 Code D in January will confirm it.

0 coins

Payroll offices are honestly the most underused resource for stub questions. The IRS sets the rules on what the boxes mean and how the taxes work, but the stub's specific label names are entirely your employer's payroll system's format. Payroll is the right call for 'what does this line mean on my stub' and the IRS is the right call for 'is the Box 1 amount correct.

0 coins

So basically two different help lines depending on what the question is — that's a helpful way to split it.

0 coins

Payroll for the stub, IRS for the W-2. And if the W-2 itself has an error, the first step is still going back to the employer to get a corrected W-2 (a W-2c) rather than calling the IRS right away.

0 coins

The employer issuing a W-2c is the fastest fix for a reporting error. If the employer won't issue one and you've tried, then Form 4852 is the substitute route for filing.

0 coins

My stub had a 'Deferred Comp' line that I initially thought was separate from my 401k. Turned out it was the same thing — my employer's payroll software called the 401k contribution 'Deferred Comp' because that's the technical term for it. So don't panic if the label doesn't literally say '401k' — your enrollment docs and HR can confirm which line is the retirement contribution.

0 coins

Mine does say '401K PRE' so I'm probably fine, but good to know the labels can vary that widely.

0 coins

401K' PRE is pretty direct as payroll labels 'go. Deferred'Comp ','DCRET ',' 403b for nonprofit 'workers,' TSP for federal employees — the label depends on the system and the plantype.

0 coins

Even 'EE CONTRIB' shows up sometimes, which stands for employee contribution. HR really is the decoder ring for stub labels.

0 coins

The fact that Social Security and Medicare are still taken from the full gross even when you contribute pre-tax to a 401k means your stub will never look perfectly proportional. Federal income tax withholding will be lower than you might expect relative to gross, but the Social Security and Medicare lines will be higher relative to Box 1. They're both calculated from different bases.

0 coins

The 2026 Social Security wage base is $184,500, so if you're not near that number, Social Security is being taken on every dollar of gross regardless of 401k contributions.

0 coins

Exactly — most people's wages are well under the Social Security wage base so it's a consistent percentage all year. Medicare has no wage base at all, so it's taken on every dollar, always.

0 coins

And the Additional Medicare Tax applies to wages above $200,000 in a year. For most people that's not relevant, but if you're close to that number your stub will show a higher Medicare line in those pay periods.

0 coins

Went back and checked my own stubs after the first year I contributed to a 401k and everything matched the W-2 exactly the way people here are describing. Box 1 was lower, Box 3 and 5 were at gross, Box 12 had the Code D amount, and the YTD 401k line from my last December stub equaled the Box 12 amount. The whole thing is consistent once you know what to look for.

0 coins

Having a checklist of what should match what (YTD stub vs. Box 12, gross vs. Box 3 and 5, net taxable vs. Box 1) is really useful. I'm going to write that down for January.

0 coins

That list covers the main ones. The only other check worth doing is making sure Box 2 (federal income tax withheld) on the W-2 matches the YTD federal tax withheld line from your last stub. Those four comparisons will catch most errors.

0 coins

If you end up with a refund because too much federal income tax was withheld — which can happen when people newly enroll mid-year and payroll takes a few periods to calculate correctly — you'd see it when you file your 1040. Where's My Refund would track it after you file. The 401k contribution itself doesn't generate a refund; it just changes the taxable wage base.

0 coins

Makes sense. The refund or amount owed comes from how the actual tax on Box 1 wages compares to what was withheld in Box 2 over the year.

0 coins

Exactly that. And if there's a shortfall, the Tax Withholding Estimator run now can tell you whether to adjust your W-4 for the last couple of paychecks of the year or whether you're close enough to let it settle at filing.

0 coins

Mid-year enrollment corrections sometimes show up only when you file. Mine resolved to a small refund rather than a bill, which I preferred even though I could have adjusted earlier.

0 coins

HR at my job puts a one-page explanation in the onboarding packet that explains every deduction line. I didn't read it at the time and spent months confused about the same stuff you're asking about. If yours gave you anything like that at sign-up it might answer the stub label question without needing to call anyone.

0 coins

I actually do have that packet somewhere. Going to dig it out and see if it maps the lines. Would have been smarter to read it in March honestly.

0 coins

Nobody reads those packets in March. Everyone reads them in November when their stub looks weird. You're on schedule.

0 coins

Truer than it should be. HR knows people come back with questions months later and they're usually happy to explain it again.

0 coins

An IRS wage and income transcript is also available for the current tax year after the data has been reported — usually by late January or early February. Pulling one through the IRS Online Account at https://www.irs.gov/your-account after you get your W-2 lets you confirm the IRS received exactly what your employer reported. If the two match, you know the right data is what you're filing against.

0 coins

So I could actually verify the IRS's copy of my W-2 data before I file, not just trust that the form I receive in the mail is correct. That's reassuring.

0 coins

The transcript might be available a bit earlier for some employers than others depending on when they filed. By mid-February it's usually there for everyone. Worth checking before you file, especially your first year at a job with a new payroll system.

0 coins

Pulling the wage and income transcript is a step I skipped for years. After an employer filed a corrected form I didn't know about and my return didn't match, I started checking it every year. Caught a discrepancy once that would have flagged my return.

0 coins

IRS AI

Expert Assistant
Secure