Back to IRS

NebulaKnight

Which box on W2 shows HSA contributions? Mine has a code I don't recognize

New job this year, first time I've ever had an HSA through an employer. My W-2 came in the mail and I'm trying to figure out where my contributions are listed. I see boxes 1 through 20 and a bunch of little letter codes in box 12, but I honestly can't tell which box on W2 shows HSA contributions. I'm also not sure whether the number there includes only what my employer put in or also what came out of my paychecks. Late filer situation here, I'm trying to get everything together this fall for the 2025 return. Anyone know where to look?

You're hunting for the little letter codes in box 12 on the W-2. The HSA line there is usually marked with a code W, and the amount next to it is what the employer contributed, including anything that came out of your paycheck pre-tax through the employer's cafeteria plan. The form's own instructions on the IRS's site spell out the codes, and I'd read those rather than guess from memory.

0 coins

Found a W with an amount next to it, so that must be it. I'd been staring at boxes 1 and 3 thinking it'd be in there somewhere.

0 coins

Box 1 won't show it, I just checked mine. The pre-tax HSA amount is simply left out of that wages number, which is why my box 1 looks smaller than my last paystub total.

0 coins

Right, and that's the part that confuses everyone. Take the code W figure to whoever prepares your return or read the HSA form's instructions on the IRS's site, because how it flows onto your return is a separate question from where it prints.

0 coins

I checked all four corners of my W-2 last week and the only place my HSA money shows up is box 12. Mine also has a second code next to it for something else, so be careful you're reading the right line and not the one beside it.

0 coins

There are two lines in my box 12 as well, one starting with a D and one with a W. I'm reading the W one.

0 coins

Good, mine has D too. That's a different thing entirely, so you're looking at the right one.

0 coins

Back in April the e-file for my 2025 return was accepted, and by the fall the payment I'd sent toward my balance still wasn't showing on my account. I was looking at my W-2 box 12 code W the same week, because the HSA number needed to match what I'd entered. Claimyr (claimyr.com) sat on hold on the IRS's line while I did other things. Then an IRS representative picked up and I asked them for the date my payment posted, and they read it off my account and told me it was in the spring. Claimyr's video on reaching a live person at the IRS: https://youtu.be/_kiP6q8DX5c

0 coins

My balance question is separate from the W-2, but the payment posting date thing sounds like what I need to ask about too.

0 coins

What I asked was just the date the money landed on my account for that tax year. The representative gave me the date and that settled it for me.

0 coins

Got a payment I made in June that I can't see yet either. I'll look at the account's payment history first.

0 coins

If your employer used a cafeteria plan, the W-2 amount in box 12 code W already includes your payroll deductions. So you wouldn't add your own paycheck contributions on top of it. I spent an evening doing that math and got a number twice what it should have been.

0 coins

That's exactly what I was worried about, double counting. My paystub shows a pre-tax HSA line, so those are probably the same dollars.

0 coins

Yep, mine matched my stubs added up for the year. If yours doesn't match, your payroll office can tell you what they included.

0 coins

Same here, the payroll office told me the W-2 figure and my year-end stub totals were the same money.

0 coins

I'm panicking a little because I don't see any code W on mine at all. I have an HSA but the W-2 box 12 has just a D with some number. Did my employer mess up? I filed late already and now I'm scared I did it wrong.

0 coins

A D is typically for a 401(k) contribution, not an HSA, so you're likely right that there's no W. If you contributed to an HSA on your own, outside payroll, it wouldn't be on the W-2 at all. Ask your payroll office, and check the HSA form your bank sent you.

0 coins

I opened my savings app and I did put money in on my own, from my bank account, not through work. That explains the missing W, I guess.

0 coins

Same for me, my own deposits are on a separate form from the HSA bank, not on the W-2. I looked at mine yesterday and it's right there.

0 coins

Honestly the W-2 is the worst designed form ever. Fourteen boxes plus a box 12 with its own alphabet soup, and the IRS wonders why people get it wrong! I've mixed up the box 12 codes in the past and had to redo things.

0 coins

Ha, I felt that. I nearly entered the box 3 number as my HSA amount.

0 coins

Box 3 is a wages figure, it's not where your HSA amount lives. Stick with box 12 and the code letter.

0 coins

The letter said the IRS had my old apartment on file, and my W-2 was sent to that same address instead of my new one. Claimyr waited on hold on the IRS's line for me. When a representative came on, I asked them about the address on file, and they read it back and it was the old apartment. I got the employer to reissue the W-2 to the right place afterward and the HSA code W line was right there in box 12.

0 coins

Mine came to the right address, but I hadn't even thought of checking that the IRS has the right one on file.

0 coins

Wrong address was my whole problem, so I asked just that. I only wanted to confirm what was on file for me.

0 coins

Rented a place for a year and my mail forwarding quit, so address on file is something I'm going to check too.

0 coins

In my box 12 there's both a code W and a second line, and it confused my brother-in-law too. His said W but with a smaller number than he expected because part of his HSA money was his own deposits after tax. Those go on the form from the HSA bank, not the W-2.

0 coins

So my after-tax deposits wouldn't be in the W number. I only have the payroll one, so it should match.

0 coins

If it's all payroll, then yes it'd be the W line only. If you ever put in extra yourself, the bank's own form lists it.

0 coins

What worked for me was pulling my wage and income transcript from the IRS Online Account to compare against the W-2 I got in the mail. It lists what my employer reported, so I could see whether the HSA amount on paper matched. My W-2 box 12 and the transcript lined up.

