Repository navigation
Description
What the law says
Congress keeps amounts paid for insurance to which section 162(l)(1) applies out of the section 213(a) medical deduction (26 U.S.C. 162(l)(3)). The IRS tells filers to leave the Form 7206 line 14 deduction out of any Schedule A medical expense deduction. The instructions let medical insurance payments that the deduction did not take stay on Schedule A.
What the model does
- For each person,
self_employed_health_insurance_ald_long_term_care_parttakes the deduction from that person's Form 7206 line 1 premiums first. It counts the rest, up to the person's line 2 premiums, as long-term care premiums. - For the return,
itemized_medical_expenses_excluded_premiumstakes the deduction from the head's and spouse's pooled medical insurance premiums first.itemized_medical_expenses_excluded_long_term_care_premiumstakes only the rest from long-term care premiums. - The two splits disagree when a filer's deduction took long-term care premiums and the head or spouse holds medical premiums that no filer's deduction took. The return-level split then books the long-term care part of the deduction against those medical premiums, up to their amount.
Hand-computed cases
Both cases use 2025, when Form 7206 line 2 allows $900 of long-term care premiums at ages 41 to 50. Case 1 arises on main today and needs no open PR.
- A head aged 45 earns $50,000 of self-employment profit and pays $500 of long-term care premiums and no medical premiums. The spouse has no self-employment and pays $6,000 of medical premiums.
- The head's line 1 equals 0 and line 2 equals min(500, 900) = $500. The deduction equals $500, and the head's long-term care part equals $500.
- The return-level split excludes min(6,000, 500) = $500 of medical premiums and min(500, 500 − 500) = 0 of long-term care premiums.
- The deduction took the head's long-term care premiums, so the spouse's $6,000 stays on Schedule A.
- The Schedule A subtotal equals 6,000 + 500 − 500 = $6,000 under either split.
- The open PR Apply the employer-plan bar to self-employed health insurance #10122 adds a second case. The head pays $6,000 of medical premiums and $500 of long-term care premiums, and the spouse's employer plan bars line 1. The deduction again equals $500 of long-term care premiums, and the return-level split again books it against medical premiums. The subtotal equals $6,000 under either split.
Effect
No total moves today:
- The federal subtotal subtracts both exclusions.
- Montana's joint schedule, which the model applies through 2023, deducts both kinds of premium in full.
mt_premium_deduction_jointnets the deduction once.mt_medical_expense_deduction_jointtakes both kinds of premium out of line 1, finding the medical premiums by the pooled rule. - Idaho, Michigan, New Jersey and Ohio read the per-person part.
- North Dakota's renter's refund income and New Mexico's medical care credit and exemption add the total exclusion back, so the split does not reach them.
A return-level reader that limits or credits long-term care premiums apart from medical premiums would take the wrong amount from itemized_medical_expenses_long_term_care_premiums. In case 1 it reports $500 of long-term care premiums in the subtotal, though the head's deduction took all of them.
The documentation keeps the pooled rule because a supplied Schedule A subtotal carries only the total exclusion. Montana recovers the medical part from that total by the same rule.
Proposed change
- Compute the return-level long-term care exclusion as the sum of the head's and spouse's
self_employed_health_insurance_ald_long_term_care_part. Compute the medical exclusion as the rest of each filer's deduction, limited to that filer's medical premiums, so each label names the premiums the deduction took. - Split
self_employed_health_insurance_ald_excluded_premiumsthe same way. It takes each person's deduction from that person's paid medical premiums first, so in case 2 it reports $500 of medical premiums that the deduction did not take. Montana's separate-return lines 2 and 3, which the model applies through 2023, read it and deduct both kinds of premium in full. New Jersey reads it only for a dependent and already limits it to the dependent's deduction less its long-term care part. Neither state's total moves. - Change
mt_medical_expense_deduction_jointwith the return-level exclusions. It finds the medical premiums left in the subtotal fromitemized_medical_expenses_applied_exclusionby the pooled rule. With per-person exclusions in case 1, its line 1 would keep $500 of the spouse's medical premiums that its line 2 also deducts. - Keep the total exclusion, and add a property test that the Schedule A subtotal and Montana's joint deduction stay the same.
- Choose a rule for inputs that cannot show the split, such as a supplied Schedule A subtotal or a supplied tax-unit deduction: keep the pooled rule there, or add an input for the long-term care part.
Related
- Apply the employer-plan bar to self-employed health insurance #10122 (open) adds the employer-plan bar that produces case 2.
- Count eligible long-term care premiums in Schedule A medical expenses #10265 added long-term care premiums to Schedule A.
- Count only filer-paid premiums in Schedule A medical expenses #10270 and Exclude dependents' deducted health premiums from Schedule A #10831 propose changes to which premiums Schedule A counts. Both edit
itemized_medical_expenses.pyandmt_medical_expense_deduction_joint.py, and Exclude dependents' deducted health premiums from Schedule A #10831 also editsitemized_medical_expenses_applied_exclusion.py, which Montana's joint deduction reads.
🤖 Generated with Claude Code
Activity