Your gross pay is rarely the number that hits your bank account. Between the two sits a stack of deductions, and the order they come out in decides how much tax you pay. That order is the whole story behind pretax and after-tax deductions.

This guide walks through what each type does to your taxable wages, which deductions cut your income tax, and which also cut Social Security and Medicare. It reads the lines on an actual paystub so the math stops feeling like a mystery. It also shows how the same amounts land on your year-end W-2.

Anyone who contributes to a 401(k), pays a health premium through work, or has a garnishment will find the mechanics here. The point is simple. Once you can see why a deduction sits above or below the tax lines, you can read any paystub with confidence.

The one difference that controls your paycheck

Everything comes down to timing. A pretax deduction leaves your pay before taxes are figured, so it shrinks the income that gets taxed. An after-tax deduction leaves after payroll already calculates your taxes, so it only trims what lands in your account.

Payroll runs in layers. Gross pay comes first. Gross pay comes first; then pre-tax deductions are subtracted to arrive at your taxable wages; then taxes are calculated on that smaller number; then after-tax deductions come out.

Because of that sequence, a pretax dollar and an after-tax dollar of the same size cost you differently. The practical rule: a pre-tax dollar costs you less than a dollar of take-home pay; an after-tax dollar costs you the full dollar. After-tax deductions reduce take-home pay dollar for dollar.

The paycheck order Gross pay minus pretax deductions equals taxable wages. Payroll figures your taxes on those taxable wages. Then after-tax deductions come out of what remains to reach your net pay.

Before taxesPretax deductions lower the wages your tax is figured on
After taxesAfter-tax deductions cut net pay but never taxable income
Box 1Pretax deferrals stay out of your W-2 taxable wages

Which deductions are pretax, and which are after-tax

Sorting your paystub starts with knowing where each line belongs. Most savings and benefit deductions are pretax. Court orders and Roth savings are after-tax.

Common pretax items include traditional 401(k) contributions, health, dental, and vision premiums, HSA and FSA contributions, and commuter benefits. Pre-tax deductions include traditional 401(k) contributions, health insurance premiums, health FSAs, HSAs, dependent care FSAs, and commuter benefits. Health premiums reach pretax status through a Section 125 cafeteria plan.

After-tax items work the other way. Post-tax deductions include Roth 401(k) contributions, wage garnishments, union dues, charitable donations, and non-qualified insurance premiums. A Roth 401(k) still builds retirement savings, but the tax break arrives later instead of now.

Where common deductions sit on your paystub
Deduction Timing Cuts income tax?
Traditional 401(k) Pretax Yes
Health / dental / vision premium Pretax Yes
HSA or FSA Pretax Yes
Roth 401(k) After-tax No
Wage garnishment After-tax No
Union dues After-tax No

The FICA split most people miss

Here is the twist that trips up careful readers. Not every pretax deduction cuts the same taxes. Some lower income tax only, while others lower income tax and FICA together.

A traditional 401(k) deferral is the famous exception. It escapes income tax now, yet it still counts for Social Security and Medicare. The IRS states that an elective deferral isn’t included in box 1 wages on your Form W-2. However, it’s included as wages subject to withholding for Social Security and Medicare taxes.

Section 125 health deductions behave differently, and better on this point. Premiums that run through a cafeteria plan skip both taxes. Generally, qualified benefits under a cafeteria plan are not subject to FICA, FUTA, Medicare tax, or income tax withholding. So a health premium shrinks your Social Security and Medicare wages, but a 401(k) deferral does not.

That difference shows up on a $500 pretax 401(k) deferral in the 22% bracket. The income tax saving is real, but payroll still charges the Social Security and Medicare tax on that money.

How a $500 pretax 401(k) deferral splits across your paycheck taxesIncome tax saved (22% bracket)$110Social Security + Medicare still owed$38Net cash the paycheck drops by$352

Figure 1. A pretax 401(k) dollar costs less than a full dollar of take-home pay, because part of it is income tax you no longer owe.

Why your W-2 boxes won’t match A traditional 401(k) makes Box 1 lower than Boxes 3 and 5. The deferral leaves income-tax wages but stays in Social Security and Medicare wages. A Section 125 health premium lowers all three.

Read your paystub line by line

Theory settles once you trace a real stub. Find your gross pay at the top, then watch which deductions land before the tax lines.

  1. Start at gross pay. This is your full earnings for the period, before anything comes out.
  2. Subtract pretax deductions. Your 401(k), health premium, and HSA come out here, producing your taxable wages.
  3. Find the taxable wage line. It may read “Federal Taxable” and equal gross pay minus those pretax items. Federal taxable wages (sometimes labeled “Federal Taxable” or “Box 1”) equal gross pay minus your pre-tax deductions. Those deductions cover the traditional 401(k), traditional 403(b), payroll HSA contributions, FSA contributions, and pre-tax health premiums under a Section 125 cafeteria plan.
  4. Check the tax withholdings. Federal income tax is figured on the smaller taxable wage number, not on gross.
  5. Subtract after-tax deductions. Roth contributions, union dues, and garnishments come out last, reducing net pay dollar for dollar.

Watch the Social Security and Medicare lines as you go. Payroll figures them on your full wages, not the reduced 401(k) figure. Federal income tax is calculated on Box 1 of your W-2 (federal taxable wages), which is gross pay minus pre-tax retirement contributions. Social Security and Medicare (FICA) tax is calculated on Box 3 and Box 5 (Medicare wages), which include the 401(k) contribution.

