401(k) contributions on a pay stub

A traditional 401(k) lowers federal income tax withholding but not Social Security or Medicare.

By Tony Juraska · Updated

Short answer

A traditional (pre-tax) 401(k) deferral is subtracted from wages before federal income tax withholding, and in most states before state tax, but Social Security and Medicare are still withheld on it. A Roth 401(k) deferral is after-tax: it lowers take-home pay dollar for dollar. For 2026 the elective deferral limit is $24,500, plus $8,000 catch-up at age 50 or older, or $11,250 at ages 60 to 63.

A 6% deferral on one paycheck

$2,307.69 biweekly ($60,000 a year), single, standard 2026 W-4.

401(k) deferral

No 401(k)
$0.00
6% traditional 401(k)
$138.46

Federal income tax

No 401(k)
$193.08
6% traditional 401(k)
$176.46

Social Security and Medicare

No 401(k)
$176.54
6% traditional 401(k)
$176.54

The $138.46 deferral costs $121.84 of take-home pay because federal withholding falls by $16.62. A Roth deferral of $138.46 would cost the full $138.46. The pre-tax deduction calculator compares them for your pay.

2026 limits

Limit2026
Elective deferrals (401(k), 403(b), governmental 457(b), TSP)$24,500
Catch-up, age 50 or older$8,000
Catch-up, ages 60–63 (instead of $8,000)$11,250

The limit is per person across all employers’ plans; each employer only tracks its own plan. Source: IRS news release IR-2025-111.

On the pay stub and the W-2

  • Pay stubs list the deferral under pre-tax deductions, sometimes with a “pre-tax” flag.
  • FIT taxable wages on the stub exclude it; Social Security and Medicare wages include it.
  • The year’s total appears in W-2 Box 12, code D (traditional) or code AA (Roth 401(k)); see W-2 Box 1 versus salary.
  • Pennsylvania taxes 401(k) deferrals as compensation, so state wages there do not drop.

Questions

Does a 401(k) lower my Social Security tax?

No. Elective deferrals are subject to Social Security and Medicare.

What if I contribute to two employers’ plans?

The $24,500 limit applies to your total. Excess deferrals must be withdrawn by April 15 of the next year to avoid double taxation.

Sources

Ready when you are

Four short steps, a live preview and a free PDF download. No account needed.

Make a pay stub