Schema Tax

Box 12 Code A: Uncollected Social Security Tax on Tips

By Schema TaxPublished Updated

Box 12 code A on a W2 shows the Social Security tax, or railroad retirement (RRTA) tax, on your reported tips that your employer could not collect because your pay was too small to cover it. It is not in Box 4, which holds tax withheld. The tax is still owed, and the IRS instructions send it to your return.

What code A reports: Social Security or RRTA tax on tips left uncollected

Code A reports the employee share of Social Security or RRTA tax on tips that your employer could not take out of your pay. RRTA is the Railroad Retirement Tax Act, which replaces Social Security tax for railroad workers. Code A appears when wages after other deductions ran out before the tax on your tips was covered.

The IRS General Instructions for Forms W-2 and W-3 (2026) tell employers to show under code A "the employee social security or Railroad Retirement Tax Act (RRTA) tax on all of the employee's tips that you could not collect because the employee did not have enough funds from which to deduct it." The next sentence is short: "Do not include this amount in box 4."

The reason is how tip tax is collected. You hand your employer a tip report, and the employer takes the tax on those tips out of your regular paycheck. IRS Publication 15 (2026), the employer's tax guide, says the employer can collect these taxes "from the employee's wages (excluding tips) or from other funds they make available." A server or bartender paid a low cash wage may not have enough regular pay left after other withholding.

IRS Publication 531 (12/2024), Reporting Tip Income, explains the order the employer follows. Your regular pay, and any money you give your employer for the purpose, goes first to "all taxes on your regular pay," then to Social Security, Medicare and RRTA taxes on your reported tips, and last to income taxes on those tips. Publication 531 adds that you "can give your employer money until the close of the calendar year to pay the rest of the taxes." Whatever is still unpaid at year end can end up under code A.

Code A only covers tips you reported to your employer. Those tips show in Box 7, and the post on W2 boxes 7 and 8 explains how Box 7 differs from allocated tips in Box 8.

How does code B pair with code A for uncollected Medicare tax on tips?

Code B is the Medicare half of the same shortfall. It shows the employee Medicare tax on reported tips that your employer could not collect. Codes A and B usually appear together, because a paycheck too small to cover Social Security tax on tips is usually too small to cover Medicare tax on them as well.

The 2026 W-2 instructions tell employers to show under code B "the employee Medicare tax or RRTA Medicare tax on tips that you could not collect because the employee did not have enough funds from which to deduct it." They add two limits: "Do not show any uncollected Additional Medicare Tax" and "Do not include this amount in box 6."

That first limit matters for high earners. Additional Medicare Tax is the extra 0.9% tax on Medicare wages above a threshold. The 2025 Form 4137 says that, "unlike the uncollected portion of the regular (1.45%) Medicare tax, the uncollected Additional Medicare Tax isn't reported on Form W-2, box 12, with code B." The Instructions for Form 8959 (2025) cover how that tax is figured on its own form.

The two codes are figured from different bases. Code A stops when wages and tips reach the Social Security wage base, which the W-2 instructions put at "$184,500 (the maximum social security wage base for 2026)" for Boxes 3 and 7 combined. Medicare tax has no wage base, so code B can be nonzero even when code A is blank.

Why is code A tax still owed if your employer never withheld it?

Code A tax is still owed because the tax applies to the tips, not to the paycheck. Your employer stopped collecting only because the paycheck ran dry. The IRS instructions move the bill to your own return, where the code A and code B amounts are reported as additional tax.

Publication 531 says that if your employer "couldn't collect all the social security, Medicare, and Additional Medicare taxes, or railroad retirement taxes you owe on tips reported in the tax year, the uncollected taxes will be shown in box 12 of your Form W-2 (codes A and B). You must report these amounts as additional tax on your return."

The 2025 Instructions for Form 1040 name the line. Schedule 2, line 13, is for "Uncollected social security and Medicare or RRTA tax on tips or group-term life insurance," and the instructions say "This tax should be shown in box 12 of Form W-2 with codes A and B or M and N." The post on Box 12 codes that touch your Form 1040 lines lists where the other codes go.

Code A is different from tax on tips you never reported. Form 4137 says to use it "only to figure the social security and Medicare tax owed on tips you didn't report to your employer." Reported tips with a shortfall go through code A and code B; unreported tips go through Form 4137. Mixing the two can count the same tax twice.

Code A next to a large tip total: when the amount looks wrong

A code A amount that looks wrong can usually be checked with arithmetic. Box 4 plus code A should equal 6.2% of Box 3 plus Box 7, and Box 6 plus code B should equal 1.45% of Box 5. IRS Publication 15 (2026) sets those employee rates. If the totals do not match, compare Box 7 with your tip reports.

Worked example: a fictional server

The figures below are fictional. Riley Example, SSN shown as XXX-XX-1234, worked as a server at a restaurant in 2026. Riley earned $9,600 in cash wages and reported $30,000 in tips. In several pay periods the paycheck was too small to cover the tax on those tips.

W-2 entryExample valueHow it is built
Box 3, Social Security wages$9,600.00Cash wages only
Box 7, Social Security tips$30,000.00Tips Riley reported
Box 5, Medicare wages and tips$39,600.00Wages plus tips
Box 4, Social Security tax withheld$2,095.20$595.20 on wages plus $1,500.00 collected on tips
Box 12, code A$360.00$1,860.00 owed on tips minus $1,500.00 collected
Box 6, Medicare tax withheld$474.20$139.20 on wages plus $335.00 collected on tips
Box 12, code B$100.00$435.00 owed on tips minus $335.00 collected

The check works. Box 4 plus code A is $2,455.20, which is 6.2% of $39,600, the sum of Boxes 3 and 7. Box 6 plus code B is $574.20, which is 1.45% of Box 5. When both totals land on the rate, the code A and code B figures are consistent with the other boxes.

Where a mismatch usually comes from

Start with Box 7. The W-2 instructions say Box 7 shows "the tips that the employee reported to you even if you did not have enough employee funds to collect the social security tax for the tips." If your own tip log adds up to more or less than Box 7, the code A amount was figured on a different base than your records.

Next, look at the wage base. If Box 3 plus Box 7 tops $184,500 for 2026, Social Security tax stops there, and code A should be smaller than a plain 6.2% of tips. A W-2 that shows code A without code B, or the reverse, is possible but worth a second look against your final pay stub.

If the numbers still disagree, ask the employer. The W-2 instructions list "uncollected social security and/or Medicare taxes on tips" among the coded items an employer corrects on Form W-2c. Code A is one of several codes that report tax rather than pay; B, K, M and N are the others. Other entries in Box 12 report income left out of Box 1, such as nontaxable sick pay under code J or substantiated per diem under code L. For every letter, see the full Box 12 code table.

Running this check by hand works for one W-2. For a stack of them, Schema Tax reads each Box 12 entry as its own code and amount next to Boxes 3 through 7, so the sums can sit in one spreadsheet row; the interactive demo shows where each W-2 box lands.

All posts in W-2 Box 12 and Box 14 Codes