Skip to main content

HomeAll guides

How Pennsylvania's State Income Tax Works

Pennsylvania charges a flat income tax rate on wages, retirement income, and some other earnings

Pennsylvania's state income tax is a flat tax, meaning everyone pays the same percentage rate regardless of how much money they earn. As of 2024, that rate is 3.07 percent. This applies to wages from a job, self-employment income, retirement distributions, and certain other sources of income.

The tax is collected in two ways: your employer withholds it from your paycheck if you work for a company, or you pay it yourself through quarterly estimated tax payments if you're self-employed or have income your employer doesn't withhold from. At the end of the year, you file a Pennsylvania tax return to reconcile what you paid against what you actually owed.

Pennsylvania does not tax Social Security benefits, pension income from the military, or income earned outside the state if you're a nonresident. The state also has a separate corporate net income tax and capital gains tax, but those are different from the personal income tax that applies to your wages and salary.

Key Takeaways

  • Pennsylvania's income tax rate is 3.07 percent on all taxable income, applied equally to all residents regardless of income level.
  • Your employer withholds the tax from your paycheck automatically, or you pay it yourself if you're self-employed through quarterly estimated payments.
  • Social Security benefits and military pensions are not subject to Pennsylvania income tax.
  • You file a Pennsylvania tax return each year to report your income and either receive a refund or pay any balance owed.

Who has to pay Pennsylvania income tax

You owe Pennsylvania income tax if you are a resident of the state and earned income during the tax year. Residency for tax purposes generally means you lived in Pennsylvania for more than half the year, or you maintained a permanent home there even if you spent part of the year elsewhere.

If you moved to Pennsylvania partway through the year, you may owe tax on income earned after you became a resident. If you moved out of Pennsylvania, you may owe tax on income earned before you left. The state's Department of Revenue has rules about what counts as residency, and those rules can be complex if you lived in multiple states during the year.

Nonresidents who earned income in Pennsylvania—for example, someone who worked a job in Pennsylvania but lived in New Jersey—may also owe Pennsylvania tax on that income, depending on the type of work and the state's reciprocal agreements with neighboring states.

What income is taxed and what is not

Pennsylvania taxes wages, salaries, bonuses, commissions, and tips from employment. It also taxes self-employment income, rental income, interest and dividends, and distributions from retirement accounts like IRAs and 401(k)s. Income from gambling winnings is taxable as well.

Pennsylvania does not tax Social Security benefits, even if you have substantial other income. Military pensions and some other government pensions have special treatment. The state also does not tax income you earned outside Pennsylvania if you are a nonresident, though this rule has exceptions depending on the type of income and your employment situation.

Capital gains—profit from selling stocks, real estate, or other investments—are subject to a separate 3.07 percent capital gains tax in Pennsylvania, not the regular income tax. This is a relatively recent addition to the state's tax code and applies to long-term capital gains above a certain threshold.

How withholding works on your paycheck

When you start a job in Pennsylvania, your employer asks you to fill out a PA-W4 form (Pennsylvania Withholding Certificate). This form tells your employer how much state income tax to withhold from each paycheck. The amount depends on your filing status, the number of dependents you claim, and any additional withholding you request.

Your employer then withholds that amount from your gross pay every pay period and sends it to the Pennsylvania Department of Revenue on your behalf. This happens automatically—you do not have to do anything except fill out the form correctly when you are hired. If your circumstances change during the year (you get married, have a child, take a second job), you can fill out a new PA-W4 to adjust your withholding.

The goal of withholding is to have enough tax paid throughout the year so that when you file your return in April, you either owe nothing or get a small refund. If you withhold too little, you will owe money. If you withhold too much, you will get a refund.

Self-employment and estimated tax payments

If you are self-employed or have income that is not subject to withholding—such as freelance work, rental income, or investment income—you may need to make quarterly estimated tax payments to Pennsylvania. These are payments you make four times a year (roughly in April, June, September, and January) based on how much income you expect to earn.

To calculate your estimated payments, you estimate your total income for the year, subtract any deductions you are may have access to to, and multiply by the 3.07 percent tax rate. You then divide that amount by four and pay that amount each quarter. The Pennsylvania Department of Revenue provides a worksheet to help you calculate this.

If you do not make estimated payments and you owe more than a certain amount at tax time, you may face a penalty. However, if you have enough tax withheld from other income (such as a W-2 job), you may not need to make estimated payments at all.

Filing your Pennsylvania tax return

You file your Pennsylvania tax return using Form PA-40, the Pennsylvania Individual Income Tax Return. This form is due on the same date as your federal return, which is typically April 15 (or the next business day if April 15 falls on a weekend). If you file your federal return late, your Pennsylvania return is also considered late.

You can file your Pennsylvania return on paper by mail or electronically through the state's online filing system. Many tax preparation software programs, such as TurboTax and H&R Block, include Pennsylvania state returns in their standard packages. You can also file through a tax professional or accountant.

On your return, you report all income you earned during the year, claim any deductions or credits you are may have access to to, and calculate the tax you owe. You then compare that to the amount you already paid through withholding or estimated payments. If you paid too much, you get a refund. If you paid too little, you owe the difference.

Deductions and credits available in Pennsylvania

Pennsylvania allows a standard deduction that reduces the amount of income subject to tax. The standard deduction amount varies by filing status and age. You can claim the standard deduction, or you can itemize deductions if you have significant expenses like mortgage interest or charitable donations, though Pennsylvania's rules on itemized deductions differ from federal rules.

The state also offers certain tax credits, such as the Earned Income Tax Credit (EITC) for low-income workers, the Property Tax/Rent Rebate for older adults and people with disabilities, and credits for education expenses. These credits reduce the amount of tax you owe dollar-for-dollar, making them more valuable than deductions.

Pennsylvania does not allow a deduction for federal income tax paid, unlike some other states. You also cannot deduct state income tax on your Pennsylvania return (you can only deduct it on your federal return, subject to federal limits).

Frequently Asked Questions

Do I have to file a Pennsylvania tax return if I did not earn much income?

You must file if your income exceeds the threshold for your filing status, which is based on your standard deduction. If your income is below that threshold, you are not required to file, but you may want to file anyway if you had taxes withheld, because you could receive a refund.

What happens if I move out of Pennsylvania during the year?

You owe Pennsylvania tax only on income earned while you were a resident. When you file, you report your move date and calculate your tax based on the portion of the year you lived in the state. You may also owe tax to the state you moved to, depending on when you arrived and that state's rules.

Can I deduct federal income tax from my Pennsylvania taxes?

No. Pennsylvania does not allow a deduction for federal income tax paid on your state return. You can deduct state income tax on your federal return, but only up to $10,000 per year under current federal rules.

What if I did not have enough tax withheld and owe money?

You pay the balance when you file your return. If you owe a large amount, you can request a payment plan from the Pennsylvania Department of Revenue. If you consistently owe money at tax time, you can adjust your withholding by submitting a new PA-W4 to your employer.

Is Pennsylvania income tax the only state tax I pay?

Pennsylvania has income tax, but it does not have a sales tax. Some other states have both. You may also owe local taxes depending on where you live—some Pennsylvania cities and school districts impose local income taxes in addition to the state tax.

This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.