Where to find my HSA contributions on W2 — box 12 code W or something else?
Pulling together a late-filed 2025 return this fall because I switched jobs twice last year and never got around to it. My HR portal says I put money into an HSA through payroll, but I can't tell where to find my HSA contributions on W2 paperwork. There's a lot of letters and numbers in box 12 on both of mine. One employer's form has a code W, the other one I honestly can't make heads or tails of. Is it supposed to be one number or split up? And if I lost one of the W-2s, is there any way to see what the IRS has?
69 comments

Adrian Hughes
Did you think box 1 would show the HSA money too? I used to assume the HSA number was hiding in the wages box. Employer contributions and payroll contributions made through a cafeteria plan are reported in box 12 with code W, so look down in box 12 on each form for a letter W next to a dollar amount. Form 8889 on the IRS's site is the one that asks for it, and its instructions say how to fill it in.
0 coins
Lara Woods
AuthorBoth W-2s have a box 12 but only one shows a W. The other has a DD and a couple of other letters, so I'm guessing the second employer just didn't do HSA contributions?
0 coins
Molly Chambers
DD is something else, I believe, it's usually the cost of employer health coverage and not an HSA line. I'd ask that employer's payroll office what each letter on yours stands for rather than guess.
0 coins
Ian Armstrong
Does the amount in box 12 W include what you put in yourself? Mine looked way higher than what I remembered setting aside, and I started wondering if my employer chipped in too.
0 coins
Adrian Hughes
If your payroll deductions went through a cafeteria plan then yes, those usually show up in code W along with anything the employer added. Your HR portal or the HSA custodian's year-end statement should split it out so you can see which part was yours.
0 coins
Ian Armstrong
Ok I'll pull the custodian statement tonight. Pretty sure the employer put in a flat amount each quarter.
0 coins
Eli Butler
The 2025 return I'd already filed showed a refund, and in September the IRS posted a letter asking for a reply, so I needed to know whether my answer had actually landed. I used Claimyr (claimyr.com) to sit on hold on the IRS line, and when a representative picked up I asked if my reply to that letter was on record. They said the reply had been received and showed me the date it was logged. Claimyr's video on reaching a live person at the IRS: https://youtu.be/_kiP6q8DX5c
0 coins
Lara Woods
AuthorDoes the 800-829-1040 number work for something like a missing W-2 too, or only for letters you already got?
0 coins
Eli Butler
I only phoned about my letter, so I can't say how they handle a missing W-2. Have your employer's name and address ready if you try it.
0 coins
Marcus Patterson
The IRS's own page says to ask your employer first and check your online account, and then phone if it's still missing at the end of February.
0 coins
Lydia Bailey
Hang on, what's a code W actually do to my taxes? If it's pre-tax does that mean my box 1 is already lower?
0 coins
Adrian Hughes
I can't tell you how it changes your tax, since that depends on your own return. The Form 8889 instructions on the IRS's site walk through what goes where, and a tax professional can answer it for your situation.
0 coins
Lydia Bailey
Fair enough, I'll read the instructions before I start guessing.
0 coins
Mateo Warren
If I could do it again I'd skip the web searches and just open Get Transcript first. For a lost W-2 the wage and income transcript lists what the IRS received from employers for that year, and you can see it in the IRS Online Account after signing in with ID.me or Login.gov. It won't be a pretty copy of the form but the wages and withholding figures are there.
0 coins
Lara Woods
AuthorDoes the wage and income transcript show box 12 codes though? That's the part I actually need for the HSA.
0 coins
Mateo Warren
I'm not certain it lists the box 12 detail the way the paper form does. I'd ask your employer for a copy of the W-2 itself for that part.
0 coins
Sofia Price
Right, the transcript is a record of what the IRS has on file, not a copy of your form. Your employer or the HSA custodian is the better source for the contribution breakdown.
0 coins
Alice Coleman
We got a 1099-SA in the mail and a couple of friends said that's the HSA form too, so I thought that was where contributions live. Is it the same thing as the W-2 line?
0 coins
Adrian Hughes
They're different. The W-2 box 12 code W reports what went in through payroll, and a 1099-SA is about money taken out. Form 8889 asks about both, which is why people mix them up.
0 coins
Alice Coleman
Oh so I've been staring at the wrong paper. Found it now, thank you.
0 coins
Owen Jenkins
My employer told me they'd mailed the W-2 and I waited until nearly March for nothing. Eventually I got a copy from the payroll department directly. Do you at least know which employer's form is missing?
0 coins
Lara Woods
AuthorThe first job, the one I left in June. I'll email their payroll people tomorrow.
0 coins
Owen Jenkins
Give them the exact dates you worked and your address from back then, that sped mine up.
0 coins
Mateo Warren
A refund I was owed got reduced and I couldn't tell why, so I asked the IRS what was on my account. Claimyr kept the line while I sat on hold, and when the representative picked up I asked about the amount that had been taken off. They said an offset of a set dollar amount had been applied to the refund and that I would get a notice from the Treasury showing which agency got it. I read that notice when it came to find out the rest.
0 coins
Lilah Brooks
Did the notice come from the IRS or from some other office? I've never dealt with an offset.
0 coins
Mateo Warren
It was the Treasury's Bureau of the Fiscal Service that sent mine, with the original refund, the offset and the agency.
0 coins
Marcus Patterson
Tax account and tax return transcripts keep getting mixed up. The return transcript is most of what you filed, the account transcript shows changes after filing. Neither is a substitute for the W-2 but both help when you're missing paperwork. The IRS Online Account at https://www.irs.gov/your-account is where I'd start.
0 coins
Ian Armstrong
Wait I thought the return transcript showed everything the IRS has. So wage stuff is separate?
0 coins
Marcus Patterson
Yes, the wage and income transcript is the one with the W-2 data your employers reported. The return transcript is what you put on your own return.
0 coins
Sofia Price
Because I filed late, I read that the IRS says to file every return that's due even if you can't pay it all. Is that how it works here, I think someone said you can't file if you owe?
0 coins
Adrian Hughes
The IRS's own guidance is to file all returns that are due whether or not you can pay in full. If a balance results there are payment plan options.
0 coins
Lara Woods
AuthorI'm not expecting to owe but good to know it's not a reason to hold off.
0 coins
Jackson Carter
I'm so frustrated. Every single year the IRS makes things harder than they need to be, hours of reading just to find one letter in a box! Why can't the form just say HSA on it!!!
0 coins
Kolton Murphy
Because the box 12 codes are the same across all employers, it's the IRS's standard layout. W is the HSA one, D is a 401(k). You get used to it.
0 coins
Jackson Carter
Fine, but it's still not exactly friendly.
0 coins
Lara Woods
AuthorHonestly agree, I stared at that box for twenty minutes.
0 coins
Evelyn Rivera
What does the IRS say about whether you can contribute to an HSA if you changed jobs mid year?
0 coins
Adrian Hughes
That's a question about eligibility and limits and I don't want to guess at a rule. The Form 8889 instructions on the IRS's site cover it, or a tax professional can look at your own situation.
0 coins
Evelyn Rivera
Makes sense, I'll look at the form.
0 coins
Julia Hall
My cousin told me you can just estimate the HSA number from your paystubs and nothing bad happens. Is that okay?
0 coins
Adrian Hughes
I wouldn't, since the amount should match what your employers reported on the W-2. If a W-2 is missing, get a copy first. A wage and income transcript can at least show what the IRS has.
0 coins
Julia Hall
Okay, I'll ask for the actual form then.
0 coins
Lilah Brooks
My W-2 from the first employer finally arrived, but the address on it was my old apartment. The wage and income transcript lists what the IRS received, so I wanted to be sure my mailing address on file was current before more paper went out. I phoned the IRS line and the representative confirmed the address they had on file. When I asked, I found out I'd given a different ZIP code on an old filing, and they read me what they had.
0 coins
Lara Woods
AuthorDoes the address on file only matter for mail, or does it affect e-filing too?
0 coins
Lilah Brooks
I only dealt with mail. The IRS sends notices and transcripts by mail to whatever's on file, so I wanted that right.
0 coins
Adrian Hughes
I'd treat the W-2 as the source for box 12 and the HSA custodian's statement as the cross-check. The two should agree on the payroll contribution amount, and if they don't, your payroll office can explain the difference. Form 8889 asks for the code W amount, so you'll need it right before you file.
0 coins
Lara Woods
AuthorThe custodian statement is a good idea. I'll compare them before I finish the form.
0 coins
Ian Armstrong
Same, I want to match mine to the statement too.
0 coins
Molly Chambers
My payment toward the balance I thought I'd made last month still showed as unpaid on the IRS Online Account, and I wanted the date it actually posted. I used Claimyr to hold the IRS line, and the representative who picked up gave me the date the payment posted. They said it had posted the day I'd expected, so I stopped worrying and checked the account again after that.
0 coins
Lydia Bailey
Did the online account catch up after that, or did you have to do anything else?
0 coins
Molly Chambers
It updated on its own after a bit, I didn't need to do anything.
0 coins
Arjun Patel
I filed my own late return a couple of years back and the best thing I did was keep every statement together before sitting down. HSA statement, W-2s, even the payroll emails. It made filling out Form 8889 about ten minutes.
0 coins
Lara Woods
AuthorThat's my plan now. I've started a folder.
0 coins
Arjun Patel
Good luck, it's less scary once it's all in one place.
0 coins
Owen Jenkins
If the IRS ever sends you a notice about your return, answer by the date on it. For anything about your return that's still unresolved after the normal time, the Taxpayer Advocate Service at https://www.taxpayeradvocate.irs.gov/ can help, it's free and part of the IRS.
0 coins
Lara Woods
AuthorHopefully I won't need it but I'll remember that.
0 coins
Sofia Price
TAS doesn't promise to take every case, it depends on your situation, but it's a good fallback.
0 coins
Lydia Bailey
Posting my little update as someone who just went through this: box 12 had a code W on one form and my HSA custodian's year-end statement matched it exactly. The other form had no W at all, which meant that employer didn't put anything in. Nice to have it match.
0 coins
Lara Woods
AuthorThat's reassuring. Mine should match the same way.
0 coins
Adrian Hughes
If the numbers agree you're in good shape. If one W-2 is still missing, get a copy before you file.
0 coins
Kolton Murphy
If you can't get the missing W-2 in time, Form 4852 is the substitute form the IRS offers when one doesn't arrive. You'd still want to try the employer and the wage and income transcript first.
0 coins
Lara Woods
AuthorGood to know there's a fallback. I'll email payroll first.
0 coins
Marcus Patterson
And keep a note of when you asked them, in case you do end up needing it.
0 coins
Ian Armstrong
Update on my end: HSA custodian statement arrived and it matched box 12. Employer had put in a flat amount each quarter like I thought, plus my own payroll deductions. All lined up with code W.
0 coins
Lara Woods
AuthorGlad it matched. I'm going to do the same comparison this weekend.
0 coins
Adrian Hughes
That's the easiest case. Now Form 8889 asks for the code W figure.
0 coins
Lara Woods
Update from the original poster: I emailed my first employer's payroll about the missing W-2 and they said they can send a copy. In the meantime I looked at my other W-2 and the code W matches my HSA custodian's year-end statement. Waiting on the second form before I finish the late return.
0 coins
Marcus Patterson
Sounds like you're on track. Check the wage and income transcript if the copy doesn't come.
0 coins
Owen Jenkins
Give them a deadline, they usually move faster when there's a date.
0 coins