Foreign-owned companies in Malaysia rehearse the arrival of an expatriate in obsessive detail — the ESD account, the Employment Pass category, the endorsement appointment, the dependants. Almost nobody rehearses the departure. Yet the exit is where the liabilities sit: an Employment Pass that was never shortened, a Form CP21 that was never lodged, a final salary that was paid out when the law said to hold it, and — since 18 November 2025 — an Exit Clearance declaration that, if left unfiled, quietly locks the company out of ESD Online for every future application. The departing employee is on a plane and beyond reach; the company is not. This guide sets out the three clocks that start the day a resignation is accepted, exactly who files what and by when, and the sequence that lets an expatriate leave cleanly and lets the company keep hiring.
Three regulators, three clocks, one departure
The mistake that generates almost every exit problem is treating the departure as an HR event. It is three regulatory events running in parallel, each with its own trigger, its own form and its own deadline — and only one of them (immigration) is visible at the airport.
The Immigration Department (Jabatan Imigresen Malaysia), through the Expatriate Services Division (ESD), governs the pass. It wants the pass shortened or cancelled before the person leaves, and if that did not happen it now wants a declaration that they left.
The Inland Revenue Board (LHDN / HASiL) governs the money. It wants notice at least 30 days before departure, and it wants the employer to sit on the employee's final pay until it has finished checking.
The EPF and SOCSO govern the statutory contributions. Since October 2025 EPF has covered non-citizen employees, and since December 2025 EPF has been sharing data with Immigration — which means an unpaid contribution is no longer an invisible problem.
| Track | What must be done | Deadline | If you miss it |
|---|---|---|---|
| Immigration — pass shortening | Shorten Pass application via ESD Online ("Sub-Product" tab); download the Shorten Pass Slip | Before the expatriate permanently leaves Malaysia | No exit record; the company falls into the Exit Clearance regime below |
| Immigration — Exit Clearance | Exit Clearance declaration via ESD Online / eXpats confirming the expatriate has left | Within 30 days of pass expiry where no renewal or shortening was filed | ESD Online access restricted — cannot submit or pay for new applications |
| Tax — Form CP21 | Notification by employer of departure, filed online through MyTax → e-SPC; LHDN issues the tax clearance letter (SPC) | Not less than 30 days before the expected departure date | Fine of RM200 to RM20,000, or imprisonment up to six months, or both |
| Tax — money withhold | Withhold monies payable to the employee (salary, bonus, gratuity) | Until 90 days after LHDN receives the CP21, or earlier written clearance | The employer can be made personally answerable for the employee's tax |
| EPF | Final contribution; employee may apply for Leaving Country Withdrawal (Form KWSP 9C (AHL)) | Contribution by the 15th of the following month; withdrawal applied for in person before departure | Arrears, and — since the December 2025 EPF–Immigration arrangement — immigration consequences |
| SOCSO | Cease contributions; report the termination | With the final payroll cycle | Continued contribution liability on a person no longer employed |

