Pennsylvania is one of the most retirement-friendly states in the country for income tax purposes, but its rule works differently than most people assume. Rather than a flat age cutoff like 59½, Pennsylvania Department of Revenue guidance ties the exemption to the retirement plan's own normal retirement age or years-of-service requirement — a nuance that trips up a lot of retirees who assume the federal 59½ threshold automatically applies at the state level too. Get the timing wrong and a distribution that would have been state-tax-free a few months later can be fully taxable at Pennsylvania's 3.07% flat rate instead.
This guide walks through exactly how Pennsylvania treats Social Security, pensions, and 401(k)/IRA withdrawals in 2026, what "eligible retirement income" actually means under Pennsylvania Personal Income Tax Guide rules, how early distributions are taxed under the cost recovery method, and why Pennsylvania's lack of a standard deduction matters for the comparison. For a side-by-side look at every state, use the Retirement Income Tax by State Calculator.
No. Pennsylvania fully exempts Social Security retirement, survivor, and disability benefits from state personal income tax, at every income level and every age. Social Security and Railroad Retirement benefits are listed among the income types that are not taxable for Pennsylvania purposes in the Department of Revenue's PA-40 instructions.
This is a straightforward, unconditional exemption — unlike the federal government, which can tax up to 85% of Social Security benefits depending on combined income, Pennsylvania taxes none of it. There's no phaseout, no income threshold, and no separate form required beyond simply not reporting it as taxable income on the PA-40.
This is where Pennsylvania's rule differs from what most retirees expect. Under the Pennsylvania Personal Income Tax Guide (Gross Compensation chapter), distributions from an eligible employer-sponsored retirement plan — including most pensions, 401(k)s, 403(b)s, and traditional/Roth IRAs — are excluded from Pennsylvania taxable income once the taxpayer has met the plan's own retirement age or years-of-service condition and retired.
That eligibility condition is set by the terms of the specific plan, not by a single statewide age like 59½. In practice:
The practical takeaway: for a plain-vanilla IRA or 401(k) with no early-eligibility provision, 59½ often ends up being the effective date because that's when the plan documents typically permit distributions. But for pensions and plans with their own earlier retirement-eligibility terms, Pennsylvania's exemption can kick in before 59½ — and conversely, if you separate from service and take a lump-sum payout before meeting your specific plan's retirement conditions, that payout is taxable in Pennsylvania even if you're already over 59½ under a different, unrelated plan.
Yes. Distributions taken before a taxpayer has met the plan's retirement age or years-of-service condition are taxable for Pennsylvania purposes, using what the Department of Revenue calls the cost recovery method. Under this method:
| Distribution Timing | Pennsylvania Treatment |
|---|---|
| After meeting the plan's retirement age/service condition | Fully exempt — no PA tax on any portion of the distribution |
| Before meeting the plan's retirement age/service condition (early/pre-retirement withdrawal) | Taxable to the extent the distribution exceeds the taxpayer's previously-taxed contributions (cost recovery method) |
| Severance pay from an employer-sponsored plan upon leaving a job without retiring | Treated as taxable compensation |
Under the cost recovery method, withdrawals are first treated as a return of the employee's own previously-taxed contributions (which aren't taxed again), and only amounts exceeding that basis — typically employer contributions and investment earnings — are subject to the 3.07% Pennsylvania tax. This is a materially different calculation than the federal approach, so a distribution that's fully taxable federally can be only partially taxable (or not taxable at all) in Pennsylvania, and vice versa depending on the contribution history.
Pennsylvania has held a flat personal income tax rate of 3.07% since 2004, applied to taxable income for residents, nonresidents, estates, and trusts. This rate applies to wages, self-employment income, interest, dividends, capital gains, rental income, and any retirement distributions that don't qualify for the exemption discussed above.
One detail that matters for comparison purposes: Pennsylvania provides no standard deduction and no personal exemption. The Department of Revenue is explicit on this point — Pennsylvania personal income tax does not offer a standard deduction or personal exemption the way most other states and the federal government do. This means Pennsylvania's low 3.07% rate applies to essentially the first dollar of non-exempt taxable income, with no automatic deduction shielding a baseline amount. In practice this matters much less for retirees whose primary income (Social Security plus eligible pension/401(k)/IRA distributions) is already fully exempt — but it does mean any taxable wages, investment income, or early retirement distributions are taxed from dollar one.
Pennsylvania's retirement-income-friendly income tax rules don't extend to its inheritance tax, which is a completely separate tax assessed on the estate transferring assets to beneficiaries. Pennsylvania inheritance tax rates depend on the relationship between the decedent and the beneficiary: 0% for a surviving spouse and charitable organizations, 4.5% for transfers to direct descendants (children and grandchildren), 12% for transfers to siblings, and 15% for transfers to more distant relatives and unrelated beneficiaries.
Retirement accounts get a narrow inheritance tax carve-out: per Pennsylvania Department of Revenue guidance, an IRA or 401(k) is generally exempt from inheritance tax only if the account owner died before reaching age 59½ (and was not disabled, and — for 401(k)s — did not hold an unrestricted right to terminate the plan during their lifetime). Once the owner dies at 59½ or older, the full account value is included in the taxable estate and subject to inheritance tax at the applicable rate based on who inherits it. Roth IRAs are taxable for inheritance tax purposes regardless of the owner's age at death.
This is worth flagging as a secondary consideration alongside income tax planning: a Pennsylvania retiree's 401(k) or IRA balance may generate zero state income tax during their lifetime thanks to the retirement income exemption, yet still be subject to a 4.5% inheritance tax bill for their children when it passes to them — two entirely different taxes with two entirely different eligibility rules.
These examples assume a retiree who has met their plan's retirement age condition and draws income entirely from Social Security, a pension, and IRA/401(k) distributions — the typical case for most PA retirees:
| Retirement Income (SS + Pension + IRA/401k) | Pennsylvania State Tax |
|---|---|
| $50,000 | $0 |
| $100,000 | $0 |
| $200,000 | $0 |
Because none of these income types carry a dollar cap once the eligibility condition is met, the Pennsylvania result is the same at every income level shown: $0 in state income tax. Compare that to a retiree who takes an early lump-sum 401(k) distribution before meeting their plan's retirement age — say $50,000, of which $35,000 represents employer contributions and earnings (i.e., not previously-taxed employee contributions). Under the cost recovery method, that $35,000 portion is taxable at 3.07%, producing roughly $1,075 in Pennsylvania tax on the early distribution — tax that would have been $0 had the same withdrawal been taken after meeting the plan's retirement eligibility terms. Use the Retirement Income Tax by State Calculator to model your own numbers, including comparisons against other states.
Pennsylvania belongs to a small group of states that fully exempt retirement income from tax, alongside Illinois and Mississippi — though the mechanics differ in an important way:
| State | Retirement Income Exemption | Eligibility Condition | Flat Income Tax Rate |
|---|---|---|---|
| Pennsylvania | 100% once eligible | Plan's own retirement age/years-of-service condition — must have retired | 3.07% |
| Illinois | 100%, no cap | None — applies at any age | 4.95% |
| Mississippi | 100%, no cap | Must meet the plan's normal retirement age rules (similar structure to PA) | Flat rate, phasing toward 0% |
Illinois is the most permissive of the three — its exemption has no age or service requirement at all, so even someone who takes an early 401(k) withdrawal at 45 owes no Illinois tax on it. Pennsylvania and Mississippi both tie their exemptions to the retirement plan's own eligibility terms, which is more generous than a rigid statewide age cutoff (since some plans permit earlier retirement) but does mean early, pre-eligibility distributions remain taxable in a way Illinois's don't. All three states fully exempt Social Security regardless of age. For a full state-by-state breakdown, see the Retirement Income Tax by State Guide.
CountryTaxCalc.com is reader-supported. When you use our partner links, we may earn a commission at no cost to you. This helps us provide free tax calculators and comparison tools. Learn more about our affiliate partnerships
★ 4.8 verified reviews · 3,758 reviews
Moving between states means a complex multi-state tax return. Taxhub matches you with a real CPA via video call — average cost $325. Rated 4.8★ by 3,700+ clients.
⚠ Not for simple single-state returns. Free filing is fine for straightforward W-2 situations.
Get Matched With a CPA →Interested in reaching this audience? Advertise on CountryTaxCalc →