AIThis article was authored by AI. Always confirm important claims by consulting reliable, established sources.
Nondiscrimination testing is a central compliance requirement for many employee benefit plans, designed to ensure that tax-favored benefits do not disproportionately favor highly compensated or key employees.
For employers, testing failures can create significant tax consequences, corrective contribution obligations, and administrative complications. A sound understanding of applicable rules is therefore essential for maintaining qualified retirement, cafeteria, and welfare benefit plans.
Why Nondiscrimination Testing Matters for Employee Benefit Plans
Employee benefit plans receive favorable tax treatment only when they operate for the benefit of a broad employee population rather than disproportionately favoring owners, executives, or other highly compensated individuals. Nondiscrimination testing helps verify that this standard is met.
For retirement arrangements, testing examines participation, employee deferrals, employer contributions, and benefits across defined employee groups. Similar rules apply to many cafeteria, health, and welfare benefit arrangements, although the applicable tests vary by plan type.
A failed test can affect a plan’s tax-qualified status or require corrective action, such as refunds of excess contributions, additional employer contributions, or changes to benefit availability. These outcomes may create administrative costs and employee-relations concerns.
Regular nondiscrimination testing also helps employers identify plan-design issues early. Reviewing results throughout the year can support timely corrections and reduce the risk of unexpected compliance failures after plan-year end.
Legal Framework Governing Nondiscrimination Testing
Federal tax law establishes the principal rules for nondiscrimination testing of employee benefit plans. For retirement arrangements, the Internal Revenue Code sets qualification requirements designed to prevent plans from disproportionately favoring highly compensated employees, owners, and other designated groups.
Key provisions include Internal Revenue Code sections 401(a), 401(k), 401(m), 410(b), 416, and 415. These rules address plan coverage, employee deferrals, employer contributions, benefit limits, and top-heavy status. IRS regulations and administrative guidance further explain testing methods and correction procedures.
Welfare benefit plans may be governed by separate Code provisions. For example, cafeteria plans are subject to section 125 testing rules, while self-insured group health plans must satisfy nondiscrimination requirements under section 105(h). The applicable framework depends on the benefit type and plan design.
Employee Groups Used in Testing
Nondiscrimination testing compares how employee benefit plans treat defined employee populations. Proper classification is necessary because many tests measure whether benefits, contributions, or participation disproportionately favor employees with higher compensation or greater ownership interests.
Common testing groups include:
- Highly Compensated Employees (HCEs): Generally, employees who owned more than 5% of the employer during the current or prior year, or who exceeded the applicable IRS compensation threshold in the prior year, subject to plan rules.
- Non-Highly Compensated Employees (NHCEs): Employees who do not meet the HCE definition. Their participation and contribution rates often provide the comparison baseline.
- Key Employees: For top-heavy testing, this group generally includes certain officers, more-than-5% owners, and more-than-1% owners meeting specified compensation requirements.
- Non-Key Employees: Employees who are not key employees for the applicable plan year.
Employers must apply these classifications consistently using the relevant plan year, ownership rules, compensation definitions, and controlled-group or affiliated-service-group rules. Accurate employee data supports reliable Nondiscrimination testing and helps identify whether corrective action is required.
Highly Compensated Employees
Highly compensated employees are individuals identified under Internal Revenue Code Section 414(q) for retirement-plan compliance purposes. This classification helps determine whether a plan’s benefits, contributions, or participation disproportionately favor higher-paid workers.
An employee is generally highly compensated if the employee owned more than 5 percent of the employer during the current or preceding year. Family attribution rules may treat certain ownership interests held by spouses, children, parents, or grandparents as indirectly owned.
An employee may also qualify based on compensation received in the preceding year. For 2026 testing, the applicable prior-year compensation threshold is generally $160,000, subject to annual IRS cost-of-living adjustments. Employers may limit this group to employees within the top-paid 20 percent, if the plan applies that election properly.
Nondiscrimination testing commonly compares the deferral and contribution rates of highly compensated employees with those of non-highly compensated employees. Accurate payroll, ownership, and employee-status records are therefore necessary when determining the proper testing population.
Non-Highly Compensated Employees
Non-highly compensated employees, commonly called NHCEs, are employees who do not meet the Internal Revenue Code definition of a highly compensated employee for the applicable plan year. They form the principal comparison group in many qualified plan tests.
Generally, an employee is an NHCE if the individual did not own more than 5 percent of the employer and did not exceed the applicable statutory compensation threshold in the prior year. Employers may apply permitted family attribution rules when determining ownership.
For 401(k) plans, NHCE deferral and contribution rates are used to evaluate whether highly compensated employees receive disproportionately favorable benefits. The ADP and ACP tests compare average percentages for these employee groups under prescribed rules.
Accurate NHCE classification depends on complete payroll, ownership, employment, and eligibility records. Errors in classification can distort nondiscrimination testing results and may require corrective contributions, refunds, or other plan adjustments.
Key Employees and Non-Key Employees
A key employee is a participant who meets the Internal Revenue Code definition used for top-heavy plan testing. For the applicable plan year, this generally includes certain officers, owners, and highly paid owners of the employer.
Key employees may include an officer earning more than the indexed annual compensation threshold, a more-than-5% owner, or a more-than-1% owner earning more than $150,000. Attribution rules can treat certain family ownership interests as indirect ownership.
Non-key employees are all employees who do not meet the key employee definition. Their account balances and benefits are compared with those of key employees when determining whether a qualified retirement plan is top-heavy.
In nondiscrimination testing, a plan is generally top-heavy when key employees hold more than 60% of the plan’s aggregate account balances or accrued benefits, subject to applicable exclusions and aggregation rules.
Retirement Plans Subject to Nondiscrimination Testing
Qualified retirement plans generally must satisfy Internal Revenue Code nondiscrimination rules to preserve their tax-favored status. These rules are designed to prevent plan benefits, contributions, and participation opportunities from being disproportionately available to highly compensated employees.
Common plans subject to testing include traditional 401(k) plans, profit-sharing plans, money purchase pension plans, defined benefit pension plans, and employee stock ownership plans. The applicable tests vary according to the plan’s design, contribution structure, and participant eligibility rules.
For example, a traditional 401(k) plan may require ADP and ACP testing, while a defined benefit plan is commonly evaluated under coverage and benefit nondiscrimination standards. Qualified plans may also be subject to top-heavy testing when key employees hold a substantial share of plan assets.
Certain governmental plans and church plans may be exempt from some Internal Revenue Code qualification requirements. Plans using compliant safe harbor designs can also avoid particular Nondiscrimination testing requirements, although they remain subject to other applicable rules.
The ADP Test for Employee Deferrals
The ADP test measures whether employee elective deferrals under a 401(k) plan disproportionately favor highly compensated employees (HCEs). It compares the average deferral percentage of HCEs with that of non-highly compensated employees (NHCEs).
Each participant’s deferral percentage generally equals elective deferrals divided by the employee’s compensation for the plan year. The plan then calculates separate average deferral percentages for the HCE and NHCE groups.
An HCE group’s average may not exceed the NHCE average by more than permitted under Internal Revenue Code Section 401(k). Generally, the HCE average must be no more than 125% of the NHCE average, or no more than two percentage points higher, subject to a 200% limit.
When a plan fails the ADP test, the employer may correct the failure through methods such as distributing excess contributions to affected HCEs or making qualified nonelective or matching contributions for eligible NHCEs.
The ACP Test for Employer Contributions
The ACP test measures whether employer matching contributions and employee after-tax contributions disproportionately favor highly compensated employees (HCEs). It compares the average contribution percentages of HCEs with those of non-highly compensated employees (NHCEs) under applicable Internal Revenue Code rules.
For each participant, the contribution percentage generally equals matching and after-tax contributions divided by compensation. The plan then calculates separate average contribution percentages for HCEs and NHCEs, using the prior-year or current-year testing method permitted by the plan.
The HCE average must satisfy one of two limits: it may not exceed 125% of the NHCE average, or it must remain within the alternative percentage limits based on the NHCE average. Nondiscrimination testing commonly applies these calculations annually.
A failed ACP test may be corrected through refunds or recharacterization of certain HCE contributions, qualified nonelective contributions, or qualified matching contributions for NHCEs, subject to timing and plan-document requirements.
Matching Contributions
Matching contributions are employer contributions made to a 401(k) or similar defined contribution plan based on an employee’s elective deferrals. A common formula matches 50% of employee contributions up to 6% of compensation, although plan terms may vary.
For ACP testing, matching contributions are generally included with employee after-tax contributions when calculating each participant’s actual contribution percentage. The test compares the average percentages for highly compensated employees and non-highly compensated employees.
A plan may fail when highly compensated employees receive matching contributions at a materially higher average rate than other eligible employees. Eligibility rules, compensation definitions, match formulas, and employee participation patterns can all affect the outcome.
Nondiscrimination testing may permit correction through methods such as distributing excess contributions to highly compensated employees, making qualified nonelective or qualified matching contributions, or using other permitted corrective approaches under applicable plan rules.
Employee After-Tax Contributions
Employee after-tax contributions are voluntary amounts contributed from compensation after income taxes have been withheld. In a 401(k) plan, they are distinct from pre-tax elective deferrals and designated Roth contributions, although all may be subject to applicable annual limits.
For ACP testing purposes, employee after-tax contributions generally are included in the actual contribution percentage calculation. The test compares average contribution rates for highly compensated employees and non-highly compensated employees.
- Contributions are generally measured as a percentage of eligible compensation.
- The plan must apply its written definition of compensation consistently.
- Related employer matching contributions may also affect ACP test results.
A plan may permit distributions or other corrective measures when ACP testing identifies excess after-tax contributions by highly compensated employees. Proper payroll coding, plan administration, and participant records support accurate nondiscrimination testing and help distinguish after-tax contributions from Roth deferrals.
Calculating Average Contribution Percentages
For the ACP test, each eligible employee’s contribution percentage is generally calculated by dividing applicable employer matching contributions and employee after-tax contributions by the employee’s compensation for the plan year.
The plan then determines separate average contribution percentages for highly compensated employees and non-highly compensated employees. Each group’s average is the arithmetic mean of individual employee percentages, rather than a percentage based on total group contributions.
For example, if three non-highly compensated employees have contribution percentages of 2%, 4%, and 6%, their average contribution percentage is 4%. Employees with no applicable contributions may need to be included as zeroes when required by the plan’s testing rules.
Nondiscrimination testing compares the highly compensated employee average with the non-highly compensated employee average under applicable Internal Revenue Code limits. Accurate compensation definitions, eligibility data, and contribution records are necessary to produce a valid ACP calculation.
Top-Heavy Testing for Qualified Retirement Plans
A qualified retirement plan is generally top-heavy when the value of plan accounts or accrued benefits attributable to key employees exceeds 60% of total plan assets or benefits on the applicable determination date. This test typically applies annually.
Key employees generally include certain officers earning above an indexed compensation threshold, 5% owners, and 1% owners earning more than $150,000. Former key employees may also affect the calculation under applicable attribution and aggregation rules.
When a plan is top-heavy, the employer generally must provide a minimum contribution or benefit to eligible non-key employees. For defined contribution plans, this is commonly a contribution of up to 3% of compensation, subject to plan terms and statutory limits.
Top-heavy testing is a distinct part of Nondiscrimination testing and may apply even when a plan satisfies ADP, ACP, or coverage requirements. Certain safe harbor 401(k) plans may be exempt from top-heavy minimum contribution requirements, depending on their design.
Coverage Testing and Benefit Nondiscrimination Rules
Coverage testing determines whether a qualified retirement plan benefits a sufficient number of non-highly compensated employees (NHCEs). It generally applies alongside contribution and benefit tests, helping prevent a plan from disproportionately favoring owners, officers, and other highly compensated employees.
Under Internal Revenue Code Section 410(b), plans commonly satisfy coverage through the ratio percentage test or the average benefit percentage test. The ratio test compares the percentage of eligible NHCEs benefiting under the plan with the percentage of eligible highly compensated employees benefiting.
Benefit nondiscrimination rules under Code Section 401(a)(4) examine whether plan contributions or benefits are allocated in a nondiscriminatory manner. A plan may need to demonstrate that contribution rates, benefit accruals, or allocation formulas do not provide impermissible advantages to highly compensated employees.
Nondiscrimination testing can involve controlled-group and affiliated-service-group rules, which may require related employers to be treated as one employer. Accurate employee census data, eligibility classifications, and plan design details are necessary to apply these rules correctly.
Safe Harbor Plan Designs and Testing Exemptions
A safe harbor 401(k) design permits a plan to avoid annual ADP and ACP testing when it satisfies specific Internal Revenue Code requirements. Employers generally must provide prescribed employer contributions and meet applicable notice, eligibility, and vesting rules.
Required contributions may take the form of a fully vested matching contribution, commonly 100% of the first 3% deferred and 50% of the next 2%, or a fully vested nonelective contribution of at least 3% of compensation for eligible employees.
Traditional safe harbor plans generally require an annual notice describing contribution terms and employee rights. Some nonelective safe harbor designs may be eligible for notice relief, subject to regulatory conditions. Plans must also apply eligibility provisions consistently.
Safe harbor status relieves the plan from ADP and ACP testing only for contributions covered by the safe harbor arrangement. Nondiscrimination testing may still apply to other plan features, including certain employer contributions, coverage requirements, and top-heavy rules.
Safe Harbor 401(k) Contributions
Safe harbor 401(k) contributions are employer contributions that allow a plan to avoid the annual ADP and ACP tests when statutory requirements are met. They are generally fully vested when contributed and must satisfy prescribed minimum formulas.
An employer may use a basic matching formula: 100 percent of an employee’s elective deferrals up to 3 percent of compensation, plus 50 percent of deferrals from 3 percent to 5 percent. An enhanced match may be used if it is at least as generous.
Alternatively, the employer may make a nonelective contribution of at least 3 percent of compensation for each eligible non-highly compensated employee, whether or not the employee makes salary deferrals. Contribution limits and eligible compensation rules still apply.
Safe harbor treatment does not eliminate every aspect of Nondiscrimination testing. A plan may still require testing for features outside the safe harbor arrangement, including certain employer contributions, coverage requirements, and top-heavy status.
Notice and Eligibility Requirements
Safe harbor 401(k) plans must satisfy specific notice and eligibility rules to receive relief from the ADP and ACP tests. Plan terms must be administered consistently and made available to eligible employees without favoring highly compensated employees.
For traditional safe harbor 401(k) plans, eligible employees generally must receive a written notice describing their rights and obligations. The notice should explain:
- The type and amount of safe harbor contribution
- Eligibility conditions and contribution requirements
- How to make or change salary deferral elections
- Applicable withdrawal and vesting provisions
The notice must be provided within the required IRS timeframe, generally 30 to 90 days before the beginning of the plan year. Employees who become eligible during the year must receive notice within a reasonable period before eligibility.
Eligibility restrictions must comply with applicable minimum participation standards. Nondiscrimination testing remains relevant because safe harbor status does not excuse failures involving improper exclusions, plan operations, or other legal requirements.
Limits of Safe Harbor Relief
A safe harbor 401(k) plan generally avoids the ADP and ACP tests when it satisfies applicable contribution, vesting, notice, and eligibility requirements. This relief does not eliminate every form of nondiscrimination testing or every compliance obligation.
Safe harbor status does not exempt a plan from top-heavy testing unless the plan uses only safe harbor contributions and meets the conditions for the applicable top-heavy exemption. Other employer contributions may affect that result.
Coverage testing may still apply when the plan benefits separate employee groups or includes features outside the safe harbor arrangement. Plan sponsors must also comply with annual contribution limits, nondiscrimination rules for certain plan features, and operational requirements.
A plan can lose safe harbor protection if required contributions are not made, eligibility terms are applied improperly, or required notices are not provided when notice requirements apply. Corrections may be available in limited circumstances, but failed compliance can require standard nondiscrimination testing or other corrective action.
Cafeteria Plan Nondiscrimination Testing
Cafeteria plans under Internal Revenue Code Section 125 let employees choose among qualified benefits, often through salary reductions. Nondiscrimination testing helps confirm that plan eligibility, contributions, and benefits do not disproportionately favor highly compensated or key employees.
The eligibility test examines whether enough non-highly compensated employees are eligible to participate compared with highly compensated employees. Employers may use statutory safe harbors or demonstrate that eligibility classifications are reasonable and not discriminatory in operation.
The contributions and benefits test evaluates whether highly compensated employees receive more favorable employer contributions, benefit options, or election opportunities. The test considers both the plan’s written terms and its actual administration during the plan year.
A separate key employee concentration test applies to taxable benefits elected by key employees. If key employees receive more than 25 percent of aggregate taxable benefits provided through the plan, their benefits may become taxable.
Eligibility Test
For a cafeteria plan, the eligibility test examines whether the plan gives a disproportionate opportunity to participate to highly compensated individuals. It generally compares participation rates among highly compensated and non-highly compensated employees.
The test is usually satisfied when a sufficient percentage of non-highly compensated employees are eligible to participate, measured under the statutory percentage tests. Employers may exclude certain employee groups only where permitted by applicable Internal Revenue Code rules.
Eligibility is not limited to whether employees may enroll. Plan conditions such as minimum service requirements, job classifications, geographic limitations, and hours-of-service thresholds can affect the analysis if they disproportionately restrict non-highly compensated employees.
Nondiscrimination testing should be performed using accurate employee census data and plan terms in effect for the relevant plan year. A failed eligibility test may require changes to eligibility practices or corrective action to preserve the cafeteria plan’s intended tax treatment.
Contributions and Benefits Test
For a cafeteria plan, the contributions and benefits test examines whether employer contributions and plan benefits are available on a nondiscriminatory basis. It generally compares eligibility, contribution formulas, and benefit access for highly compensated participants and other employees.
The plan must not provide disproportionately favorable employer contributions or benefits to highly compensated individuals. Uniform contribution methods, such as a fixed employer credit or the same matching formula for similarly situated employees, can support compliant treatment.
Differences may be permissible when they reflect bona fide employment classifications or apply consistently under the plan’s written terms. For example, varying coverage by full-time status, geographic location, or collectively bargained status may be acceptable if not designed to favor highly compensated employees.
Nondiscrimination testing should be performed using accurate payroll, eligibility, and election data. If a plan fails, an employer may need to adjust contributions, modify benefits, or take other corrective action permitted under applicable tax rules.
Key Employee Concentration Test
For cafeteria plans, the key employee concentration test limits the value of nontaxable benefits received by key employees. It applies to the plan year and helps prevent disproportionate use of benefits by senior owners and officers.
A cafeteria plan fails when key employees receive more than 25% of the aggregate nontaxable benefits provided under the plan. The calculation generally includes benefits elected through salary reduction and employer-provided flex credits.
Key employees generally include individuals who, during the preceding plan year, were:
- Officers earning more than the applicable indexed compensation threshold;
- Owners of more than 5% of the employer; or
- Owners of more than 1% who earned more than $150,000.
If the test fails, the excess benefits received by key employees become taxable income to those employees. Employers should review elections, ownership data, and benefit allocations before year-end to identify and address potential concentration issues.
Nondiscrimination Testing for Health and Welfare Benefits
Health and welfare benefit arrangements may be subject to separate nondiscrimination rules under the Internal Revenue Code. These rules generally prevent employers from providing disproportionately favorable eligibility, contributions, or benefits to highly compensated or key employees.
Common arrangements requiring review include:
- Self-insured medical reimbursement plans under Section 105(h)
- Dependent care assistance programs
- Group-term life insurance programs
- Certain educational assistance and adoption assistance programs
For self-insured medical plans, Section 105(h) evaluates both eligibility and benefits. A plan may fail if too many non-highly compensated employees are excluded or if highly compensated individuals receive better reimbursements, lower employee costs, or broader coverage.
Nondiscrimination testing for insured health coverage is subject to a different framework. Although the Affordable Care Act contains insured-plan nondiscrimination provisions, enforcement has been delayed pending further regulatory guidance. Employers should still review plan design, employee classifications, and benefit practices with counsel.
Correcting Failed Nondiscrimination Tests
When a plan fails a required test, the correction method depends on the test, plan terms, and applicable IRS rules. Employers should act promptly, document the failure, and coordinate with the plan’s recordkeeper, third-party administrator, and counsel.
For failed ADP or ACP tests, common corrections include distributing excess contributions and related earnings to highly compensated employees or making qualified nonelective or matching contributions for non-highly compensated employees. Timing affects tax reporting and possible excise taxes.
A failed top-heavy test generally requires a minimum employer contribution for eligible non-key employees, subject to applicable compensation and allocation rules. Coverage or benefit-testing failures may require expanding eligibility, adjusting allocations, or using permitted corrective contributions.
Nondiscrimination testing errors can also be addressed through the IRS Employee Plans Compliance Resolution System when correction is not otherwise available or timely completed. Employers should preserve test results, payroll data, participant notices, and correction calculations to support compliance.
Building a Reliable Nondiscrimination Testing Compliance Process
A reliable compliance process begins with accurate plan documents, current payroll records, employee census data, and ownership information. Employers should identify controlled-group and affiliated-service-group relationships, since these rules may affect which employees must be included in testing.
Testing calendars should track plan-year deadlines, data collection dates, corrective-distribution windows, and required participant notices. Performing preliminary Nondiscrimination testing during the year can reveal participation or contribution patterns before year-end limits apply.
Human resources, payroll, benefits administrators, and recordkeepers should reconcile data before testing begins. Particular attention is needed for compensation definitions, hire and termination dates, employee classifications, deferral elections, matching contributions, and hours of service.
Written procedures should assign responsibilities, preserve testing reports and correction records, and require review when workforce or plan-design changes occur. Employers should consult qualified benefits counsel or plan professionals when results are uncertain or corrections involve complex tax rules.