Nondiscrimination testing · 2026
401(k) nondiscrimination testing and highly compensated employees
Tax law requires that a 401(k) not favor highly compensated employees. Plans run yearly tests on deferrals, matches, balances and coverage. Safe harbor designs skip some tests, and failed tests must be fixed by set deadlines.
Who is a highly compensated employee (HCE)
HCEs are used for the ADP, ACP and coverage tests. An employee is an HCE if either is true (IRS Publication 560, IRS Fix-it Guide):
- They owned more than 5% of the business at any time during the current or prior year, no matter how much they were paid. Ownership counts directly or through family attribution, so close family members of a 5% owner can be HCEs too.
- Their pay in the prior year was over $160,000. That threshold applies to 2025 pay (HCE status in 2026) and to 2026 pay (HCE status in 2027) (IRS Notice 2025-67).
The employer may elect the top-paid group rule. Then only employees over the pay threshold who are also in the top 20% by pay count as HCEs on the pay test.
| Threshold | 2026 amount | Used for |
|---|---|---|
| HCE pay | $160,000 of prior-year pay | ADP, ACP and coverage tests |
| Key employee officer pay | $235,000 (2025: $230,000) | Top-heavy test |
| More than 1% owner pay | $150,000 (not indexed for inflation) | Top-heavy test |
| Roth catch-up wages | $150,000 of 2025 FICA wages from the plan's employer | Whether catch-up must be Roth (a separate test from HCE status) |
IRS Notice 2026-66 sets the 2027 key employee officer pay threshold at $245,000 and the HCE threshold for 2027 compensation at $170,000. The usual 2027 calendar-year plan HCE lookback still uses the $160,000 threshold on 2026 compensation. For 2027 catch-ups, the separate test uses 2026 Box 3 Social Security wages over $155,000 from the plan sponsor.
The Roth catch-up rule looks only at prior-year FICA wages from the employer sponsoring the plan (T.D. 10033). Do not confuse it with HCE status: keep two separate flags in payroll.
What payroll and HR should do
- Build an HCE flag in HRIS, set each January from prior-year plan compensation and current ownership data.
- Decide with your plan advisor whether the top-paid group election helps, and keep it consistent with the plan document.
- Keep ownership records current, including family members of owners.
Key employees, for the top-heavy test
Key employees are officers paid over $235,000 for 2026, owners of more than 5%, and owners of more than 1% paid over $150,000. The $150,000 figure is not indexed for inflation (IRS). Collect officer titles and ownership percentages, including family ownership, every year.
The ADP and ACP tests
The ADP test compares the average deferral percentage of HCEs with that of non-HCEs. Each employee's deferral rate is figured first, and non-HCEs who chose not to defer count as zero (IRS Fix-it Guide, IRS).
It passes if the HCE average is not more than the greater of two numbers. One is 125% of the non-HCE average. The other is the lesser of 200% of the non-HCE average and the non-HCE average plus 2 percentage points. The ACP test works the same way but uses matching and employee after-tax contributions instead of deferrals. A plan can test non-HCEs on current year or prior year contributions, as set in the plan document.
| Non-HCE average | 125% of it | Lesser of 200% or plus 2 points | HCEs can average up to |
|---|---|---|---|
| 1% | 1.25% | 2% | 2% |
| 2% | 2.5% | 4% | 4% |
| 3% | 3.75% | 5% | 5% |
| 4% | 5% | 6% | 6% |
| 6% | 7.5% | 8% | 8% |
| 8% | 10% | 10% | 10% |
| 10% | 12.5% | 12% | 12.5% |
The IRS gives two of these. Non-HCEs at 4% let HCEs average up to 6%, and non-HCEs at 10% let HCEs average up to 12.5%.
Fictional example: a small company fails the ADP test
| Group | Deferral rates | Average |
|---|---|---|
| Non-HCEs | 0% (chose not to defer), 3%, 4%, 5% | 3% |
| HCEs | 8%, 6% | 7% |
| Limit for HCEs | Greater of 3.75% (125%) or the lesser of 6% (200%) and 5% (plus 2 points) | 5% |
The HCE average of 7% is over the 5% limit, so the plan fails by 2 points. It has to bring the HCE average down to 5% or raise the non-HCE average, using the fixes below.
If a test fails: fixes and deadlines
- Fixes: refund excess contributions to HCEs, or make qualified nonelective contributions (QNECs) to non-HCEs. For HCEs age 50 or older, the refund can be treated as a catch-up contribution (IRS Fix-it Guide).
- 2 and a half months: refunds made within 2 and a half months after the plan year ends avoid a 10% employer excise tax. Certain EACAs get 6 months.
- 12 months: if excess contributions are not fixed within 12 months after the plan year ends, the whole plan can lose its tax-qualified status.
Mark both deadlines on the calendar. The first is 2 and a half months after plan year end, which is March 15 for a calendar-year plan. The outer limit is 12 months. Ask the recordkeeper for a mid-year test projection, so HCE deferrals can be adjusted before year end instead of refunded after. If tests fail most years, consider a safe harbor design or automatic enrollment, which the IRS itself suggests.
Safe harbor and SIMPLE 401(k) plans
A safe harbor 401(k) that meets its requirements does not have to run the ADP and ACP tests (IRS Fix-it Guide). The safe harbor contribution is the basic match, an enhanced match, or a 3% nonelective contribution (IRS). The basic match is 100% of the first 3% of pay plus 50% of the next 2%. SIMPLE 401(k) plans are not subject to the ADP and ACP tests either. They are limited to employers with 100 or fewer employees who earned $5,000 or more in the prior year.
See the match formulas with worked examples.
Top-heavy testing
- A plan is top-heavy when key employees hold more than 60% of total plan account balances (IRS).
- The test uses balances on the last day of the prior plan year (IRS).
- A top-heavy plan generally must give non-key employees a minimum employer contribution of 3% of pay.
- A safe harbor 401(k) that receives only elective deferrals and safe harbor contributions is exempt from the top-heavy rules.
Coverage under section 410(b)
Under Code section 410(b), one way to pass coverage is for the plan to benefit at least 70% of non-highly compensated employees. Ratio and average benefit tests are also available. Separately, a plan generally cannot make employees wait past age 21 or one year of service, whichever is later, to join (IRS).
What payroll provides for testing: the census checklist
Testing is only as good as the census. Send the recordkeeper a full, accurate file each year. A plan can use different compensation definitions for testing than for deferrals (IRS Fix-it Guide).
| Data | What to include |
|---|---|
| Dates | Birth, hire, rehire and termination dates for every employee who worked during the year, including terminated ones |
| Hours | Hours worked, for eligibility and vesting service |
| Plan compensation | Pay under each plan definition used: deferrals, match and testing can differ |
| Contributions | Pre-tax, Roth, catch-up and after-tax deferrals, and the match, by employee |
| Prior-year pay | For the $160,000 HCE test, and prior-year FICA wages (W-2 box 3) for the Roth catch-up rule |
| Ownership | Percent owned, including family attribution |
| Officers | Officer titles and pay, for the key employee test |
| Corrections | Any payroll adjustments or late deposits during the year |
Hire and termination dates usually come from the HR system. See the HRIS Desk for data checks.
Frequently asked questions
Who is a highly compensated employee for 2026?
Anyone who owned more than 5% of the business in 2025 or 2026, or was paid more than $160,000 in 2025. The employer can also limit the pay test to the top 20%. See who is an HCE.
How does the ADP test work?
It compares the average deferral rate of HCEs with non-HCEs. If non-HCEs average 4%, HCEs can average up to 6%. See the ADP table.
What happens if our plan fails the ADP test?
The plan refunds excess to HCEs, adds QNECs for non-HCEs, or recharacterizes some refunds as catch-up. Fix it within 2 and a half months to avoid a 10% excise tax. See fixes and deadlines.
What does top-heavy mean?
Key employees hold more than 60% of plan balances. Then non-key employees generally get a 3% minimum employer contribution. See top-heavy testing.
Official sources
- IRS Notice 2025-67: 2026 amounts relating to retirement plans and IRAs
- IRS Notice 2026-66: final 2027 retirement plan limits
- IRS: Is my 401(k) top-heavy?
- IRS Publication 560 (2025), Retirement Plans for Small Business
- IRS 401(k) Plan Fix-it Guide: the plan failed the ADP and ACP nondiscrimination tests
- Internal Revenue Bulletin 2025-40: T.D. 10033, final regulations on catch-up contributions
- IRS: A guide to common qualified plan requirements
- IRS 401(k) Plan Fix-it Guide: 401(k) plan overview (safe harbor contributions)
- IRS 401(k) Plan Fix-it Guide: using the plan definition of compensation