A highly compensated employee (HCE) under the IRS 401(k) rules is anyone who earned more than $160,000 from their employer in the prior year or who owned more than 5% of the business at any point in the current or preceding year. The label matters because it triggers annual nondiscrimination testing that can cap how much you’re actually allowed to defer into your 401(k), regardless of the statutory contribution limit. For the 2026 plan year, the $160,000 compensation threshold applies, and meeting either test is enough to make you an HCE.1Internal Revenue Service. Identifying Highly Compensated Employees in an Initial or Short Plan Year
Who the IRS Classifies as an HCE
Internal Revenue Code Section 414(q) sets two independent tests. You only need to meet one.
The Compensation Test
You’re an HCE for 2026 if you earned more than $160,000 from the employer during 2025. This is a look-back rule, so your status this year depends on last year’s pay, not what you’re currently earning.2Internal Revenue Service. COLA Increases for Dollar Limitations on Benefits and Contributions The threshold is periodically adjusted for inflation and has held at $160,000 for both 2025 and 2026.
An employer can narrow the group by adopting a “top-paid group election” in the plan document. With that election, only employees who both clear $160,000 and rank in the top 20% by pay are HCEs. Without it, everyone above the threshold is automatically in.
The Ownership Test
If you owned more than 5% of the business at any time during the current or preceding plan year, you’re an HCE, no matter what you were paid.3Internal Revenue Service. Retirement Plans Definitions A business owner drawing a small salary still qualifies.
Attribution rules pull in ownership held by certain family members. If your spouse owns 4% and you own 2%, the IRS treats you as a 6% owner, and you’re an HCE.4Office of the Law Revision Counsel. 26 USC 414 – Definitions and Special Rules
How HCE Status Can Limit Your 401(k) Contributions
The classification exists so retirement plans don’t disproportionately benefit top earners. Each year, the plan runs two nondiscrimination tests that compare what HCEs are putting in against what everyone else is putting in. If the gap is too wide, the plan fails, and something has to give.5Internal Revenue Service. 401(k) Plan Fix-It Guide – The Plan Failed the 401(k) ADP and ACP Nondiscrimination Tests
The Actual Deferral Percentage (ADP) test compares the average salary deferral rate of HCEs against the average rate of non-highly compensated employees (NHCEs). The Actual Contribution Percentage (ACP) test does the same for employer matching and any after-tax employee contributions.
Both tests use the same ceiling. The HCE average passes if it does not exceed the greater of:
- 125% of the NHCE average. If NHCEs average 6%, HCEs can average up to 7.5%.
- The NHCE average plus 2 percentage points, but no more than double the NHCE average. If NHCEs average 6%, HCEs can average up to 8%. If NHCEs average only 1%, doubling caps HCEs at 2%.
When rank-and-file participation is low, HCEs get squeezed hard. A plan where NHCEs average 2% deferrals caps HCEs at 4%, which can be well below what a high earner actually contributed.5Internal Revenue Service. 401(k) Plan Fix-It Guide – The Plan Failed the 401(k) ADP and ACP Nondiscrimination Tests
What Happens If the Plan Fails Testing
When the plan fails, the most common fix is a corrective refund. The plan calculates how much the HCE group’s contributions exceeded the allowable limit, then returns the excess to the affected HCEs along with any investment gains or losses on it. For a calendar-year plan, that refund needs to go out by March 15 to avoid a 10% excise tax on the employer.6eCFR. 26 CFR 54.4979-1 – Excise Tax on Certain Excess Contributions
If you receive one of these corrective distributions, the refunded amount and its earnings count as taxable income. The one bit of relief: timely corrective distributions are exempt from the 10% early withdrawal penalty that normally applies to retirement plan money taken before age 59½.7Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
The practical frustration is real. You set aside money expecting tax-deferred growth, and months later a chunk comes back as ordinary income. If you’re anywhere near the top of the HCE pay range and your employer’s rank-and-file participation is thin, ask the plan administrator for a mid-year projection before maxing out. Some plans provide those estimates specifically so HCEs can dial their deferrals down and avoid a surprise refund.
How Safe Harbor Plans Remove the Restriction
Employers can sidestep ADP and ACP testing entirely by adopting a safe harbor 401(k). A plan that meets safe harbor requirements is automatically deemed to pass both tests, so HCE deferrals aren’t tethered to what NHCEs contribute.8Internal Revenue Service. Chapter 7 – 401(k) Determination Issues
To qualify, the employer commits to one of two contribution formulas for all eligible employees:
- A nonelective contribution of at least 3% of each eligible employee’s compensation, whether or not the employee defers anything.
- A match of 100% of the first 3% of pay deferred, plus 50% of the next 2%. Enhanced match formulas are allowed if they’re at least as generous at every deferral level.
Safe harbor contributions are fully vested immediately, and the employer has to give eligible employees a written notice at least 30 days and no more than 90 days before the plan year starts.9Internal Revenue Service. Notice Requirement for a Safe Harbor 401(k) or 401(m) Plan For smaller companies with a few high earners and a mostly non-participating rank and file, it’s often the only realistic way to let HCEs contribute up to the full statutory limit.
2026 Contribution Limits for HCEs
Being an HCE does not change the statutory 401(k) limits themselves. For 2026, the elective deferral cap is $24,500. Employees aged 50 and older can add an $8,000 catch-up, for a total of $32,500. Under SECURE 2.0, employees aged 60 through 63 get a larger catch-up of $11,250, for a maximum deferral of $35,750.10Internal Revenue Service. 401(k) Limit Increases to $24,500 for 2026; IRA Limit Increases to $7,500
Those are theoretical ceilings. If your plan fails its ADP test, your allowable deferral gets pulled back to whatever keeps the HCE group’s average inside the nondiscrimination limits. An HCE at a company with low NHCE participation might effectively be capped at 4% or 5% of pay, far below $24,500. That gap between what the law allows and what testing permits is the central frustration of HCE status, and the reason so many employers move to safe harbor designs.2Internal Revenue Service. COLA Increases for Dollar Limitations on Benefits and Contributions
HCE Is Not the Same as Key Employee
HCE status and “key employee” status are often confused, but they drive different tests. HCE status governs ADP and ACP nondiscrimination testing. Key employee status governs the top-heavy test, which asks whether key employees hold more than 60% of total plan assets and, if so, generally requires the employer to contribute at least 3% of compensation for every non-key employee.11Internal Revenue Service. Is My 401(k) Top-Heavy? The thresholds also differ: key employee status covers officers earning more than $235,000 in 2026, more-than-5% owners, and more-than-1% owners earning over $150,000. You can be one, both, or neither.