Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/mt-active-duty-pay-subtraction.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Applied Montana's qualifying active-duty military pay subtraction beginning in tax year 2024 and preserved the federal taxable Social Security amount.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ values:
# and with it the disability income exclusion, for tax years beginning
# after December 31, 2023 (section 70(1)).
- salt_refund_income # MCA 15-30-2120 / Form 2 Subtractions Schedule
- mt_active_duty_pay_subtraction
- mt_other_subtractions
2025-01-01:
# Section 15-30-2120 starts from federal taxable income, so federal
Expand All @@ -38,12 +39,15 @@ values:
# Schedule 1-A deductions expire after 2028.
- mt_federal_obbba_subtraction
- salt_refund_income # MCA 15-30-2120 / Form 2 Subtractions Schedule
- mt_active_duty_pay_subtraction
- mt_other_subtractions
metadata:
unit: list
period: year
label: Montana adjusted gross income subtractions
reference:
- title: Montana Code Annotated 15-30-2120(3)(c)(i)-(ii), qualifying active-duty salary
href: https://mca.legmt.gov/bills/mca/title_0150/chapter_0300/part_0210/section_0200/0150-0300-0210-0200.html
- title: 2017 Montana Form 2 instructions, Schedule II, lines 1 and 6
href: https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2017_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=21
- title: 2017 Montana Form 2 instructions, Schedule II, line 12
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,3 +222,139 @@
mt_old_age_subtraction: [0, 5_500]
# Federal taxable income less the pooled Montana age subtraction.
mt_taxable_income_joint: [29_500, 0]

- name: Montana subtracts only the qualifying share of military pay
period: 2024
input:
people:
head:
age: 40
employment_income: 20_000
military_service_income: 20_000
mt_qualifying_military_pay_share: 0.5
spouse:
age: 38
employment_income: 20_000
military_service_income: 20_000
tax_units:
unit:
members: [head, spouse]
marital_units:
couple:
members: [head, spouse]
households:
home:
members: [head, spouse]
state_code: MT
output:
# Qualifying active-duty pay: $20,000 × 0.5 = $10,000.
# The spouse has no reported qualifying share, so subtract $0.
mt_subtractions: [10_000, 0]
mt_active_duty_pay_subtraction: [10_000, 0]

- name: Qualifying Montana active-duty pay reduces joint income tax to zero
period: 2025
input:
people:
head:
age: 40
employment_income: 40_000
military_service_income: 40_000
mt_qualifying_military_pay_share: 1
spouse:
age: 38
employment_income: 5_000
tax_units:
unit:
members: [head, spouse]
marital_units:
couple:
members: [head, spouse]
households:
home:
members: [head, spouse]
state_code: MT
output:
# Schedule I subtraction: $40,000 × 1 = $40,000.
mt_subtractions: [40_000, 0]
mt_active_duty_pay_subtraction: [40_000, 0]
# Taxable income: max(0, $45,000 - $31,500 - $40,000) = $0.
# Tax before refundable credits: $0 × 4.7% = $0.
mt_taxable_income_joint: [0, 0]
mt_income_tax_before_refundable_credits_unit: 0

- name: Qualifying military pay reduces taxable income for every filing status
period: 2025
absolute_error_margin: 0.01
input:
people:
single: {age: 40, employment_income: 35_750, military_service_income: 10_000, mt_qualifying_military_pay_share: 1}
separate: {age: 40, employment_income: 35_750, military_service_income: 10_000, mt_qualifying_military_pay_share: 1}
hoh: {age: 40, employment_income: 43_625, military_service_income: 10_000, mt_qualifying_military_pay_share: 1}
survivor: {age: 40, employment_income: 51_500, military_service_income: 10_000, mt_qualifying_military_pay_share: 1}
head: {age: 40, employment_income: 30_000, military_service_income: 10_000, mt_qualifying_military_pay_share: 1}
spouse: {age: 38, employment_income: 31_500, military_service_income: 20_000, mt_qualifying_military_pay_share: 0.5}
dependent: {age: 18, employment_income: 3_000, military_service_income: 3_000, mt_qualifying_military_pay_share: 1}
tax_units:
s: {members: [single], filing_status: SINGLE}
mfs: {members: [separate], filing_status: SEPARATE}
h: {members: [hoh], filing_status: HEAD_OF_HOUSEHOLD}
q: {members: [survivor], filing_status: SURVIVING_SPOUSE}
j: {members: [head, spouse, dependent], filing_status: JOINT}
marital_units:
pair: {members: [head, spouse]}
households:
home: {members: [single, separate, hoh, survivor, head, spouse, dependent], state_code: MT}
output:
# Each filer has $10,000 of qualifying pay, including $20,000 × 0.5 for the spouse.
# The dependent's $3,000 qualifies for the person output.
mt_subtractions: [10_000, 10_000, 10_000, 10_000, 10_000, 10_000, 3_000]
# Wages minus the federal standard deduction leave $20,000 before each
# non-joint filer's $10,000 subtraction. Joint taxable income is
# $61,500 - $31,500 - $10,000 - $10,000 = $10,000, excluding the dependent.
mt_taxable_income_joint: [10_000, 10_000, 10_000, 10_000, 10_000, 0, 0]
# The first ordinary bracket applies to each return: $10,000 × 4.7% = $470.
mt_income_tax_before_refundable_credits_unit: [470, 470, 470, 470, 470]

