Understanding the 401(k) Highly Compensated Employee (HCE) Limits: IRS Rules and Compliance Strategies
The 401(k) highly compensated employee (HCE) limit is a restriction imposed by the Internal Revenue Service (IRS) to prevent workplace retirement plans from disproportionately benefiting high earners. Rather than a flat dollar cap beyo...
The 401(k) highly compensated employee (HCE) limit is a restriction imposed by the Internal Revenue Service (IRS) to prevent workplace retirement plans from disproportionately benefiting high earners. Rather than a flat dollar cap beyond standard annual contribution limits, an HCE’s allowable contributions depend directly on the average 401(k) deferral rate of non-highly compensated employees within the same company.
Contents
What Is a Highly Compensated Employee (HCE)?
Under Section 414(q) of the Internal Revenue Code (IRC), the IRS defines a Highly Compensated Employee based on two distinct criteria: an ownership test and a compensation test. An individual who meets either test during the current or prior plan year is categorized as an HCE for compliance purposes.
- IRS Definition of an HCE
- Ownership Test: > 5% Owner in Current/Prior Year
- Compensation Test: Exceeds IRS Threshold in Prior Year
- Optional: Top 20% Group Election
The Ownership Test
An employee is classified as an HCE if they owned more than 5% of the voting power or value of all classes of stock of the employer (or related entities under controlled group rules) at any time during the plan year or the preceding year. Family attribution rules under IRC Section 318 apply, meaning an employee is also considered a 5% owner if their spouse, child, grandparent, or parent owns more than 5% of the company.
The Compensation Test
An employee is classified as an HCE if their gross compensation from the employer exceeded the statutory IRS threshold during the preceding year (known as the "look-back year").
The IRS adjusts this dollar threshold periodically for inflation:
- 2024 Plan Year (Look-back year 2023): $150,000
- 2025 Plan Year (Look-back year 2024): $155,000
- 2026 Plan Year (Look-back year 2025): $160,000
Disclaimer: Compensation for this test includes gross W-2 earnings plus elective deferrals to 401(k), 403(b), SARSEP, SIMPLE, and Section 125 cafeteria plans.
The Top 20% Group Election
Plan sponsors may elect to apply the "top-paid group" rule. Under this election, an employee who meets the compensation threshold is classified as an HCE only if they also fall within the top 20% of all employees ranked by compensation for the look-back year. This election allows companies with a highly paid workforce to limit the number of employees categorized as HCEs, simplifying plan compliance.
Why the IRS Restricts HCE 401(k) Contributions
The tax code grants tax-advantaged status to qualified retirement plans under IRC Section 401(a) on the condition that plans do not discriminate in favor of highly compensated employees.
While individual participants face standard statutory annual contribution caps under IRC Section 402(g)—such as $23,000 for 2024 and $23,500 for 2025—an HCE’s personal deferral cap may be significantly lower if lower-paid staff defer at low rates.
If lower-paid staff participate at minimal levels, allowing HCEs to defer up to the statutory limit would make the 401(k) plan primarily a tax shelter for leadership. Therefore, the IRS requires annual annual nondiscrimination testing to ensure equitable plan participation across all income levels.
How 401(k) Nondiscrimination Testing Works: ADP and ACP Tests
Employers evaluate plan equity annually using two primary mathematical tests: the Actual Deferral Percentage (ADP) test and the Actual Contribution Percentage (ACP) test.
The Actual Deferral Percentage (ADP) Test
The ADP test measures the percentage of compensation deferred as pre-tax or Roth elective contributions by employees.
- Calculate Individual Rates: Calculate each eligible employee's deferral percentage (annual elective deferrals divided by annual gross compensation). Employees eligible to participate who defer $0 are included as 0%.
- Calculate Group Averages: Calculate the average deferral rate separately for the HCE group and the Non-Highly Compensated Employee (NHCE) group.
- Apply IRS Limits: The maximum allowable average ADP for the HCE group is governed by the average ADP of the NHCE group, using the statutory limits detailed below.
The Actual Contribution Percentage (ACP) Test
The ACP test uses the same mathematical formulas as the ADP test but measures:
- Employer matching contributions
- Employee after-tax (non-Roth) contributions
If a plan allows voluntary after-tax contributions or matching contributions, it must pass the ACP test in addition to the ADP test.
ADP Test Limits for HCEs Based on NHCE Participation
The table below outlines the maximum average contribution percentage allowed for HCEs based on the average contribution percentage achieved by the NHCE group under standard IRS rules.
| NHCE Group Average Deferral (ADP) | Maximum Allowed HCE Group Average (ADP) | Mathematical Formula / Rule |
|---|---|---|
| 0.0% to 2.0% | 2 × NHCE ADP | 200% of NHCE Average |
| 2.0% to 8.0% | NHCE ADP + 2.0% | NHCE Average + 2 Percentage Points |
| 8.0% or greater | 1.25 × NHCE ADP | 125% of NHCE Average |
Example Scenario
If the NHCE group at a firm has an average deferral rate of 3.0%, the maximum allowed average deferral rate for the HCE group is 5.0% (3.0% + 2.0%). If an executive earning $200,000 defer 10% ($20,000) of their salary, but the overall HCE average exceeds 5.0%, the plan fails the ADP test.
What Happens When a 401(k) Plan Fails Nondiscrimination Testing?
Failing an ADP or ACP test requires the plan sponsor to take corrective action to preserve the tax-qualified status of the 401(k) plan. Employers generally have three correction methods.
- Failed ADP/ACP Compliance Test
- Corrective Distributions: Refund excess deferrals plus earnings to HCEs
- QNEC / QMAC Employer Contributions: Add funds to NHCE accounts
- Recharacterization: Convert excess pre-tax to after-tax contributions
1. Corrective Distributions (Refunding Contributions)
The most common correction is refunding excess contributions to HCEs.
- Calculation: The plan administrator calculates the total dollar amount needed to pass the test, then distributes that excess from the HCEs with the highest dollar contribution amounts.
- Taxation: Refunds consist of the excess deferral plus calculated attributable earnings. Distributed amounts are taxable to the HCE in the year of distribution and reported on IRS Form 1099-R.
- Deadlines: Corrective distributions must be completed within 2.5 months following the end of the plan year (March 15 for calendar-year plans) to avoid penalties. If distributed after March 15, the employer faces a 10% excise tax on the excess amount under IRC Section 4979, filed via IRS Form 5330.
2. Qualified Non-Elective Contributions (QNEC) or QMAC
An employer can correct a failed test by making additional contributions to non-highly compensated employees:
- QNEC: A 100% vested contribution made by the employer to all eligible NHCEs, regardless of whether they defer.
- QMAC: A 100% vested matching contribution made only to participating NHCEs.
These contributions increase the NHCE average deferral rate, bringing the plan into compliance without refunding HCE contributions.
3. Recharacterization
Excess pre-tax deferrals may be recharacterized as voluntary after-tax contributions if the plan design permits. However, these recharacterized amounts immediately become subject to the ACP test, which often causes the plan to fail the ACP test as well.
Strategies for Employers to Eliminate HCE Limits
Plan sponsors can adopt specific plan designs and operational practices to avoid failing nondiscrimination tests and eliminate contribution limits for HCEs.
Safe Harbor 401(k) Provisions
Adopting an IRS-approved Safe Harbor plan design exempts the 401(k) plan from annual ADP and ACP testing entirely. In exchange, the employer must provide fully vested contributions to all eligible NHCEs under one of these standard formulas:
- Basic Safe Harbor Match: 100% match on the first 3% of employee compensation deferred, plus a 50% match on the next 2% deferred (maximum required match of 4% on a 5% deferral).
- Enhanced Safe Harbor Match: A match at least as generous as the basic formula, such as a 100% match on the first 4% or 5% of deferred compensation.
- Non-Elective Safe Harbor Contribution: The employer contributes at least 3% of annual compensation to all eligible employees, regardless of whether the employee defer any money.
Automatic Enrollment and Automatic Escalation
The SECURE Act and SECURE 2.0 expanded mandates for automatic enrollment. Automatically enrolling new eligible employees at a default deferral rate (e.g., 3% to 6%) with automatic annual escalation increases (e.g., 1% per year up to 15%) significantly raises the average ADP of the NHCE group. Higher NHCE participation automatically lifts the ceiling on HCE contributions.
Financial Wellness Education and Engagement
Improving enrollment among entry-level and mid-level employees directly helps high earners. Clear onboarding, low-cost investment choices, financial literacy software, and multi-language benefits education can boost participation rates across the company.
Alternative Savings Strategies for Impacted High Earners
When a 401(k) plan limits HCE deferrals, high earners can use alternative financial strategies to maximize their retirement savings.
Non-Qualified Deferred Compensation (NQDC) Plans
NQDC plans (often governed by IRC Section 409A) allow executives and top earners to defer an unlimited portion of their salary and bonuses on a pre-tax basis.
- Pros: No statutory contribution limits; flexible distribution scheduling.
- Cons: Funds remain general corporate assets and are subject to creditor risk if the company becomes insolvent.
Mega Backdoor Roth 401(k)
If a plan allows after-tax contributions (distinct from Roth deferrals) and in-service withdrawals or in-plan Roth conversions, HCEs can take advantage of the Mega Backdoor Roth strategy. An employee defer up to the overall annual section 415(c) limit ($69,000 for 2024; $70,000 for 2025) minus employer matches and regular deferrals, then immediately converts those after-tax funds into a Roth 401(k) or Roth IRA.
Health Savings Accounts (HSAs)
For employees enrolled in a High Deductible Health Plan (HDHP), an HSA offers a triple tax advantage: pre-tax contributions, tax-deferred growth, and tax-free withdrawals for qualified medical expenses. HSAs face no HCE testing limits.
Frequently Asked Questions
Can an employee be an HCE in their first year with a company?
An employee hired during the current plan year cannot be an HCE under the compensation test because they had no prior-year earnings with that employer. However, if they own more than 5% of the business during the current year, they are categorized as an HCE immediately under the ownership test.
Are catch-up contributions affected by HCE nondiscrimination limits?
Catch-up contributions for participants aged 50 and older are exempt from ADP testing. If an HCE receives a corrective distribution due to a failed ADP test, the excess deferral can often be reclassified as a catch-up contribution (up to the annual statutory catch-up limit), avoiding a taxable refund.
What is the deadline for distributing excess contributions without penalty?
To avoid a 10% excise tax under IRC Section 4979, excess contributions plus earnings must be distributed within 2.5 months after the end of the plan year (March 15 for calendar-year plans). The final deadline to correct a failure via distribution to maintain plan qualification is 12 months following the end of the plan year.
Does owning shares through an ESOP or mutual fund trigger the 5% ownership test?
Indirect ownership through an Employee Stock Ownership Plan (ESOP) or general mutual funds generally does not trigger the 5% ownership test for HCE status. The ownership test evaluates direct equity holdings or constructive ownership through family attribution, partnerships, or corporate holdings under IRC Section 318.
How does SECURE 2.0 impact HCE catch-up contributions?
SECURE 2.0 requires high earners (defined as participants whose prior-year FICA wages exceeded $145,000, indexed for inflation) to make all 401(k) catch-up contributions as Roth (after-tax) contributions rather than pre-tax contributions.
Strategic Action Steps for Plan Sponsors and High Earners
To minimize administrative issues and protect executive retirement planning, plan sponsors and participants should implement clear management processes:
- Run Mid-Year ADP/ACP Tests: Employers should perform preliminary non-discrimination testing at the 6-month mark of the plan year. Identifying low NHCE participation early allows HR teams to adjust HCE deferral caps before year-end, preventing unexpected tax refunds in March.
- Evaluate Safe Harbor Costs: Compare the administrative costs and potential refund liabilities of a standard 401(k) plan against the predictable expense of a 3% Safe Harbor employer contribution. For many small-to-midsize businesses, Safe Harbor status is cheaper than managing compliance testing failures.
- Establish Supplemental Executive Benefits: If business constraints prevent adopting a Safe Harbor plan, consider setting up an NQDC or executive arrangement to give key leadership consistent tax-deferred savings options.
Disclaimer: Qualified plan rules, non-discrimination testing, and tax regulations carry significant legal requirements. Plan sponsors and high earners should consult a qualified ERISA attorney, Certified Financial Planner (CFP®), or accredited third-party administrator (TPA) before making structural plan changes.