What Are Taxable Wages on a W-2? Boxes 1, 3, and 5 Explained

Taxable wages on a W-2 are the parts of your annual pay that are subject to tax, and they appear in three different boxes because three different taxes apply. Box 1 is your wages for federal income tax. Box 3 is your wages for Social Security tax. Box 5 is your wages for Medicare tax. These three figures usually don’t match each other, and none of them typically matches your gross pay, because different pre-tax deductions reduce different boxes and Social Security wages are capped each year.

Box 1: Wages for Federal Income Tax

Box 1 is the number that flows onto your Form 1040 as wage income and sets your tax bracket. It includes your salary or hourly pay, bonuses, commissions, tips you reported to your employer, taxable fringe benefits, and most other forms of compensation.1Internal Revenue Service. General Instructions for Forms W-2 and W-3 (2026)

What Box 1 leaves out is where the number gets smaller than your gross pay. Traditional 401(k) and 403(b) contributions are excluded because those deferrals aren’t taxed until you withdraw them in retirement.2Internal Revenue Service. 401(k) Plan Overview Health insurance premiums paid through a cafeteria plan, HSA contributions routed through payroll, and dependent care benefits also stay out of Box 1.

One trap: designated Roth 401(k) contributions are included in Box 1. Because Roth contributions are made with after-tax dollars, your employer keeps them in taxable wages even though they also appear in Box 12 under a separate code.1Internal Revenue Service. General Instructions for Forms W-2 and W-3 (2026) If you switched from traditional to Roth deferrals mid-year and Box 1 jumped, that’s usually why.

Box 3: Wages for Social Security Tax

Box 3 reports the earnings subject to the 6.2 percent Social Security tax.3Internal Revenue Service. Topic No. 751, Social Security and Medicare Withholding Rates The defining feature of this box is a hard annual cap. For 2026, only the first $184,500 of covered wages is taxable for Social Security.4Social Security Administration. Contribution and Benefit Base Earnings above that limit simply stop appearing in Box 3, even if your total pay is much higher.

That cap sets the maximum Social Security tax you can owe in 2026 at $11,439 ($184,500 × 6.2 percent), with your employer paying an identical amount.4Social Security Administration. Contribution and Benefit Base If you earned $184,500 or more from a single employer, Box 3 will read $184,500 regardless of your actual gross. The Social Security Administration uses this figure to build your future retirement benefit, so the number carries weight long after you file.

Unlike Box 1, traditional 401(k) deferrals do not reduce Box 3. Your retirement contributions are still Social Security wages even though they lower your federal taxable income.2Internal Revenue Service. 401(k) Plan Overview Cafeteria plan health premiums and payroll-routed HSA contributions do reduce Box 3.

Box 5: Wages for Medicare Tax

Box 5 tracks the wages subject to the 1.45 percent Medicare tax.3Internal Revenue Service. Topic No. 751, Social Security and Medicare Withholding Rates Medicare has no wage cap. Every dollar of covered compensation counts. That’s why Box 5 is typically the largest of the three wage figures for high earners whose pay clears the Social Security ceiling.

Box 5 follows the same deduction rules as Box 3: traditional 401(k) contributions don’t reduce it, but Section 125 cafeteria plan premiums and payroll-routed HSA contributions do.5Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans For most employees, Boxes 3 and 5 show similar amounts. They separate once wages cross the Social Security cap: Box 3 freezes, Box 5 keeps climbing.

The 0.9 Percent Additional Medicare Tax

An extra 0.9 percent Medicare surtax applies to wages above certain filing thresholds: $200,000 for single filers, $250,000 for married couples filing jointly, and $125,000 for married individuals filing separately.6Internal Revenue Service. Topic No. 560, Additional Medicare Tax Your employer starts withholding this surtax once your pay crosses $200,000 in a calendar year, regardless of your filing status.7Internal Revenue Service. Instructions for Form 8959 If you’re married filing jointly and your individual wages stay under $250,000, you may get some of the withholding back. If your spouse also works and your combined wages exceed the joint threshold, you could owe more than what was withheld. You reconcile the difference on Form 8959.

Why the Three Boxes Don’t Match

The gap between the three numbers comes down to which pre-tax deductions apply to which tax. Not every deduction reduces all three boxes equally, and that’s where most W-2 confusion lives.

Deductions That Lower Only Box 1

Traditional 401(k) and 403(b) contributions are the main driver. These deferrals come out of your paycheck before federal income tax is calculated, shrinking Box 1, but they remain fully subject to Social Security and Medicare, so Boxes 3 and 5 stay higher.2Internal Revenue Service. 401(k) Plan Overview For 2026, you can defer up to $24,500 into a 401(k) or 403(b). Workers age 50 and older can add another $8,000 in catch-up contributions, for a total of $32,500. A higher catch-up of $11,250 applies if you’re between 60 and 63.8Internal Revenue Service. 401(k) Limit Increases to $24,500 for 2026, IRA Limit Increases to $7,500

