FirstHR

Safe Harbor 401(k): How It Works and What It Costs

A safe harbor 401(k) skips nondiscrimination testing in exchange for a mandatory vested employer contribution. The formulas, deadlines, and trade-offs.

TL;DR
A safe harbor 401(k) skips the annual deferral and matching nondiscrimination tests in exchange for a mandatory employer contribution fully vested when made. The standard designs are a basic match capping at 4 percent of pay, an enhanced match (often dollar for dollar on the first 4 percent), or a 3 percent nonelective contribution. Which is cheaper depends on participation.
Category
Updated
Oct
27
2026
Reading time
14min

Most explanations of safe harbor 401(k) plans describe them as the better version of a 401(k). They are not better, they are a trade, and whether the trade is worth taking depends on a number most small business owners have never calculated.

The trade is this: you commit to an employer contribution that is mandatory and immediately vested, and in exchange the plan stops failing the annual tests that limit how much you and your highly paid people can defer. If those tests were never binding on you, you have bought an expensive solution to a problem you did not have.

This covers what the design actually does, the three formulas and what each costs at your participation rate, the deadlines that arrive earlier than people expect, and the situations where a plain 401(k) is the better answer.

I build the people and records tooling for businesses without an HR department at FirstHR, and FirstHR is an onboarding and HR platform rather than a retirement plan provider. This is general information, not tax or investment advice.

My TeamPam BeeslyFull-timeJim HalpertFull-timeRyan HowardPart-time
Core HR
Your team's records in one place
A profile and documents for each person, and the org chart built from them.
Start free trial7-day free trial, no credit card

What a Safe Harbor Plan Is

A safe harbor 401(k) is an ordinary 401(k) with a specific set of provisions that take it outside the annual deferral and matching nondiscrimination tests.

Definition
Safe harbor 401(k)
A 401(k) plan design under which the employer commits to a required contribution, either a specified matching formula or a nonelective contribution to all eligible employees, which is fully vested when made. In exchange, the plan is not subject to the annual deferral and matching nondiscrimination tests that otherwise limit contributions by highly compensated employees when participation among other employees is low. Match-based designs also carry an annual employee notice requirement.

According to the IRS, a safe harbor 401(k) is not subject to the complex annual nondiscrimination tests that apply to traditional 401(k) plans, and it must provide for employer contributions that are fully vested when made (Internal Revenue Service). The underlying framework sits in the retirement plan qualification rules (26 U.S.C. 401).

The Problem It Solves

An ordinary 401(k) is tested annually to check that highly compensated employees are not deferring disproportionately more than everybody else. When they are, the plan fails. The usual correction is unpleasant: contributions get refunded to the highly compensated employees, taxable to them, and for a calendar year plan that usually happens by mid-March (26 CFR 1.401(k)-2).

4%
of pay, the maximum cost of either standard match formula
3%
of all eligible pay under the nonelective design
100%
vesting on traditional safe harbor contributions, when made
30-90
days before the plan year, the window for the annual notice

At a small business this failure is almost structural. If the owner and two senior people defer heavily and eight hourly employees defer nothing, the averages will not work, however generous the plan design looks on paper. The safe harbor exists precisely for that shape of business, and the conditions it has to meet are set out in the regulations (26 CFR 1.401(k)-3).

The first question is therefore not how to set one up. It is whether your plan is actually failing, or close to failing, because a plan that passes comfortably gains nothing from the trade and pays for it anyway.

The Three Formulas

Leaving aside the automatic enrollment version, three designs satisfy the safe harbor, and they behave very differently against a real payroll.

Match formula
Basic match
100 percent of the first 3 percent of pay an employee defers, then 50 percent of the next 2 percent.
What it costs: Maximum 4 percent of pay, and only for employees who actually contribute. Somebody deferring nothing costs you nothing.
Richer match
Enhanced match
A common design is 100 percent of the first 4 percent deferred, which must be at least as generous as the basic formula at every deferral level.
What it costs: Maximum 4 percent of pay and easier to explain. It runs slightly more expensive only for employees deferring between 3 and 5 percent of pay, the band where the basic formula matches at half.
No deferral needed
Nonelective contribution
3 percent of compensation to every eligible employee, whether or not they defer anything themselves.
What it costs: 3 percent of your entire eligible payroll, guaranteed. More expensive when participation is low, cheaper when it is high, and the only version that costs the same every year.
The choice between match and nonelective is really a bet on participation. A match is usually cheaper with a disengaged workforce and a nonelective often is with an engaged one, which is the opposite of most people's intuition.

