Six IRS W-2 codes (N, S, Y, Z, EE and HH) need checking against source records before a client's employee W-2 forms are issued. The lettered codes are easier to skip, and they are where a small error can change what an employee reports on their own return.
Key takeaways
- Check each coded amount against its source record, not against last year's form.
- Read each code against the IRS definition for the year on the form.
- Ask the client and hold the form when a record conflicts with it.
- Sign off by employee, not by batch.
- Compare the wage and tax totals to the payroll register before release.
This post covers six codes that appear in the IRS instructions for Forms W-2 and W-3: N, S, Y, Z, EE, and HH. Each code describes a specific type of amount. For each one, this post gives the IRS definition, the records to compare against, and the questions to ask before the form goes out.
This is a review checklist. It does not replace the IRS instructions, the plan documents, or the client's own records. When any of those sources says something different from this post, follow the source and note the difference in the review file.
Gather the records before you review
Before you open a batch of W-2 forms, collect the source records behind each coded amount. For most clients that means the year-end payroll register, the deferral or contribution reports from each retirement or benefit plan provider, the benefits administrator's cost figures, and a list of employees who left during the year. If a plan administrator sends an annual statement, use that statement rather than an estimate built from pay stubs. For the wider intake steps, see the Accounting Client Intake Checklist for a Clear Handoff.
Organize the records by employee rather than by plan. A single employee may have amounts under several plans, and a mismatch is easier to spot when all of that person's documents sit together. Write the employee's name, the plan year, and the source document beside each coded amount you plan to check. For a related check, see client payroll employee file checks.
Compare each coded amount to its source, not to last year's form, because last year's figure may carry the same error forward. Note who checked each form and when, so the review can be repeated if the client asks about it later.
When a record conflicts with the form, stop and ask the client before changing anything. Preparers should not choose a code or amount to make totals match, and a code should not be added or removed only because another form looks different. Write the question down, send it to the client, and hold that employee's form until the answer arrives.
Read each code against its definition
Each code in this post is taken from the IRS definition in the IRS instructions for Forms W-2 and W-3. Read the definition first, then read the employee's records. A code applies only when the amount fits the definition, even if a plan name sounds similar to another plan the client runs.
Pay attention to the qualifying words. Phrases such as "former employees," "Roth," "governmental," and "as of the close of the calendar year" each narrow the code to a smaller set of amounts. When a record and a definition disagree, follow the definition and ask the client for the documents that settle the question.
Check the reverse too. If an employee's records show a plan that should produce one of these codes but the form has no entry, ask why. A missing entry is as much of an error as an extra one, and the fix is a documented answer from the client, not a guess.
The six codes side by side
The table puts the six codes next to each other. The middle column uses the IRS wording, and the last column lists what to confirm before the form is issued.
| Code | What the IRS definition covers | What to confirm before the form is issued |
|---|---|---|
| N | Uncollected Medicare tax on taxable cost of group-term life insurance over $50,000, for former employees | The employee left the employer in the year, and the amount matches the benefits administrator's taxable cost figure for that employee |
| S | Employee salary reduction contributions under a section 408(p) SIMPLE plan, including Roth SIMPLE IRA contributions | The total matches the SIMPLE provider's contribution report and the payroll deductions taken during the year |
| Y | Deferrals under a section 409A nonqualified deferred compensation plan | The amount matches the plan's statement of deferrals and the amounts taken from pay |
| Z | Income under a nonqualified deferred compensation plan that fails to satisfy section 409A | The client has a written determination about the plan, and the amount matches the plan's income statement |
| EE | Designated Roth contributions under a governmental section 457(b) plan | The plan is a governmental section 457(b) plan, and the amount comes from the Roth line of the plan report |
| HH | Aggregate deferrals under section 83(i) elections as of the close of the calendar year | The figure is the running total as of the close of the calendar year, taken from the election records |
Use the table as an index. The sections that follow explain each row and link the IRS instructions where each definition appears.
Medicare tax on group-term life for former employees (code N)
The IRS defines code N as uncollected Medicare tax on the taxable cost of group-term life insurance over $50,000, for former employees. The IRS instructions for Forms W-2 and W-3 are the source for that wording, so check it against the instructions for the year on the form.
The phrase "for former employees" is the first thing to check. Pull the separation date from the personnel file. If the employee is still on the payroll, a code N entry is unexpected and needs a question to the client before issue. The question is not whether the amount is probably right. It is whether this person was a former employee in the year on the form.
Next, match the amount to the taxable cost figure the benefits administrator or insurer provided for that employee. Check that the figure covers the same plan year and the same employee. A number carried over from a different year, or taken from a coworker with a similar coverage level, is a mismatch to resolve before issue.
If the employee had no group-term life coverage over $50,000 in the year, the definition gives no basis for this code. The client should explain where the entry came from, and the preparer should not keep it only because it appeared on last year's form.
Record the source for the figure, including the document name, its issue date, and the person at the client or administrator who supplied it. If the amount is questioned later, the file should answer that without another search.
SIMPLE plan salary reduction contributions (code S)
Code S covers employee salary reduction contributions under a section 408(p) SIMPLE plan. The IRS instructions for Forms W-2 and W-3 state that this includes salary reduction contributions made to a Roth SIMPLE IRA.
Start with the payroll deduction report. Add up each employee's SIMPLE deferrals taken from pay during the year and compare that total to the form. The definition covers amounts the employee elected from pay, so if the figure includes money that came from the employer, ask the client how those amounts were recorded before issue.
Pay particular attention to Roth SIMPLE contributions. Because the definition includes them, a Roth deferral should not drop out of this code just because it appears on a separate line in the payroll system. Confirm that the Roth and traditional amounts are both captured and that their combined total matches the provider's contribution report.
Check timing as well. Compare deferral totals to the pay dates in the year, not to the dates the provider posted the money. A deposit that posted the following month for year-end pay can make two correct reports look different. Note the difference in the review file and confirm the total with the client.
If the provider's report and the payroll register disagree and the cause is unclear, do not split the difference. Ask for the provider's detailed contribution file for that employee, and hold the form until the records match or the gap is documented in writing.
Section 409A deferrals (code Y)
Code Y covers deferrals under a section 409A nonqualified deferred compensation plan, according to the IRS instructions for Forms W-2 and W-3. The code concerns amounts set aside under the plan rather than paid out to the employee in the year.
Compare the figure against the plan's statement of deferrals for the year and against the amounts actually taken from pay. If the two differ, find out why before issue. The cause may be timing, a change in the employee's election during the year, or an error in one record. Write down each explanation with the document that supports it.
Keep code Y separate from code Z. A Y entry is about deferrals and can arise in the normal course of a plan, so it does not by itself signal a problem with the plan. The review question for Y is whether the amount matches the records.
Confirm that the employee named on the statement is the employee named on the W-2. This is easy to miss when a client runs several plans with overlapping participant lists or when an employee changed a name during the year. Keep the plan statement in the file with the signed-off batch.
Income under a plan that fails section 409A (code Z)
Code Z covers income under a nonqualified deferred compensation plan that fails to satisfy section 409A, as the IRS instructions for Forms W-2 and W-3 word it. Read the code exactly as written, not as a general label for any plan problem.
This is the code where a preparer should not make the call alone. A preparer reviewing a batch usually has neither in front of them, and guessing is not a safe way to fill in a box.
Ask the client for any written review, correction, or opinion it holds about the plan. That might be a plan document review, a correction filing, or a memo from counsel. If none exists, the client should ask its plan adviser or counsel whether the code applies before the entry is made.
Once a determination exists, confirm the amount against the plan's income statement for the year, and check that the determination describes the same plan and year. Keep the determination in the file with the signed-off batch, showing who made it, when, and what amount it covered. A code Z entry without that support should be closed before issue.
Designated Roth contributions under a governmental 457(b) plan (code EE)
Code EE covers designated Roth contributions under a governmental section 457(b) plan, according to the IRS instructions for Forms W-2 and W-3. Two parts of that definition need checking: the plan type and the Roth designation.
On plan type, confirm from the plan documents that the plan is a governmental section 457(b) plan. If the documents describe it differently, or the client is unsure what kind of plan it runs, resolve that question first. The Roth figure should not be entered under this code until the plan type is confirmed.
On the Roth designation, only designated Roth contributions belong here. Pre-tax deferrals under the same plan are a separate amount, so the figure should come from the Roth line of the plan's report, not from total deferrals. If the form matches total deferrals rather than the Roth-only line, stop and sort out the difference.
Check the pay records too. Deductions taken for designated Roth contributions should line up with the plan's Roth report for the year. If one record shows Roth deductions the other does not, ask the client which record is complete before issue. Keep the election forms in the file, since an employee who changed the designation during the year may have amounts in both categories.
Aggregate section 83(i) deferrals (code HH)
Code HH covers aggregate deferrals under section 83(i) elections as of the close of the calendar year, according to the IRS instructions for Forms W-2 and W-3. Two phrases need a close reading: "aggregate" and "as of the close of the calendar year."
Ask for the total from the company's election records and compare it to the form.
The cutoff date matters as well. The total should reflect the position at the close of the calendar year for the year on the form. A total pulled before year-end may not match what the definition asks for, so confirm when the election records were pulled and whether any elections changed afterward.
Confirm that the records cover the same employee and the same plan, and that the file shows which elections make up the total. A total that cannot be traced to named elections should be held until it can be explained. If the client has no clear cumulative record, stop the review at this code for that employee. Issuing an unsupported total is harder to correct than issuing the form later.
Illustrative example: one employee with three coded entries
Suppose a preparer has three coded entries to check for one employee. The payroll register and the SIMPLE provider's contribution report are the two sources, and the preparer compares each total to the form. Two totals agree with their source. The third differs because the provider posted a deposit the following month for year-end pay. The preparer notes the timing difference in the review file, confirms the total with the client, and signs off only after the answer is documented.
Build the sign-off routine
The six codes share a pattern: each ties to a specific plan or benefit, and each definition limits what belongs in it. When the record, the definition, and the form agree, the code is ready. When they disagree, the form waits.
Start each batch with the records. Pull the source documents for every coded amount before anyone opens a form, so the review rests on evidence rather than on what the form already says. Then read each coded entry against the IRS instructions for the year on the form, not against an older copy saved in a shared folder.
Sign off by employee. A reviewer should initial each form only after every coded amount has been checked against a source record or a documented client answer. Sign-off by batch hides the employees who still have open questions. For the broader preparer checks before signing, see preparer duties before signing a return.
Keep a review log for each client listing the review date, the reviewer, each open question, and the date it closed. Finally, review the whole form, not only the boxes that carry codes. A correct code on a wrong wage total still produces a wrong form, so compare the totals to the payroll register before release.
Closing notes
Coded entries are easy to treat as a secondary part of the review, but each describes a specific type of amount with a specific definition. Each one needs its own source record and its own question when the record does not match.
The most useful habit is to keep the question open until the answer is documented. A preparer who holds a form while the client checks a plan statement has done the job correctly. A preparer who enters a code to keep the schedule moving has created a problem someone else will have to explain.
The IRS instructions for Forms W-2 and W-3 remain the reference for every definition in this post. Keep them open during review, use the version for the year on the form, and treat any difference from this post as a reason to check the instructions again.
Your next step today: choose one coded entry on one form, pull its source record, and compare the two before you read any other line on that form.
General information, not legal or tax advice.
Related guides: Invalid W-4 forms: 8 rules before payroll · W-9 vendor review: 4 checks before payment · Vendor W-9 review: 4 checks before you record it.