Example of a highly compensated employee
Here's a hypothetical example of a highly compensated employee: John earns $180,000 in compensation from his employer in 2025. He's also in the top 20% of earners there, which means he passes the compensation test and is considered an HCE for that year. He contributes up to the 401(k) limit of $23,500 for 2025, and he receives an employer match of $9,000, for a total of $32,500.
However, the 401(k) plan fails the nondiscrimination test. John's employer decides to distribute excess contributions to HCEs, and he receives a distribution of $2,000. While that amount was previously tax-deferred, John now needs to pay taxes on it. On the bright side, he was still able to add $30,500 to his 401(k) for the year.