401(k) match: how employer matching works and how to get all of it
A 401(k) match is money your employer adds when you contribute. Here is how the formulas, vesting, timing and tax rules decide what you actually keep.

A 401(k) match is a contribution your employer makes to your 401(k) account because you contributed to it yourself. The amount follows a formula set out in the plan document, most often a percentage of what you defer, up to a ceiling expressed as a percentage of your pay. If you do not contribute, you generally receive no match.
The headline formula is only part of the picture. How much of the match you end up keeping depends on four other things: the vesting schedule, when during the year the match is calculated, the IRS limits that sit behind it, and how the money is taxed. This guide works through each. Dollar limits are set by the IRS and change each year, so none are quoted here; check the current figures and your own plan's summary plan description before acting. This is general education, not personal financial advice.
How a 401(k) match formula works
Every match formula has two parts: a rate (how much the employer adds per dollar you defer) and a cap (the share of your pay on which the rate applies). The common designs are:
- Dollar-for-dollar. 100% of your deferrals up to a stated percentage of pay.
- Partial match. For example, 50% of your deferrals up to a stated percentage of pay. The IRS's own illustration of a match is 50 cents for each dollar deferred.
- Tiered. One rate on the first slice of pay and a lower rate on the next.
- Discretionary. The plan allows a match, and the employer decides each year whether to make one and at what level.
A match is not required by law in an ordinary 401(k). The exception is a plan that has chosen a safe harbor design using a matching formula, covered below.
The table shows what four formulas would produce for an employee on an assumed $80,000 salary. It is purely illustrative.
| Match formula | Employee defers 3% ($2,400) | Employee defers 6% ($4,800) |
|---|---|---|
| 100% of deferrals up to 3% of pay | $2,400 | $2,400 |
| 50% of deferrals up to 6% of pay | $1,200 | $2,400 |
| 100% of first 3% plus 50% of next 2% | $2,400 | $3,200 |
| 100% of deferrals up to 6% of pay | $2,400 | $4,800 |
Two formulas that sound alike can require very different contributions from you. The first and second rows cost the employer the same at most, but the second requires you to defer twice as much to collect it. The useful question is: what percentage of pay must I defer to receive the full match? These figures are assumptions for illustration only; your plan's formula and your pay will differ.
Safe harbor matching formulas
Ordinary 401(k) plans must pass annual nondiscrimination tests, known as the ADP and ACP tests, which compare the contributions of highly compensated employees with those of everyone else. An employer can avoid those tests by adopting a safe harbor design, and one way to do so is a required match. The standard formulas are:
- Basic match. 100% of deferrals on the first 3% of pay, plus 50% on the next 2%. An employee deferring 5% receives a 4% match.
- Enhanced match. Any formula at least as generous as the basic match at every deferral level, such as 100% on the first 4% of pay.
- Automatic enrollment safe harbor match. For plans using a qualified automatic contribution arrangement, 100% on the first 1% of pay plus 50% on the next 5%.
The mechanics from the employer's side are covered in the guide to the safe harbor 401(k). For an employee the practical point is that a safe harbor match is a commitment for the plan year and comes with faster vesting.
The limits that sit behind the match
Three separate IRS limits apply, and they are often confused.
- The elective deferral limit (IRC §402(g)) caps what you can defer from your pay each year, with a higher allowance for those eligible for catch-up contributions. The employer match does not count against this limit.
- The annual additions limit (IRC §415(c)) caps the total going into your account from all sources: your deferrals, the match, any other employer contribution and any after-tax contributions. The match does count here. For most employees this limit is far out of reach.
- The compensation limit (IRC §401(a)(17)) caps the pay that can be taken into account when calculating contributions. For high earners, a match described as a percentage of pay stops being calculated once pay reaches that ceiling.
All three figures are indexed and usually change annually, so use the current IRS numbers.
Vesting: when the match becomes yours
Your own deferrals are always 100% yours. The match can be subject to a vesting schedule, meaning you forfeit some or all of it if you leave before completing enough service. Federal law sets the slowest schedules a plan may use for matching contributions:
- Cliff vesting. Nothing until you complete three years of service, then 100%.
- Graded vesting. 20% after two years, rising by 20% a year to 100% after six years.
Plans can be faster than this, including immediate vesting. Safe harbor matches must be fully vested when made, except that the automatic enrollment version may use a cliff of up to two years. The article on 401(k) vesting explains how years of service are counted and what happens to forfeited amounts.
An unvested match appears in your account balance but is not yet fully yours. If you are considering leaving, the vested percentage and the date it next steps up are worth checking first.
Timing: per-pay-period matches and the true-up
Many plans calculate the match each pay period, not once on the year's totals. That creates a trap for anyone who front-loads their contributions.
Consider an illustrative employee earning $120,000, paid twice a month ($5,000 per pay period), in a plan that matches 100% of deferrals up to 4% of pay, calculated each pay period. The maximum match is $200 per pay period, or $4,800 for the year. The employee wants to contribute $12,000 for the year.
| Approach | Deferral pattern | Pay periods with a match | Match received |
|---|---|---|---|
| Even | 10% ($500) in all 24 pay periods | 24 | $4,800 |
| Front-loaded | 20% ($1,000) for 12 pay periods, then nothing | 12 | $2,400 |
Both employees defer $12,000, but the front-loader receives half the match, because in the second half of the year there are no deferrals to match. The same thing happens to people who reach the annual deferral limit early in the year.
A true-up fixes this. After year end the employer recalculates the match on full-year pay and deferrals and deposits any shortfall, which in this example would be $2,400. Not every plan has one. If yours does not, spreading deferrals so that you contribute at least the matched percentage in every pay period protects the full match. The figures above are assumptions for illustration; confirm how your plan calculates the match.
Some plans also attach conditions to receiving the match, such as being employed on the last day of the plan year or completing a minimum number of hours. Safe harbor matches cannot carry those conditions.
How the match is taxed
By default, employer matching contributions go into the pre-tax part of your account, even if your own deferrals are Roth.
- The match is not included in your taxable wages when it is contributed, and it is not subject to Social Security or Medicare tax.
- It grows tax-deferred.
- It is taxed as ordinary income when withdrawn, along with its earnings, and withdrawals before the plan's permitted events or before age 59½ can carry the usual restrictions and additional tax.
Since the SECURE 2.0 Act, a plan may let employees choose to receive the match as a Roth contribution instead. This is optional for the plan. Where it is offered, IRS guidance provides that the employee must be fully vested in the contribution, the amount is included in the employee's gross income for the year it is allocated to the account, and it is reported on Form 1099-R, not as wages subject to withholding. Because no tax is withheld, an employee electing a Roth match may need to adjust withholding or estimated payments. The broader trade-off between the two tax treatments is set out in Roth 401(k) vs traditional 401(k).
Matching on student loan payments
SECURE 2.0 also allows a plan to treat an employee's qualified student loan payments as if they were deferrals for matching purposes, for plan years beginning after 2023. An employee who cannot afford to defer because of loan repayments can then still receive a match. The feature is optional, the IRS has issued interim guidance on how it operates, and employees generally certify their loan payments to the plan each year. Check whether your plan has adopted it.
Other ways part of a match can be lost
- Leaving before you vest. The unvested portion is forfeited.
- Failed nondiscrimination testing. In a plan that is not safe harbor, highly compensated employees may have some deferrals refunded after year end, and the match attached to those deferrals is forfeited.
- A suspended or reduced match. Employers can change or stop a discretionary match, and can amend a fixed one prospectively, subject to notice rules for safe harbor plans.
- Not being eligible yet. Plans may impose age and service requirements before you can participate or receive a match.
A checklist for your own plan
Your summary plan description or plan website should answer each of these:
- What is the formula, and what percentage of pay must I defer to receive the full match?
- Is the match calculated per pay period or annually, and is there a true-up?
- What is the vesting schedule, and what is my vested percentage today?
- Are there conditions such as a last-day or hours requirement?
- Are catch-up contributions matched?
- Can I elect a Roth match, and is there a student loan match?
- When is the match deposited: each payroll, quarterly or after year end?
Frequently asked questions
Does the employer match count toward my 401(k) contribution limit?
Not toward the limit on your own elective deferrals. It does count toward the separate, much higher annual limit on total contributions to your account from all sources. Both figures are set by the IRS and change each year.
Is a 401(k) match taxable income?
A standard pre-tax match is not taxed when contributed and is not subject to payroll taxes. It is taxed as ordinary income when you withdraw it. If your plan offers a Roth match and you elect it, the match is included in your income for the year it is allocated.
What happens to my match if I leave my job?
You keep the vested portion and forfeit the rest. Your own contributions are always fully vested. Check your vested percentage and the next vesting date before setting a leaving date.
Do I get a match on Roth 401(k) contributions?
Yes. Roth and pre-tax deferrals are treated the same for matching purposes. The match itself goes into the pre-tax account unless your plan offers a Roth match and you choose it.
This guide is for general educational purposes only and is not financial, tax, or legal advice. Rates and rules change; verify current figures before acting. Consult a licensed professional about your situation.