HR Glossary ยท Benefits
Nondiscrimination Testing
Definition
Nondiscrimination testing is a set of yearly IRS tests that checks whether a tax-favored benefit plan, such as a 401(k) or a Section 125 cafeteria plan, unfairly favors owners and highly compensated employees over everyone else. A plan that fails must be corrected, or the favored employees can lose tax benefits.
At a glance
Nondiscrimination testing compares highly compensated employees, generally owners of more than 5% or people paid over $160,000 in the prior year for 2026 testing, with everyone else, and 401(k) failures must be fixed within 2.5 months to avoid a 10% excise tax.
Thresholds from IRS Notice 2025-67 (2026) and Notice 2026-66 (2027: HCE $170,000, key employee $245,000). The HCE test looks at pay in the year before the plan year.
Which plans need nondiscrimination testing?
Nondiscrimination testing applies to most tax-favored plans, including 401(k) plans, Section 125 cafeteria plans with health FSAs and premium conversion, dependent care assistance, self-insured medical plans and several fringe benefits, and it applies regardless of employer size.
- 401(k) plans: the ADP test on employee deferrals and the ACP test on matching and after-tax contributions, plus coverage and top-heavy tests.
- Cafeteria plans: eligibility, contributions and benefits tests for highly compensated employees, and a 25% concentration test for key employees.
- Other benefits: dependent care assistance, educational assistance, group-term life insurance and self-insured medical reimbursement plans each have their own tests.
Small businesses can fail more easily, because a few owners and family members can make up a large share of the group. See Fringe Benefits for the benefit-by-benefit rules.
Who is a highly compensated or key employee?
For 401(k) nondiscrimination testing in 2026, a highly compensated employee owned more than 5% of the business in the current or prior year, or was paid more than $160,000 in 2025; a key employee for 2026 includes an officer paid more than $235,000.
| Threshold | 2026 | 2027 |
|---|---|---|
| Highly compensated employee pay threshold (IRC 414(q)) | $160,000 | $170,000 |
| Key employee officer pay threshold (IRC 416(i)) | $235,000 | $245,000 |
| Compensation limit for plan purposes (IRC 401(a)(17)) | $360,000 | $375,000 |
The HCE pay test looks back one year. For the 2026 plan year you compare 2025 pay to the threshold in effect for 2025, which was also $160,000. An employer can also elect to count only employees in the top-paid 20% as HCEs.
For cafeteria plans, IRS Publication 15-B uses a broader HCE definition: officers, more than 5% shareholders, employees who are highly paid based on the facts, and their spouses and dependents.
How do the 401(k) ADP and ACP tests work?
The 401(k) ADP test compares the average deferral rate of highly compensated employees with that of everyone else, and the HCE average can be no more than 125% of the non-HCE average, or up to 2 percentage points higher but not more than double it.
The ACP test uses the same limits on matching and after-tax contributions. Each person’s rate is their contributions divided by their pay.
Example: non-HCEs defer an average of 4% of pay. The 125% limit allows 5%, and the 2-point limit allows 6% (which is not more than double 4%). The greater limit wins, so HCEs can average up to 6%. If they average 7%, the plan fails.
An ADP test failure is fixed by refunding excess contributions to HCEs or by making qualified nonelective contributions (QNECs) for non-HCEs.
What happens if a plan fails?
If a 401(k) plan fails nondiscrimination testing, you have 2.5 months after the plan year ends (6 months for certain automatic enrollment plans) to correct it without a 10% excise tax, and 12 months before the plan’s tax-qualified status is at risk.
- 401(k): refund excess contributions to HCEs or fund QNECs for non-HCEs. Corrections after 12 months need the IRS correction programs.
- Cafeteria plan: if the plan favors highly compensated employees, those employees must include in wages the value of the taxable benefits they could have picked. Everyone else keeps the tax break.
- Key employees: a cafeteria plan favors key employees if more than 25% of all nontaxable benefits go to them, and then key employees are taxed on what they could have chosen.
How to avoid failing: safe harbor designs
The easiest ways to avoid nondiscrimination testing failures are a safe harbor 401(k), which skips the ADP and ACP tests when it meets set contribution and notice rules, and a simple cafeteria plan for employers with 100 or fewer employees.
- Safe harbor 401(k): you make required employer contributions and give notices, and the ADP and ACP tests are treated as passed.
- Simple cafeteria plan: available if you averaged 100 or fewer employees in either of the two prior years. You contribute at least 2% of pay for each eligible employee, or a match of at least the lesser of 6% of pay or twice the employee’s salary reduction, and the plan is treated as passing cafeteria plan tests.
- Test early: run a mid-year test so you can adjust HCE deferrals before year-end.
- Send clean data: check ownership, family relationships and pay data before they go to the recordkeeper, because every test depends on them.
Rules by state
Nondiscrimination testing is a federal tax rule, so North Carolina and South Carolina employers run the same tests with the same 2026 thresholds, including the $160,000 highly compensated employee test, as employers in every state.
Federal rule
HCE test: over $160,000 (2026 testing)
Federal tax law sets the tests and thresholds. For 2026 the HCE pay threshold is $160,000 and the key employee officer threshold is $235,000; for 2027 they are $170,000 and $245,000.
North Carolina
Federal tests apply, no state test
North Carolina has no separate benefit plan nondiscrimination test. Plans that pass the federal tests keep their tax treatment, and North Carolina income tax starts from federal adjusted gross income.
Source: N.C. Gen. Stat. ยง 105-153.5
South Carolina
Federal tests apply, no state test
South Carolina has no separate benefit plan nondiscrimination test. South Carolina income tax uses income as figured under the Internal Revenue Code, so the federal results carry over.
Source: S.C. Code ยง 12-6-1110
Nondiscrimination Testing FAQ
What is nondiscrimination testing for a 401(k)?
Nondiscrimination testing for a 401(k) is the yearly ADP and ACP testing that compares how much highly compensated employees save and receive in matches with everyone else. If HCEs are too far ahead, the plan must refund money to them or add contributions for other employees.
Who counts as a highly compensated employee in 2026?
A highly compensated employee for 2026 testing is anyone who owned more than 5% of the business in 2025 or 2026, or who was paid more than $160,000 in 2025. An employer can choose to limit the pay group to the top-paid 20% of employees.
When is the deadline to fix a failed ADP test?
The deadline to fix a failed ADP test without a 10% excise tax is 2.5 months after the plan year ends, or 6 months for certain automatic enrollment plans. For a calendar-year plan, that is March 15 of the next year.
Do cafeteria plans need nondiscrimination testing?
Cafeteria plans need nondiscrimination testing to make sure they do not favor highly compensated or key employees in eligibility, contributions or benefits. Employers with 100 or fewer employees can use a simple cafeteria plan, which is treated as passing.
Does a safe harbor 401(k) need testing?
A safe harbor 401(k) does not need the ADP and ACP tests if it meets the safe harbor contribution and notice rules. Other plan qualification rules still apply.
Related terms
Sources
- 401(k) Plan Fix-It Guide: The plan failed the 401(k) ADP and ACP nondiscrimination tests Internal Revenue Service
- Notice 2025-67: 2026 amounts relating to retirement plans Internal Revenue Service, 2025
- Notice 2026-66: 2027 amounts relating to retirement plans Internal Revenue Service, 2026
- Publication 15-B (2026), Employer's Tax Guide to Fringe Benefits Internal Revenue Service
- N.C. Gen. Stat. ยง 105-153.5: Modifications to adjusted gross income North Carolina General Assembly
- S.C. Code Title 12, Chapter 6: South Carolina Income Tax Act South Carolina Legislature
This page explains the law in general terms and was checked against the official sources listed on it. It is not legal advice for your specific situation.
