Up to the gap between $72,000 and what you and your employer already put in the 401(k) that year. The $72,000 cap on annual additions counts your deferrals (not catch-ups), employer contributions and after-tax employee contributions, and cannot exceed 100% of your pay (IRS 401(k) limits, 26 U.S.C. 415(c)). The after-tax money is then moved to Roth by an in-plan Roth rollover or an in-service withdrawal to a Roth IRA.
Worked example (illustrative). Age 45, $200,000 salary, $24,500 deferred, $9,500 employer match. After-tax room: $72,000 − $24,500 − $9,500 = $38,000. At 52 with the same figures, the $8,000 catch-up sits on top of the cap ($80,000 in total); with 2025 wages above $150,000, that catch-up must be Roth in a plan that offers Roth (IRS catch-up rules). With 2027 limits and the same match, the room is $75,000 − $25,500 − $9,500 = $40,000; the 50+ catch-up is $8,500 ($83,500 in total), and it must be Roth if 2026 wages from the employer were above $155,000 (IRS Notice 2026-66).