Deductions That Lower All Three Boxes

Health insurance premiums paid through an employer’s cafeteria plan reduce Boxes 1, 3, and 5 alike, because the tax code excludes those amounts from both income tax and FICA.9Office of the Law Revision Counsel. 26 USC 125 – Cafeteria Plans HSA contributions made through payroll work the same way, dodging federal income tax and both halves of FICA.5Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans For 2026, you can contribute up to $4,400 with self-only coverage or $8,750 with family coverage.10Internal Revenue Service. Notice on Expanded Availability of Health Savings Accounts

Dependent care benefits through an employer plan also reduce all three boxes. Starting in 2026, you can exclude up to $7,500 per year ($3,750 if married filing separately) from taxable wages for qualifying dependent care expenses.11Office of the Law Revision Counsel. 26 USC 129 – Dependent Care Assistance Programs That limit had been stuck at $5,000 since 1986, so the increase is meaningful for families with child care costs.

Additions That Push the Boxes Above Your Salary

Not everything in the wage boxes is base pay. Bonuses, commissions, and tips you reported during the year are folded into Box 1 rather than broken out separately.1Internal Revenue Service. General Instructions for Forms W-2 and W-3 (2026) These amounts also appear in Boxes 3 and 5, up to the applicable limits. Allocated tips (Box 8) are the exception: they’re shown separately and are not included in Boxes 1, 3, or 5. If your employer assigned you allocated tips because reported tips fell short of a required percentage, you handle those on your tax return.12Internal Revenue Service. Tip Recordkeeping and Reporting

Group-term life insurance above $50,000 also gets added in. If your employer provides $100,000 of coverage, the imputed cost of the amount over $50,000 is added to all three wage boxes.13Office of the Law Revision Counsel. 26 USC 79 – Group-Term Life Insurance Purchased for Employees The dollar amount is usually small, but it creates a gap between pay stubs and W-2 totals that surprises people. It shows up in Box 12 with Code C.

Using Box 12 to Reconcile the Numbers

Box 12 is how you decode the gap between gross pay and the three wage boxes. It uses letter codes to break out specific items that adjusted your totals. The ones that come up most often:

  • Code D: traditional 401(k) deferrals. Excluded from Box 1, still in Boxes 3 and 5.
  • Code AA: Roth 401(k) contributions. Included in all three boxes because Roth contributions are after-tax.
  • Code W: employer and employee HSA contributions made through a cafeteria plan. Excluded from Boxes 1, 3, and 5.
  • Code C: taxable cost of group-term life insurance over $50,000. Included in all three boxes.
  • Code DD: cost of employer-sponsored health coverage. Informational only, and does not increase any wage box.

You can work backward from these codes. Start with your gross pay, subtract Code D and Code W amounts, add Code C, and you should land near Box 1. For Boxes 3 and 5, follow the same path but add the Code D amount back, since retirement deferrals don’t reduce FICA wages.1Internal Revenue Service. General Instructions for Forms W-2 and W-3 (2026) If the numbers still don’t reconcile, that’s your cue to call payroll.

Two Jobs and Excess Social Security Withholding

Each employer withholds Social Security tax independently, tracking only the wages it pays you. If you work two jobs and your combined earnings pass the $184,500 wage base for 2026, both employers will keep withholding the 6.2 percent tax, even though your total wages have already cleared the cap.4Social Security Administration. Contribution and Benefit Base

The fix happens on your tax return. You claim the excess Social Security withholding as a credit against your income tax, following the instructions in the Form 1040 booklet.14Internal Revenue Service. Topic No. 608, Excess Social Security and RRTA Tax Withheld This route only works when two or more employers are involved. If a single employer withheld too much, you have to go back to that employer for a correction rather than claiming it on your return. Medicare has no cap, so overwithholding across jobs doesn’t arise the same way.

If Your W-2 Is Missing or Wrong

Start with your employer. If you haven’t received your W-2 by the end of January, contact payroll to confirm it was sent. If it still hasn’t arrived by the end of February, call the IRS at 800-829-1040 with your employer’s name and address, your Social Security number, and the dates you worked there. The IRS will contact your employer and send you Form 4852, a substitute W-2.15Internal Revenue Service. If You Dont Get a W-2 or Your W-2 Is Wrong

If you need to file before the W-2 shows up, use your final pay stub to estimate wages and complete Form 4852 as a stand-in, attaching it where the W-2 would normally go. If the W-2 arrives with wrong amounts in Boxes 1, 3, or 5, ask your employer to issue a corrected W-2c. Don’t file with numbers you know are off. Errors in these boxes ripple into your tax liability, your Social Security earnings record, and your FICA calculations, and each of those is harder to unwind than a corrected form up front.