Taxes Basics

Plain-English reference for how federal income tax filing actually works

What Do the Filing Status Codes on a Pay Stub Mean? (S, M, H, and the Numbers)

The code on your stub is a withholding setting, not your tax return status

Somewhere on most pay stubs is a short code — S, M, H, MJ, sometimes with a number attached like S-1 or M-3. This is your employer's shorthand for the withholding choices on file from your Form W-4. It tells the payroll system which withholding table to use when calculating the federal income tax taken out of each check.

Two things to understand up front:

  • It is not your official tax filing status. The status you claim on your actual tax return is decided by the filing-status rules, not by what your pay stub says. The two usually match, but they do not have to — the stub code only controls how much tax is withheld along the way.
  • The abbreviations are not standardized. Payroll providers each pick their own shorthand, which is why you will see the same setting rendered as "S," "SGL," or "Single" on different stubs.

Decoding the letters

The letter maps to the filing status box checked in Step 1(c) of the W-4, which per IRS Tax Topic 753 has three options:

  • S — Single or Married filing separately. These two share one withholding table, which is why many systems lump them under one code.
  • M or MJ — Married filing jointly (or Qualifying Surviving Spouse). This selection uses the table with the largest built-in standard deduction, so it withholds the least per dollar of pay.
  • H or HOH — Head of Household. A middle table between the other two.

Our guide to Single vs. Married withholding on the W-4 covers what actually changes between the tables.

Decoding the numbers: usually a leftover from allowances

Codes like M-3 or S-2 come from the pre-2020 W-4, which asked employees to claim a number of withholding allowances — each allowance reduced the amount withheld. "M-3" meant married with three allowances.

The W-4 was redesigned in 2020 and no longer uses allowances at all; the current form works from filing status, dependent amounts, other income, and extra withholding, as laid out in Publication 505. But two things keep the numbers alive on stubs:

  • Old W-4s stay valid. An employee who last submitted a W-4 before 2020 generally keeps that allowance-based setting until they file a new one, so their stub may still show an allowance count.
  • State forms still use allowances. Many state withholding certificates kept the allowance system, so a stub can show a federal code with no number next to a state code with one. A bare number on a stub (a "filing status 3") is often a state allowance count or a payroll system's internal numeric code — the payroll department can tell you which.

What to do with this information

Reading the code is mostly useful as a sanity check: does the setting on file match what you intended? Life changes — marriage, divorce, a second job, a dependent — are the usual reasons a code on file no longer fits. If the withholding amount itself seems off for your situation, the IRS Tax Withholding Estimator compares your actual withholding pace against your expected tax and shows how a new W-4 would change it. Changing the code is just a matter of submitting a new W-4 to your employer; there is no need to explain or justify the change, and you can do it at any point in the year.

Sources