Form W-2 Box 12 Codes | Codes and Explanations (2024)

Rachel Blakely-Gray | Jun 05, 2024

Each year, you need to file Form W-2 for your employees. You might need to use Form W-2 Box 12 codes to accurately fill out Form W-2.

If you are not familiar with Box 12, there are currently 26 codes to report certain compensation and benefit amounts. The codes range from life insurance coverage to the amount you contributed to an employee’s adoption expenses.

Form W-2 Box 12 codes: instructions

The code and the corresponding amount must go in Box 12. Since there are four parts of Box 12 on Form W-2 (12a, 12b, 12c, and 12d), you can put up to four codes and amounts on the W-2. If you need to report more than four, you will need an additional Form W-2. Box 12 is highlighted in the Form W-2 below, courtesy of the IRS.

Form W-2 Box 12 Codes | Codes and Explanations (1)

There is a vertical line dividing each section of Box 12. The code goes on the left of the vertical line, and the dollar amount goes on the right of the line. For example, if your employee deferred a total of $1200.00 to their 401(k) plan, you would enter D | 1200.00 in Box 12.

Let Patriot’s payroll make Form W-2 a breeze

  • Easy onboarding with our setup wizard
  • Free direct deposit
  • Free USA-based support

Learn More About Patriot Payroll

Form W-2 Box 12 Codes | Codes and Explanations (2)

Form W-2 Box 12 code chart with explanations

Take a look at the chart below to see Form W-2 Box 12 codes and explanations. This information is also found on the IRS General Instructions for Forms W-2 and W-3.

