As a former IRS auditor turned tax specialist, I see this mistake constantly: people meticulously track their business expenses but completely ignore medical costs until they’re sitting across from me at tax time saying “Wait, I spent HOW much on healthcare this year?”
Here’s the reality check that catches everyone off guard: Your medical expenses need to exceed 7.5% of your AGI before you can deduct even a single dollar.
Let me break down the math that trips people up:
The 7.5% Threshold Math
- $40,000 AGI → Need $3,000+ in medical expenses
- $60,000 AGI → Need $4,500+ in medical expenses
- $80,000 AGI → Need $6,000+ in medical expenses
- $100,000 AGI → Need $7,500+ in medical expenses
Most people think “I’ll just add it up at tax time if I have a bad year.” But when that bad year hits—unexpected surgery, chronic condition diagnosis, major dental work—they’re scrambling to reconstruct expenses from memory and incomplete records. And the IRS? They want documentation for every claim.
The Documentation Trap I Saw as an Auditor
During my IRS years, I audited dozens of medical expense deductions. Here’s what got people into trouble:
- Missing receipts - “I know I paid it” doesn’t fly without proof
- Undocumented mileage - Medical travel counts, but you need contemporaneous logs
- Forgetting “weird” qualified expenses - Prescription sunglasses, service animal costs, smoking cessation programs, medical conferences for chronic conditions
- The FSA/HSA double-dip - You CANNOT deduct expenses your FSA/HSA reimbursed. IRS catches this easily.
The Beancount Advantage
This is where plain text accounting becomes your tax season superhero. Here’s why Beancount is perfect for medical expense tracking:
1. Transaction-level documentation - Link every medical payment to its receipt:
2026-03-15 * "Dr. Martinez - Annual Physical"
Expenses:Medical:Unreimbursed 350.00 USD
document: "2026-03-15-dr-martinez.pdf"
tax-category: "IRS-502-qualified"
Assets:Checking
2. Metadata for IRS categories - Tag what’s deductible vs what’s reimbursed
3. Real-time threshold tracking - Query your running total vs 7.5% AGI anytime
4. Multi-year visibility - Spot patterns, plan elective procedures strategically
The Strategy That Actually Works
Track EVERYTHING from day one, even if you’re nowhere near the threshold. Here’s why:
- Health situations change suddenly (accidents, diagnoses, aging)
- You might cluster expenses strategically in one year
- Early retirees have lower AGI = lower threshold
- Self-employed? Different rules for health insurance premiums
Some expenses people forget to track:
- Insurance premiums (for policies paid with after-tax dollars)
- Prescription medications AND over-the-counter meds WITH a prescription
- Medical equipment (blood pressure monitors, walking aids, etc.)
- Parking and tolls for medical appointments
- Mileage at $0.21/mile for 2026 (or actual costs)
- Chiropractors, acupuncture, mental health professionals
- Dental and vision expenses
- Home modifications for medical necessity (with doctor’s note)
The Coordination Trap to Avoid
FSA/HSA coordination is where I see the most confusion:
- 2026 FSA limit: $3,400 (use it or lose most of it—$680 carryover max)
- 2026 HSA individual limit: $4,400 (rolls over forever)
- Critical rule: Expenses reimbursed from FSA/HSA cannot be itemized deductions
I recommend separate Beancount accounts:
Expenses:Medical:Unreimbursed← These might be deductibleExpenses:Medical:FSA← Never deductibleExpenses:Medical:HSA← Track separately for triple-tax-advantage strategy
The Real-World Impact
Last year, a client came to me with $8,200 in medical expenses on a $65,000 AGI. Threshold was $4,875. They could deduct $3,325—worth about $730 in federal tax savings (22% bracket) plus state tax savings. But they only had receipts for about $5,500. Left money on the table because of poor record-keeping.
The organized clients who track in Beancount? They bring me clean data, complete documentation, and we maximize every dollar they’re entitled to deduct. No scrambling, no missing receipts, no IRS audit anxiety.
My Question for the Community
How are you structuring medical expense tracking in Beancount?
- What account hierarchy do you use?
- How do you handle FSA/HSA coordination?
- Do you track by family member?
- What metadata tags work best?
- Any clever queries for threshold projection mid-year?
I’m particularly curious about multi-year strategies—anyone timing elective procedures to bunch expenses into a single year to clear the threshold?
The more we share practical approaches, the better prepared this community will be when those unexpected medical years hit. And trust me, they always do eventually.