Leaving Malaysia in 2026: how to end your tax residency cleanly

Your Malaysian tax residency ends in the first year you fail all four section 7 tests. CP21, tax clearance, what stays taxable and RPGT rules for 2026.
Leaving Malaysia in 2026: how to end your tax residency cleanly

Quick answer

You stop being a Malaysian tax resident in the first year you fail all four tests in section 7 of the Income Tax Act 1967, starting with 182 days. If you leave for over 3 months, your employer must file Form CP21 at least 30 days before you go. Malaysia levies no exit tax on individuals.

Last reviewed: November 2026 · Reviewed by Stéphane Gombauld, tax expert, technologist and digital nomad

Heavnn

Optimize your tax position and get up to 100% tax savings

Discover legal tax optimization opportunities for location-independent workers and online businesses.*

* Potential savings depend on your tax residency, income structure, and eligibility under applicable tax laws.

Get my FREE digital interview 📝

You are leaving Malaysia for Singapore, Dubai or home, and you want a clean exit. After reading this, you will know when residence ends, what you and your employer must file, and what Malaysia still taxes.

Malaysia ceasing tax residency in 2026: the key figures

Item 2026 rule Legal basis
Residence ends First basis year in which you pass none of the four tests s. 7(1) Income Tax Act 1967 (ITA)
Tests that can keep you resident Linking to 182+ consecutive days; 90+ days with 3 of 4 prior years; resident next year and 3 prior years s. 7(1)(b)–(d) ITA
Employer notice Form CP21 via e-SPC on MyTax, at least 30 days before departure s. 83 ITA; LHDN employer guidance
Final pay Withheld until clearance, or 90 days after LHDN receives CP21 s. 83 ITA; LHDN employer guidance
Employer penalty Fine of RM200 to RM20,000, up to 6 months' prison, or both ITA offence provisions; LHDN CP21 guidance
Non-resident rate Flat 30% on Malaysian income, no reliefs Sch. 1 para. 1A ITA; PR 2/2026 para. 4.5
Property sold by non-citizens RPGT 30% up to the 5th year, 10% from the 6th Part III, Sch. 5 RPGT Act 1976
Departure-year return Form BE or M by 30 April 2027; Form B by 30 June 2027 PR 2/2026 para. 9; LHDN filing programme

What changed for 2026

  • New ruling for foreign employees. Public Ruling No. 2/2026 applies from year of assessment 2025. It confirms the 30% non-resident rate and the 60-day exemption for return visits.
  • No new exit charge. The Budget 2026 speech introduced no departure or exit tax for individuals. CP21 has been online-only through e-SPC since 1 January 2024.

Is this guide for you?

Read on if you…

  • are an expat employee or freelancer leaving Malaysia in 2026 or 2027;
  • are a Malaysian moving abroad for work;
  • will keep property, savings or clients in Malaysia after you go.

Probably not your case if you…

When do you stop being a Malaysian tax resident?

Malaysia tests residence one calendar year at a time, by days of presence. You stay resident for any year in which you pass one of the four tests in section 7(1) ITA:

Test Condition
s. 7(1)(a) 182 days or more in the year
s. 7(1)(b) Under 182 days, linked to 182+ consecutive days in the year before or after
s. 7(1)(c) 90+ days, and resident or 90+ days in 3 of the 4 previous years
s. 7(1)(d) Resident next year and in each of the 3 previous years

Here's the catch for long-term expats. Tests (b) and (c) often keep you resident in your departure year, even after a few months.

That is usually good news. Resident status gives you the 0%–30% scale and reliefs on pay up to departure. Non-resident status means 30% flat.

The departure-year linking rule

PR 11/2017 Example 6 shows it. Nari Jong is in Malaysia from 5 January to 23 December 2017 and never returns. She is resident for 2017 and non-resident for 2018.

In Example 5, Marshall spends 223 days in Malaysia in 2016 and leaves on 1 April 2017. His 88 days in 2017 link back to 2016, so he is resident for 2017 too. Short holidays inside the period (8 days and 2 days) did not break the link.

There is no split-year treatment in the rulings. Your status covers the whole year. For the detail, see tax residency rules in Malaysia.

What must you and your employer do before you leave?

If you are employed in Malaysia

  1. Tell HR early. If you leave for more than 3 months, your employer must submit Form CP21 at least 30 days before departure. Since 1 January 2024 this goes through e-SPC on MyTax.
  2. Expect a hold on final pay. If you are not coming back, your employer must withhold money due to you. It can pay without LHDN's permission only 90 days after LHDN receives CP21.
  3. Get the tax clearance letter (SPC). Once your tax is settled, LHDN issues the Surat Penyelesaian Cukai (tax clearance letter) and the employer releases the money.
  4. File your departure-year return. Use Form BE if resident, or Form M if non-resident.

No CP21 is needed if LHDN accepts that your job requires frequent travel abroad. Employers who skip it face a fine of RM200 to RM20,000, prison of up to six months, or both. Under s. 107(4) ITA, they also become liable for your unpaid tax.

