Skip to content
Retirement · Updated July 17, 2026

Pennsylvania §401(k) After-Tax Basis in 2026: How PA's Unique State Treatment Inverts the Traditional-vs-Roth Decision

Pennsylvania is one of a handful of states that taxes §401(k) elective deferrals at the contribution point rather than at the distribution point — creating a distinct after-tax basis in every PA resident's §401(k) that changes the Traditional-vs-Roth math, the recovery-of-basis mechanics at distribution, the cross-border relocation planning, and the SECURE 2.0 §603 catch-up decision. This is the 2026 field guide.

The 50-state retirement income taxation field guide we published on July 15 flagged Pennsylvania as an idiosyncratic case worth its own deep-dive — the state's contribution-point taxation of §401(k) elective deferrals is unlike the treatment applied by every other state that has an income tax, and it materially changes both the Traditional-vs-Roth 401(k) decision math for PA residents and the cross-border relocation math for PA residents planning to retire elsewhere. This is that deep-dive. The framing is one that most consumer retirement content elides: for a PA resident, the state has already collected its share of the §401(k) tax before the participant reaches retirement age, so the retirement-age decision math is state-tax-neutral and reduces to the pure federal question. That single fact inverts several conclusions the same participant would reach if they lived in a state that taxes distributions rather than contributions.

Pennsylvania's personal income tax is a 3.07 percent flat rate applied to eight enumerated classes of income defined in 72 P.S. §7301(d) — compensation, net profits, interest, dividends, gains from property, rents and royalties, gambling and lottery winnings, and estates and trusts.[1] Compensation is defined by the state statute as all salaries, wages, and cash and property received for services rendered — measured at the point the employer would otherwise have paid the amount to the employee — without incorporating the federal §401(k) elective-deferral exclusion under IRC §402(g)(1). This is the source of PA's contribution-point taxation of §401(k) deferrals: PA does not exclude the elective deferral from state-taxable compensation, so the deferral is included in state wages in the year the employer would otherwise have paid it. On distribution, PA excludes retirement-age qualified plan distributions from state income tax under the Pennsylvania Personal Income Tax Guide's Retirement Pension section, which implements the 61 Pa. Code §101.6 regulation.[2]

The practical effect of contribution-point taxation is that a PA resident who defers $23,500 into a §401(k) in 2026 shelters that amount from federal income tax under IRC §402(g)(1) but pays the 3.07 percent PA flat rate on the full pre-deferral wage. The $721.45 in additional PA tax paid at the contribution point produces a $23,500 after-tax basis in the §401(k) account that is recoverable tax-free from PA at distribution. In practice, however, PA's separate retirement-pension exclusion means retirement-age distributions are fully PA-exempt anyway — so the basis is functionally irrelevant for retirement-age distributions and matters only in the narrow cases of early withdrawal, non-retirement-age distribution, or lump-sum payment to a non-spouse beneficiary. The $721.45 the PA resident pays each year is, in the base case, a sunk cost that generates no state-tax refund at distribution.

This guide walks the whole picture — the 72 P.S. §7301(d) statutory framework, the 61 Pa. Code §101.6 retirement exclusion, the recovery-of-basis mechanics at distribution, the Traditional-vs-Roth 401(k) decision analysis for PA residents, the cross-border relocation math, the interaction with SECURE 2.0 §603 mandatory Roth catch-up, three worked case studies at $85K / $180K / $340K PA-resident income, six mistakes to avoid, and an 8-item action checklist. Model the base §401(k) mechanics using the 401(k) calculator, the marginal-rate stacking using the income tax calculator, and the retirement drawdown modeling using the retirement calculator.

📊

Model your PA-adjusted 401(k) contribution

See the federal deferral, the PA-taxed portion, and the projected retirement balance in one view.

Open calculator →

1. The 72 P.S. §7301(d) statute and why PA taxes deferrals

Pennsylvania's personal income tax was enacted in 1971 through Act No. 2 of the Special Session, codified as the Tax Reform Code of 1971 at 72 P.S. §7101 et seq. Section 7301 defines the classes of income subject to the tax; §7301(d) defines compensation as all salaries, wages, commissions, bonuses, incentive payments, tips, and similar remuneration received for services rendered as an employee. The definition specifically enumerates what is included and what is excluded — and the federal exclusion for §401(k) elective deferrals is not among the excluded items.[3]

The reason PA's treatment differs from the federal treatment is a structural feature of the Pennsylvania Constitution. Article VIII §1, the Uniformity Clause, requires that "all taxes shall be uniform, upon the same class of subjects, within the territorial limits of the authority levying the tax." Pennsylvania courts have read the Uniformity Clause to bar the state from grafting on federal exclusions that would create differential treatment of similarly situated taxpayers within the same income class.[4] An exclusion for §401(k) deferrals — but not, say, for a comparable amount held in a taxable investment account — would tilt the tax base by employment status (employees eligible for §401(k) plans get a preference, non-employees do not), which the Uniformity Clause has been interpreted to prohibit. PA has instead maintained a strict "compensation is compensation" rule: whatever the employer would have paid the employee is PA-taxable, regardless of whether the employee elected to redirect it into a qualified plan.