0 coins

I'd have to sign in with ID.me for that, right? I'll try it tonight.

0 coins

I signed in with ID.me, yes, then went to the transcripts part. Mine showed the wages and the employer's reporting for the year.

0 coins

A wage and income transcript shows data from the W-2s the IRS received. It's useful for checking the wages and withholding, and it's free through the online account.

0 coins

Does the W-2 box 12 code W show up on every W-2 for people with HSAs? I'm asking because I have two jobs this year and only one has a W line. Is that normal?

0 coins

I had two employers last year and only the one with the HSA plan listed a W. The other had nothing in box 12 at all, which was fine.

0 coins

That makes sense, only one job offered the account. I just wasn't sure if the other should have had something.

0 coins

In October of this year I mailed a 1040-X because I'd mislabeled my HSA amount on the original and wanted to fix it. Weeks went by with nothing, and the amended return tool didn't help. Claimyr stayed on hold on the IRS's line while I got on with my day. A representative picked up, and I asked about the received date of my 1040-X, and they told me the date it was logged. That gave me something to anchor my wait to.

0 coins

I might need to amend too if I got the HSA number wrong on mine. The amended return tool seems like where I'd check.

0 coins

It showed up in the tool a few weeks after I mailed it, and the IRS's own timing is 8 to 12 weeks, sometimes up to 16.

0 coins

I've been checking mine daily and it hasn't changed. Three weeks is when mine should first appear.

0 coins

If you filed late, you might get a notice about it. I'd just keep every W-2 and HSA form in one folder so you can answer fast. I owe a bit on mine and the notice said to pay by the date on it.

0 coins

I did file late, yes. If a notice comes I'll follow whatever the date on it says.

0 coins

The date is on the notice itself. Paying by that date avoids more interest, so I made sure I knew what mine said.

0 coins

A letter about my 2024 return arrived with a response date, and my W-2 for the HSA was one of the things I had to match up. Claimyr kept the line on hold for me, and I ended up speaking with a representative. I asked about the notice's date and what it asked me for, and they said it was dated in late August and asked for a signed copy of a form. After that I sent it in by the date printed on the notice.

0 coins

My situation hasn't gotten that far, but if a notice shows up I'll know to ask what it's asking for.

0 coins

I only asked what the letter wanted and when, so I could send the right paper in time.

0 coins

Same kind of thing happened to me, a letter with a date and I wasn't sure what to send.

0 coins

My W-2 has the amount in code W but my HSA bank form shows a bigger contribution total. The difference was my own after-tax deposits, which don't show up on the W-2. I had it backwards at first.

0 coins

That clears up what I was wondering about the difference. Two forms, two sets of money, then.

0 coins

Right, the W-2 only has the payroll side. The bank form covers everything that went into the account.

0 coins

My HSA bank form arrived in a separate envelope, so I almost missed it entirely.

0 coins

Does a missing W-2 happen a lot? Mine didn't come until after I'd already started on my return. The employer said to check the online account first.

0 coins

Check the IRS Online Account and ask the employer first. If it still hasn't come by the end of February, call the IRS with the employer's name and address, and Form 4852 is the substitute when you can't wait.

0 coins

I ended up getting mine from my employer's payroll portal, which showed the same box 12 W line.

0 coins

This is the third time I've explained this to a coworker. The HSA amount is box 12 code W. That's it, that's the answer. Everyone makes it more complicated than it needs to be.

0 coins

Honestly that's the answer I needed. Box 12, code W, employer plus pre-tax payroll.

0 coins

Fair, though the instructions on the IRS's site are the place to double check the codes if yours looks different.

0 coins

I was expecting my refund by now and it's still processing. Does a wrong HSA number on the return slow things down? I'm wondering if I made an error with my W-2.

0 coins

A mistake such as a math error or something that needs correcting can hold up a refund, the IRS says, but I can't tell you if that's your case. Where's My Refund shows status, and a notice would explain a problem.

0 coins

No notice yet, so I'll keep waiting and keep checking Where's My Refund rather than assume the worst.

0 coins

I'm in the same boat, no notice either. The IRS says e-file refunds are about 3 weeks, mail is longer.

0 coins

One more way to cross-check your W-2: the IRS Online Account also shows W-2s and certain 1099s the IRS has on file for you. I opened mine and the HSA line was in the same box 12 spot as my paper copy.

0 coins

I'll compare the online copy with my paper one tonight. Thanks for pointing that out.

0 coins

Mine matched. If yours doesn't, ask the employer which one is right before you file.

0 coins

My tax preparer told me to bring both the W-2 and the HSA bank form every year, because they do different jobs. W-2 for the payroll side, the other form for the account itself.

0 coins

I'll get both ready. My preparer hasn't asked yet but I'd rather have everything together.

0 coins

Mine always wants the stack in one folder, saves a back and forth.

0 coins

Wrapping up what I took from this: box 12, code W, amount shown. Is that really all there is to finding HSA contributions on a W-2?

0 coins

For payroll contributions, yes, it's box 12 with code W. Your own after-tax deposits aren't on the W-2, they're on the form the HSA bank sends.

0 coins

So that's my answer too. Code W in box 12, and my bank form for anything I added myself.

0 coins

Matches what I checked on my own paperwork. Good luck with the late filing.

0 coins

IRS AI

Expert Assistant
Secure