Federal tax credit ordering rules run in four fixed steps: nonrefundable personal credits first, then general business credits, then the prior-year minimum tax credit, and finally refundable credits. The order is set by the Internal Revenue Code and it matters because nonrefundable credits vanish if they exceed what you owe, while refundable credits can pay you cash. By forcing the most restrictive credits to go first, the sequence preserves your ability to collect refundable amounts that would otherwise be wasted on tax a nonrefundable credit could have absorbed.
After all four layers have been applied, the IRS then subtracts your withholding and estimated tax payments. If credits plus payments exceed your original tax, the difference comes back as a refund.
Step 1: Nonrefundable Personal Credits
The first credits applied are the nonrefundable personal credits in Sections 21 through 25D of the tax code. Their total cannot exceed your regular tax liability (reduced by any foreign tax credit) plus any alternative minimum tax you owe.1Office of the Law Revision Counsel. 26 USC 26 – Limitation Based on Tax Liability; Definition of Tax Liability If they add up to more than your tax, the leftover generally disappears. No refund, no carryforward.
Common credits in this group include the child and dependent care credit (Section 21), the credit for the elderly or disabled (Section 22), education credits under Section 25A such as the Lifetime Learning Credit (up to $2,000 per return), the saver’s credit (Section 25B) for retirement contributions by lower- and middle-income taxpayers, and the residential clean energy credit (Section 25D) for solar panels, battery storage, and similar installations.
The foreign tax credit under Section 27 sits in its own subpart of the code but is subtracted during the same step and effectively takes priority within the group: the limitation formula for the other nonrefundable personal credits uses your regular tax after the foreign tax credit has already been removed.2Office of the Law Revision Counsel. 26 USC 27 – Taxes of Foreign Countries and Possessions of the United States1Office of the Law Revision Counsel. 26 USC 26 – Limitation Based on Tax Liability; Definition of Tax Liability
Step 2: General Business Credits
Once nonrefundable personal credits are done, the general business credit under Section 38 applies. This is an umbrella that rolls dozens of individual business incentives into one figure, including the investment credit, work opportunity credit, research credit, low-income housing credit, and various clean energy production credits.3Office of the Law Revision Counsel. 26 USC 38 – General Business Credit
The combined business credit has its own ceiling. It cannot exceed your net income tax minus the greater of your tentative minimum tax or 25 percent of your net regular tax liability above $25,000.3Office of the Law Revision Counsel. 26 USC 38 – General Business Credit Net income tax here means your regular tax plus any AMT, already reduced by the credits from Step 1. The formula guarantees that a business pays at least a baseline amount of tax even when it qualifies for substantial incentives.
Ordering Within the Business Credits
When you qualify for multiple business credits in the same year, they are applied in the order listed in Section 38(b), which is essentially the order Congress added them to the code.3Office of the Law Revision Counsel. 26 USC 38 – General Business Credit The investment credit goes first, followed by the work opportunity credit, research credit, low-income housing credit, and so on. The Form 3800 instructions spell out the full sequence.4Internal Revenue Service. Instructions for Form 3800 and Schedule A
There is also a timing rule. Business credits are consumed on a first-in, first-out basis: the earliest prior-year carryforward is used first, then current-year credits, then any carrybacks.4Internal Revenue Service. Instructions for Form 3800 and Schedule A Credits closest to expiring get absorbed before newer ones with more runway.
Step 3: Prior-Year Minimum Tax Credit
The credit for prior-year minimum tax liability under Section 53 applies after all business credits. Its ceiling is your regular tax, reduced by credits from every preceding subpart, minus your tentative minimum tax for the current year.5Office of the Law Revision Counsel. 26 USC 53 – Credit for Prior Year Minimum Tax Liability The credit exists to reimburse you for AMT paid in earlier years that turned out to be a timing difference rather than a permanent extra charge. If you never owed AMT, this step doesn’t apply to you.
Step 4: Refundable Credits
Refundable credits come last. Any amount left over after your tax reaches zero comes back to you as cash. Putting them at the end of the line means every nonrefundable credit has already had its chance to reduce your balance.
The major refundable credits include the Earned Income Tax Credit under Section 32, worth up to $8,231 in 2026 for a family with three or more children6Office of the Law Revision Counsel. 26 USC 32 – Earned Income; the Additional Child Tax Credit under Section 24, worth up to $1,700 per child for 2025 and available to taxpayers with earned income of at least $2,5007Internal Revenue Service. Child Tax Credit; and the Premium Tax Credit under Section 36B for marketplace health insurance premiums, where any credit exceeding advance payments increases your refund.8Internal Revenue Service. Premium Tax Credit (PTC) Overview
These credits function like tax payments. The IRS treats them the same way it treats federal withholding, so they reduce your balance due or boost your refund regardless of whether you had any tax liability to begin with.
Credits That Split Between Steps
Some credits straddle the line and land in two different steps. The Child Tax Credit is the most common example. For 2025, the total is worth up to $2,200 per qualifying child. The nonrefundable portion reduces your tax during Step 1 alongside the other personal credits. If your tax hits zero before you have used the full credit, the leftover shifts into the refundable Additional Child Tax Credit (up to $1,700 per child), which is processed during Step 4.7Internal Revenue Service. Child Tax Credit The two portions combined can’t exceed the per-child maximum.
The Adoption Credit split similarly starting in tax year 2025. Up to $5,000 per qualifying child is now refundable, and the remaining nonrefundable portion (of a maximum $17,280 in qualified expenses for 2025) can be carried forward for up to five years.9Internal Revenue Service. Adoption Credit Before 2025, the entire Adoption Credit was nonrefundable, with only the carryforward as a safety net.
What Happens to Unused Credits
When credits exceed the allowed limit and aren’t refundable, what happens next depends on which category they fall into.
General Business Credits
Unused business credits get the most generous treatment. You can carry them back one year to recover taxes you already paid, and if any credit remains, you can carry it forward for up to 20 years.10Office of the Law Revision Counsel. 26 USC 39 – Carryback and Carryforward of Unused Credits A few specific credits have longer carryback periods; the marginal well production credit allows five years, for example. The first-in, first-out rule from Form 3800 applies to carryforwards as well.4Internal Revenue Service. Instructions for Form 3800 and Schedule A
Nonrefundable Personal Credits
Most personal credits are use-it-or-lose-it. If your tax liability is already zero before the credit for the elderly, the Lifetime Learning Credit, or the saver’s credit can apply, the unused portion disappears at year-end with no carryforward and no carryback.
A few exceptions are worth knowing. The Residential Clean Energy Credit carries forward indefinitely; the statute directs any excess to “the succeeding taxable year” with no expiration date, so it rolls forward year after year until you have enough tax liability to absorb it.11Office of the Law Revision Counsel. 26 USC 25D – Residential Clean Energy Credit The Adoption Credit allows a five-year carryforward for its nonrefundable portion.9Internal Revenue Service. Adoption Credit Outside these exceptions, losing an unused personal credit is permanent.
Why the Order Changes Your Refund
The ordering rules determine how much money you actually receive. Take a taxpayer who owes $3,000 in federal income tax and qualifies for $2,000 in nonrefundable education credits plus a $4,000 Earned Income Tax Credit. Under the statutory order, the education credits apply first and drop the balance to $1,000. The EITC then eliminates that $1,000 and delivers the other $3,000 as a refund.
Reverse the sequence and the math falls apart. If the EITC went first, it would wipe out the $3,000 in tax and send back $1,000 as a refund, but the entire $2,000 education credit would be wasted because no liability would be left to offset. Same credits, same taxpayer, $2,000 difference in the refund. That’s why the order is fixed, and why it’s worth knowing where each credit you claim lands in the sequence.