Immigration first: shorten the pass before they fly
On 14 November 2025 the Immigration Department, acting on a Ministry of Home Affairs directive, published an announcement through ESD that ended a long-standing grey area. Companies must submit a pass shortening application for every expatriate who is permanently leaving Malaysia — regardless of how much validity the pass has left.
The mechanics are simple and easy to get wrong because the function is not where people look for it:
- Log in to ESD Online (esd.imi.gov.my) and open the "Sub-Product" tab. MDEC-supervised companies use the eXpats portal instead, and must additionally submit the physical passport.
- Submit the shortening application for the expatriate concerned, before the departure date.
- Download the Shorten Pass Slip once approved. The expatriate carries it and presents it on departure. This is the document that closes the immigration record cleanly.
Note what this replaces. The old informal practice — let the pass run to expiry, put the person on a plane, and deal with the cancellation later or not at all — is no longer viable. Immigration's position is that a pass that was issued to work for your company should be surrendered when that work ends, and the company that sponsored it is the party responsible for surrendering it. In practice, cancellation should be actioned within 30 days of the employment ending and the pass shortened before the flight.
Exit Clearance: the backstop that locks your portal
Effective 18 November 2025, Immigration introduced Exit Clearance — and this is the change most foreign employers have not yet absorbed, because it bites companies that did nothing rather than companies that did something wrong.
Exit Clearance is a mandatory declaration confirming that an expatriate has left Malaysia, required where a pass has expired and no renewal and no shortening application appears in ESD Online. It must be submitted within 30 days from the pass expiry date.
The enforcement mechanism is what makes it serious. There is no fine attached in the announcement. Instead, a company that fails to submit Exit Clearance faces restricted access to ESD Online — including the inability to submit and pay for new applications. MDEC has signalled the same treatment for companies under its supervision: new applications held until the outstanding Exit Clearance is filed.
Read that consequence against a real timeline. A regional manager's EP lapses in March; nobody files anything because they had already gone home in February. In August the company wants to bring in a new technical director. The application will not go through until the March record is closed — and closing it means producing evidence of a departure that happened six months earlier, from an ex-employee who no longer answers emails.
| Situation | What to file | Where | Deadline |
|---|---|---|---|
| Employee resigning; pass still valid; departure date known | Shorten Pass application → Shorten Pass Slip | ESD Online, "Sub-Product" tab (or eXpats for MDEC companies) | Before departure |
| Employment ended but employee still in Malaysia winding up affairs | Shorten Pass, then Special Pass from Immigration for the remaining days | ESD Online, then Immigration | Before the pass lapses |
| Pass already expired; no renewal, no shortening filed | Exit Clearance declaration | ESD Online / eXpats | 30 days from pass expiry |
| Employee absconded / stopped attending and left the country | Shorten or cancel the pass immediately; Exit Clearance if the pass has already lapsed | ESD Online | As soon as the facts are known |
| Dependants on Dependent Pass / LTSVP | Their passes are derivative — they must be shortened or cancelled alongside the principal's | ESD Online | With the principal's pass |

When the pass has already lapsed: Special Pass and the Check-Out Memo
A Special Pass is Immigration's bridging instrument. It is valid for 30 days and costs RM100 per issue, and it exists for exactly the situation where a foreign national is lawfully in Malaysia but has no substantive pass — between employers, waiting on a renewal, or arranging a departure.
The detail that matters is what happens on the second Special Pass. When Immigration issues one, it is typically endorsed "Making Arrangement to Leave the Country" — commonly called a Check-Out Memo (COM). A person holding a Special Pass endorsed that way can no longer apply for any other pass while inside Malaysia — not an Employment Pass, not a Professional Visit Pass, not a Student Pass. The route back in is to leave and apply afresh from outside.