The enhanced match exists mostly because the basic formula is difficult to explain. One hundred percent of the first four percent is a sentence anybody understands; one hundred percent of the first three plus fifty percent of the next two is a sentence people nod at without following.

Both cap at four percent of pay, and the enhanced version costs more only for people deferring between three and five percent.

What the Safe Harbor Match Pays in Practice

Run the safe harbor match against one salary and the formulas stop being abstract. Take an employee earning $60,000 who defers 4 percent of pay, or $2,400. The basic formula matches $1,800 on the first 3 percent, then $300 on the next 1 percent, for $2,100 in total.

The enhanced formula matches the whole first 4 percent, so the same person receives $2,400, a $300 gap on one salary. Push the deferral to 5 percent and both formulas land on $2,400, since each caps at 4 percent of pay. Anybody deferring nothing receives nothing under either.

Everyone in one list, with who they report to
Position, department, type, manager and status for each person. People who have left move to a separate list.

Match or Nonelective?

Which one is cheaper depends on participation: a match wins when few people defer, and a nonelective often wins when nearly everyone does. This is the decision with real money in it, and the answer runs opposite to most people's instinct.

ScenarioMatch is cheaperNonelective is cheaper
Participation around 30 percentYes, substantiallyNo
Participation around 60 percentUsuallyApproaching parity
Participation above 85 percentOften notFrequently yes
Cost predictability year to yearLow, it varies with participationHigh, it is a fixed percentage of payroll
Employees who defer nothingCost you nothingStill receive 3 percent
Administrative notice burdenAnnual notice requiredNo annual notice required

The fifth row is the one that decides most small business cases, and it cuts both ways. A match rewards people who participate and gives nothing to those who do not, which is either fair or a missed opportunity depending on your view.

A nonelective gives everybody three percent whether they engage or not. That costs more when participation is low, and it is genuinely valued by lower-paid employees who cannot afford to defer.

The fourth row matters more than it looks for a business with variable revenue. A nonelective is a known percentage of payroll you can budget once. A match is a number that moves when your people change how much they defer, which makes it harder to forecast in exactly the years you most need to.

None of that answers the question for your payroll, and the only thing that does is running both formulas against your own eligible compensation and your own deferral rates. One row per eligible employee and three cost columns is the whole exercise.

Match vs Nonelective Cost Model
ABCDEFG
1Employee or IDEligible compensationDeferral rateBasic match costEnhanced match costNonelective costNotes
2SAMPLE ownerHighly compensated, defers the maximum
3SAMPLE hourly staff0%Defers nothing, still receives the nonelective
4
5
6
7
8
9
10
11
12
13
Showing 12 of 13 rows. The download includes the full template.

What You Give Up

Four commitments come with the design, and the first is the one employers object to most.

Immediate full vesting
Traditional safe harbor contributions are fully vested when made. You cannot use a vesting schedule to encourage people to stay, which for some employers is the single biggest objection to the whole design.
The contribution is mandatory
Once adopted for a plan year it is a commitment, not a discretionary decision you revisit if the quarter goes badly. Reducing or suspending it mid-year is possible only in defined circumstances and with notice.
An annual notice for match designs
Where the safe harbor is satisfied with a match, eligible employees must receive a written notice each year, and it counts as on time when it arrives at least thirty and not more than ninety days before the plan year begins. Nonelective designs lost the notice requirement for plan years beginning after December 31, 2019.
Deadlines that fall earlier than people expect
A new plan with a safe harbor match needs a first plan year of at least three months, which for a calendar year plan means October 1. A nonelective design can be adopted by amendment any time before the thirtieth day before the plan year ends, and later still at a higher contribution rate, provided the plan offered no safe harbor match that year.
These four are the price of skipping the tests. Whether that trade is worth it depends almost entirely on how much your owners and highly compensated employees want to defer.