- name: Qualifying military pay and a separate other subtraction exhaust taxable income
period: 2025
input:
state_code: MT
age: 40
employment_income: 27_750
military_service_income: 10_000
mt_qualifying_military_pay_share: 1
mt_other_subtractions: 2_000
output:
# Total subtractions are $10,000 × 1 + $2,000 = $12,000.
mt_subtractions: 12_000
# Taxable income is $27,750 - $15,750 - $12,000 = $0, so tax is $0.
mt_taxable_income_joint: 0
mt_income_tax_before_refundable_credits_unit: 0

- name: The Montana return includes federal taxable Social Security alongside the military pay subtraction
period: 2025
absolute_error_margin: 0.01
input:
people:
head:
age: 62
employment_income: 54_000
military_service_income: 54_000
mt_qualifying_military_pay_share: 1
social_security: 20_000
spouse:
age: 48
employment_income: 20_000
tax_units:
unit: {members: [head, spouse], filing_status: JOINT}
marital_units:
couple: {members: [head, spouse]}
households:
home: {members: [head, spouse], state_code: MT}
output:
# Federal taxable Social Security reaches the cap of $20,000 × 85% = $17,000.
# Montana taxable income is $74,000 + $17,000 - $31,500 - $54,000 = $5,500.
mt_taxable_income_joint: [5_500, 0]
# Pre-credit tax is $5,500 × 4.7% = $258.50.
mt_income_tax_before_refundable_credits_unit: 258.50
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,34 @@
state_code: MT
output:
mt_taxable_social_security: 85

- name: Montana uses federal taxable Social Security with qualifying military pay in 2024
period: 2024
input: &military_and_social_security
people:
head:
age: 62
employment_income: 54_000
military_service_income: 54_000
mt_qualifying_military_pay_share: 1
social_security: 20_000
spouse:
age: 48
tax_units:
unit: {members: [head, spouse], filing_status: JOINT}
marital_units:
couple: {members: [head, spouse]}
households:
home: {members: [head, spouse], state_code: MT}
output: &federal_taxable_social_security
# Provisional income is $54,000 + 50% × $20,000 = $64,000.
# Taxable benefits are min(85% × $20,000, $6,000 + 85% × ($64,000 - $44,000)).
# The head received all benefits, so $17,000 is allocated to the head.
taxable_social_security: [17_000, 0]
mt_taxable_social_security: [17_000, 0]
mt_taxable_social_security_joint: 17_000

- name: Montana uses federal taxable Social Security with qualifying military pay in 2025
period: 2025
input: *military_and_social_security
output: *federal_taxable_social_security
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
- name: Montana entry determines the qualifying share of regular active-duty pay
period: 2025
input:
people:
zero_pay:
military_service_income: 0
mt_qualifying_military_pay_share: 1
negative_pay:
military_service_income: -1_000
mt_qualifying_military_pay_share: 1
negative_share:
military_service_income: 20_000
mt_qualifying_military_pay_share: -0.1
entered_elsewhere:
employment_income: 20_000
military_service_income: 20_000
mt_qualifying_military_pay_share: 0
entered_from_montana:
employment_income: 20_000
military_service_income: 20_000
mt_qualifying_military_pay_share: 1
above_full:
military_service_income: 20_000
mt_qualifying_military_pay_share: 1.1
other_state:
military_service_income: 20_000
mt_qualifying_military_pay_share: 1
households:
montana:
members: [zero_pay, negative_pay, negative_share, entered_elsewhere, entered_from_montana, above_full]
state_code: MT
wyoming: {members: [other_state], state_code: WY}
output:
# For regular active duty, classify entry elsewhere as $20,000 × 0 = $0
# and entry from Montana as $20,000 × 1 = $20,000.
# Nonpositive pay and negative shares give $0, 1.1 is capped at 1,
# and the Wyoming resident receives $0 from this Montana subtraction.
mt_active_duty_pay_subtraction: [0, 0, 0, 0, 20_000, 20_000, 0]

- name: The dedicated Schedule I subtraction starts in 2024
period: 2023
input:
state_code: MT
employment_income: 25_000
military_service_income: 10_000
mt_qualifying_military_pay_share: 1
output:
# The Schedule I subtraction is $0 before 2024, even with $10,000 × 1 in qualifying pay.
mt_active_duty_pay_subtraction: 0
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ class mt_taxable_social_security(Variable):
label = "Montana taxable social security benefits"
defined_for = StateCode.MT
definition_period = YEAR
reference = "https://revenue.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=6"
reference = (
"https://revenue.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=6",
"https://revenue.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2024_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=5",
)

def formula(person, period, parameters):
p = parameters(period).gov.states.mt.tax.income.social_security.amount
Expand Down Expand Up @@ -95,3 +98,6 @@ def formula(person, period, parameters):
adjusted_taxable_amount = social_security * p_irs.additional.excess
# line 20
return min_(adjusted_taxable_amount, adjusted_tax_amount)