LHDN: Form CP21, e-SPC and the 30-day rule
Where an employee chargeable to tax is about to leave Malaysia for a period exceeding three months, or permanently, the employer must furnish Form CP21 — Notification by Employer of Departure from the Country of an Employee — not less than 30 days before the expected departure date. The obligation sits under section 83(4) of the Income Tax Act 1967, and it is the employer's obligation, not the employee's.
Since 1 January 2024, CP21 must be submitted online through MyTax using the e-SPC application. Manual submission of CP21, CP22A and CP22B is no longer accepted. Companies that have not activated an e-SPC role for their tax agent or HR user discover this at the worst possible moment — three weeks before a flight, with a form they cannot lodge.
There is one statutory carve-out: the employer is not required to furnish the form if LHDN is satisfied that the employee is required to leave Malaysia at frequent intervals in the course of the employment. That covers a regional sales director who flies constantly; it does not cover a person who is going home for good.
| Form | When it is used | Deadline |
|---|---|---|
| CP21 | Employee leaving Malaysia for more than 3 months or permanently | Not less than 30 days before departure |
| CP22A | Cessation of employment of a private-sector employee (resignation, termination, retirement) who remains in Malaysia | Not less than 30 days before cessation |
| CP22B | Cessation of employment in the public sector | Not less than 30 days before cessation |
| CP22 | Notification of a new employee — the mirror image, and the one most companies do remember | Within 30 days of commencement |
The output of the CP21 process is the tax clearance letter — Surat Penyelesaian Cukai (SPC). It confirms the employee's tax position is settled and releases the withheld money. It is also, in practice, what a departing expatriate needs before EPF will process a final withdrawal without friction, and what any future Malaysian employer or immigration application will assume exists.
The 90-day withhold — the clause that surprises finance
This is the provision that turns a paperwork question into a cash question, and it is the one most often discovered after the money has already gone out.
Once a CP21 is required, the employer must withhold any monies payable to the employee — final salary, bonus, gratuity, accrued leave pay, any ex gratia sum — until 90 days after LHDN receives the notification, or until LHDN gives earlier written clearance, whichever comes first. Paying it out early does not merely breach a procedural rule: it exposes the employer to being made answerable for tax that the employee has taken out of the country.
The employee's own filing obligation continues in parallel. Their tax residence status for the year of departure follows the ordinary rules — including the 182-day test — and a mid-year departure can leave a person non-resident for that year and taxed at the flat non-resident rate on employment income, which is a materially worse outcome than the resident scale. Where a departure date is flexible, this is worth modelling before the ticket is booked; our guide to personal income tax for expatriates sets out the residence rules in full.
EPF, SOCSO and EIS on the way out
The statutory-contribution picture for non-citizens changed materially in late 2025, and exit procedure changed with it.
EPF. Since October 2025, EPF contributions are mandatory for non-Malaysian citizen employees holding valid passes (domestic servants excepted), at 2% from the employer and 2% from the employee, payable by the 15th of the following month. On permanent departure the member may apply for a Leaving Country Withdrawal and take the full balance of all accounts, using Form KWSP 9C (AHL) at an EPF branch, supported by the original passport, the work pass, the resignation or termination letter and a statutory declaration of permanent departure. The withdrawal itself is not taxed in Malaysia, but it is a branch process with a processing queue — start it well before the flight, not the week of it.
The enforcement change. On 11 December 2025 EPF formalised a collaboration with the Immigration Department. The practical meaning for employers is that the contribution record and the pass record are no longer separate universes: an employer with unpaid contributions for non-citizen staff should expect that to surface in immigration dealings.
SOCSO. Foreign employees are covered under the Employment Injury Scheme, with the employer contributing 1.25% of monthly wages; the Invalidity Scheme does not apply to non-citizens. From 1 June 2026, SOCSO's non-employment-injury coverage (LINDUNG 24 JAM) applies to foreign workers, adding round-the-clock protection. Contributions cease with the final payroll cycle.
EIS. The Employment Insurance System does not cover non-citizens at all — only Malaysian citizens and permanent residents. A departing expatriate has nothing to claim and nothing to close. If EIS deductions appear on an expatriate's payslip, the payroll has been set up wrongly and the error runs backwards, not just forwards; our EPF, SOCSO, EIS and PCB employer guide sets out the correct treatment.