CodeExplanation
AUncollected Social Security or RRTA tax on tips. If you did not withhold Social Security tax or Railroad Retirement Tax Act tax (retirement taxes for the railroad industry) on an employee’s tips, you will enter A and the amount in Box 12.
BUncollected Medicare tax or RRTA tax on tips. If you did not withhold Medicare tax or Railroad Retirement Tax Act on an employee’s tips, you will enter B and the amount in Box 12.
CTaxable cost of group-term life insurance over $50,000. If you provide group-term life insurance coverage over $50,000, you will enter C in Box 12, as well as Boxes 1, 3, and 5. For the amount you need to enter, consult the IRS.
DElective deferrals under a section 401(k) cash or deferred arrangement plan (including a SIMPLE 401(k) arrangement). If your employee contributes to a 401(k) retirement plan, enter D and the amount in Box 12. Also, check the retirement plan box in Box 13.
EElective deferrals under a section 403(b) salary reduction agreement. If your employee contributes to a 403(b) retirement plan, enter E and the amount in Box 12. Check the retirement plan box in Box 13 as well.
FElective deferrals under a section 408(k)(6) salary reduction agreement. If your employee contributes to a 408(k)(6) retirement plan, including a Simplified Employee Pension plan (SEP), enter F and the amount in Box 12.
GElective deferrals and employer contributions (including nonelective deferrals) to a section 457(b) deferred compensation plan. This is a retirement plan for government businesses including hospitals and charities, but if your employee contributes to a 457(b), enter G and the amount in Box 12.
HElective deferrals to a section 501(c)(18)(D) tax-exempt organization plan. This retirement plan is a tax-exempt organization plan. If your employee contributes to a 501(c)(18)(D) plan, enter H and the amount in Box 12 as well as Box 1.
ICurrently not used.
JNontaxable sick pay.Show any sick pay that was paid by a third party and is not includible in income (and not shown in Boxes 1, 3, and 5) because the employee contributed to the sick pay plan.
K20% excise tax on excess golden parachute payments. Excess golden parachute payments apply to employees of big corporations who are undergoing mergers.
LSubstantiated employee business expense reimbursements. If an employee’s business expenses are nontaxable, you would include this in Box 12. To determine if your employee’s business expenses are nontaxable, consult the IRS. Taxable portions go in Boxes 1, 3, and 5.
MUncollected Social Security or RRTA tax on taxable cost of group-term life insurance over $50,000 (former employees only). If you did not collect Social Security tax or RRTA tax from former employees for group-term life insurance over $50,000, enter M and the amount in Box 12.
NUncollected Medicare tax on taxable cost of group-term life insurance over $50,000 (but not Additional Medicare Tax; for former employees only). If you did not collect Medicare tax or RRTA tax from former employees for group-term life insurance over $50,000, enter Nand the amount in Box 12.
PExcludable moving expense reimbursements paid directly to members of the Armed Forces. This is only for members of the Armed Forces.
QNontaxable combat pay. This is only for military personnel.
REmployer contributions to an Archer Medical savings account. If your employees have Archer Medical savings accounts, you will enter the amount you contributed in Box 12. You will also need to report amounts not excluded in your employee’s gross pay in Boxes 1, 3, and 5.
SEmployee salary reduction contributions under a section 408(p) SIMPLE plan. If an employee contributes to a SIMPLE retirement plan (and not a 401(k)), include the amount they have taken out of their paychecks in Box 12. Also, enter the amount in Boxes 3 and 5, as well as check the retirement plan box in Box 13.
TAdoption benefits. If you offer benefits to your employees who adopt, you will need to include the total amount in Box 12. Also, if your employee contributes to a 125 adoption plan, include what they contributed before taxes. Enter the total amount in Boxes 3 and 5 as well.
UCurrently not used.
VIncome from exercise of nonstatutory stock option(s). You will report the difference between the fair market value and the price an employee paid for a nonstatutory stock in Box 12, as well as in Boxes 1, 3, and 5.
WEmployer contributions to a Health Savings Account (HSA) (including employee contributions through a cafeteria plan). If you contribute to an employee’s Health Savings Account plan, you will enter the amount of your contributions in Box 12. Also, you need to include your contributions in Box 1.
YDeferrals under a Section 409A nonqualified deferred compensation plan. Regardless of whether the deferrals are part of income or not, enter the amount put into a nonqualified deferred compensation plan.
ZIncome under a nonqualified deferred compensation plan that fails to satisfy Section 409A. You will enter the amount of total income that does not meet the requirements of Section 409A. The amount for Code Z will be taxed at 20% plus interest on your employee’s Form 1040.
AADesignated Roth contributions under a section 401(k) plan. If your employee contributes to a Roth 401(k) plan, report the amount in Box 12, and check the retirement plan box in Box 13.
BBDesignated Roth contributions under a section 403(b) plan. Enter the amount an employee contributed to a Roth 403(b) plan in Box 12, and check the retirement plan box in Box 13.
CCCurrently not used.
DDCost of employer-sponsored health coverage. You will report the amount of employer-provided health coverage in Box 12 with Code DD.
EEDesignated Roth contributions under a governmental section 457(b) plan. You will include Roth contributions under a 457(b) plan in Box 12 as well as Boxes 1, 3, and 5.

Want to make filing Form W-2 easier on yourself? Patriot Software’s Full Service Payroll files Forms W-2 and W-3 to the SSA on your behalf. We guarantee reliability, and you won’t need to worry about missing deadlines. Spend more time on your small business and less time on the nitty-gritty with our online payroll solution. Try a free trial today!

This article was updated from its original publication date of December 11, 2016.

This is not intended as legal advice; for more information, please click here.

Form W-2 Box 12 Codes | Codes and Explanations (2024)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Francesca Jacobs Ret

Last Updated:

Views: 5561

Rating: 4.8 / 5 (48 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Francesca Jacobs Ret

Birthday: 1996-12-09

Address: Apt. 141 1406 Mitch Summit, New Teganshire, UT 82655-0699

Phone: +2296092334654

Job: Technology Architect

Hobby: Snowboarding, Scouting, Foreign language learning, Dowsing, Baton twirling, Sculpting, Cabaret

Introduction: My name is Francesca Jacobs Ret, I am a innocent, super, beautiful, charming, lucky, gentle, clever person who loves writing and wants to share my knowledge and understanding with you.