Immediate vesting is a genuine loss for businesses that were using a graded vesting schedule as a retention mechanism. Traditional safe harbor contributions cannot be subject to one, so somebody who leaves after nine months takes the whole employer contribution with them.

Automatic enrollment designs are the one exception. A qualified automatic contribution arrangement may require up to two years of service before its safe harbor contributions become nonforfeitable (Internal Revenue Service), the legal term for vested.

That service requirement of up to two years is the only vesting schedule available anywhere inside the design. It comes attached to automatic enrollment, so it is not a route to a schedule on its own.

Whether that matters is worth being honest about. Vesting schedules retain people who were already ambivalent, and their effect is usually smaller than employers believe. But if you were relying on one, this design removes it.

The Deadlines

A new plan using a safe harbor match has to run for a first plan year of at least three months, which for a calendar year plan puts the practical deadline at October 1 (26 CFR 1.401(k)-3). The single most common way a small business misses a safe harbor year is by starting the conversation in November.

An existing plan runs on a different clock, and a later one. The safe harbor provisions have to be adopted before the first day of the plan year, and the notice is timely when it reaches eligible employees between thirty and ninety days before that day, so December 1 is the date that actually binds a calendar year plan.

Tip
The Nonelective Design Has More Room
The SECURE Act, a federal retirement law, gave nonelective safe harbor designs materially more room on timing. A plan can adopt a 3 percent nonelective safe harbor any time before the thirtieth day before the plan year ends, or before the last day of the following plan year if the contribution is raised to at least 4 percent, provided it offered no safe harbor match that year (IRS Notice 2020-86). If you have left this too late for a match design, the nonelective route may still be open for the current year. That is a question for your provider with a specific date attached rather than a general reassurance.

The annual notice, where required, runs on its own clock. The IRS treats it as timely when it arrives at least thirty and not more than ninety days before the plan year begins, or, for somebody who becomes eligible mid-year, no later than the eligibility date (Internal Revenue Service).

Missing a required notice is a plan failure rather than an administrative slip: the IRS classes it as an operational failure that has to be corrected (IRS correction guidance). That is one more reason match designs are slightly riskier to run than nonelective ones.

Nonelective designs no longer carry the annual notice. According to IRS Notice 2020-86, the SECURE Act removed the safe harbor notice requirement for them, automatic enrollment versions included, for plan years beginning after December 31, 2019. That leaves the notice on match designs.

What It Actually Costs

The contribution is the visible cost, up to 4 percent of pay for a match or 3 percent of eligible pay for a nonelective, and it is not the only one.

CostMatch designNonelective design
Employer contributionUp to 4 percent of pay, only for participants3 percent of all eligible compensation
PredictabilityVaries with participationFixed percentage of payroll
Payroll tax on contributionsNone, employer retirement contributions are not wagesNone
Administration and recordkeepingProvider fees, generally similar either waySimilar, with one fewer notice to produce
Annual notice productionRequiredNot required
Cost of not doing itCorrective distributions to owners and highly paid staffSame

That last row is what the whole decision turns on. If your plan currently fails testing, the alternative to a safe harbor contribution is refunding money to exactly the people who most wanted to save it, every year, taxable to them. Compared with that, a fixed contribution to everybody is frequently the better arrangement even before considering what employees think of it.

The payroll tax line in that table is worth stating plainly, because employers routinely assume otherwise. Employer contributions paid into a qualified plan trust sit outside the definition of wages for Social Security and Medicare (26 U.S.C. 3121).

The federal unemployment tax definition of wages excludes them on the same terms (26 U.S.C. 3306). A dollar of safe harbor contribution costs a dollar, which is not true of a dollar of bonus.

That does not make it a small addition to your benefits spend. Three percent of eligible payroll is a real number, and it sits alongside the rest of what you pay for benefits per employee rather than instead of any of it.

Departments
Dwight SchruteSales3 people
Darryl PhilbinWarehouse1 person
Kelly KapoorCustomer Service1 person
Core HR
Who works here and who does what
Profiles, departments and an org chart, with every change kept on record.

When Not to Do It

Five situations where the honest answer is that a plain 401(k) is better, set against the situations where a safe harbor earns its cost.