Dependants, the lease, the bank account and the car
The principal's pass is not the only one that has to close.
Dependants. A Dependent Pass or Long-Term Social Visit Pass issued on the strength of an Employment Pass is derivative: it has no independent existence once the principal pass ends. Spouses and children must be shortened or cancelled alongside the principal, and where the family leaves on a later flight than the employee — a common arrangement so that children can finish a school term — the timing has to be planned deliberately rather than discovered. Our guide to the Dependent Pass and LTSVP covers the family side in detail.
The bank account. A resident individual account opened on the strength of an Employment Pass should be closed while the person is still in Malaysia and still holds a valid pass. Closing it remotely after the pass has been cancelled is possible but slow, and the balance has to go somewhere — plan the outward remittance under the applicable foreign exchange policy before, not after.
Company assets and the lease. Company-provided accommodation, a company car, a corporate credit card and a laptop are all recoverable while the employee is present and unrecoverable once they are not. Tie the release of the final payment — which is being withheld anyway under the CP21 rule — to the return of assets, and say so in the separation letter.
The dismissal question. None of the above changes the underlying employment-law position. If the exit is a termination rather than a resignation, the departure paperwork does not cure a defective dismissal, and an expatriate on an Employment Pass has the same right to file a section 20 representation as any other workman — see our guide to dismissal, retrenchment and the Industrial Court.
A workable 60-day exit timeline
| When | Action | Owner |
|---|---|---|
| Day 0 — resignation accepted / notice given | Fix the departure date. Issue the separation letter stating the CP21 withhold and the asset-return condition. | HR |
| Day 1–5 | Confirm e-SPC access on MyTax. Compile final remuneration figures including bonus, leave encashment and any ex gratia sum. | Finance / tax agent |
| Day 5–10 | Lodge Form CP21 via e-SPC — earlier than the 30-day minimum, because the 90-day withhold runs from LHDN's receipt. | Finance / tax agent |
| Day 10–20 | Employee applies for EPF Leaving Country Withdrawal at a branch. Bank account closure and remittance planned. | Employee, with HR support |
| Day 30–45 | Assets returned. Dependants' pass shortening prepared alongside the principal's. | HR |
| Day 45–55 | Shorten Pass application via ESD Online, timed to the flight. Download the Shorten Pass Slip and give it to the employee. | HR / immigration agent |
| Departure day | Employee presents the Shorten Pass Slip on exit. If a gap has opened, a Special Pass covers it. | Employee |
| After the SPC | LHDN issues the tax clearance letter; release the withheld final payment. | Finance |
| Backstop | If a pass lapsed with nothing filed: Exit Clearance within 30 days of expiry. | HR / immigration agent |
The three mistakes that cost the most
One: paying the final salary on the last day. It is the instinctive, decent thing to do, and it is the wrong thing to do. The money must be held until 90 days after LHDN receives the CP21 or earlier clearance. Once it has left the account and the employee has left the country, the employer is exposed for a liability it can no longer recover.
Two: treating an expired pass as self-resolving. It never was, and since 18 November 2025 it is actively costly. An expatriate who left without a shortened pass leaves an open record, and the Exit Clearance clock starts at pass expiry, not at the moment somebody notices. The cost is not a fine; it is the next hire.
Three: letting a re-hire drift into a Check-Out Memo. Where a person is moving between group companies, the new application must be under way before the old pass ends. Once a Special Pass is endorsed "Making Arrangement to Leave the Country", no further pass can be applied for from inside Malaysia, and a six-week transition becomes a three-month one conducted from another country.

