P.A.Y.
Skip to content
P.A.Y.Payroll All Year

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.

Written by Robert Hartigos, 20+ years in payroll, HRIS and benefits · Last reviewed November 15, 2026

See the ADP testCensus checklist for payroll

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):

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.

2026 thresholds for testing, and what each one is for
Threshold2026 amountUsed for
HCE pay$160,000 of prior-year payADP, 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 employerWhether 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

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.

Highest passing HCE average for each non-HCE average
Non-HCE average125% of itLesser of 200% or plus 2 pointsHCEs 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

ADP test for a fictional company with four non-HCEs and two HCEs
GroupDeferral ratesAverage
Non-HCEs0% (chose not to defer), 3%, 4%, 5%3%
HCEs8%, 6%7%
Limit for HCEsGreater 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

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

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).

The yearly testing census payroll sends
DataWhat to include
DatesBirth, hire, rehire and termination dates for every employee who worked during the year, including terminated ones
HoursHours worked, for eligibility and vesting service
Plan compensationPay under each plan definition used: deferrals, match and testing can differ
ContributionsPre-tax, Roth, catch-up and after-tax deferrals, and the match, by employee
Prior-year payFor the $160,000 HCE test, and prior-year FICA wages (W-2 box 3) for the Roth catch-up rule
OwnershipPercent owned, including family attribution
OfficersOfficer titles and pay, for the key employee test
CorrectionsAny 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 2026-66 reviewed November 15, 2026.

General information, not legal, tax or benefits advice. Your plan document, recordkeeper and plan advisor decide how the tests apply to your plan.