
401(k) Nondiscrimination Testing Checks That a Plan Doesn't Favor Highly Paid Employees
Each year a traditional 401(k) must pass IRS tests showing it does not favor owners and higher-paid staff. The ADP and ACP tests compare saving and match rates between the two groups. The top-heavy test checks whether key employees hold more than 60% of plan assets. A failed test is fixed with refunds to higher-paid staff or an extra employer contribution.
Why 401(k) plans are tested at all
A 401(k) gives employees a tax break. Congress tied that break to the plan serving the whole workforce, not mainly the owners and executives. The nondiscrimination rules in the tax code enforce that condition. A plan that fails a test and does not fix it risks losing its tax-qualified status, which would take the tax benefits away from everyone in it.
The tests are mechanical. They are run after the plan year ends, usually by the third-party administrator (TPA), the firm that handles plan testing and filings, or by the recordkeeper. They use a census of pay, hours, ownership and contribution data that the employer supplies. The employer, as plan administrator, stays responsible for the results.
Who counts as highly compensated and key
Two definitions drive most of the testing. The FAQs below give the 2026 dollar thresholds for each.
Highly compensated employee (HCE), IRC section 414(q). An HCE is generally a more-than-5% owner or someone paid above the yearly threshold in the prior year. Ownership is passed from a more-than-5% owner to their spouse, children, parents and grandparents. So family members on the payroll are usually HCEs no matter what they earn.
Key employee, IRC section 416(i). Key employees matter only for the top-heavy test. Everyone who is not an HCE is a non-highly compensated employee (NHCE).
The ADP and ACP tests
The actual deferral percentage (ADP) test compares the average saving rate of the HCE group with the average saving rate of the NHCE group. The actual contribution percentage (ACP) test runs the same comparison on employer matching contributions and employee after-tax contributions.
Under IRC section 401(k)(3), the HCE average passes if it is no more than 1.25 times the NHCE average. It also passes if it is no more than 2 percentage points above the NHCE average and no more than twice it. The second route usually controls for small plans.
| NHCE average deferral | Maximum HCE average that passes |
|---|---|
| 2.0% | 4.0% |
| 4.0% | 6.0% |
| 6.0% | 8.0% |
| 8.0% | 10.0% |
| 10.0% | 12.5% |
The plan document chooses whether the NHCE average comes from the current year or the prior year. Prior-year testing tells the employer the HCE limit in advance. Current-year testing reflects what people actually did but is not known until the year closes. Because the test uses averages, a few HCEs saving the full 2026 limit of $24,500 while most NHCEs save little is the classic path to a failure.
The top-heavy test
A plan is top-heavy under IRC section 416 when key employees' balances are more than 60% of total plan balances on the determination date. That is generally the last day of the prior plan year.
A top-heavy plan must give each non-key employee who is employed on the last day of the year a minimum employer contribution. It is generally 3% of pay, or the highest rate any key employee received, if that is lower. The minimum must vest at least as fast as a 3-year cliff or 6-year graded schedule. Small, owner-heavy plans are often top-heavy simply because the owners have been saving longest.
The coverage test and other annual checks
The coverage test under IRC section 410(b) asks whether enough NHCEs benefit from the plan compared with HCEs. The most common version, the ratio percentage test, passes when the share of NHCEs who benefit is at least 70% of the share of HCEs who benefit. Plans that exclude a job class or a location, or that belong to a group of related companies, are the most likely to have a coverage problem.
Other checks happen alongside the main tests. Total yearly additions for each participant are compared with the section 415(c) limit ($72,000 for 2026; $75,000 for 2027). Pay used in the tests is capped at $360,000 for 2026 and $375,000 for 2027. Each employee's own deferrals must also stay under the section 402(g) limit; our guide covers refunding excess deferrals by April 15. Employer contributions that use a tiered or "new comparability" formula are tested separately under section 401(a)(4).
Correcting a failed test
When the ADP or ACP test fails, the plan has three tools:
- Refund extra contributions to HCEs. The excess is figured under the IRS leveling method and returned, with earnings, to the highest-saving HCEs. The refund is taxable to the employee in the year received.
- Make a qualified nonelective contribution (QNEC) or qualified matching contribution (QMAC). The employer adds enough for NHCEs to raise their average until the test passes. These are 100% vested when made.
- Recharacterize extra deferrals as catch-up contributions for HCEs who are age 50 or older and have catch-up room.
Timing matters. Refunds made within 2½ months after the plan year ends (March 15 for a calendar-year plan) avoid the 10% excise tax that IRC section 4979 puts on the employer. Plans with an eligible automatic contribution arrangement (EACA) get 6 months (June 30). Refunds made later but within 12 months still fix the test, with the excise tax owed. A failure not fixed within 12 months must go through the IRS correction program. Our page on what to do after a failed ADP test walks through the refund and QNEC math.
A top-heavy failure is not fixed by refunds; the employer simply owes the minimum contribution for that year. A coverage failure is generally fixed by amending the plan to bring in more NHCEs, back to the start of the year.
How to avoid failing in the first place
- Adopt a safe harbor design. A safe harbor 401(k) uses a required, immediately vested employer contribution. Options are a basic match of 100% of the first 3% of pay plus 50% of the next 2%, or a 3% contribution for everyone. In return, the plan skips the ADP test and, generally, the ACP test. A safe harbor plan with only safe harbor contributions and deferrals also meets the top-heavy rules.
- Add automatic enrollment. Higher NHCE participation raises the NHCE average, which raises the ceiling for HCEs. Plans set up on or after December 29, 2022 must auto-enroll in any case, with limited exceptions.
- Run a test projection mid-year. Many TPAs can run a trial test on payroll data during the year.
- Choose the testing method on purpose. Prior-year testing gives predictability; current-year testing gives room to use QNECs.
- Keep the census clean. Most testing errors come from wrong pay definitions, missed family ownership or misclassified employees.
Who does the testing, and what the employer owes
Testing is a TPA or recordkeeper job, and the quality of that service varies. When Vestment 401k Advisors evaluates recordkeepers and TPAs for an employer, timely testing and clear correction steps are among the criteria. The firm does not perform nondiscrimination testing itself.
The employer's job is to deliver accurate census data on time, answer the TPA's questions about ownership and family ties, fund any required contribution and approve refunds before the deadline. Keep test results, correction records and related deposits with the annual Form 5500 filing, since an auditor will ask for them once a plan is large enough to need an audit. The testing deadlines sit alongside the other dates on our 401(k) compliance calendar.
Summary
- The yearly tests make sure the plan helps rank-and-file workers, not just owners.
- Family members of owners usually count as highly paid, whatever their salary.
- Fixing a failure on time avoids an extra tax on the employer.
- Safe harbor designs and automatic enrollment are the usual ways to stay out of trouble.
- Clean employee data is the best defense against a wrong result.
Frequently asked questions
Is nondiscrimination testing required?
Yes, for every 401(k) plan that is not exempt by design. Traditional 401(k) plans must run the ADP and ACP tests, the top-heavy test and the coverage test each year. Safe harbor plans are generally exempt from the ADP and ACP tests and, in many cases, the top-heavy test. But they still must meet the coverage rules and the individual contribution limits.
What is 402(g) testing?
It is the check that no participant saved more than the yearly limit under IRC section 402(g). That limit is $24,500 for 2026 ($25,500 for 2027), plus any catch-up contribution the participant can make. Excess deferrals, with earnings, must be returned to the participant by April 15 of the next year. Otherwise the excess is taxed twice: in the year contributed and in the year paid out.
Who counts as a highly compensated employee for 2026 401(k) testing?
For 2026, an HCE is anyone who owned more than 5% of the employer at any time in 2025 or 2026, or whose 2025 pay was over $160,000. Ownership counts if it is held by a spouse, child, parent or grandparent. If the plan has elected the top-paid group rule, the pay-based group is limited to the top 20% of employees ranked by pay.
What census data does the TPA need to run 401(k) nondiscrimination tests?
A complete employee list for the year, including people who left. It should show dates of birth, hire and termination, hours worked, gross pay under the plan's definition, deferral and Roth amounts, employer contributions, ownership percentages and family ties among owners and employees. Errors in any of these fields are the most common cause of a wrong test result.
Can a 401(k) plan run its nondiscrimination tests before the year ends?
Yes, as a trial run. Many TPAs and recordkeepers will run a projection using payroll data through the second or third quarter. The result is not final. But it lets HCEs lower their saving rates, or lets the employer plan a QNEC, before year end. That is usually less disruptive than refunds after the fact.
What is the difference between a highly compensated employee and a key employee?
Both groups are defined by ownership and pay, but the thresholds and purposes differ. HCE status (more than 5% ownership or 2025 pay above $160,000) drives the ADP, ACP and coverage tests. Key employee status (more than 5% ownership, more than 1% ownership with pay above $150,000, or an officer with 2026 pay above $235,000) drives only the top-heavy test. An employee can be one without being the other.
Sources
- IRS Notice 2025-67, 2026 cost-of-living adjustments for retirement plans
- IRS, 401(k) Plan Fix-It Guide: ADP/ACP test failures
- IRS, 401(k) Plan Overview (nondiscrimination and top-heavy rules)
- IRS Notice 2020-86, safe harbor plan guidance under the SECURE Act
- IRS Notice 2026-66, 2027 retirement plan limits
- IRS news release IR-2026-136: 401(k) limit increases to $25,500 for 2027
Talk with us about your plan
Call or text (630) 390-2724 or send us a note to set up a no-obligation conversation, on-site at your business or by secure video. Your initial consultation and benchmarking are free.
Important information
This page is general education for employers that sponsor retirement plans. It is not individualized investment, legal or tax advice.