Handled in the right order, an expatriate departure is a four-week administrative exercise with a predictable end: a Shorten Pass Slip presented at the gate, an SPC in the file, an EPF balance remitted, and an ESD Online account that is clear to make the next application. Handled in the wrong order — or not at all — it becomes a locked portal, a withheld payment that was already paid, and a former employee whose signature you now need and cannot get.
ONE BUSINESS SOLUTION handles the full expatriate lifecycle for foreign-owned companies in Malaysia — ESD account setup, Employment Pass applications and renewals, dependants, and the pass shortening, Exit Clearance, CP21 and tax clearance sequence at the other end. If you have an expatriate leaving in the next quarter, or a pass that lapsed without anything being filed, talk to us or review our ESD and Employment Pass services.
Frequently asked questions
Do we really have to cancel an Employment Pass if it is going to expire soon anyway?
Yes. Following the Immigration Department's announcement of 14 November 2025, companies must submit a pass shortening application for every expatriate permanently leaving Malaysia — regardless of how much validity remains. It is filed through ESD Online under the "Sub-Product" tab (eXpats for MDEC-supervised companies), and on approval a Shorten Pass Slip is issued for the expatriate to present on departure. Letting the pass run to expiry instead does not avoid work — it pushes the company into the Exit Clearance regime, which must be completed within 30 days of pass expiry and, if missed, restricts the company's ESD Online access.
What is Exit Clearance, and what actually happens if we never file it?
Exit Clearance, effective 18 November 2025, is a mandatory declaration confirming that an expatriate has left Malaysia, required where a pass has expired and no renewal and no shortening application appears in ESD Online. It must be submitted within 30 days of the pass expiry date. The announcement attaches no fine. Instead the company faces restricted access to ESD Online — including the inability to submit and pay for new applications, with MDEC signalling the same treatment. In practice the cost is felt months later: the next Employment Pass application will not proceed until the old record is closed, which means producing evidence of a departure that happened long ago, from someone who no longer works for you.
Can we pay the departing expatriate's final salary on their last day?
No — and this is the most expensive routine error in expatriate offboarding. Where an employee chargeable to tax is leaving Malaysia for more than three months or permanently, section 83(4) of the Income Tax Act 1967 requires the employer to file Form CP21 not less than 30 days before departure, and to withhold any monies payable — salary, bonus, gratuity, leave encashment — until 90 days after LHDN receives the notification or until earlier written clearance. Since 1 January 2024 CP21 must be lodged online through MyTax e-SPC; manual submission is no longer accepted. Failure to notify carries a fine of RM200 to RM20,000, imprisonment up to six months, or both. Say the withhold in the separation letter at the outset, and file the CP21 early — the 90 days run from LHDN's receipt, not from the flight.
Our expatriate is moving to our affiliate company in six weeks. Can he stay in Malaysia on a Special Pass while we apply?
That plan is how companies walk into a Check-Out Memo. A Special Pass is valid for 30 days at RM100 per issue. But when Immigration issues one — typically the second — it is commonly endorsed "Making Arrangement to Leave the Country", the Check-Out Memo (COM). A holder of a Special Pass endorsed that way cannot apply for any other pass while inside Malaysia: not an Employment Pass, not a Professional Visit Pass, not a Student Pass. The only route back is to leave and apply from outside. Where an intra-group transfer is intended, the new employer's application must be under way before the existing pass ends — not after.
What happens to the expatriate's EPF, SOCSO and EIS on departure?
EPF has been mandatory for non-Malaysian citizen employees since October 2025 (domestic servants excepted), at 2% employer and 2% employee, payable by the 15th of the following month. On permanent departure the member may take the full balance of all accounts under a Leaving Country Withdrawal, using Form KWSP 9C (AHL) in person at an EPF branch with the original passport, work pass, resignation or termination letter and a statutory declaration of permanent departure; it is not taxed in Malaysia. Note that EPF formalised data-sharing with the Immigration Department on 11 December 2025, so unpaid contributions now surface in immigration dealings. SOCSO covers foreign employees under the Employment Injury Scheme at 1.25% employer contribution (the Invalidity Scheme does not apply to non-citizens), with LINDUNG 24 JAM extending to foreign workers from 1 June 2026. EIS does not cover non-citizens at all — if it appears on an expatriate payslip, the payroll is misconfigured.
Sources & references
- Companies are required to shorten their expatriates' passes — Expatriate Services Division, Immigration Department of Malaysia
- Notifications of Termination of Service (Forms CP21, CP22A, CP22B) — Lembaga Hasil Dalam Negeri Malaysia
- e-SPC User Manual — MyTax, Lembaga Hasil Dalam Negeri Malaysia
- Leaving Country Withdrawal — Employees Provident Fund (KWSP/EPF)
- EPF Begins Mandatory Contributions For Non-Malaysian Citizen Employees Effective October 2025 — Employees Provident Fund (KWSP/EPF)
- Employment Pass — Expatriate Services Division, Immigration Department of Malaysia
This article is general information only, not legal, tax or immigration advice. Policies, thresholds and official fees are set by the relevant Malaysian authorities and may change. Talk to our consultants about your specific situation.