"Highly compensated employee" sounds like a label for a payroll spreadsheet, but it's one of the most consequential calls in running a retirement plan. Whether someone counts as a highly compensated employee (HCE) decides how the plan's nondiscrimination tests come out, and getting it wrong means the tests are wrong, which means corrective contributions, a failed audit, or a lost deduction.
This article covers the 2027 definition: the two-part test (a pay test and an ownership test), the often-missed "top-paid group" election, the family-ownership rules that catch people off guard, and how an HCE differs from a "key employee" (a separate label used for the top-heavy rules). For the full 2027 limit picture, see the pillar guide on 2027 retirement plan contribution limits. The code sections are listed at the bottom.
Who This Page Is For
- Small-business owners trying to understand why their plan testing comes out the way it does
- CPAs and tax advisors with clients who own a business and employ family members
- Financial advisors and TPAs running coverage and nondiscrimination testing
- Anyone who's wondered why the owner's college-age kid shows up as "highly compensated" earning $15,000
- Plan sponsors deciding whether the top-paid group election is worth making
Key Takeaways for 2027
- The IRS raised the "highly compensated employee" threshold to $170,000, up from $160,000. Because the pay test looks back a year, the new figure applies to 2027 pay and decides who is an HCE in 2028. For the 2027 plan year, you're an HCE if you earned more than $160,000 from the employer in 2026, or you owned more than 5% of the business at any point in the current or prior year.
- The ownership test catches more people than you'd think. A spouse, child, grandchild, or parent who owns part of the business makes you an owner too, so the owner's 22-year-old summer hire earning $15,000 is an HCE. Siblings don't count toward each other.
- HCE is not the same as "key employee." HCE status drives the general nondiscrimination tests and the 401(k) deferral tests. "Key employee" is a separate label, used only for the top-heavy rules, with its own thresholds ($245,000 for an officer in 2027). Most small-business owners are both, but the lists aren't identical.
- The "top-paid group" election lets a plan treat only the top 20% of employees by pay as HCEs (plus all the 5% owners). It can flip a failing coverage test to a passing one when a lot of the workforce earns above the threshold. It's a written plan-document choice, not something you can switch on and off year to year.
- A first-year hire can only be an HCE through the ownership test. Someone earning $500,000 in their first year, with no equity, is not an HCE that year, because there's no prior-year pay with this employer to look at yet.
- Get the classification wrong and every test built on it is wrong (coverage, general nondiscrimination, the 401(k) deferral tests, cross-testing). HCE status has to be re-figured every year.
What Is a Highly Compensated Employee (HCE)?
An employee is a "highly compensated employee" (HCE) if they meet either of two tests:
- The ownership test: they owned more than 5% of the business (directly, or through a close family member who owns part of it) at any time during the current year or the prior year.
- The pay test: they were paid more than the threshold by this employer in the prior year ($160,000 of 2026 pay, for the 2027 plan year).
The two tests are independent. Fail both and you're a "non-highly compensated employee" (NHCE) for testing purposes. Pass either one and you're an HCE, period.
One quirk worth noting: the ownership test looks at the current or prior year, but the pay test looks at the prior year only. That gap is why a brand-new hire can only be an HCE through the ownership test in their first year, no matter how much they're being paid (more on that below).
The 2027 HCE Pay Threshold
The IRS set the 2027 threshold at $170,000, up from $160,000. It only moves in $5,000 steps, so this is its first increase in two years. The catch is timing: each year's threshold is applied to that same year's pay, and the pay test looks back a year. So the $170,000 figure is applied to 2027 pay to decide who is an HCE in 2028. For the 2027 plan year, the line is still $160,000 of 2026 pay.
The Look-Back: It's Last Year's Pay That Counts
HCE status for 2027 is based on what someone earned in 2026, not 2027. Someone who earns $250,000 in 2027 but only $150,000 in 2026 is an NHCE for 2027 testing (assuming they're not a 5% owner). They become an HCE in 2028, because their 2027 pay is above $170,000. The point of the look-back is to keep employers from gaming the tests by adjusting someone's pay mid-year: last year's pay is already locked in.
New Hires: Only the Ownership Test Applies in Year One
A brand-new employee has no prior-year pay with this employer, so the pay test can't reach them in year one. They can only be an HCE that year if they pass the ownership test. So a new hire being paid $500,000 in their first year, with no stake in the business, is an NHCE for that year's testing, even though their current pay is far above the threshold. They become an HCE in year two, once year one is the "prior year."
How the Threshold Changes Each Year
The threshold is adjusted for inflation each year, in $5,000 steps, and announced by the IRS each fall (usually October or November), effective the following January 1.
The Ownership Test (and Why Family Counts)
The ownership prong is where most of the mistakes happen. Direct ownership is easy: count the shares. The complication is that the tax code treats you as owning whatever certain family members and related entities own.
Owning More Than 5% Directly
If you directly own more than 5% of the business (by value or by voting power), you're an HCE, full stop, no matter what you're paid. A 6% owner earning $40,000 is an HCE. For partnerships and LLCs, "more than 5%" applies to capital or profits interest.
When Family Members' Ownership Counts as Yours
The code treats you as owning stock that's actually held by:
- Your spouse (unless you're legally separated)
- Your children, grandchildren, and parents
- A partnership you're a partner in (in proportion to your share)
- An estate or trust you have a beneficial interest in
- A corporation you own 50% or more of (in proportion)
This runs "upward" through family, parent to child and child to parent, but not sideways between siblings. Your brother's ownership is not attributed to you, and yours is not attributed to him.
The Most Common Trap: The Owner's Kid
The classic mistake: the owner's 22-year-old child works summers at the business for $15,000 a year. Because the child is treated as owning the parent's stake in the business, the child is a 5%-plus owner, which makes the child an HCE, despite being paid nowhere near the pay threshold. And once the child is an HCE, the plan has to test them as one for coverage, the general nondiscrimination test, and the 401(k) deferral tests. If the plan ran those tests treating the child as an NHCE (an easy mistake), the results are invalid.
The flip side: counting a sibling's ownership when you shouldn't. If two brothers each own 50% of a business, they're both 5%-plus owners directly, so they're both HCEs on that basis. But a third sibling who owns nothing directly isn't an HCE just because their brother does; sibling ownership doesn't carry across.
The Top-Paid Group Election (a Way to Shrink the HCE List)
A plan can elect to treat only the top 20% of employees by pay as HCEs on the pay test, plus everyone who's a 5% owner regardless of pay.
What the Election Does
Without the election, everyone paid above the prior-year threshold ($160,000 of 2026 pay, for 2027) is an HCE. With it, only the highest-paid 20% of the workforce are HCEs on the pay test. The ownership test still applies on its own, so all 5% owners are HCEs either way.
Why Employers Use It
If a big chunk of the workforce earns above the threshold (think a tech company, a law firm, a busy medical group), the election shrinks the HCE list and the population the plan has to be tested against. That can be the difference between passing and failing the coverage and nondiscrimination tests.
Worked Example: A Tech Company With Lots of High Earners
Take a 50-employee tech company where 30 of them earn above $160,000. Without the election, those 30 are HCEs on pay, plus the two co-founders who each own 40% of the company, for 32 HCEs in all. With the election, only the top 10 by pay (20% of 50) are HCEs on the pay test; the two co-founders are HCEs on ownership regardless, and as high earners they're within that top 10. The HCE count drops from 32 to 10. For the coverage test, that reframes the math from 18 NHCEs against 32 HCEs to 40 NHCEs against 10 HCEs, much easier to pass.
How to Elect
The election goes in the plan document, in writing, and generally applies for the whole plan year. It can be changed, but only going forward and only by amending the plan, never retroactively to rescue a test that already failed. It's meant to be a deliberate design choice, not a switch you flip based on how the testing came out.
Why This Classification Matters So Much
Every nondiscrimination test in the system compares HCEs to NHCEs. Misclassify someone and every test built on that comparison is off.
The General Nondiscrimination Test
A plan's contributions or benefits can't favor HCEs. The general test compares each HCE's rate against the NHCEs who get at least as much. In a cross-tested profit sharing plan, this is run on a "benefits" basis, converting contributions to age-adjusted equivalent benefits, so a misclassified employee lands on the wrong side of the comparison.
The Coverage Test
The plan has to cover enough NHCEs relative to HCEs: the percentage of NHCEs benefiting has to be at least 70% of the percentage of HCEs benefiting. If someone who's actually an HCE gets counted as an NHCE, the NHCE side looks bigger than it is and the HCE side smaller, so the test looks like it passes when it doesn't.
The 401(k) Deferral Tests (ADP/ACP)
These tests compare the average deferral rate (and the average match rate) of the HCEs against the NHCEs. Misclassify someone and both averages shift, which can flip a pass to a fail or the other way around. A safe harbor 401(k) design skips these tests entirely (more on that below), but the other tests, coverage and the general nondiscrimination test, still apply.
Top-Heavy Testing (and Where "Key Employee" Comes In)
The top-heavy rules use a different label: "key employee." Key employees are 5%-plus owners, more-than-1% owners earning above $150,000, and officers earning above $245,000 for 2027. If the key employees hold more than 60% of the plan's benefits, the plan is "top-heavy" and has to give the non-key staff a minimum contribution. HCE status and key-employee status overlap a lot but aren't the same, see the comparison next.
HCE vs. Key Employee: Similar But Not the Same
The two labels get confused constantly. Here's the side-by-side:
| Highly Compensated Employee (HCE) | Key Employee | |
|---|---|---|
| 2027 pay threshold | $160,000 of 2026 pay (the new $170,000 applies to 2027 pay, for 2028) | $245,000 for an officer; $150,000 for a more-than-1% owner |
| Ownership threshold | More than 5% | More than 5%; or more than 1% with high pay |
| Which year's pay counts? | The prior year | The current year |
| What it drives | Coverage, general nondiscrimination, the 401(k) deferral tests, cross-testing | The top-heavy test |
| Top-paid group election available? | Yes | No |
| Does family ownership count? | Yes | Yes |
Most small-business owners are both HCEs and key employees: they own more than 5%, which triggers both labels automatically. But an officer earning $180,000 who owns nothing is an HCE (prior-year pay above $160,000) and not a key employee (officer pay below $245,000). And a non-officer earning $175,000 who owns nothing is an HCE but not a key employee. The practical point: HCE status drives most of the discrimination tests; key-employee status drives the top-heavy test specifically; and both have to be re-figured every year.
How This Plays Into Plan Design
Because HCE status drives so much of the testing, a lot of plan design comes down to managing the HCE-to-NHCE picture.
Why Combo Plans Work So Well for Small Businesses
In a small-business combo plan (a defined benefit or cash balance plan plus a 401(k)/profit-sharing plan), the owner might be getting $250,000+ in total contributions while each staff member gets $5,000 to $10,000. That still passes the general nondiscrimination test, because it's run on a benefits basis and the testing math gives credit for the longer time the (typically younger) staff have until retirement. It works precisely because the HCE group is small, one or two owners and a handful of staff. The narrower the HCE group, the more the math works in the owner's favor.
Safe Harbor 401(k): The Way Around the Deferral Tests
A safe harbor 401(k) skips the ADP/ACP deferral tests entirely, in exchange for a fully-vested employer contribution (either 3% of pay to everyone eligible, or a match meeting set minimums). It's the standard fix for a small-business 401(k) where the owners want to defer a lot and the staff don't. It doesn't get the plan out of the coverage test or the general nondiscrimination test, just the deferral tests.
Cross-Tested Profit Sharing: Tilting Toward the Owners
A cross-tested profit sharing plan gives different groups of employees different contribution rates, often the owners in one group and the staff in another. The general nondiscrimination test is then run on a benefits basis, converting each contribution to an age-adjusted equivalent benefit. Because a younger staff member has more years for that money to grow, even a modest contribution for them produces a high "equivalent benefit" that carries the owners' higher rate through the test. That's how cross-tested plans put 7 to 8 times more into the owners' accounts than the staff's and still pass, and it all starts from getting the HCE/NHCE classification right.
For the deduction side of these structures and how the defined benefit piece fits, see the defined benefit plan contribution limits article.
Common Mistakes to Watch For
- Using this year's pay instead of last year's for the pay test. The pay test looks at the prior year. Mixing in current-year pay is the classic error.
- Missing family ownership for the owner's kids on payroll. A 5%-plus owner's children are HCEs regardless of their own pay or whether they directly own anything.
- Skipping the top-paid group election when it would help. Tech companies, law firms, medical practices, and other high-pay employers often benefit from it and never make it.
- Forgetting to re-figure HCE status every year. It's an annual exercise. Someone's status can flip from one year to the next as pay or ownership changes.
- Confusing HCE with key employee. Related, but not the same. HCE drives most of the discrimination tests; key employee drives the top-heavy test.
- Treating a sibling's ownership as yours. Sibling ownership doesn't carry across. Two siblings who each directly own 50% are both 5%-plus owners; a third sibling who owns nothing isn't an HCE just by being their sibling.
- Forgetting the first-year-hire rule. A brand-new employee has no prior-year pay with this employer, so they can only be an HCE that year through the ownership test.
The Bottom Line
Whether someone is a "highly compensated employee" is the foundation under every nondiscrimination test a plan has to pass. For the 2027 plan year you look at what people earned in 2026, against that year's $160,000 threshold; the new $170,000 figure applies to 2027 pay and sets the 2028 group. The ownership test pulls in family ownership, which is what catches people, and the "top-paid group" election is an under-used tool when a lot of the workforce earns above the threshold. And HCE isn't the same as "key employee," even though the two overlap heavily in an owner-run business.
Get the classification right and everything downstream, coverage testing, the general nondiscrimination test, the 401(k) deferral tests, cross-testing, rests on solid ground. Get it wrong and the tests are wrong, and the corrective contributions or lost deductions are real.
If you're setting up a plan, working through a testing result, or just trying to understand why your plan came out the way it did, try the Cash Balance Proposal Tool for a same-day model of a small-business plan with the classification and testing applied correctly, or contact us to talk through a specific situation.
For the broader 2027 limit picture, see the pillar article on 2027 retirement plan contribution limits. For the defined benefit side and how this classification interacts with the pension and pay limits, see the defined benefit plan contribution limits article.
The IRS Code Sections Behind This
For advisors and accountants who want the citations:
- The HCE definition (pay test, ownership test, top-paid group election): §414(q), with the family-ownership rules at §318
- The "key employee" definition (top-heavy): §416(i), also using §318 attribution
- General nondiscrimination testing: §401(a)(4)
- Coverage testing: §410(b)
- The 401(k) deferral tests (ADP/ACP): §401(k)(3) and §401(m)
- Top-heavy rules: §416
- The pay cap referenced above ($375,000 for 2027): §401(a)(17)
The 2027 dollar amounts come from IRS Notice 2026-66; the $160,000 figure used for 2027 testing comes from IRS Notice 2025-67.
Ready to model a Cash Balance plan?
Try the Cash Balance Proposal Tool to see how a plan could work for your business, or contact us to discuss your specific situation with an enrolled actuary.