Why am I getting a federal refund but owing state taxes?

Why the two returns come out differently, how to find your state gap, and how to keep it from happening again.

Sam Patrone — Tax Advisor at Fifteenth

Table of contents

The short answer

Your federal and state returns are separate.

You can overpay one and underpay the other, and you can’t apply a federal refund to your state bill when you file. To find your state gap, start with the total tax on your state return, then subtract the state tax withheld from your pay (W-2 box 17) and any state estimated or extension payments you made. There are three usual causes. Your employer withholds state tax on equity pay at a flat rate below your actual state rate. Your wages are withheld to the wrong state. Or your state taxes some income more heavily than the IRS does. It happens in both directions. Some people owe the IRS and get a state refund.

Can I get a federal refund and still owe the state?

Yes. The IRS and your state each compare their own tax bill with what you paid them. A federal refund can’t be applied to a state balance.

Illustrative example

FederalState
Total tax on the return$100,000$38,000
Withholding and payments$106,000$26,000
Result$6,000 refund$12,000 due

A refund means you paid in more than you owed. It doesn’t mean your tax was low. Your tax can be higher than last year’s and you can still get a refund, if more was taken out of your pay.

How do I check what I paid each one?

For each return, compare three numbers:

  1. The total tax on the return.
  2. Withholding from every W-2. Federal is in box 2, state in box 17 and local in box 19.
  3. Estimated and extension payments, and any of last year’s refund you chose to apply forward instead of taking as cash. You choose whether an overpayment comes back as a refund or goes toward next year’s estimated payments. Tell your CPA before you sign the return.

Then check that each payment confirmation shows the right tax year and the right agency. A payment credited to the wrong year shows up as a balance due. So does a city tax you never paid, such as New York City tax left out of your New York estimated payments.

Why didn’t my withholding cover my state tax?

Here are the common reasons, most frequent first.

  • Equity pay and bonuses are often under-withheld for the state. Payroll withholds federal tax on RSU vests, non-qualified stock option (NSO) exercises and bonuses at a flat 22% (37% above $1 million). State withholding on that pay can also be off. California’s flat rate on bonuses and equity pay is below its top tax rates, so high earners there are often under-withheld. New York and New York City flat rates are above their top rates, so equity pay there is often over-withheld. Compare the state line on your vest statements with your state return.
  • Wages are withheld to the wrong state. After a move or a switch to remote work, payroll often keeps withholding for the old state until your address is updated.
  • Some income has no withholding at all, such as stock sales, investment income, or local tax that payroll never took out.

Does my state tax income differently?

Often, yes. California, for example, taxes capital gains (profits from selling shares and other investments) at the same rates as wages. There’s no lower rate for long-term gains. It also has no exclusion for qualified small business stock (QSBS), so a gain that’s tax-free federally can be fully taxed by the state.

The alternative minimum tax (AMT), a separate tax calculation, can differ by state too, especially after you exercise incentive stock options (ISOs). California has its own AMT. Most states don’t.

What if I lived or worked in two states?

A state you worked in can tax the part of your equity pay you earned while working there. This split is called sourcing. For RSUs, states such as California and New York count the period from the grant date to the vest date. So moving before a vest doesn’t move all of the income to your new state. If your W-2 splits the income between states incorrectly, ask your employer for a corrected W-2, because your return generally has to match it.

Your home state usually gives a credit for tax paid to the other state on the same income, but the credit has limits and depends on the pair of states. Send your CPA your move date, work-location dates, and grant and vest dates.

Why did the final return differ from my extension?

The payment you send with an extension is an estimate, made before all your tax forms arrive. Late equity statements, corrected 1099s, or how income is sourced between states can move the final number up or down. If you applied your state overpayment to the following year’s estimated payments instead of taking a refund, count it toward that year’s payments so you don’t pay twice.

How do I avoid owing the state again?

The usual fix is to have more state tax taken out of each paycheck for the rest of the calendar year. You ask for an extra flat amount on your state withholding form (in California, the DE 4). For penalty purposes, withholding counts as if it were paid evenly through the year, even if it came late. So extra withholding late in the year also covers earlier quarters when you paid too little. An estimated payment counts only from the date you make it. If you already know you’re short, pay now. Underpayment penalties keep adding up until the balance is paid. You can also ask whether your employer lets you elect a higher withholding rate on RSUs and option exercises.

The safe harbor rules set how much you must pay during the year to be protected from underpayment penalties. They differ by state. In California:

  • If your adjusted gross income (AGI) last year was over $150,000, the prior-year safe harbor means paying 110% of last year’s tax.
  • If your AGI for the current tax year is $1 million or more ($500,000 if married filing separately), you can’t use the prior-year safe harbor. You must pay 90% of the current year’s tax instead.
  • Estimated payments are due 30% in April, 40% in June, nothing in September, and 30% in January of the following year.

If you’re covered by the safe harbor rules, owing a balance on the April due date is normal and carries no underpayment penalty, as long as you pay it by then. Set the cash aside for it.

What should I send my CPA?

  • Federal and state returns (or projections) for the same year.
  • Every W-2, plus vest and exercise statements showing state withholding.
  • Confirmations for estimated and extension payments, showing the tax year and agency.
  • Last year’s return, if an overpayment was applied forward.
  • Move and work-location dates, and grant and vest dates if you changed states.
The delightfully uneventful tax service that strips the surprise factor from taxes