Housing Loan Credit and a Stock Sale in the Same Year: Filing Both on One Japanese Tax Return
If you live in Japan and must file a final tax return (kakutei shinkoku) because you sold shares, claim the housing loan credit on that same return. This includes sales at a broker outside Japan. Your gain counts toward the credit's income limit, which is ¥20 million for most homes moved into from 2022. Under the limit, the credit can also reduce the income tax on your gain.
One return covers both

Your return recalculates your income tax for the whole year, so you must claim the credit on it. This applies even if your employer gave you the credit in the year-end adjustment (nenmatsu chosei).
- First year: you must file to claim the credit. Report your stock sale on the same return.
- Later years: if your sale means you must file (see the ¥200,000 rule), your return redoes your employer's calculation.
- Total income: your salary after the employment income deduction, plus your stock gain in yen.
- Income limit: if you are over it, there is no credit for that year.
- Income tax: tax on your salary and other income, plus 15% of your stock gain.
- Credit: it can reduce both parts of that income tax.
- Leftover credit: it comes off next year's resident tax (juminzei), up to a limit.
Your stock gain counts toward the income limit
The limit uses your total income (gokei shotoku kingaku), and the stock gains you report are part of it. The test is made each year. If you are over the limit, you get no credit for that year. The years count from your move-in year, so a lost year is not added back.
| When you moved in | Home | Limit |
|---|---|---|
| 2022 to 2030 (most homes) | 50 m² or more | ¥20 million |
| 2021 or earlier, and some homes moved into in 2022 (see note) | 50 m² or more | ¥30 million |
| Some homes moved into from 2021 | Certain homes of 40 m² to under 50 m² | ¥10 million |
Note: Some homes moved into in 2022 keep the older rules. This applies if 10% consumption tax was charged and you signed the contract in a set period. That period is October 2020 to September 2021 for a custom-built home, or December 2020 to November 2021 for other homes. The limit is then ¥30 million (¥10 million for 40 m² to under 50 m²).
What counts toward total income:
- Salary after the employment income deduction, not your gross pay
- Stock gains you report, including taxable gains at a broker outside Japan (non-permanent residents: see the remittance rule)
- Amounts before any loss carried forward from earlier years
A gain in a Japanese specified account (tokutei koza) with withholding counts only if you put it on your return. You might do that to offset a loss elsewhere.
A large sale can cost you the whole year's credit. David is single with no dependents. He moved into a new ZEH-level energy-saving home in 2024. His 2026 salary is ¥17 million, or ¥15.05 million after the ¥1.95 million employment income deduction. He also sells US shares at a US broker for a gain of ¥5 million.
His total income is ¥20.05 million, so he gets no credit for 2026. That credit would have been ¥210,000 (0.7% of his ¥30 million loan balance at the end of 2026). If his employer already gave it at work, he pays it back with his return, plus the 2.1% surtax on it (¥214,410 in total). This is only an estimate, based on these assumptions.
At work, the form for the credit asks for your estimated total income. If the estimate is over the limit, you cannot claim the credit in the year-end adjustment.
The credit can also absorb the tax on your gain
The credit comes off your income tax for the year, including the 15% income tax on your stock gain. On the return, the tax on your gain is added to the tax on your other income before the credit is subtracted.
This matters when your credit is larger than the income tax on your salary. The rest normally moves to next year's resident tax, up to a limit. Anything above that limit goes unused. For most homes moved into from 2022, the limit is at most ¥97,500. Some homes moved into from 2014 to 2022 allow up to ¥136,500.
On your return, use the full credit available, not only the amount your employer applied. If the credit was too large to use at work, your withholding slip (gensen choshuhyo) also shows the full amount available.
Sofia is single with no dependents. She moved into a new ZEH-level energy-saving home in 2025. Her loan balance on December 31, 2026 is ¥35 million, below the home's price. Her credit is 0.7% of that, ¥245,000, which is also her yearly cap.
The income tax on her salary is ¥99,000, so her employer applied ¥99,000 of the credit. Her slip shows ¥245,000 available. She also sells US shares at a US broker for a gain of ¥900,000. The 15% income tax on it is ¥135,000.
| Without the sale | With the sale (her return) | |
|---|---|---|
| Income tax before the credit | ¥99,000 | ¥234,000 |
| Credit used against income tax | ¥99,000 | ¥234,000 |
| Credit moved to next year's resident tax | ¥97,500(the most allowed) | ¥11,000 |
| Credit left unused | ¥48,500 | ¥0 |
Her 2026 salary is ¥5.3 million, or ¥3.8 million after the employment income deduction. Minus ¥795,000 of social insurance and the ¥1.04 million basic deduction, ¥1,965,000 is taxable. Tax: ¥1,965,000 × 10% − ¥97,500 = ¥99,000. With the gain, her total income is ¥4.7 million, so her basic deduction does not change. This is only an estimate, based on these assumptions. It ignores fees.
With the sale, ¥48,500 of credit that would have gone unused now counts. Her return shows no income tax to pay, so no 2.1% reconstruction surtax either. The 5% resident tax on her gain, ¥45,000, still applies. Her resident tax credit also falls from ¥97,500 to ¥11,000. In total, the sale raises her resident tax by ¥131,500 (¥45,000 + ¥86,500).
Documents for a return with both
Gather these before you file.