Pros
Your plan is failing or nearly failing the annual tests, and corrective distributions are going back to owners
You want the owners and senior people to defer the maximum without watching the averages
You were going to offer a match anyway, in which case the incremental cost of making it a safe harbor match is small
Participation is high, which makes a nonelective contribution close in cost to a match you were already paying
You want a benefit that lower-paid employees who cannot afford to defer actually receive
Cons
Your plan passes testing comfortably, so you would be paying to remove a constraint that is not binding
Cash flow is genuinely variable and a fixed annual contribution is a risk you cannot carry
You were relying on a vesting schedule for retention and losing it matters to you
Nobody is deferring anything, in which case the prior problem is engagement rather than plan design
You are considering it because it sounds like the better plan rather than because of a specific testing result

The last item under Cons is the most common reason small businesses adopt one, and it is the worst reason. Ask your provider for the actual test results before deciding, because the answer is either a number that justifies the cost or a number that says you are fine.

Setting One Up

Most of the work is decisions rather than paperwork, and the paperwork is your provider's job.

1
Get your current testing results
If you already have a plan, ask what the deferral and matching test outcomes were and how close they were to failing. That number decides whether the rest of this is worth doing.
2
Model both designs against your real payroll
Actual eligible compensation, actual deferral rates. The match versus nonelective answer is specific to your business and frequently surprises people.
3
Decide the eligibility rules deliberately
They determine who receives the contribution and therefore what it costs. Longer service requirements reduce cost and reduce how much anybody values the plan.
4
Check the calendar before committing
Match designs need to be in place well before the plan year starts. Nonelective designs have more flexibility, which may rescue a late decision.
5
Adopt the plan document
Your provider drafts it and you adopt it. The formula, eligibility, and vesting live here rather than in an announcement email.
6
Send the notice where the design requires it
Thirty to ninety days before the plan year for match designs. Put it on the calendar annually rather than treating it as a one-off.
7
Communicate it as compensation, not as paperwork
An employer contribution nobody understands buys you nothing in retention or goodwill. One clear explanation at enrollment is worth more than the plan brochure.

Where Small Employers Get This Wrong

Five patterns, and the first is the expensive one.

Adopting it without checking whether testing was actually a problem is first. It is a real annual cost bought to solve a constraint that may not exist for you.

Assuming a match is always cheaper is second. At high participation the nonelective design is frequently cheaper and always more predictable.

Starting the conversation in November is third. Match designs need to be in place well before the plan year, and the nonelective escape route is not always available.

Treating the contribution as discretionary is fourth. Once adopted for a year it is a commitment, and exiting mid-year is possible only narrowly and returns you to full testing for that year.

And forgetting the annual notice is last, which is a plan failure rather than an oversight, and is the specific administrative reason some employers prefer the nonelective design.

What worked for me
The question I wish somebody had asked me first was not which formula, it was what did the test actually say. I spent a while comparing designs before finding out our plan had passed comfortably for two years running, which meant the entire exercise was about buying a benefit rather than solving a problem. That is a perfectly good reason to do it, but it is a completely different decision with a completely different justification, and I had been about to make it under the wrong heading.
Nick AnisimovNick Anisimov, FirstHR founder
Invite your team to FirstHR
4.7 on G2
Ryan HowardActive
Jim HalpertOn Leave
Key takeaways
1A safe harbor plan skips the yearly deferral and matching tests in exchange for an employer contribution you are required to make.
2Three designs are standard: a basic match capping at 4 percent of pay, an enhanced match commonly set at 100 percent of the first 4 percent deferred, or a 3 percent nonelective contribution to everybody eligible.
3Traditional safe harbor contributions are fully vested when made, so a vesting schedule cannot be used as a retention tool.
4Whether a match or a nonelective is cheaper depends on participation: match wins at low participation, nonelective frequently wins at high participation.
5The deadlines arrive early: October 1 for a new calendar year plan using a safe harbor match, and December 1 for an existing plan, the date the notice timing sets.
6Check your actual testing results before adopting one. A plan that passes comfortably gains little and pays for it anyway.

Frequently Asked Questions

What is a safe harbor 401(k)?