One state breaks the pattern. Pennsylvania does not recognize the 401(k) exclusion, so a 401(k) deferral does not lower state-taxable wages there. Pennsylvania doesn’t recognize the 401(k) exclusion at the state level, so your state-taxable wages on a PA paystub equal gross pay even when federal taxable wages are reduced. Most other states with an income tax follow the federal treatment.

How the same amounts land on your W-2

Your paystub and your W-2 tell one story. The pretax choices you made all year show up in the boxes at tax time, which is why the numbers rarely line up at first glance.

A traditional 401(k) deferral appears in Box 12 with code D and stays out of Box 1. A pre-tax 401(k) deferral shows in W-2 box 12 with code D and is left out of your box 1 taxable wages. You do not deduct it again on your return, because the money never entered your taxable wages.

Because the deferral stays in your Social Security and Medicare wages, Box 1 sits below Boxes 3 and 5. If you contributed to a traditional 401(k), Box 1 (Wages, tips, other compensation) will be lower than Box 3 (Social Security wages) and Box 5 (Medicare wages). A Roth deferral, by contrast, stays in all three boxes because it was after-tax from the start.

Myth

A traditional 401(k) is a deduction you claim on your tax return.

Fact

Payroll already excludes it from Box 1 wages, so there is no separate line to deduct on Form 1040.

One benefit carries a special wrinkle worth knowing. Employer-paid group-term life coverage above $50,000 still owes Social Security and Medicare tax even inside a cafeteria plan. Group-term life insurance that exceeds $50,000 of coverage is subject to social security and Medicare taxes. It owes no FUTA tax or income tax withholding, even when provided as a qualified benefit in a cafeteria plan. That extra coverage can nudge your FICA wages up a bit.

Choosing where to put your money

Neither type is better in every case. Each wins in a different situation, so the right split depends on your goals.

Pretax contributions pay off now by cutting this year’s tax bill. After-tax choices like a Roth aim at a tax-free payout later. Pre-tax deductions may offer immediate tax savings, while post-tax deductions may provide tax-free benefits later.

The Roth decision often comes down to today’s bracket versus your expected bracket in retirement. The right choice depends on your current vs. expected retirement tax bracket. A worker who expects higher future income may favor the Roth, while someone in a high bracket now may lean pretax. Effective approaches include splitting contributions across both so the future stays flexible.

Health premiums are usually an easy call. Routed through a Section 125 plan, they cut income tax and FICA at once, which lifts take-home pay. Because Section 125 Cafeteria Plan benefits are free from federal and state income tax, an employee’s taxable income is reduced which increases take-home pay.

Keep in mind that lowering FICA wages has a quiet cost. Those wages feed your Social Security earnings record, so very large pretax health elections over many years can trim future benefits slightly. For most workers the current tax savings outweigh that effect.

Key takeaways

  • Pretax deductions leave your pay before taxes are figured and lower your taxable wages; after-tax deductions come out after taxes and cut only net pay.
  • A traditional 401(k) cuts income tax but not Social Security or Medicare, so Box 1 ends up lower than Boxes 3 and 5.
  • Section 125 health premiums cut income tax and FICA together, which raises take-home pay more than a 401(k) of the same size.
  • Trace the “Federal Taxable” line on your stub to see pretax deductions at work before the tax withholding lines.
  • Pennsylvania does not recognize the 401(k) exclusion, so a deferral there does not lower state-taxable wages.
Does a 401(k) contribution lower your Social Security and Medicare tax?

No. A traditional 401(k) deferral stays out of your income-tax wages, but it remains in your Social Security and Medicare wages. You still pay FICA on that money in the year you earn it, which is why Box 1 on your W-2 sits below Boxes 3 and 5.

Why is your W-2 Box 1 lower than your gross pay?

Payroll subtracted pretax deductions before reporting Box 1. A traditional 401(k), pretax health premium, and HSA or FSA all reduce that figure. The gap between your gross pay and Box 1 reflects those pretax amounts.

Is a Roth 401(k) pretax or after-tax?

A Roth 401(k) is after-tax. You fund it from income that already carried tax, so it does not lower your current taxable wages or your withholding. The payoff comes later, since qualified withdrawals in retirement can be tax-free.

Will a pretax deduction cut your paycheck by its full amount?

No. Part of the amount is tax you no longer owe, so your take-home pay drops by less than the deduction. A $500 pretax 401(k) contribution in the 22% bracket might lower your check by roughly $390, because around $110 is income tax saved.

Which pretax deductions are exempt from FICA?

The ones that flow through a Section 125 cafeteria plan: your share of health, dental, and vision premiums, payroll HSA contributions, and health or dependent care FSAs within the limit. A traditional 401(k) is not exempt from FICA.

Sources

  1. Internal Revenue Service. Topic no. 424, 401(k) plans. irs.gov
  2. Internal Revenue Service. 401(k) plan overview. irs.gov
  3. Internal Revenue Service. Publication 525, Taxable and Nontaxable Income. irs.gov
  4. Internal Revenue Service. FAQs for government entities regarding cafeteria plans. irs.gov
  5. Internal Revenue Service. Publication 560, Retirement Plans for Small Business. irs.gov