Line-item examples
HSA vs. FSA Deductions on a Pay Stub
Quick answer
HSA and health FSA contributions made through payroll under a cafeteria plan are both pre-tax for federal income tax, Social Security and Medicare. The differences are in the account: an HSA requires a high-deductible health plan, belongs to you and rolls over; a health FSA is employer-owned and largely use-it-or-lose-it, with an optional carryover of up to $680 into 2027.
HSA and health FSA compared
| Feature | HSA | Health FSA |
|---|---|---|
| Eligibility | Must be covered by a high-deductible health plan (2026 minimum deductible $1,700 self-only, $3,400 family) | Offered by the employer; no HDHP needed |
| 2026 contribution limit | $4,400 self-only; $8,750 family (includes employer contributions) | $3,400 in employee salary reductions |
| Unused money | Stays in the account and rolls over | Forfeited unless the plan allows a carryover (up to $680) or a grace period |
| Who owns it | The employee; it stays with you if you change jobs | The employer’s plan |
| Taxes when contributed through payroll | Excluded from federal income tax, Social Security and Medicare | Excluded from federal income tax, Social Security and Medicare |
| W-2 reporting | Box 12 code W (employee and employer contributions) | Generally not reported |
Worked example: both deductions on one paycheck
Sam (fictional) earns $3,000 every two weeks and elects $150 per paycheck to an HSA and $100 to a limited-purpose health FSA, both through the employer’s cafeteria plan. Over 26 paychecks that is $3,900 to the HSA (under the $4,400 self-only limit) and $2,600 to the FSA (under $3,400).
| Line | No HSA or FSA | With $150 HSA + $100 FSA |
|---|---|---|
| Gross pay | $3,000.00 | $3,000.00 |
| HSA + FSA (pre-tax) | — | −$250.00 |
| Taxable wages | $3,000.00 | $2,750.00 |
| Federal income tax | −$320.38 | −$265.38 |
| Social Security (6.2%) | −$186.00 | −$170.50 |
| Medicare (1.45%) | −$43.50 | −$39.88 |
| Net pay | $2,450.12 | $2,274.24 |
If Sam contributed to the HSA outside payroll instead, the contribution could still be deducted on the tax return, but Social Security and Medicare on it would not be recovered.
How federal withholding was calculated
- Without: $3,000 × 26 = $78,000; minus $8,600 = $69,400; $5,800 + 22% × ($69,400 − $57,900) = $8,330; ÷ 26 = $320.38.
- With: $2,750 × 26 = $71,500; minus $8,600 = $62,900; $5,800 + 22% × ($62,900 − $57,900) = $6,900; ÷ 26 = $265.38.
Common mistakes
- Forgetting that employer HSA contributions count toward the annual HSA limit.
- Electing a general-purpose health FSA alongside an HSA; only a limited-purpose FSA is compatible with HSA eligibility.
- Expecting FSA money to roll over without checking whether the plan offers a carryover or grace period.
How these figures were calculated
2026 HSA limits from Rev. Proc. 2025-19; 2026 health FSA limit and carryover from Rev. Proc. 2025-32. Cafeteria-plan contributions excluded from FIT and FICA wages (IRS Publication 15-B, Publication 969). Withholding per Publication 15-T (2026). Verified with the PayStubPro paycheck calculator.
Sources
- Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans — IRS
- Publication 15-B (2026), Employer’s Tax Guide to Fringe Benefits — IRS
- HSA inflation-adjusted maximum contribution amounts for 2026 (Rev. Proc. 2025-19) — Journal of Accountancy
- 2026 health FSA and fringe benefit limits (Rev. Proc. 2025-32) — Mercer
General information for legitimate payroll records, not tax or legal advice. PayStubPro prepares documents from the figures you enter; it does not verify income or employment.