A safe harbor 401(k) is a retirement plan design that trades a required employer contribution for relief from the yearly nondiscrimination tests. The contribution, either a set matching formula or a flat percentage of pay for every eligible employee, belongs to the employee from the moment it is made. In return, the plan sits outside the annual deferral and matching tests that otherwise cap what owners and highly paid staff can put in. Small businesses use it most when the owners want to save meaningfully and too few other employees participate for an ordinary plan to pass testing. You accept a guaranteed cost in exchange for removing a constraint.

What are the safe harbor contribution formulas?

Three designs are common. The basic match adds a dollar for every dollar an employee defers up to 3 percent of pay, then 50 cents per dollar on deferrals between 3 and 5 percent, so it tops out at 4 percent of pay. The enhanced match is often a dollar for dollar match on the first 4 percent deferred, and it can never pay less than the basic formula at any deferral rate. The third option skips matching altogether: you contribute 3 percent of pay for every eligible employee, whether or not they save anything. In a traditional safe harbor, all three vest immediately.

Is a match or a nonelective contribution cheaper?

It depends entirely on participation, and the answer is counterintuitive. A match costs you only for employees who defer, so with low participation it is cheap. A nonelective costs 3 percent of all eligible compensation whether people participate or not, so with low participation it is expensive. As participation rises the two converge and then cross. Model both against your actual payroll and your actual deferral rates rather than assuming the match is always cheaper, because at high participation it frequently is not.

What are the disadvantages of a safe harbor 401(k)?

Three, and they are real. The contribution is mandatory once adopted for the year, so it becomes a fixed cost rather than a discretionary one you can suspend in a difficult quarter. It vests immediately, which removes the ability to use a vesting schedule as a retention tool. And it costs money you were not previously spending, which is only worth it if the testing constraint it removes was actually binding on you. A plan that passes testing comfortably gains little from the trade.

Does a safe harbor 401(k) still need nondiscrimination testing?

A safe harbor plan sits outside the annual deferral and matching tests, which is the entire point of it. Other requirements do not disappear. Top-heavy status has its own rules, and a plan that adds discretionary profit sharing on top of the safe harbor contribution can find itself back inside obligations it thought it had escaped. Coverage requirements also continue to apply. Confirm with your provider what your specific design does and does not remove rather than assuming it removes everything.

When is the deadline to set up a safe harbor 401(k)?

Earlier than most employers expect, and the exact date depends on the design. A brand-new plan that uses a safe harbor match needs a first plan year of at least three months, so for a calendar year plan October 1 is the practical cutoff. If you already have a plan, the safe harbor provisions must be in place before the plan year opens, and a match design also needs its notice delivered in the window the IRS treats as timely, thirty to ninety days beforehand, which makes December 1 the date that binds. A nonelective contribution is more forgiving. You can add it by amendment before the thirtieth day ahead of the plan year end, or before the last day of the following plan year if you raise it to at least 4 percent, as long as the plan offered no safe harbor match that year. Ask your provider for the exact dates in the summer rather than in November.

Do you have to give employees a notice?

For match-based designs, yes. Every eligible employee needs a written notice each year that explains their rights and obligations under the plan, and the IRS treats it as timely when it goes out thirty to ninety days before the plan year starts. Someone who becomes eligible partway through can receive it up to ninety days before eligibility, as long as it arrives by the date they become eligible. For plan years beginning after December 31, 2019, a plan that meets the safe harbor with a nonelective contribution no longer has to send one, a quiet administrative advantage of that design. A required notice that is missed counts as a plan failure that has to be corrected, not a formality.

Can you stop a safe harbor contribution mid-year?

Only in defined circumstances and never casually. The regulations allow a mid-year reduction or suspension where the employer is operating at an economic loss, or where the annual notice already warned that the contribution might be reduced during the year. Either route requires a supplemental notice, and the change takes effect no earlier than thirty days after employees receive it. The plan then has to satisfy the deferral test for the whole plan year on the current year method, which can produce exactly the corrective distributions the safe harbor was adopted to avoid. Budget the contribution as a fixed annual commitment, because the exit is expensive and awkward.

Make HR the easy part of running your business

Onboarding, e-signatures, training and core HR in one place. Up and running in 5 minutes.

  • 7-day free trial
  • No credit card required
  • Cancel anytime
4.7 on G2300+ companies trust FirstHR