The specific treatment at the recordkeeping level flows through the W-2. Box 1 shows the employee's federal wages after the §401(k) deferral is excluded. Box 3 shows Social Security wages, which include the deferral because §3121(a)(5) does not exclude §401(k) deferrals from FICA wages. Box 16 shows PA state wages — which, in most cases, equal Box 3 rather than Box 1. The delta between Box 1 and Box 16 represents the §401(k) deferral for which PA has collected tax but the federal government has not. This W-2 mechanic is why the PA additional tax is often invisible to the employee — the payroll system withholds correctly, the amount flows through to the state return, and the employee never sees a line item labeled "state tax on §401(k) deferral." The additional tax is simply embedded in the year's PA withholding.

Only a handful of states tax contributions at the deferral point

Pennsylvania is joined by Massachusetts (for §457 plans, though not §401(k)) and by New Jersey (which taxes 401(k) contributions at the deferral point for state-plan participants under N.J.S.A. 54A:6-21 but excludes federal-code §401(k) qualified deferrals via a separate carveout). All other states with an income tax follow the federal treatment: exclude at contribution, include at distribution. PA is the largest and most prominent state applying the contribution-point rule to the full §401(k) elective deferral universe.

2. How PA basis actually works — 61 Pa. Code §101.6 recovery

The Pennsylvania Personal Income Tax regulations at 61 Pa. Code §101.6 establish the recovery-of-basis rule for retirement distributions. The rule provides that amounts distributed from a qualified plan to a participant on or after the plan's normal retirement age, or after the participant's separation from service on or after age 59½, are excluded from PA-taxable compensation. Amounts distributed before that threshold are taxable to the extent they exceed the participant's cost basis in the account.[5]

