P.A.Y.
Skip to content
P.A.Y.Payroll All Year

401(k) in payroll · 2026 rules

How your 401(k) contribution is calculated in payroll

Payroll figures each deferral from your election and the plan's own definition of pay. The match follows the plan formula. IRS limits cap your deferral, the pay that counts and the total going into your account.

Written by Robert Hartigos, 20+ years in payroll, HRIS and benefits · Last reviewed November 9, 2026

See match examplesSee the order of deductions

Plan compensation: which pay counts

The plan document defines which pay counts, and payroll must follow it (IRS Fix-it Guide). Whether bonuses, overtime, commissions or other pay count depends on the plan's terms. For example, a plan might not allow deferrals from overtime. A plan can also use different definitions for different purposes, such as deferrals, employer contributions and testing.

What payroll should do

The plan can count no more than $360,000 of your 2026 pay for contributions and benefits. This is the 401(a)(17) limit. It was $350,000 in 2025 (IRS Notice 2025-67).

Percent or flat dollar elections, and the per-paycheck math

Most elections are a percent of plan pay or a flat dollar amount per paycheck.

Not fully confirmed. Plan terms decide whether an employee elects a percent of pay, a flat dollar amount per paycheck, or either. IRS examples show both styles, but no single IRS rule lists the allowed formats.

Per-paycheck math for a fictional employee, Jordan, paid every two weeks
ElectionMathDeferral per paycheck
6% of pay$78,000 ÷ 26 = $3,000.00 pay; 6% × $3,000.00$180.00
$200 flatThe same amount every paycheck$200.00
10% of pay, after a raise to $84,500$84,500 ÷ 26 = $3,250.00; 10% × $3,250.00$325.00

Round each paycheck to the cent. A flat amount is capped at what is left of the annual limit, the same as a percent.

Match formulas with worked examples

The safe harbor basic match is 100% of deferrals up to 3% of pay plus 50% of deferrals between 3% and 5% of pay. An employee who defers at least 5% gets a match worth 4% of pay (IRS Fix-it Guide).

An enhanced safe harbor match must be at least as generous as the basic match, and it cannot match deferrals above 6% of pay. Instead of a match, a safe harbor plan can make a nonelective contribution of 3% of pay for each eligible non-highly compensated employee. Safe harbor employer contributions must be fully vested when made (IRS).

Match on one $3,000.00 paycheck at different deferral rates (from the calculator)
Your deferral rateSafe harbor basic matchEnhanced: 100% of the first 6%
2%$60.00$60.00
4%$105.00$120.00
5%$120.00$150.00
6%$120.00$180.00
10%$120.00$180.00

The match formula can only use pay up to $360,000 for 2026. Pay above that does not earn a match (IRS). Employer matching and nonelective contributions count toward the $72,000 total for one account, along with your deferrals (IRS). Employer contributions to a qualified plan are generally not included in your income when contributed (IRS Publication 525).

Front-loading, true-ups and reaching the limit mid-year

Deferrals continue each pay period until you reach the annual limit. Then they stop for the rest of the calendar year (IRS). Unless the plan says otherwise, your election keeps applying to pay after year-to-date pay passes $360,000. A plan can instead stop deferrals at that point, but the IRS calls that not common.

Not fully confirmed. A year-end match true-up depends on plan terms. If a plan matches each pay period with no true-up, an employee who reaches the deferral limit early gets no match on later paychecks. The IRS pages reviewed show the match follows actual deferrals but do not describe true-ups.

Fictional example: Taylor earns $300,000, defers 15% and reaches the $32,500 limit on paycheck 19, September 18, 2026. With the safe harbor basic match on each paycheck, Taylor gets $8,769.07 instead of $12,000.00, and loses $3,230.93 without a true-up. See the full example.

If you defer more than the limit, the excess must be paid out by April 15 of the next year. If not, it is taxed in the year deferred and taxed again when paid out later (IRS).

What payroll should do

