Filing a Malaysian Tax Return as a Foreigner: Form BE or M, Deadlines and Leaving Malaysia

Updated Sat, 21 November 2026

Estimate your Malaysian income tax first →

If you work in Malaysia, you file a Malaysian income tax return each year, whatever your passport says. Which form you use depends on your tax residence, not your nationality: residents file Form BE (or Form B if they have business income) and non-residents file Form M. The Inland Revenue Board (LHDN, also called HASiL) set out these rules for foreign employees in Public Ruling No. 2/2026, published on 27 March 2026.

This guide covers which form you need, the deadlines, the short-assignment exemption, how to file online, and what happens to your tax when you leave Malaysia.

Which form, and by when?

Table of Malaysian tax return forms for foreigners. Resident with salary only: Form e-BE, due 30 April with 15 days of e-Filing grace. Resident with business income: Form e-B, due 30 June with 15 days of grace. Non-resident: Form e-M, due 30 April with 15 days of grace. Non-residents pay a flat 30% with no reliefs and no rebate.

You file in the year after you earn the income. Returns for 2025 income (year of assessment 2025) were due in 2026. LHDN’s Return Form Filing Programme for 2026 set these dates:

Your situation Form Due date Late after (e-Filing)
Resident, no business income (for example a salaried employee) BE 30 April 2026 15 May 2026
Resident with business income B 30 June 2026 15 July 2026
Non-resident M 30 April plus 15 days

Returns for 2026 income are due in 2027. LHDN publishes each year’s filing programme around the turn of the year, so check the new dates before you file.

Resident or non-resident?

Residence is about days in Malaysia. Most people become residents by spending at least 182 days in Malaysia in the calendar year, and there are three other tests that link years together. The 182-day counter adds up your days, and the tax residency guide explains all four tests.

It changes your bill a lot:

The income tax calculator shows both, and the income tax guide has worked examples.

Do you need to file at all?

LHDN says you must register a tax file once your taxable income exceeds the threshold. For employment income, it says people who earn more than RM37,333 a year and have monthly tax deductions (MTD, often called PCB) taken from their pay are taxable. Your employer deducts MTD each month, but that does not replace the return: the return is where your final tax for the year is worked out and any difference is paid or refunded.

Your employer must give you your Form EA (C.P.8A), the yearly statement of your pay and deductions, by the end of February. You need it to fill in the return.

Short assignments: the 60-day exemption

If you are a non-resident and your employment in Malaysia lasts 60 days or less in a calendar year, the income from that work is exempt (paragraph 21 of Schedule 6 of the Income Tax Act). Public Ruling 2/2026 adds three points:

Foreign tax and double tax treaties

If the same income is also taxed abroad, a double tax agreement may give you a credit. Under Public Ruling 2/2026, the bilateral credit is only for foreign nationals who are Malaysian tax residents for that year. Where there is no treaty, a unilateral credit of up to half of the foreign tax may be available. Foreign income you bring into Malaysia is a separate question: see the foreign income guide.

How to file online

LHDN’s filing steps for non-residents work the same way for residents:

  1. Go to the MyTax portal (mytax.hasil.gov.my) and log in with your identification type, number and password. If you do not have a tax number yet, register first through e-Daftar on the same portal.
  2. Choose ezHasil Services, then e-Filing, then e-Form.
  3. Pick the year of assessment and the form: e-BE, e-B or e-M.
  4. Fill in your particulars, income and, if you are a resident, your reliefs. Check the summary, then sign and submit.

Leaving Malaysia: tax clearance

This is the part foreigners most often miss. When you leave, your employer has to tell LHDN before your last pay goes out:

If you are leaving Malaysia for good and have no more taxable income, you can ask LHDN to close your tax file with a written application to the office that handles it. First make sure no tax is owed and no refund is still pending.

Plan for this in your notice period: ask HR when they will file CP21, and make sure your last return is in so the clearance is not held up.

Checklist

This guide is general information, not tax advice. If your case involves business income, a treaty claim or a move part-way through the year, check with LHDN or a tax adviser.

Sources

Estimate your Malaysian income tax first →

This guide is general information, not legal or tax advice. Rules change, so confirm with the Immigration Department, LHDN or a professional.

Get an email when an MM2H, DE Rantau, LHDN or property rule changes

Malaysian rules for foreigners move every year: new Employment Pass salary floors from June 2026, the flat stamp duty for foreign home buyers from January 2026, the foreign income exemption extended to 2036, and new MM2H and DE Rantau terms. We re-check every tool against its official source each month and send one short email when a Malaysian rule you rely on changes. No spam, unsubscribe any time.

More guides