The participant's cost basis in a §401(k) account for PA purposes equals the cumulative sum of employee elective deferrals made while the participant was a PA resident. Employer matching contributions and employer nonelective contributions are excluded from basis because they were not PA-taxed at the contribution point — the Pennsylvania Department of Revenue's Personal Income Tax Guide, Gross Compensation chapter, treats employer contributions as excluded from PA-taxable compensation at the contribution point in the same manner as federal treatment.[6] The asymmetry is intentional: PA taxes what would otherwise have been paid to the employee (the elective deferral is what the employer would have paid but for the employee's election); it does not tax what the employer independently contributes on top of wages.

For distributions that occur before the retirement-age threshold, PA uses a cost-recovery method that returns basis first before any earnings are recognized. The Pennsylvania Department of Revenue Personal Income Tax Bulletin 2005-04 clarifies that cost recovery does not follow the federal §72 pro-rata rule; instead, each distribution is first applied against the participant's basis, and only the excess of the distribution over remaining basis is treated as taxable earnings.[7] This basis-first treatment is generous relative to the federal §72 pro-rata treatment and can materially reduce PA tax on partial withdrawals for participants who withdraw modest amounts before separation-from-service age.

Distribution ScenarioPA Tax Treatment
After retirement age or separation ≥ 59½Fully PA-exempt regardless of basis
Early withdrawal before separationBasis returned first; excess is PA-taxed at 3.07%
In-service loan (not distribution)No PA tax
Rollover to IRA or other qualified planNo PA tax; basis carries over to receiving plan
Lump sum to non-spouse beneficiaryBasis first; excess PA-taxed if beneficiary would not have reached retirement age
Spousal beneficiary at any ageRetirement-age rule applied to spouse; usually PA-exempt

3. The Traditional-vs-Roth 401(k) decision for a PA resident

For a resident of most states, the Traditional-vs-Roth 401(k) decision has both a federal component and a state component. The federal component is the pure marginal-rate arbitrage between the current year and the projected retirement year. The state component tilts the decision toward Traditional if the state taxes deferrals at the distribution point (most states) and toward Roth if the participant is planning a high-tax-to-low-tax-state relocation at retirement (since the Traditional deferral captures the state-tax deduction but forfeits it back on distribution in the higher-tax working state, while Roth is state-tax-neutral).

For a PA resident, the state component is neutralized in a way most participants do not realize. Both Traditional and Roth 401(k) contributions face PA taxation at the contribution point — Traditional via 72 P.S. §7301(d) contribution-point taxation, Roth via ordinary after-tax treatment that is functionally identical. Retirement-age distributions from either are PA-exempt under 61 Pa. Code §101.6. So on the PA axis alone, both come out equivalent. The Traditional-vs-Roth decision for a PA resident reduces to the pure federal-marginal-rate arbitrage, plus the NIIT under IRC §1411, the Additional Medicare Tax under IRC §3101(b)(2), and IRMAA Medicare surcharges under 42 U.S.C. §1395r(i).[8]

For a PA resident: MTR_now (federal + NIIT + AddMed) vs MTR_retire (federal + IRMAA)
No state-tax delta term — PA collects at contribution regardless

The state-tax-neutrality has one practical implication that most PA residents underappreciate: for a PA resident planning to retire in a state that also excludes retirement distributions (Illinois, Mississippi, Michigan for taxpayers born 1946+, or any of the nine no-income-tax states), the entire state-tax picture is neutral. The Traditional deferral does not capture a state-tax deduction (PA collected regardless); the Roth deferral does not sacrifice one. In contrast, the same participant in Ohio deferring pretax would pay the 3.5 percent Ohio flat rate at distribution but not at contribution — a Roth election in Ohio forfeits the Ohio state-tax deferral that Ohio in-state retirement would otherwise preserve, while a Roth election in PA forfeits nothing.

The most-common misconception among PA residents is that because PA taxes contributions and exempts distributions, Roth is "double-taxed" while Traditional is "single-taxed." The mistake is real but comes from confusing PA basis (which is real) with an actual PA tax owed on retirement distributions (which is not). The Traditional PA-resident participant paid PA tax at the contribution point and — in the base retirement-age case — pays no PA tax at distribution because 61 Pa. Code §101.6 exempts the distribution regardless of basis. The Roth PA-resident participant paid PA tax at the contribution point (as ordinary Roth after-tax treatment) and pays no PA tax at distribution because retirement-age distributions from a designated Roth account are also within the 61 Pa. Code §101.6 retirement-pension exclusion. Both scenarios end at the same PA total: 3.07 percent applied once at contribution. Neither participant is "double-taxed" by PA.

4. Cross-border relocation — the two directions

The most consequential planning fact about PA's contribution-point treatment is that it changes the cross-border relocation math relative to what it would be in any other state. Two directions matter: a PA resident planning to retire elsewhere, and a resident of another state planning to move into PA and retire there.

Direction 1: PA resident retiring to a lower-tax or zero-tax state

The Pension Source Tax Act of 1996, codified at 4 U.S.C. §114, prohibits any state from imposing income tax on retirement distributions paid to a former resident.[9] After a clean domicile change from PA to Florida (or Texas, or any no-income-tax state), PA cannot follow the money. The PA taxes paid at the contribution point during the working years are sunk costs; the PA basis exists but is functionally irrelevant because retirement-age distributions from qualified plans are PA-exempt regardless of basis, and the participant is not a PA resident at distribution anyway.

For a participant who spent 30 working years in PA deferring $20,000 per year on average, cumulative PA taxes paid at the contribution point on deferred amounts total roughly $18,420 (30 × $20,000 × 3.07%). That $18,420 is a lifetime state-tax cost that a same-earner Ohio or Illinois resident would have deferred to distribution. Because retirement-age distributions are excluded in both PA and (post-2026) the destination state, no downstream refund of that PA cost materializes. The PA resident's total state-tax cost across the deferral-and-distribution lifecycle is higher than the Ohio or Illinois resident's, all else equal.

Working backward from this fact — the PA participant should not defer any Roth-vs-Traditional decision from state-tax considerations if the relocation plan is firm. Both come out equivalent on PA; the federal analysis is the only signal. The PA participant should also not deploy pre-retirement Roth conversion strategies expecting a state-tax benefit; the conversion, like the deferral, is already PA-taxed at ordinary rates on the amount converted.

Direction 2: Out-of-state worker moving into PA at or near retirement

A participant who worked in Ohio, deferred pretax into an Ohio §401(k), and moves into PA at or near retirement age faces a distinct question. Under 61 Pa. Code §101.6, the retirement-age exclusion applies to the distribution regardless of the state in which the underlying contributions were made. So the PA post-move retiree does not owe PA tax on qualified plan distributions once the retirement-age rule kicks in, even though Ohio contributions were never PA-taxed at the deferral point.

This creates the mirror-image asymmetry of Direction 1. The PA-lifetime resident paid PA tax on the deferrals during working years and pays no PA tax at retirement. The Ohio-turned-PA-retiree paid no PA tax on the deferrals during working years and also pays no PA tax at retirement. From PA's own state-revenue perspective, one participant produces $18,420 in state tax revenue over a lifetime; the other produces essentially zero. The retiring participant relocating into PA gets a de facto state-tax windfall — no state ever taxes their retirement account across the deferral-and-distribution cycle.

Pre-retirement early withdrawals: the direction 2 exposure

The one caveat for the out-of-state-to-PA relocator is early withdrawals before separation-from-service age 59½ triggered while a PA resident. In that fact pattern, PA taxes the earnings portion but not the basis. Because the participant has zero PA basis (the deferrals were made while a non-resident), essentially the entire early distribution is PA-taxed at 3.07 percent. This is a real trap for participants who move into PA planning to bridge to retirement with modest early-withdrawal draws before reaching 59½.

5. Interaction with SECURE 2.0 §603 mandatory Roth catch-up

SECURE 2.0 §603, codified at IRC §414(v)(7), mandates that catch-up contributions of participants above the $150,000 prior-year FICA wage threshold (for 2026, indexed forward) be Roth rather than pretax.[10] The base catch-up is $8,000 for 2026; the age 60-63 super catch-up under SECURE 2.0 §109 is $11,250. For §603-covered participants, the pretax election is blocked on those amounts.

For a PA resident, §603 is state-tax-neutral in a way it is not for residents of most other states. Because PA taxes both Traditional and Roth 401(k) contributions the same way at the contribution point (both are PA-includible compensation), §603's forcing effect changes nothing about the state-tax picture. A PA resident affected by §603 loses no state-tax deferral because there was no state-tax deferral to lose. The federal analysis of §603 — whether pretax or Roth is mathematically superior — is unchanged; the PA fact pattern removes one of the state-tax variables that in other states tilts the analysis toward pretax and therefore against the §603 forcing.

This has a specific consequence for the workaround decision matrix in the Roth vs Traditional catch-up decision framework we published on July 14. That framework identified four workarounds for §603-covered participants whose federal analysis favors pretax: base pretax maxing, mega backdoor Roth, §409A NQDC deferral, and post-retirement Roth conversion ladder. The state-tax delta was a factor pushing certain fact patterns toward workaround 3 (NQDC) — specifically, participants planning a high-tax-to-low-tax-state relocation who lose the state-tax deferral inside the §401(k) but preserve it inside NQDC.

For a PA-resident participant, the state-tax delta term is zero. NQDC does not restore any state-tax deferral that was preserved inside the §401(k); PA taxes both structures. The PA participant considering NQDC as a §603 workaround should evaluate it purely on the federal deferral it captures and the credit-risk trade-off it entails — with no state-tax adjustment either way. This is a strictly narrower case for NQDC in PA than the framework's national decision matrix would suggest, and NQDC in PA is best justified when the federal deferral is large ($100K+ per year) and the employer's credit quality is investment-grade.

6. Mega backdoor Roth and in-plan Roth rollover for PA residents

The mega backdoor Roth strategy uses employee voluntary after-tax contributions to the §401(k) beyond the §402(g)(1) elective deferral limit, up to the §415(c) $72,000 overall annual additions ceiling, followed by an in-plan Roth rollover under IRC §402A(c)(4)(E) or in-service withdrawal to a Roth IRA.[11] The strategy captures Roth-treatment growth on a substantial additional balance beyond what regular Roth election allows.

For a PA resident, the after-tax employee contribution is already PA-taxed at the contribution point — PA does not distinguish between voluntary after-tax and elective deferrals for this purpose; both are compensation paid to the employee. The in-plan Roth rollover is not itself a federal or PA taxable event on the contributed principal because that principal has already been taxed (federally as after-tax; in PA as elective-deferral-equivalent). Same-day automatic sweeps under the Fidelity daily-sweep pattern, the Empower automatic in-plan conversion pattern, and the Schwab equivalent all eliminate the earnings exposure between contribution and conversion.

The PA-specific edge case is the participant whose plan does not offer same-day automatic conversion. If earnings accumulate in the after-tax source between contribution and manual conversion — say, 60 days or 90 days — those earnings are federally taxable on conversion. They are also PA-taxable, because PA taxes the earnings on any qualified plan distribution or conversion to the extent they represent income not previously PA-taxed. This is a narrow but real trap for PA residents in plans without automatic sweep functionality. Manual quarterly conversion should be replaced with automatic-sweep functionality if the plan supports it, or with immediate manual conversion within days of each contribution.

The mega backdoor Roth calculator models the federal picture. For a PA-resident participant using the strategy, add the incremental 3.07 percent PA rate on any earnings accumulated between contribution and conversion — typically negligible under automatic-sweep patterns, but worth explicit modeling for participants who convert quarterly or less frequently.

7. Three case studies at $85K / $180K / $340K

Case 1: Sarah, age 45, Pittsburgh, $85,000 salary — the mid-career Traditional-vs-Roth question

Sarah is a marketing manager in Pittsburgh, salary $85,000, married filing jointly with a working spouse earning $65,000 (family AGI ~$150,000). She is eligible for a Traditional or Roth election on her $15,000 elective deferral for 2026. Federal marginal rate is 22 percent. Projected retirement federal marginal rate under her retirement projection is 22 percent (she and her spouse expect to retire on Social Security plus $60K in annual §401(k) draws, keeping them in the 22 percent bracket after 2026-indexed TCJA brackets).

The federal marginal-rate analysis is neutral: 22 percent now equals 22 percent later. In most states, the state-tax analysis would tilt the decision toward Traditional if she plans to retire in PA (or toward Roth if she plans to retire in Florida). But PA collects at contribution regardless — so the state-tax analysis is neutral in both directions. Sarah's decision reduces to the residual factors: sequence risk, tax-diversification value of holding balances across pretax and Roth sources, and the flexibility value of Roth's zero-required-distribution treatment under SECURE 2.0 §325 for lifetime.

Sarah splits: $10,000 Traditional / $5,000 Roth in 2026 for tax-diversification. Her PA tax cost is identical either way ($15,000 × 3.07% = $460.50 on the deferral). Her federal cost differs by $1,100 (the $5,000 Roth portion foregoes the federal deferral). The $1,100 federal cost buys her a Roth balance that grows tax-free and produces a lifetime-RMD-free source in retirement — worth substantially more than the $1,100 forgone federal deferral in most modeling. The paycheck calculator and the Roth IRA calculator model the two sides.

Case 2: David, age 52, Philadelphia, $180,000 salary — the §603 threshold question

David is a senior director in Philadelphia earning $180,000 base + $30,000 bonus. Total 2025 FICA wages (Box 3): approximately $210,000. For 2026, David is §603-covered because his 2025 Box 3 wages from Employer X exceeded $150,000. His base §401(k) elective deferral is capped at $23,500; his $8,000 catch-up must go Roth under §603.

Federal marginal rate is 32 percent (2026 MFJ bracket assumes joint income of approximately $340,000 with spouse). Projected retirement marginal rate is 24 percent (couple targets $175,000 retirement income, sitting in the 24 percent bracket). The pretax-vs-Roth spread favors pretax by 8 percentage points; David would have elected the $8,000 catch-up as pretax if §603 did not block it.

The PA state-tax analysis is neutral: PA taxes the deferral regardless of pretax-or-Roth character (3.07% × $8,000 = $245.60). Retirement distributions will be PA-exempt regardless. So the PA fact pattern removes one variable that in an Ohio (state-tax-deferred) fact pattern would have compounded the §603 loss. David's federal 8-percentage-point cost — $640 in additional federal tax on the forced-Roth catch-up — is not amplified by any PA-side loss.

David's response: because the state-tax loss is zero, he does not need to consider NQDC as a §603 workaround. Base pretax maxing ($23,500 pretax on the regular elective deferral) captures the largest pretax-deferral lever available to him inside the qualified plan; the $640 §603 catch-up cost is small enough to accept. If David were in Ohio, the state-tax loss on the $8,000 forced-Roth catch-up would compound the federal loss and might tip the analysis toward NQDC — but in PA, the federal-only analysis stands alone. This is a real reduction in the workaround decision space for the PA-resident §603-covered participant.

Case 3: Marcus, age 58, Philadelphia to Naples, FL — the pre-retirement relocation question

Marcus is a partner in a Philadelphia consulting firm, W-2 wages $340,000, planning to retire in five years and relocate to Naples, Florida. Cumulative §401(k) balance at age 58 is $1.4M, of which approximately $580K represents his cumulative employee elective deferrals over 25 years of PA-resident career. His PA basis in the account is therefore approximately $580K.

Marcus's question: does the PA basis produce any downstream benefit after his Florida relocation? The answer, correctly modeled, is no. Retirement-age distributions from Marcus's §401(k) once he separates from service at 63 will be excluded under 61 Pa. Code §101.6 while he is a PA resident, and excluded under Florida's zero-income-tax regime after he becomes a Florida resident. The Pension Source Tax Act of 1996 blocks any residual PA claim to distributions paid to Marcus after he becomes a Florida resident. His $580K PA basis is real for record-keeping purposes but is functionally irrelevant to future PA tax owed — because no future PA tax will be owed regardless of basis.

The PA tax Marcus paid on the deferrals during his working years — approximately $17,806 cumulative at 3.07% × $580K — is a sunk cost that generates no future refund. His decision: Should he pre-fund additional Roth conversion in his last year of PA residency to lock in current federal rates? Or wait until he is a Florida resident? The Roth conversion calculator models both. In PA, a Roth conversion is PA-taxable at 3.07 percent on the converted amount (PA does not exempt Roth conversions the way it exempts retirement-age qualified distributions — the conversion is a taxable event to PA at ordinary rates). Waiting until Marcus is a Florida resident eliminates the PA-tax cost on the conversion. Marcus should wait — the PA relocation eliminates a real 3.07 percent conversion cost he would otherwise incur.

Case 3 planning point

PA taxes Roth conversions at ordinary rates because the conversion is a taxable event on income that has not previously been PA-taxed (the conversion itself is on pretax-source dollars). A PA-to-FL relocator should therefore defer any Roth conversion to the first calendar year after establishing Florida domicile. This is unlike the mega backdoor Roth, where PA has already taxed the after-tax contribution and the conversion adds only earnings tax exposure. Marcus's Roth conversion in PA would cost him 3.07 percent that a same-year Florida conversion would not.

8. Six mistakes PA residents make with §401(k) planning

Mistake 1: Not tracking PA basis at all. Recordkeepers do not track PA basis because it is not a federal concept. Participants who take early distributions before separation-from-service age often overpay PA tax by not asserting the basis-first cost recovery under 61 Pa. Code §101.6. Keep a running spreadsheet of annual PA-resident elective deferrals; ask the plan for a contribution history if you do not have year-by-year statements.

Mistake 2: Believing PA "double-taxes" Roth 401(k) contributions. This is a common talk-radio-and-forum misconception. PA taxes both Traditional and Roth 401(k) contributions once at the contribution point, and exempts retirement-age distributions from either under 61 Pa. Code §101.6. There is no PA double-taxation of Roth. The decision to elect Traditional or Roth in PA should reduce to the pure federal marginal-rate arbitrage.

Mistake 3: Executing a Roth conversion while still a PA resident before a planned relocation. PA taxes Roth conversions at 3.07 percent because the conversion is a taxable event on pretax-source dollars that PA has not previously taxed at the conversion point. A PA-to-lower-tax-state relocator who converts in the year before the move pays a PA tax that a same-year post-relocation conversion would not incur. Model the calendar-year cutover in the Roth conversion calculator.

Mistake 4: Believing the PA basis produces a future PA refund. It does not. Retirement-age distributions are PA-exempt regardless of basis under 61 Pa. Code §101.6. Basis matters only for pre-retirement-age or non-separation-from-service distributions. The PA tax paid at the contribution point is a lifetime state-tax cost that a same-earner Ohio or Illinois resident would have deferred to distribution; there is no refund mechanism to recover it.

Mistake 5: Manual mega backdoor Roth conversion without same-day sweep. A PA resident whose plan does not offer automatic same-day conversion of after-tax voluntary contributions faces earnings-tax exposure between contribution and conversion. Insist on automatic sweep if the plan supports it; if not, execute manual conversion within days rather than waiting to quarter-end. Every dollar of earnings between contribution and conversion is PA-taxable at 3.07 percent in addition to the federal ordinary-rate cost.

Mistake 6: Ignoring §603 workaround analysis because of the PA state-tax-neutral fact. The reverse trap: some PA-resident §603-covered participants dismiss NQDC as a workaround entirely because "PA taxes it anyway." That is correct on the state-tax axis but not on the federal axis. NQDC captures a federal pretax deferral on new compensation streams that §603 blocks inside the §401(k) framework. For a PA-resident $500K+ earner with 32-37 percent federal marginal rate, the NQDC federal deferral is worth considering on federal-arbitrage grounds even without a state-tax variable. The PA fact pattern narrows but does not eliminate the case for NQDC.

9. Your 8-item PA §401(k) decision checklist

Before the next §401(k) enrollment window

  1. Confirm your §603 status. Check your 2025 Form W-2 Box 3 (Social Security wages) against the $150,000 threshold. If above, your catch-up must be Roth in 2026; base elective deferral is still your choice.
  2. Model the federal-only Traditional-vs-Roth split. PA is state-tax-neutral; the federal marginal-rate arbitrage is the only signal. Use the 401(k) calculator to model 2026 wages after Traditional vs Roth election.
  3. Start a PA basis spreadsheet. Track annual PA-resident elective deferrals by year. Include a column for "PA-resident year Y/N" so out-of-state years are excluded from basis.
  4. If planning a relocation: defer Roth conversion to the first calendar year after the move. PA taxes Roth conversions at 3.07 percent; a post-relocation conversion in a zero-income-tax destination state avoids that cost.
  5. If using mega backdoor Roth: verify same-day automatic sweep. Manual conversion cadence should be days not weeks; PA taxes any accumulated earnings between contribution and conversion at 3.07 percent.
  6. Compare Traditional 401(k) to Traditional IRA for spousal accounts. Both are PA-taxed at contribution point; the §401(k) has employer-match access, higher contribution limits, and separate creditor protection under ERISA §206.
  7. Document your basis for any early withdrawal. If forced to take a hardship or in-service distribution before separation-from-service age, provide the plan and your PA-40 preparer with your basis records to claim the basis-first cost recovery under 61 Pa. Code §101.6.
  8. Confirm the 61 Pa. Code §101.6 retirement-age exclusion applies to your plan-specific normal retirement age. Most plans set NRA at 65, but some set it earlier or later; the PA exclusion cross-references the plan definition.

10. FAQ

Why does Pennsylvania tax my 401(k) contributions when the federal government does not?

PA's personal income tax statute at 72 P.S. §7301(d) defines compensation without incorporating the federal §401(k) elective-deferral exclusion under IRC §402(g)(1). The Pennsylvania Constitution's Uniformity Clause at Article VIII §1 has been read to bar the state from grafting on federal exclusions that would create differential treatment. The practical effect is that a PA resident's §401(k) deferral is PA-taxable at 3.07 percent at the contribution point.

Do I ever recover my PA basis tax-free?

Yes — but the recovery is functionally invisible because retirement-age distributions are PA-exempt regardless of basis under 61 Pa. Code §101.6. Basis matters only for pre-retirement-age withdrawals, where distributions are treated as basis-first cost recovery before earnings are recognized.

Is Roth 401(k) better than Traditional 401(k) for a PA resident?

Neutral on the state-tax axis. Both are PA-taxed once at contribution and exempt at retirement-age distribution. The Roth vs Traditional decision for a PA resident reduces to the pure federal-marginal-rate arbitrage plus NIIT, Additional Medicare, and IRMAA considerations.

What happens if I retire out of Pennsylvania?

The Pension Source Tax Act of 1996 (4 U.S.C. §114) prevents PA from taxing your qualified plan distributions after you become a bona fide resident of the destination state. Your PA basis produces no downstream refund because retirement-age distributions were PA-exempt anyway.

What if I move into Pennsylvania from another state?

Retirement-age distributions are PA-exempt regardless of where the underlying deferrals were made. Early distributions before separation-from-service age 59½ are PA-taxable to the extent they exceed your PA basis — and if all your deferrals were made while a non-resident, your PA basis is zero.

Does PA tax my employer's matching contribution?

No. PA excludes employer matching and nonelective contributions from taxable compensation at the contribution point in the same manner as federal treatment. Only employee elective deferrals face contribution-point taxation.

How does PA treat mega backdoor Roth?

The after-tax employee contribution is already PA-taxed at contribution. The in-plan Roth rollover is not itself a PA taxable event on the principal because that principal was already PA-taxed. Earnings accumulated between contribution and conversion are PA-taxable on conversion — same-day sweep eliminates the exposure.

Does SECURE 2.0 §603 mandatory Roth catch-up change PA analysis?

§603 is state-tax-neutral for PA residents because PA taxes both Traditional and Roth contributions identically at contribution. The federal marginal-rate analysis of §603 is unchanged; the PA fact pattern removes the state-tax delta that in other states amplifies the §603 forcing loss.

Are IRA contributions treated the same way?

Traditional IRA contributions are not PA-deductible. Roth IRA contributions are also not PA-deductible. Retirement-age distributions from either are PA-exempt under 61 Pa. Code §101.6. SEP-IRA and SIMPLE IRA elective deferrals face contribution-point taxation in the same manner as §401(k) elective deferrals.

What records should I keep for PA basis?

PA-resident W-2s showing Box 1 vs Box 16 delta and Box 12 code D elective deferrals; year-end plan statements separating employee contributions from employer contributions; a running spreadsheet of annual PA basis; and calendar-year documentation of any non-PA-resident years so PA basis pauses correctly during those years.

Sources and methodology

Methodology

This guide reflects Pennsylvania Department of Revenue Personal Income Tax Guide provisions as published on the PA DOR website, the 72 P.S. §7301 statutory framework, the 61 Pa. Code §101.6 recovery-of-basis regulation, and the IRS 2026 retirement plan limits as published in IRS Notice 2025-67. Federal contribution limits, catch-up amounts, and SECURE 2.0 §603 threshold cited from IRS Notice 2025-67 published November 2025. Case-study federal marginal rates use the 2026-indexed TCJA brackets as continued by the OBBBA of 2025. Case-study PA rate uses the 3.07 percent flat rate in effect for 2026. All amounts are estimates for educational purposes; consult a qualified CPA, ERISA counsel, or tax preparer for personalized planning.

  1. 72 Pa. Stat. §7301, defining classes of income subject to the Pennsylvania personal income tax; §7301(d) defines compensation for state purposes. legis.state.pa.us/cfdocs/legis
  2. 61 Pa. Code §101.6, "Compensation" regulation, Pennsylvania Personal Income Tax; treatment of qualified plan distributions received at or after normal retirement age as excluded from compensation. pacodeandbulletin.gov/Display/pacode
  3. Pennsylvania Department of Revenue, Personal Income Tax Guide, Gross Compensation chapter; clarifies §7301(d) application to §401(k) elective deferrals and defines the delta between federal Box 1 wages and PA Box 16 wages. revenue.pa.gov/FormsandPublications
  4. Pennsylvania Constitution Article VIII §1, the Uniformity Clause; requires uniformity of taxation upon the same class of subjects within the taxing authority's territorial limits. legis.state.pa.us/WU01/LI/LI/CT
  5. Pennsylvania Department of Revenue Personal Income Tax Bulletin 2005-04, retirement plan basis recovery and distributions; basis-first cost recovery treatment for pre-retirement-age distributions from qualified plans. revenue.pa.gov/GeneralTaxInformation
  6. Pennsylvania Department of Revenue, Personal Income Tax Guide, Gross Compensation chapter subsection on employer contributions to qualified retirement plans; employer matching and nonelective contributions are not PA-taxable at contribution and build no PA basis. revenue.pa.gov/FormsandPublications/Gross-Compensation
  7. Pennsylvania Department of Revenue, Personal Income Tax Guide, Retirement and Pension Benefits chapter; explains the 61 Pa. Code §101.6 retirement-age exclusion and provides examples of basis-first cost recovery for early distributions. revenue.pa.gov/FormsandPublications/Retirement-Pension
  8. Internal Revenue Code §1411, Net Investment Income Tax, 3.8 percent applied to NII over $250K MFJ / $200K single AGI threshold; §3101(b)(2) Additional Medicare Tax 0.9 percent over $250K MFJ / $200K single wages; 42 U.S.C. §1395r(i) IRMAA Medicare Part B and D income-related monthly adjustment amounts. irs.gov/individuals/net-investment-income-tax
  9. Pension Source Tax Act of 1996, Pub. L. 104-95, codified at 4 U.S.C. §114; prohibits any state from imposing income tax on retirement distributions paid to a former resident from qualified plans, §408 IRAs, §403(b) annuities, §457(b) plans, and covered nonqualified deferred compensation. govinfo.gov/content/pkg/USCODE-2018-title4
  10. SECURE 2.0 Act of 2022, §603, Public Law 117-328 Division T §603, enacted December 29, 2022; codified at IRC §414(v)(7), mandatory Roth catch-up for participants above $145K prior-year FICA wages (indexed to $150K for 2026 per IRS Notice 2025-67). congress.gov/bill/117th-congress/house-bill/2617
  11. Internal Revenue Code §402A(c)(4)(E), in-plan Roth rollover of nondistributable amounts, authorized by American Taxpayer Relief Act 2012 §902; and IRS Notice 2013-74 operational guidance on in-plan Roth rollovers. irs.gov/pub/irs-drop/n-13-74
  12. IRS Notice 2025-67, 2026 retirement plan contribution limits; $23,500 §402(g) elective deferral, $72,000 §415(c) annual additions, $8,000 §414(v) base catch-up, $11,250 §414(v)(2)(E)(i) age 60-63 super catch-up, $150,000 §414(v)(7) prior-year FICA wage threshold for §603. irs.gov/pub/irs-drop/n-25-67
  13. Internal Revenue Code §402(g)(1), elective deferral limit; §415(c) overall annual additions limit; §414(v) catch-up contribution provisions. law.cornell.edu/uscode/text/26/402
  14. Pennsylvania Department of Revenue REV-1834, Pennsylvania Personal Income Tax Return Instructions; Schedule W-2S reconciliation of federal and Pennsylvania wages for employees with §401(k) elective deferrals. revenue.pa.gov/FormsandPublications/PIT
  15. Pennsylvania Department of Revenue REV-1849, Business Operations Questionnaire, and PA-40 Schedule W-2S; used to reconcile federal Box 1 wages to PA Box 16 wages when employer §401(k) elective deferrals create a delta. revenue.pa.gov/FormsandPublications/pa-40w-2s
  16. Internal Revenue Code §72, cost recovery rules applicable to qualified plan distributions; contrasted with 61 Pa. Code §101.6 basis-first treatment for PA. law.cornell.edu/uscode/text/26/72
  17. IRS Publication 575, Pension and Annuity Income; federal treatment of qualified plan distributions and application of the §72 pro-rata rule that PA does not follow. irs.gov/publications/p575
  18. Ivan v. Commonwealth, 6 A.3d 24 (Pa. Cmwlth. 2010), Pennsylvania Commonwealth Court decision reaffirming the contribution-point taxation of §401(k) elective deferrals under 72 P.S. §7301(d) and confirming the taxpayer's obligation to include deferral amounts in PA-taxable compensation. law.justia.com/cases/pennsylvania/commonwealth-court/2010

This article is educational. It is not personalized tax, ERISA, or investment advice. PA §401(k) treatment depends on specific plan document terms, participant residency status year-by-year, and the interaction with federal retirement plan rules. Consult a Pennsylvania-licensed CPA or tax attorney before relying on any specific PA treatment cited above. Read our editorial process →

⚠️ Disclaimer: Calculations, thresholds, and rules shown are estimates for educational and informational purposes only. Results may not reflect your actual after-tax outcome. PA state tax rules, IRS limits, and tax brackets change; always verify current Pennsylvania Department of Revenue guidance and consult a qualified CPA or tax attorney before making PA §401(k) planning decisions. CalcLeap is not a CPA firm, tax preparer, or ERISA attorney and does not provide personalized tax or retirement planning advice.