Catch-up contributions and the Roth catch-up wage rule

Employees age 50 or older can add up to $8,000 in 2026, for a total of $32,500 (IRS). Employees who turn 60, 61, 62 or 63 during 2026 get $11,250 instead. The higher limit stops the year they turn 64 (IRS COLA table).

The Roth catch-up rule. Starting in 2026, if an employee's 2025 wages from the employer sponsoring the plan were more than $150,000, any catch-up contributions must be Roth. The statute said $145,000, indexed to $150,000 (IRS Notice 2025-67).

This test is separate from HCE status, which uses a $160,000 threshold and ownership. Keep two separate flags in payroll. Who is an HCE.

What payroll should do

Order of deductions and priority of benefits

Some deductions come out before income tax, some before both income tax and FICA, and some after tax. A common order when figuring a paycheck is below. It is a practice, not a federal rule, so confirm the order in your own payroll system setup.

A common paycheck order and what each step does to taxable wages
StepWhat it isTax effect
1. Gross payPlan pay per the plan definitionStarting point
2. Pre-tax section 125Medical, dental, vision, health FSA, and HSA through the cafeteria planIn most cases not subject to federal income tax withholding, social security or Medicare tax
3. Pre-tax 401(k)Your pre-tax deferralNot subject to federal income tax withholding; still social security, Medicare and FUTA wages
4. TaxesFederal, state and local income tax, social security and MedicareLegally required deductions
5. GarnishmentsChild support and other wage withholding ordersChild support and creditor garnishment limits use disposable earnings
6. Roth 401(k)Your Roth deferralIncluded in taxable income in the year deferred
7. Other after-taxAfter-tax plan contributions and other voluntary deductionsTaken from net pay

Garnishments and disposable earnings

Not fully confirmed. Federal child support law (42 U.S.C. 666(b)(7)) is understood to give an income withholding order for support priority. It would rank ahead of other legal process under state law against the same wages. The statute page could not be opened for this review. Confirm it on the U.S. Code site or with the federal Office of Child Support Services before you rely on it.

When net pay is short

Federal law caps garnishments but does not rank voluntary deductions. A common practice takes deductions in this order:

  1. Taxes.
  2. Child support.
  3. Other garnishments, in the order state law requires.
  4. Pre-tax benefits that keep coverage in force.
  5. 401(k) loan repayments.
  6. 401(k) deferrals.
  7. Other voluntary deductions.

Write your order down in a payroll policy. Set rules for benefit arrears in your cafeteria plan document, and check state garnishment law. See the garnishments guide.

Sending deferrals to the plan on time

Employee deferrals must go to the plan as soon as they can reasonably be separated from company assets. The outer limit is the 15th business day of the month after payday. Plans with fewer than 100 participants have a 7 business day safe harbor (DOL EBSA). The employer reports elective deferrals on the employee's Form W-2 (IRS).

Frequently asked questions

Does my 401(k) come out of my bonus?

Only if your plan counts bonuses as compensation. The plan document decides, and payroll must follow it. See plan compensation.

How much do I need to defer to get the full match?

It depends on the formula. With the safe harbor basic match, deferring 5% of pay gets the full 4% match. See the match table.

Why did my 401(k) deductions stop in the fall?

You probably reached the annual limit, which is $32,500 at age 50 and older in 2026. Deferrals stop until January. Check whether your plan has a true-up for the match you missed.

Do 401(k) deferrals reduce the amount a garnishment can take?

Usually not. Voluntary retirement contributions are not subtracted when figuring disposable earnings. See garnishments and disposable earnings.

Official sources

Each source was opened and checked on November 9, 2026.

Free Excel template

The same rules in a spreadsheet with working formulas, ready to fill in and keep. Free with your P.A.Y. profile.

See all free Excel templates

General information, not legal, tax or benefits advice. Your plan document, state law and your plan administrator decide how these rules apply. Confirm your payroll setup before you change it.