State tax docs / States / North Carolina
North Carolina state income tax: engine rules, 2026
How the QuantCalc engine computes North Carolina tax for tax year 2026, rule by rule, with the official source for each rule. Verification status: Worksheet-tested (what this means).
On this page: How the tax is computed · Rate schedule · Deductions, exemptions and credits · Social Security · IRA, 401(k) and private pensions · Public pensions · Military retirement pay · Roth conversions · Capital gains · Part-year and nonresident returns · Worked examples · After 2026 · Not calculated ·
Verification. Machine-readable: this state's entry in the
engine config and the provenance file
(key NC).
How the tax is computed
Every step the engine takes for North Carolina, in the order it takes them. Steps marked with a filing status or household type apply only there. Each step links the section below that carries North Carolina's figures and the official sources for it; the calculation order page describes every step for all jurisdictions.
What each filing status gets, read back from the engine for a household with $1 of income (so below every phase-out and income test):
| Single | Married filing jointly | Married filing separately | Head of household | |
|---|---|---|---|---|
| Rate schedule used | single schedule | joint schedule | joint schedule, thresholds halved | single schedule |
| Top rate | 3.99% flat | 3.99% flat | 3.99% flat | 3.99% flat |
| Standard deduction, under 65 | $12,750 | $25,500 | $12,750 | $19,125 |
| Standard deduction at 70 (joint: both 70) | $12,750 | $25,500 | $12,750 | $19,125 |
| Personal exemption | none | none | none | none |
| Age subtractions at 70 (joint: both 70) | none | none | none | none |
- Per-person mode joint returns with the spouse's age given On a joint return with the spouse's age given, every age test the state applies per taxpayer is evaluated for each spouse at their own age. Without it one household age applies to both.
engine step (compute_state_tax_detail). Engine convention, no external source: The engine cannot know the second spouse's age unless told. - Blindness and disability, per person only when the caller says a person is blind or disabled The filer is person one; the spouse counts only on a joint return and only when the caller says so (there is no household convention as for age). Where a state lets a disabled person (and, where it says so, a blind one, or one whose spouse is disabled) qualify for its general retirement exclusion before the age, that person is treated as having reached the age for that exclusion only. Of the 42 taxing jurisdictions, these have a blind amount: Arizona, Arkansas, California, Colorado, Delaware, the District of Columbia, Hawaii, Idaho, Illinois, Indiana, Iowa, Kansas, Kentucky, Maine, Maryland, Massachusetts, Michigan, Minnesota, Mississippi, Missouri, Montana, Nebraska, New Jersey, New Mexico, North Dakota, Oklahoma, Oregon, Utah, Vermont and Virginia; these have none: Alabama, Connecticut, Georgia, Louisiana, New York, North Carolina, Ohio, Pennsylvania, Rhode Island, South Carolina, West Virginia and Wisconsin. A disability route is calculated in Arkansas, the District of Columbia, Georgia, Hawaii, Idaho, Iowa, Maryland, Michigan, New Jersey, Oregon and West Virginia.
engine step (compute_state_tax_detail). Engine convention, no external source: Who is blind or disabled is the caller's statement; the engine has no household convention for it. - Rate schedule and standard deduction by filing status Single uses the single schedule and deduction; married filing jointly the joint ones. Head of household and married filing separately follow the two steps below.
North Carolina's values · engine step (select_brackets). Sources (Rate schedule): Tax Rate Schedules (checked 2026-10-12) - Married filing separately Where the state publishes its own separate schedule, that one (with half the joint deduction unless a separate deduction is set). Where one schedule applies to every status, that schedule unscaled with the single deduction. Otherwise the joint schedule with every threshold and the deduction halved (computed as the joint tax on twice the income, halved).
North Carolina's values · engine step (select_brackets). Sources (Rate schedule): Tax Rate Schedules (checked 2026-10-12) - Head of household The state's head-of-household schedule where it has one, else the single schedule; the head-of-household deduction where set, else the single deduction.
North Carolina's values · engine step (select_brackets). Sources (Rate schedule): Tax Rate Schedules (checked 2026-10-12) - The income total every income test uses Other ordinary income + retirement distributions (before any exclusion) + conversion + federally taxable Social Security + long-term gains + Railroad Retirement Tier 2. It stands in for federal adjusted gross income in every threshold, cliff and phase-out below; state subtractions do not reduce it.
engine step (compute_state_tax_detail). Engine convention, no external source: The inputs are the federal AGI components, so their sum is federal AGI for these income types. - Attributing income to each spouse joint returns with each spouse's own amounts given With a caller's split (the API's
spouseobject), each spouse's own distributions (employer-plan money included), pension, public pension, conversion, wages and military pay; spouse 2's shares are clamped into the household totals and spouse 1 gets the rest. Without a split, in per-person mode, every item is divided 50/50. Social Security is divided by each spouse's own gross benefits where the caller givesspouse.socialSecurityGross, else 50/50; other ordinary income and gains are always divided 50/50 where a rule needs a per-person amount. The split is used only where a state's rule is per taxpayer; household totals stay authoritative for the base and the income tests.
engine step (compute_state_tax_detail). Engine convention, no external source: Equal attribution is the neutral split when the owner of a dollar is not known. - Keeping the per-spouse shares inside the household joint returns with each spouse's own amounts given After the public-pension and employer-pension carve-outs, if the two spouses' remaining shares add up to more than the household's exclusion-eligible distributions (an inconsistent split), spouse 1's share is reduced so they do not.
engine step (compute_state_tax_detail). Engine convention, no external source: Input normalisation. - Military retirement pay The state's military rule runs first, on military pay alone, per taxpayer: each spouse's own pay at their own age when attributed, otherwise half each at the household age on a joint return. Exempt dollars leave the base; the rest become pension dollars for the general retirement rules. Where the state lets a disabled retiree qualify at any age, a disabled person is treated as having reached the rule's age.
North Carolina's values · engine step (compute_state_tax_detail). Sources (Military retirement pay): 2025 d 401 individual income tax instructions (checked 2026-10-12) - One taxpayer's military exemption Exempt: all of it (below the age split, up to the younger cap). Capped: up to the cap for the age tier, plus the earned-income bonus below the age split when the taxpayer's own wages exceed the threshold, less the taxpayer's own Social Security where the rule says so. Percentage: the percentage (below the age split, up to the younger cap). Then the income limit: above it the exemption is lost, or phased out over the range where one is set.
North Carolina's values · engine step (military_exempt_one). Sources (Military retirement pay): 2025 d 401 individual income tax instructions (checked 2026-10-12) - Capital-loss deduction off the base The deduction comes off the other ordinary income (negative income, as Form 1040 line 7a is), so the base and every state-AGI figure summed from it carry it; WI no more than Wisconsin ordinary income (Schedule WD line 28(c)). States whose base is federal taxable income (with the caller's figure) already have it there and take it only once. Engine 1.13.1: the allowed rental loss comes off the same way, on its own line (rental_loss_deduction).
North Carolina's values · engine step (compute_state_tax_detail). Sources (Capital gains): 2025 D-401 Individual Income Tax Instructions (checked 2026-10-12); North Carolina Standard Deduction or North Carolina Itemized Deductions (checked 2026-10-12); 2025 Schedule D (Form 1040), Capital Gains and Losses (checked 2026-10-12) - Social Security exempt None of the federally taxable benefit enters the base.
North Carolina's values · engine step (ss_amount_in_state_base). Sources (Social Security): 2025 D-401 Individual Income Tax Instructions (checked 2026-10-12) - Retirement exclusion (household) The distributions eligible for the exclusion go through the exclusion below. Taxable public-pension dollars left by a cap are not eligible; below the IRA age only employer-plan dollars are.
North Carolina's values · engine step (compute_state_tax_detail). Sources (IRA, 401(k) and private pensions): 2025 D-401 Individual Income Tax Instructions (checked 2026-10-12) - Conversion taxed or exempt In full-exclusion states a conversion is exempt at the qualifying age (at any age where the state says so). Elsewhere, unless pooled above, it is ordinary income taxed in full.
North Carolina's values · engine step (compute_state_tax_detail). Sources (Roth conversions): 2025 D-401 Individual Income Tax Instructions (checked 2026-10-12) - Long-term gains in the base Where gains are taxed as ordinary income: net long-term gain less the flat exclusion (never below zero), times the inclusion share. Elsewhere none enters.
North Carolina's values · engine step (compute_state_tax_detail). Sources (Capital gains): 2025 D-401 Individual Income Tax Instructions (checked 2026-10-12); North Carolina Standard Deduction or North Carolina Itemized Deductions (checked 2026-10-12); 2025 Schedule D (Form 1040), Capital Gains and Losses (checked 2026-10-12) - Dependent exemptions and deductions only when the caller lists dependents An amount per dependent subtracted like the personal exemption: the state's flat amount, or the stepped per-exemption amount the filer gets, or the state's own income steps; nothing above an income limit where there is one; a percentage phase-out per income step where there is one; one more for a dependent in an age band or a student up to an age, for a dependent born in the year, and for a disabled dependent; a deduction per dependent beyond the first on joint and head-of-household returns; and a child deduction by an income table for dependents under an age. A head of household's status exemption that already holds one dependent's amount counts one fewer. Where the state says so, the phase-out is measured on the state AGI (the base before deductions).
North Carolina's values · engine step (compute_state_tax_detail). Sources (Deductions, exemptions and credits): North Carolina Standard Deduction or North Carolina Itemized Deductions (checked 2026-10-12); North Carolina General Assembly: GS_105-153.5.html (checked 2026-10-12) - State taxable income Other ordinary income + Social Security, retirement income, conversion and gains left in the base − standard deduction − personal exemption − age subtractions.
engine step (compute_state_tax_detail). Engine convention, no external source: The order of subtraction follows the state forms; each amount is sourced at its own step. - No tax at or below zero State taxable income at or below zero returns a tax of 0 (credits are not refundable), unless the state has a tax computed apart from taxable income that still applies (next step).
engine step (compute_state_tax_detail). Engine convention, no external source: Every credit the engine carries is nonrefundable, so nothing below can make a zero tax negative; each credit is sourced at its own step. - Separate-return scaling married filing separately For the halved-joint rule, taxable income is doubled before the schedule and the result halved.
North Carolina's values · engine step (compute_state_tax_detail). Sources (Rate schedule): Tax Rate Schedules (checked 2026-10-12) - The rate schedule Each bracket's rate on the part of taxable income inside it, summed. No rounding: the result is carried in full precision.
North Carolina's values · engine step (apply_state_brackets). Sources (Rate schedule): Tax Rate Schedules (checked 2026-10-12) - Credits cannot make the tax negative The credits are subtracted and the result floored at zero.
engine step (compute_state_tax_detail). Engine convention, no external source: Every credit the engine carries is nonrefundable; each credit is sourced at its own step. - Qualifying surviving spouse qualifying surviving spouse returns A qualifying surviving spouse (
filingStatusqss) is one person on the return, taxed from the single figures with the state's own treatment of the status laid over them: where the state says so, the joint rate schedule, the joint standard deduction, the joint personal exemption, the joint income limits and phase-outs (only those the state sets for joint returns), the married 65+ and blindness amounts, or the head-of-household return; where the state gives the status nothing of its own, the single return. The federal figures the engine derives for the status are the federal qualifying-surviving-spouse ones (the joint standard deduction, the married 65+ amount).
North Carolina's values · engine step (state_tax_effective_config). Sources (Rate schedule): Tax Rate Schedules (checked 2026-10-12) - Railroad Retirement benefits only when the caller gives Railroad Retirement benefits Railroad Retirement benefits are never taxed by a state (45 U.S.C. §231m). Tier 2 (
railroadRetirementTier2) is in the income total the tests use but never in the base. Tier 1 (railroadRetirementTier1) is a part of the gross benefits (socialSecurityGross); its share of the taxable benefits is taken out of the Social Security every state rule sees, so a state that taxes Social Security never reaches it. Where a state's worksheet says so, the benefits reduce a retirement cap or subtraction (ID, IN, MD, ME, MN: both tiers; MI: the taxable railroad benefits); Minnesota's and Utah's Social Security rules test an income without them, Minnesota's, New Jersey's and California's retirement income tests an income without Tier 2; Ohio and Delaware test their own AGI everywhere, which never holds the benefits.
North Carolina's values · engine step (compute_state_tax_detail). Sources (Social Security): 2025 D-401 Individual Income Tax Instructions (checked 2026-10-12) - The capital-loss deduction the state allows With a net capital loss (capitalLoss): the smaller of the loss and the state's limit (the federal $3,000 / $1,500 where the state follows the federal return; MA $2,000, and no more than the interest and dividends); AL the loss less the part carried in, unlimited; PA and NJ none. It comes off the income total the income tests use (and the Social Security worksheets' income); the gross-income filing test (LA) reads the total before it. Engine 1.13.1: with a rental loss (rentalNetIncome below 0, the federal Schedule E line 26 amount) the state allows, the whole loss where the state starts from federal AGI or follows the federal schedule, none in PA and NJ (rental_loss_no_offset): it comes off the same income the same way; a rental profit is other ordinary income.
North Carolina's values · engine step (compute_state_tax_detail). Sources (Capital gains): 2025 D-401 Individual Income Tax Instructions (checked 2026-10-12); North Carolina Standard Deduction or North Carolina Itemized Deductions (checked 2026-10-12); 2025 Schedule D (Form 1040), Capital Gains and Losses (checked 2026-10-12) - Each spouse's own Social Security joint returns On a joint return, each spouse's own Social Security is the spouse's share of the benefits by
spouse.socialSecurityGrosswhen the caller gives it (Tier 1 railroad benefits left out), else half each. It is what the per-spouse rules read: Colorado's per-spouse subtraction, Rhode Island's per-spouse modification, and the Maine, Maryland and other retirement caps reduced by the benefits each spouse received (with each spouse's own railroad benefits where the state counts them).
North Carolina's values · engine step (compute_state_tax_detail). Sources (Social Security): 2025 D-401 Individual Income Tax Instructions (checked 2026-10-12) - Refundable state credits The credits paid beyond the tax (reported in refundableCredits; netTax = totalTax less them): earned income credits as a share of the federal EIC with each state's own age band (OK on the 2020 federal credit, DC's own childless schedule, the CalEITC table, MN's Working Family Credit), the NYC EIC and school tax credits, and the property-tax, renter, grocery and senior credits of MA, MI, NJ, ID, HI, NM, OK, AZ, NY, RI, WV, ME, DC, MN, MO, WI, IN and MT, each on its own income measure. Engine 1.13.1: a part-year NYC resident's school tax credits (the Table 2 proration chart and the rate-reduction amount on IT-360.1 line 47; IT-203 lines 60 / 60a for a part-year state resident).
North Carolina's values · engine step (state_tax_refundable_credits). Sources (Deductions, exemptions and credits): North Carolina Standard Deduction or North Carolina Itemized Deductions (checked 2026-10-12); North Carolina General Assembly: GS_105-153.5.html (checked 2026-10-12)
Rate schedule
A flat 3.99% on state taxable income.
- Tax Rate Schedules, North Carolina Department of Revenue. North Carolina taxes individual taxable income at a single flat rate of 3.99% for tax years after 2025 (4.25% for 2025). Checked 2026-10-12.
Deductions, exemptions and credits
- Standard deduction (or the exemption the engine carries in its place): $12,750 single, $25,500 married filing jointly, $19,125 head of household.
Source review notes (what the sources do not state outright, or what the engine does not carry):
- The page is not year-stamped; the amounts are statutory (G.S. 105-153.5(a)(1)) and unchanged for 2026, but the statute itself could not be fetched (ncleg.gov returns 403 to the checker).
- North Carolina Standard Deduction or North Carolina Itemized Deductions, North Carolina Department of Revenue. The North Carolina standard deduction is $12,750 single, $25,500 married filing jointly or surviving spouse, and $19,125 head of household. Checked 2026-10-12.
- North Carolina General Assembly: GS_105-153.5.html, North Carolina General Assembly (archived copy). Engine 1.7.0: G.S. 105-153.5(a1): a child deduction per child under 17, by federal AGI and filing status. Checked 2026-10-12.
IRA, 401(k) and private pensions
- No exclusion: pension, annuity and IRA/401(k) distributions are taxed as ordinary income.
- 2025 D-401 Individual Income Tax Instructions, North Carolina Department of Revenue. North Carolina starts from federal AGI and has no general pension or IRA exclusion, so IRA, 401(k) and private-pension distributions are taxed at the flat rate. Checked 2026-10-12.
Public pensions
No separate treatment: public pensions follow the rules for other retirement income above.
Source review notes (what the sources do not state outright, or what the engine does not carry):
- The Bailey-settlement exclusion (government retirees vested by 1989-08-12) is not modeled; those retirees are over-taxed.
- 2025 D-401 Individual Income Tax Instructions, North Carolina Department of Revenue. Government pensions are taxable in North Carolina except under the Bailey settlement, which exempts NC state/local and federal pensions only where the retiree had five or more years of creditable service as of August 12, 1989; the engine taxes all public pensions. Checked 2026-10-12.
Military retirement pay
- Military retirement pay is fully exempt, at any age.
- Rules are applied per taxpayer at that person's own age when the spouse's age is given. API value:
rules.militaryRetirement.treatment: "exempt".
- 2025 d 401 individual income tax instructions, North Carolina Department of Revenue. Military retirement pay is deductible for a member with at least 20 years of service or a medical retirement, along with survivor benefit plan payments. Checked 2026-10-12.
Roth conversions
A conversion is taxed as ordinary income in full. It does not draw any retirement-income exclusion.
- 2025 D-401 Individual Income Tax Instructions, North Carolina Department of Revenue. A traditional-to-Roth conversion is included in federal AGI, the North Carolina starting point, and no Schedule S deduction applies, so it is taxed at the flat rate. Checked 2026-10-12.
Capital gains
- Net long-term gain is taxed as ordinary income.
- Short-term gains are ordinary income.
Source review notes (what the sources do not state outright, or what the engine does not carry):
- No official page found that states the absence of a capital-gain preference in so many words; it follows from the FAGI starting point and the single flat rate.
- 2025 D-401 Individual Income Tax Instructions, North Carolina Department of Revenue. Capital gains in federal AGI are part of North Carolina taxable income, which is multiplied by the single flat rate; there is no capital-gain preference. Checked 2026-10-12.
- North Carolina Standard Deduction or North Carolina Itemized Deductions, North Carolina Department of Revenue. The state return starts from federal adjusted gross income (federal taxable income in CO, IA, ND), so the federal capital-loss deduction (up to $3,000, $1,500 married filing separately) and its carryover are in the state base (engine 1.9.0: cap_loss_limit). Checked 2026-10-12.
- 2025 Schedule D (Form 1040), Capital Gains and Losses, Internal Revenue Service. The federal return deducts a net capital loss up to $3,000 ($1,500 married filing separately) on Form 1040 line 7a; a state that starts from federal adjusted gross income or federal taxable income carries that deduction. Checked 2026-10-12.
Part-year and nonresident returns
- Part-year resident (D-400 Schedule PN): the tax a full-year resident would owe on all the year's income, times the state's income ratio.
- Nonresident (D-400 Schedule PN): the tax a full-year resident would owe on all the year's income, times the state's income ratio.
- The ratio: the state's own AGI (after its subtractions) of the state's income over the state AGI of the whole year, rounded to 4 places, which may exceed 1.
- A nonresident's retirement income is not taxable by the state (4 U.S.C. §114); the API refuses it in
residency.stateIncome. The credit for tax paid to another state and the earned income credits on these returns are not computed.
Married couples whose residency differs (engine 1.13.0)
With residency.spouse on a joint request, each allowed treatment is calculated and reported in residency.couple; tax is the required one, else the state's default, else the couple's residency.election, else the joint return the request's mfj names. Each rule is quoted from the state's instructions (engine 1.14.0: and its statutes, regulations, bulletins and other official guidance) in the sources below.
| Spouses | North Carolina's rule |
|---|---|
| One spouse a full-year resident, the other a part-year resident | a joint part-year / nonresident return is required. |
| One spouse a full-year resident, the other a nonresident | a joint part-year / nonresident return is required. |
| One spouse a part-year resident, the other a nonresident | a joint part-year / nonresident return is required. |
| Both part-year residents, different resident periods | a joint part-year / nonresident return is required. |
| Both nonresidents, only one with income from the state | the couple's choice: a joint part-year / nonresident return or separate returns. |
- 2025 D-401 Individual Income Tax Instructions (Forms D-400, Schedule S, A, PN, PN-1, D-400TC), North Carolina Department of Revenue. Part-year / nonresident return (engine 1.12.0, residency): Checked 2026-10-12.
- 2025 D-400 Schedule PN, Part-Year Resident and Nonresident Schedule, North Carolina Department of Revenue. Part-year / nonresident return (engine 1.12.0, residency): Checked 2026-10-12.
- 2025 D-401 Individual Income Tax Instructions, North Carolina Department of Revenue. Married couples whose residency differs (engine 1.13.0): Checked 2026-10-12.
Worked examples
Computed by the engine for the fixed households below (the same ones for every state, so states compare directly). Federal tax is not supplied, so a federal-tax deduction is not taken; the income tests use the sum of the components as income.
| Household (engine inputs) | State tax |
|---|---|
| Single, 67: $30,000 private pension, $20,000 IRA, $10,000 interest, $24,000 Social Security ($17,000 federally taxable), $5,000 long-term gain | $2,084.78 |
| Married filing jointly, 70: $40,000 public pension, $40,000 IRA, $20,000 interest, $40,000 Social Security ($34,000 federally taxable), $10,000 long-term gain | $3,371.55 |
| Single, 60: $60,000 other ordinary income and a $50,000 Roth conversion | $3,880.27 |
| Married filing jointly, 66: $30,000 IRA, a $40,000 Roth conversion, $30,000 Social Security ($25,500 federally taxable) | $1,775.55 |
| Single, 58: $36,000 military retirement pay and $30,000 wages | $688.28 |
| Married filing jointly, ages 67 and 61: $50,000 IRA, $10,000 interest, $30,000 Social Security ($25,500 federally taxable), each spouse's age given | $1,376.55 |
Line by line
The intermediate lines the engine records while it computes each example (its detail record, printed as it comes out; lines that are zero are left out). The engine's documentation build checks that the lines add up to the taxable income and the tax, for every state, filing status and a grid of households. Each line links the engine step that produces it.
Single, 67: $30,000 private pension, $20,000 IRA, $10,000 interest, $24,000 Social Security ($17,000 federally taxable), $5,000 long-term gain: $2,084.78
| Line | Amount |
|---|---|
| Income total used by the income tests | $82,000 |
| + Other ordinary income in the base | $10,000 |
| + Retirement income in the base | $50,000 |
| + Long-term gain in the base | $5,000 |
| − Standard deduction | $12,750 |
| = State taxable income | $52,250 |
| Tax from the rate schedule | $2,084.78 |
| = Tax before credits | $2,084.78 |
| = Tax | $2,084.78 |
Married filing jointly, 70: $40,000 public pension, $40,000 IRA, $20,000 interest, $40,000 Social Security ($34,000 federally taxable), $10,000 long-term gain: $3,371.55
| Line | Amount |
|---|---|
| Income total used by the income tests | $144,000 |
| + Other ordinary income in the base | $20,000 |
| + Retirement income in the base | $80,000 |
| + Long-term gain in the base | $10,000 |
| − Standard deduction | $25,500 |
| = State taxable income | $84,500 |
| Tax from the rate schedule | $3,371.55 |
| = Tax before credits | $3,371.55 |
| = Tax | $3,371.55 |
Single, 60: $60,000 other ordinary income and a $50,000 Roth conversion: $3,880.27
| Line | Amount |
|---|---|
| Income total used by the income tests | $110,000 |
| + Other ordinary income in the base | $60,000 |
| + Roth conversion in the base | $50,000 |
| − Standard deduction | $12,750 |
| = State taxable income | $97,250 |
| Tax from the rate schedule | $3,880.27 |
| = Tax before credits | $3,880.27 |
| = Tax | $3,880.27 |
Married filing jointly, 66: $30,000 IRA, a $40,000 Roth conversion, $30,000 Social Security ($25,500 federally taxable): $1,775.55
| Line | Amount |
|---|---|
| Income total used by the income tests | $95,500 |
| + Retirement income in the base | $30,000 |
| + Roth conversion in the base | $40,000 |
| − Standard deduction | $25,500 |
| = State taxable income | $44,500 |
| Tax from the rate schedule | $1,775.55 |
| = Tax before credits | $1,775.55 |
| = Tax | $1,775.55 |
Single, 58: $36,000 military retirement pay and $30,000 wages: $688.28
| Line | Amount |
|---|---|
| Income total used by the income tests | $66,000 |
| Military pay excluded (not in the base) | $36,000 |
| + Other ordinary income in the base | $30,000 |
| − Standard deduction | $12,750 |
| = State taxable income | $17,250 |
| Tax from the rate schedule | $688.28 |
| = Tax before credits | $688.28 |
| = Tax | $688.28 |
Married filing jointly, ages 67 and 61: $50,000 IRA, $10,000 interest, $30,000 Social Security ($25,500 federally taxable), each spouse's age given: $1,376.55
| Line | Amount |
|---|---|
| Income total used by the income tests | $85,500 |
| + Other ordinary income in the base | $10,000 |
| + Retirement income in the base | $50,000 |
| − Standard deduction | $25,500 |
| = State taxable income | $34,500 |
| Tax from the rate schedule | $1,376.55 |
| = Tax before credits | $1,376.55 |
| = Tax | $1,376.55 |
After 2026: how the amounts move
A request with projection (API) estimates a later tax year from these rules: every
dollar amount and age test below moves the way North Carolina's law moves it. Rates and the rules themselves stay the 2026 ones
(how projection works).
| Amounts (engine fields) | After 2026 | What the law says, and the source |
|---|---|---|
std_deduction_single, std_deduction_mfj, std_deduction_hoh | Fixed in law: held at the rules-year amount in every later year. | For taxable years beginning on or after January 1, 2022 the standard deduction is $12,750 / $25,500 joint / $19,125 HOH; nominal in G.S. 105-153.5(a)(1), no indexing.
|
dep_child_ded_agi_single, dep_child_ded_agi_hoh, dep_child_ded_agi_mfj, dep_child_ded_amount | Fixed in law: held at the rules-year amount in every later year. | The child deduction ($3,000 down to $500 per qualifying child by AGI band: to $40,000...$140,000 joint, $30,000...$105,000 HOH, $20,000...$70,000 single) is a nominal table in G.S. 105-153.5(a1) from 2022; no indexing.
|
dep_child_ded_max_age | Attained age: the same age in every year. | Allowed for each child for whom the federal child tax credit is allowed, i.e. a qualifying child under 17 (engine: 16 or younger); fixed age.
|
cap_loss_limit, cap_loss_limit_mfs | Fixed in law: held at the rules-year amount in every later year. | North Carolina starts from federal AGI, so the fixed IRC 1211(b) limit applies.
|
Enacted for later years, not applied by the projection
- The flat 3.99% rate (after 2025) drops by 0.5 point per year, to no lower than 2.49%, for each taxable year 2027-2034 whose trigger is met (total general fund revenue for the prior fiscal year above $33.042B for 2027, $34.1B for 2028, ... $39.0B for 2034). (2027-2034; conditional)
- N.C. Gen. Stat. § 105-153.7 (Internet Archive capture) (North Carolina General Assembly, statute): Rate reduction trigger. Quoted: "the applicable tax rate for the indicated and subsequent tax years shall be equal to the greater of (i) the prior taxable year's rate decreased by one-half percentage point (0.50%) or (ii) two and forty-nine hundredths percent (2.49%)"; "fy 2025-2026 $33,042,000,000 in 2027". Checked 2026-09-30.
What the engine does not calculate, and known approximations
- The Bailey-settlement deduction (Schedule S line 20: NC state/local and federal retirees with five or more years of creditable service by August 12, 1989) is not modeled; such retirees' public pensions are taxed.
- Military retirement pay is deducted in full (Schedule S line 21), assuming 20+ years of service or a medical retirement.
- The D-400 rounds line 15 to whole dollars; the engine returns the unrounded product.
- The Bailey-settlement exclusion (government retirees vested by 1989-08-12) is not modeled; those retirees are over-taxed. (Public pensions)
- Schedule S additions and deductions for income the inputs do not separate are not calculated: interest from other states' obligations (added), and state income tax refunds, interest from U.S. obligations and Personal Education Student Account deposits (deducted). Sources: North Carolina Standard Deduction or North Carolina Itemized Deductions (checked 2026-10-12); North Carolina General Assembly: GS_105-153.5.html (checked 2026-10-12).
What the engine does not calculate for any state (itemized deductions, credits beyond those listed, part-year residents, and more) is listed on the calculation order page.
Verification
Worksheet-tested 16 worksheet scenarios replay Form D-400 lines 6-15 with Schedule S lines 19 (Social Security) and 21 (military retirement), at the 2026 rate of 3.99% (2025 forms, 2026 rate substituted); every scenario matches the unrounded product to the cent.
- Golden scenarios (hand-computed expected tax, asserted to within $1):
NC1. - State-specific unit tests:
test_ratio_rules. - Structural tests covering every state: 7.
- State forms and worksheets followed in the test derivations: Form D-400 lines 6, 9, 11, 12a-12b, 14, 15 (2025 form, 2026 rate 3.99%); D-400 Schedule S Part B lines 19, 21, 41; D-401 NC Standard Deduction Chart (single, MFJ, MFS, HOH); backend/tests/test_state_worksheets_2.c.
Social Security
Social Security benefits are fully exempt: none of the federally taxable amount enters the state base.
API value:
socialSecurityRule: "exempt". The engine's input is the federally taxable amount; income tests use the sum of the income components as the adjusted-gross-income proxy.