If you are self-employed or run a business

  1. File Form B for the departure year by 30 June of the following year.
  2. Pay any balance of tax before you go.
  3. Close your sole proprietorship or partnership registration with the Companies Commission (SSM) if it stops trading.
  4. If you keep a Malaysian company, check where its board will meet and decide from now on. See legal forms of business in Malaysia.

For everyone

  • Clear tax debts. Section 104 ITA lets LHDN have you stopped at the border. Under LHDN's guideline on temporary release, paying 50% and agreeing instalments usually earns a temporary release. Apply at least 7 days before travel.
  • Close or keep your tax file. LHDN accepts permanent closure applications when you leave for good, once refunds and arrears are settled.
  • Update your banks. Give them your new address and tax residence for CRS reporting.
  • Build proof abroad. Keep your new lease, registration and visa for your next tax office.

What stays taxable in Malaysia after you leave?

Once non-resident, you pay 30% on Malaysian-source income, with no reliefs. Foreign income is outside the net. The main items:

  • Work done in Malaysia. Return trips for work are exempt if your Malaysian employment totals 60 days or less in the year (PR 2/2026, para. 4.6). Day 61 makes the whole period taxable.
  • Rent from Malaysian property, taxed at 30% of chargeable income through Form M.
  • Interest and royalties, through final withholding of 15% and 10%. Fees for services performed in Malaysia bear 10% under s. 109B (LHDN withholding tax).
  • Malaysian property gains. Non-citizens without PR pay real property gains tax of 30% up to the 5th year of ownership and 10% from the 6th.

Malaysia does not tax your shares, crypto or foreign assets because you leave. See capital gains tax in Malaysia for the rules on later disposals.

Example – James, 42, British engineer

James has lived in Kuala Lumpur since 2020. He leaves for Singapore on 30 April 2026, after 120 days in Malaysia that year. He has 90+ days and was resident in 3 of the 4 previous years, so s. 7(1)(c) keeps him resident for 2026. His RM100,000 salary to April: RM100,000 − RM9,000 relief = RM91,000 chargeable. Tax: RM3,700 on the first RM70,000 plus 19% of RM21,000 (RM3,990) = RM7,690. At the 30% non-resident rate he would owe RM30,000. His employer files CP21 by 31 March.

James's exit touched four rules in one month. Yours probably will too.

Plan your exit with Heavnn and check which country taxes you in your departure year.

Check my tax setup →

Common mistakes (and what they cost)

  • Leaving without CP21 → frozen final pay, an employer fine of up to RM20,000 and employer liability for your tax.
  • Assuming you are non-resident from departure day → you misfile the year, and LHDN reassesses under s. 7(1)(b) or (c).
  • Coming back for a 70-day project → you cross the 60-day limit and the whole Malaysian employment becomes taxable at 30%.
  • Selling a KL condo in year 4 → RPGT at 30% instead of 10% if you had waited until the 6th year.
  • Leaving tax arrears behind → a section 104 travel restriction the next time you try to leave Malaysia.

Frequently asked questions

How do I stop being a tax resident in Malaysia?

Spend fewer than 182 days in Malaysia in the calendar year and fail the linking and multi-year tests. Long-term residents are often still resident in the year they leave, through the 90-day or linking test. Residence ends cleanly in the first full year that no test is met.

What is Form CP21?

CP21 is the employer's notice to LHDN that a taxable employee will leave Malaysia for more than three months. It goes through e-SPC on MyTax at least 30 days before departure. The employer then withholds money due to you until clearance, or until 90 days after LHDN receives the form.

Do I need a tax clearance letter to leave Malaysia?

Employees covered by CP21 need it for the release of their final pay. Without a CP21 case, you can leave without one, as long as you owe no tax. Unpaid tax can trigger a section 104 travel restriction, lifted on full payment or by temporary release.

Is there an exit tax when leaving Malaysia?

No. Malaysia has no exit or departure tax for individuals. Your shares, crypto and foreign investments are not taxed when you move. Malaysian property stays within real property gains tax, and Malaysian-source income such as rent remains taxable at the 30% non-resident rate.

Can I work in Malaysia after I leave without paying tax?

Yes, within limits. As a non-resident, employment exercised in Malaysia for 60 days or less in a year is exempt under Schedule 6, paragraphs 21–22. It counts days of employment in Malaysia, not days of presence. You must claim the exemption and keep proof.

Do I still file a Malaysian return after leaving?

Yes, for the departure year. Employees file Form BE (resident) or Form M (non-resident) by 30 April of the next year. Business owners file Form B by 30 June. LHDN's 2026 programme gave e-filers a 15-day grace period. Keep your Malaysian TIN active until that return is assessed.

Sources

This guide is general information, not personalised tax advice. See how we research and review.

Leaving Malaysia in 2026?

Plan your exit with Heavnn and make sure your last Malaysian tax year closes cleanly.

Start with Heavnn →
About the author
Heavnn

Heavnn

Heavnn is a borderless tax technology solution supporting the future of work. We assist international remote workers with the design and implementation of their global tax setups.

Welcome to Heavnn University!

Access all of our learning resources, blogs, and articles for digital nomads, remote workers, and distributed teams right here on Heavnn University. For more tailored advice, take our digital interview below!

Design Your Global Remote Setup
Heavnn University

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to Heavnn University.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.