- Your withholding slip from each employer
- Your broker's yearly statements and trade records, with the yen rate for each trade. See why your foreign broker statement does not match your return.
- Annual reports for any Japanese specified account you include
- From the second year: the credit's calculation statement and your lender's year-end balance certificate, unless your lender reports to the tax office (zeimusho) directly
- In the first year: the home documents in our housing loan credit guide
Common mistakes
- Leaving the credit off because your employer applied it. The credit works only if it is on the return. Adding it later is allowed only in limited cases.
- Copying only the amount applied at work. If your slip shows a larger amount available, use that amount.
- Testing the limit with the wrong figures. Use salary after the employment income deduction, and gains before any loss carried forward.
- Including a withholding account without checking the limit. Once it is on your return, its gain counts.
What you can do yourself, and where you need help

You can gather the documents and convert each trade to yen yourself. If you are far below the limit and the credit was used up at work, the extra step is small. You enter the credit from your slip.
Get help if you are near the limit, your slip shows unused credit, or you carry losses forward. The same applies if you hold several accounts or your tax status changed during the year.
What changes when a tax accountant handles it
Komatsu CPA & Tax Accounting Office works with individuals only, on Japanese tax only, with no calls. Our service runs by email in written English. Once you engage us, we:
- Review your broker and loan papers through a secure upload folder.
- Convert your trades to yen and test your total income against your limit.
- Check whether to include each withholding account, and enter the full credit available.
- Prepare the Japanese return, send you an English summary to approve, then sign and file it.
Take an employee with one withholding slip, stock sales of up to ¥30 million at an overseas broker, the housing loan credit and standard deductions. With our English-language service, these items add up to ¥132,000. That is ¥48,000 base + ¥9,000 salary + ¥43,500 stock sales + ¥22,500 home loan tax credit + ¥9,000 standard deductions. Including tax, the fee is ¥145,200. This is only an estimate, based on these assumptions.
Frequently asked questions
My employer already applied the credit. Do I enter it again on my return?
Yes. Your return recalculates the whole year, and the credit applies only if it is on the return. Enter the amount from your withholding slip. If the slip also shows a larger amount available, use that amount.
Does a gain in my Japanese specified account count toward the limit?
It depends on the account. A gain in a specified account with withholding counts only if you choose to put it on your return. Gains in an account without withholding, and taxable gains at a broker outside Japan, go on your return, so they count. If you are a non-permanent resident (a tax status, not a visa), some overseas gains are not taxable in Japan and do not count.
I carry forward a stock loss from earlier years. Does it lower my total income for the test?
No. The test uses your income before any loss carried forward from earlier years. The loss can still reduce the tax on your gain.
If I lose the credit for one year, is it gone for good?
No. The limit is checked each year, so you can claim the credit again in a later year under the limit. The years are counted from your move-in year, so the lost year is not added back.
Claiming the housing loan credit with a stock sale?
Yuma Komatsu is a Japanese CPA and licensed tax accountant. We prepare, sign and file your return. We work by email in written English. Our tax accountant does not speak English, and we do not offer calls.
Sources
- NTA written Q&A (in Japanese): how the ¥20 million total income test works
- NTA Tax Answer No.1211-1 (in Japanese): new homes moved into from 2022, including the caps and the documents for later years
- NTA Tax Answer No.1212 (in Japanese): new homes moved into by 2021 and No.1214: used homes moved into by 2021
- NTA 2025 tax return guide (in Japanese): the housing loan credit line and the tax amount line
- NTA (in Japanese): housing loan credit boxes on the withholding slip
- NTA Q&A on the housing loan credit (in Japanese), Q6 (two employers; credit not fully used at work)
- NTA Tax Answer No.1463 (in Japanese): tax on selling shares, No.1476: specified accounts and No.1474: carrying forward listed-share losses
- NTA Tax Answer No.1410 (in Japanese): employment income deduction, No.1199: basic deduction and No.2260: income tax rates
- Ministry of Internal Affairs and Communications (in Japanese): the housing loan credit against resident tax
- Act on Special Measures Concerning Taxation, Articles 37-10, 37-11, 41 and 41-2-2 (in Japanese)
- Income Tax Act, Articles 2 and 92 (in Japanese)
- Local Tax Act, Supplementary Provisions Articles 5-4, 35-2, 35-2-2 and 61 (in Japanese)
This article is general information based on rules in force as of December 1, 2026. It is not advice for your situation.