Medical Expense Deduction vs. Self-Medication Tax Credit (Which Saves More in Japan, Receipt Totals and Export to the NTA Form)
Completely free, with no extra charges. You may freely use the output commercially.
About this tool
Enter your family's receipts one line at a time (hospital bills, dental care, medicine bought at a pharmacy and so on). The tool shows the deduction under the regular medical expense deduction (医療費控除) and under the Self-Medication Tax Scheme (セルフメディケーション税制), and about how much income tax and resident tax each would save, side by side. If neither reaches its threshold and no deduction results, it shows how much more you would need to spend. Reimbursements such as insurance payouts and high-cost medical care benefits are subtracted only up to the medical expense they were paid for, following the National Tax Agency (NTA) rules.
Your entries can be copied in a form that pastes straight into cell B9 of the NTA's “Medical Expense Summary Form” (医療費集計フォーム, Excel), and the Self-Medication entries and a CSV file can be saved as well. The thresholds and caps follow NTA Tax Answer No. 1120 and No. 1129 and the rates follow No. 2260, as estimates for tax year 2026 (Reiwa 8). All processing happens entirely in your browser (no data is sent). Your entries are saved only in this browser.
Note: this tool covers Japan's income tax and resident tax system, and all amounts are in Japanese yen. The text copied for the NTA form and the saved CSV keep Japanese column headings and labels, because the official form is in Japanese.
1. Income and health checkups
Advanced settings (taxable income for resident tax)
2. Receipt details
You can enter receipts one by one or as totals per hospital or pharmacy. For drugstore receipts where eligible medicines are marked (with ★, ◆ or similar), tick “Self-Medication eligible”. Ticked medicines are still included in the regular medical expense deduction if they were bought for treatment.
| Person treated | Hospital, pharmacy, etc. | Category | Amount paid (yen) | Reimbursed (yen) | Date paid | Self-Medication eligible | Delete |
|---|---|---|---|---|---|---|---|
| Total | |||||||
Import from Excel or CSV
Paste a range copied from Excel or choose a CSV file, in one of the layouts below. Imported rows are added after the current rows.
- A CSV saved by this tool (person, name, category, amount, reimbursement, date, Self-Medication flag)
- Columns B to J of the NTA “Medical Expense Summary Form” (with “該当する” in the category columns)
- Three or four columns: person, name, amount (, reimbursement)
3. Which one saves more?
Regular medical expense deduction
- Total medical expenses paid
- Reimbursed amount
- Threshold (100,000 yen)
- Deduction (up to 2 million yen)
- Income tax savings (including the special reconstruction income tax)
- Resident tax savings (10%)
- Total tax savings (estimate)
Self-Medication Tax Scheme
- Purchases of eligible medicines
- Reimbursed amount
- Threshold
- Deduction (up to 88,000 yen)
- Income tax savings (including the special reconstruction income tax)
- Resident tax savings (10%)
- Total tax savings (estimate)
Totals by person
| Person treated | Items | Amount paid | Reimbursed | Of which Self-Medication eligible |
|---|
Export in a form for your tax return
To use the Summary Form, open it in Excel, select cell B9 (the first row under “Person treated”) and paste. Names can have up to 10 full-width characters and facility names up to 20. The form cannot be used for the Self-Medication Tax Scheme, so if you choose that scheme, enter the details directly on the NTA tax return preparation corner.
How to use and how it is calculated
How the two schemes differ, and why you cannot combine them
The regular medical expense deduction takes the medical expenses you paid during the year (January 1 to December 31) for yourself and family members who share your living costs, subtracts reimbursements such as insurance payouts, and deducts the part above 100,000 yen (or 5% of total income if that is under 2 million yen) from your income, up to 2 million yen. The Self-Medication Tax Scheme deducts the part of your purchases of eligible medicines (such as switch OTC drugs) bought at drugstores and elsewhere that exceeds 12,000 yen, up to 88,000 yen. You must choose one of the two when you file, and you cannot change your choice afterward.
How this tool calculates
- Reimbursements are subtracted row by row, up to the amount paid on that row. Even if a hospitalization benefit exceeds the hospital bill, the surplus is not subtracted from other expenses (the same treatment as the notes on the NTA Summary Form).
- Medicines you ticked as Self-Medication eligible are also included in the regular medical expense deduction. Medicines bought for prevention or general health rather than treatment are not eligible for the regular deduction, so put them on a separate row or leave them out of the amount.
- The income tax savings are found by applying the rate table to taxable income (total income amount minus total income deductions, rounded down to 1,000 yen) and taking the difference in tax before and after the deduction (including the 2.1% special reconstruction income tax, rounded down to 100 yen). Cases where the deduction moves you into a lower rate bracket are handled correctly.
- The resident tax savings are 10% of the deduction. If you enter taxable income for resident tax, that amount is used as the cap.
Worked examples
- With total income of 3 million yen, taxable income of 2 million yen, 270,000 yen in hospital bills and similar (of which a 120,000 yen hospital stay was covered by a 200,000 yen hospitalization benefit) and 30,000 yen of eligible medicine: the reimbursement counts only up to 120,000 yen, so the medical expense deduction is 300,000 − 120,000 − 100,000 = 80,000 yen. Income tax falls by 6,600 yen and resident tax by 8,000 yen. The Self-Medication Tax Scheme would give 30,000 − 12,000 = 18,000 yen, so the regular deduction is better.
- With 40,000 yen of hospital bills and 60,000 yen of eligible medicine (total income 5 million yen), medical expenses come to exactly 100,000 yen, so the regular deduction is 0 yen, while the Self-Medication Tax Scheme gives a deduction of 48,000 yen.
Points to note
- The calculation uses the rules for tax year 2026 (Reiwa 8, filed in 2027). Under the fiscal 2026 tax reform, from tax year 2027 the list of eligible medicines for the Self-Medication Tax Scheme is revised (adding digestive medicines, OTC test kits and others, and excluding slimming and cosmetic products), and the expiry date for the switch OTC portion is abolished. The 12,000 yen threshold and 88,000 yen cap do not change.
- Check NTA Tax Answer No. 1122 to see which expenses qualify (checkups, cosmetic care, preventive care, taxi fares to the hospital and so on). The tax amounts are estimates that do not account for tax credits such as the housing loan credit or dividend credit, or the effect on your Furusato Nozei (hometown tax) donation limit.
- Even salaried employees whose year-end adjustment is done can file a tax return (確定申告) to get part of the withheld income tax refunded. Resident tax is lowered in the following fiscal year.
Sources
NTA No. 1120 When you have paid medical expenses (medical expense deduction), No. 1129 Self-Medication Tax Scheme, No. 2260 Income tax rates, Medical Expense Summary Form (Ver. 3.1), Outline of the fiscal 2026 tax reform (Ministry of Finance) (all pages in Japanese; checked in November 2026)
For a worked example of how the better scheme flips as the hospital total changes, with screenshots of this screen, see the step-by-step article (in Japanese): 医療費控除とセルフメディケーション税制はどっちが得か.
For how high-cost medical care benefits relate to the medical expense deduction, and what to watch out for when you use Furusato Nozei and the medical expense deduction in the same year, see our Japanese articles “How much did the high-cost medical care cap rise from August 2026” and “What happens if you file a tax return after submitting the One-Stop Exception for Furusato Nozei”, and check your limit with the Furusato Nozei Deduction Limit Simulator.