def formula_2024(person, period, parameters):
return person("taxable_social_security", period)
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ class mt_taxable_social_security_joint(Variable):
label = "Montana taxable social security benefits for joint filers"
defined_for = StateCode.MT
definition_period = YEAR
reference = "https://revenue.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=6"
reference = (
"https://revenue.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=6",
"https://revenue.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2024_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=5",
)

def formula(tax_unit, period, parameters):
p = parameters(period).gov.states.mt.tax.income.social_security.amount
Expand Down Expand Up @@ -78,3 +81,6 @@ def formula(tax_unit, period, parameters):
adjusted_taxable_amount = social_security * p_irs.additional.excess
# line 20
return min_(adjusted_taxable_amount, adjusted_tax_amount)

def formula_2024(tax_unit, period, parameters):
return tax_unit("tax_unit_taxable_social_security", period)
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from policyengine_us.model_api import *


class mt_active_duty_pay_subtraction(Variable):
value_type = float
entity = Person
label = "Montana qualifying active-duty military pay subtraction"
unit = USD
definition_period = YEAR
defined_for = StateCode.MT
reference = (
"https://mca.legmt.gov/bills/mca/title_0150/chapter_0300/part_0210/section_0200/0150-0300-0210-0200.html",
"https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2024_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=25",
"https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2025_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=24",
)

def formula_2024(person, period, parameters):
military_pay = person("military_service_income", period)
qualifying_share = person("mt_qualifying_military_pay_share", period)
return max_(military_pay, 0) * clip(qualifying_share, 0, 1)
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
from policyengine_us.model_api import *


class mt_qualifying_military_pay_share(Variable):
value_type = float
entity = Person
label = "Share of military pay qualifying for Montana's active-duty subtraction"
definition_period = YEAR
default_value = 0
defined_for = StateCode.MT
reference = "https://mca.legmt.gov/bills/mca/title_0150/chapter_0300/part_0210/section_0200/0150-0300-0210-0200.html"
documentation = (
"Supply the fraction from 0 to 1 of military_service_income that qualifies "
"under MCA 15-30-2120(3)(c)(i)-(ii) and is included in federal taxable "
"income. The caller must classify the pay before setting this input. "
"Count regular active-duty pay only for Montana residents who entered "
"active duty from Montana. If all pay is regular active-duty pay and the "
"servicemember entered from another state, supply a share of 0. "
"Count Montana residents' National Guard pay under Title 10 orders or "
"under Title 32 homeland defense or contingency orders while serving "
"in a unit engaged in that activity. Include qualifying pay in "
"employment_income. Reserve mt_other_subtractions for amounts reported "
"as other subtractions."
)
26 changes: 26 additions & 0 deletions source_conflicts/candidates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8196,6 +8196,32 @@ candidates:
- https://github.com/PolicyEngine/policyengine-us/pull/10640
state: ruled
note: "Follows the regulation. Ruled by the project lead, 2026-11-02: https://github.com/PolicyEngine/policyengine-us/pull/10640#issuecomment-6591157776"
- id: us-mt:active-duty-pay-entry-from-montana
program: income-tax
years:
from: 2024
type: tax
question: Does regular active-duty pay qualify when a Montana resident entered active duty from another state?
sources:
- kind: statute
citation: MCA 15-30-2120(3)(c)(i)
url: https://mca.legmt.gov/bills/mca/title_0150/chapter_0300/part_0210/section_0200/0150-0300-0210-0200.html
- kind: instructions
citation: 2024 Montana Form 2 instructions, PDF pages 10 and 25, Schedule I line 14
url: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2024_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=10
- kind: instructions
citation: 2025 Montana Form 2 instructions, PDF pages 8 and 24, Schedule I line 12
url: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2025_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=8
readings:
statute: Regular armed forces salary qualifies for Montana residents who entered active duty from Montana.
other: The resident servicemember guidance exempts active-duty basic, special, and incentive pay without an entry location condition.
pe_us:
follows: statute
code:
- policyengine_us/variables/gov/states/mt/tax/income/subtractions/mt_qualifying_military_pay_share.py
prs:
- https://github.com/PolicyEngine/policyengine-us/pull/11348
state: ruled
- id: us-mt:age-65-subtraction-2026-indexed-amount
program: income-tax
years:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Source: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2024_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=10
Retrieved: 2026-11-29
Source PDF SHA-256: a31a761150b7b092a688a00ebad3a1bb18a80a05143c097e8388d2f0d42440d4
Extraction: PDF page 10, printed page 2. pdftotext 25.03.0, right column with line wraps joined.

While resident servicemembers must file a Montana tax return, basic, special, and incentive pay are not taxable in Montana.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Source: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2025_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=8
Retrieved: 2026-11-29
Source PDF SHA-256: bed29192ae2fb020272962d8629101f05133ca00ccda04bf508c8bf939d2ef98
Extraction: PDF page 8, printed page 2. pdftotext 25.03.0, right column with line wraps joined.

While resident servicemembers must file a Montana tax return, basic, special, and incentive pay are not taxable in Montana.
Loading