Managing employee exits is not only an HR task. It is also a tax compliance duty. When an employee resigns, passes away, or leaves Malaysia for more than three months, employers must take the right LHDN tax filing steps at the right time.
This Malaysia tax guide explains the employee tax forms employers need to know, including CP21, CP22, CP22A, and CP22B. It also covers when each form applies, filing deadlines, salary withholding rules, and the penalties for non-compliance.
For employers, getting these employee tax forms right helps reduce risk, avoid penalties, and ensure tax clearance is handled properly before releasing final payments.
Why employee tax forms matter in LHDN tax filing
LHDN requires employers to report specific employee events, particularly when tax clearance is required. These reporting obligations help the tax authority determine whether any outstanding tax is payable before an employee leaves employment or leaves Malaysia.
The key employee tax forms covered in this Malaysia tax guide are:
- CP22 for new employees
- CP22A for private sector employees who resign or pass away
- CP22B for public sector or government-related employees who resign or pass away
- CP21 for employees who leave Malaysia for more than three months
Each form serves a different purpose. Using the wrong form or filing late can expose the employer to penalties and tax liability.
Need a full checklist of employer tax forms, deadlines, and compliance rules? Read our 2026 Malaysia Employer Tax Guide: Forms and Compliance Employers Must Know.
CP22, CP22A, CP22B, and CP21 at a glance
Here is a simple breakdown of the main employee tax forms used in LHDN tax filing.
| Form | Purpose | Deadline | Submission Method |
| Form CP22 | New employee commencement | Within 30 days from the employee’s date of joining | MyTax Portal (e-CP22) |
| Form CP22A (Private Sector) / CP22B (Public Sector) | Employee resignation or death | Not less than 30 days before departure, or within 30 days after being informed of the death | MyTax Portal (e-SPC) |
| Form CP21 | Employee leaving Malaysia for more than 3 months | Not less than 30 days before the expected date of departure | MyTax Portal (e-SPC) |
When employers must file CP22 for new hires
Although this article focuses on resignation and leaving Malaysia, CP22 is part of the same compliance framework and can often be confused with other employee tax forms.
Employers must submit CP22 when a new employee joins the company. The filing must be made within 30 days of the employee’s entry into service. This LHDN tax filing is done through the MyTax Portal under e-CP22.
For employers building an internal Malaysia tax guide, CP22 should sit under onboarding compliance, while CP21, CP22A, and CP22B should sit under offboarding and tax clearance compliance.
When employers must file CP22A or CP22B for employee resignation or death
If an employee resigns or passes away, employers may need to submit CP22A or CP22B, depending on the type of employment.
Private sector employers use CP22A.
Government sector employers use CP22B.
These employee tax forms are important because LHDN may require the employer to hold back payments until the employee’s tax position is cleared.
CP22A for private sector employees
CP22A applies when a private sector employee leaves employment or passes away.
Employers must submit CP22A:
at least 30 days before the employee’s date of leaving, or within 30 days from the date the employer learns of the employee’s death.
In practice, CP22A is one of the most important employee tax forms in LHDN tax filing for final payroll and exit processing.
CP22B for government sector employees
CP22B applies in similar situations, but for government-related employment.
The timing is the same:
at least 30 days before leaving service, or within 30 days after the employer becomes aware of the death.
For compliance teams, CP22B should be treated with the same urgency as CP22A in any internal Malaysia tax guide.
When employers must file CP21 for employees leaving Malaysia
CP21 is used when an employee is leaving Malaysia for more than three months.
This is one of the most critical employee tax forms for internationally mobile staff, expatriates, and local employees relocating overseas.
Employers must submit CP21 at least 30 days before the employee’s expected departure date.
Submission is made through the MyTax Portal under e-SPC.
Key CP21 condition employers should not miss
CP21 is triggered when the employee is leaving Malaysia for more than three months and the employee’s annual income reaches the taxable threshold.
Where those conditions are met, the employer must report the departure and withhold amounts payable to the employee until LHDN issues the tax clearance outcome.
When CP22A becomes compulsory in LHDN tax filing
A resignation does not always mean the same tax treatment. CP22A becomes especially important where the employee’s annual income has reached the taxable threshold and one of the following applies:
- The employee receives gratuity or compensation upon leaving.
- The employer did not deduct the monthly PCB as required.
- The employee retires.
- The employee passes away.
In these cases, the employer must make the LHDN tax filing and withhold the relevant payments.
For many businesses, this is where employee tax forms become a real compliance issue. Final payroll, compensation, and tax clearance all connect at this point.
Malaysia Employer responsibilities after filing CP21, CP22A, or CP22B
Submitting the form is only part of the process. Employers also have follow-up duties.
1. Prepare the correct employee tax forms
The employer must first identify the correct form:
CP21, CP22A, or CP22B.
Using the wrong form can delay tax clearance and create issues in final payment processing.
2. Withhold all amounts payable to the employee
The employer must retain all monies due to the employee. This includes salary and compensation.
This withholding rule is a key part of LHDN tax filing for employee exits.
3. Keep the payment on hold for 90 days
Amounts payable to the employee must be withheld for 90 days.
This period gives LHDN time to review the employee’s tax position and issue the necessary clearance.
4. Wait for the Tax Clearance Letter
The employer must wait for LHDN to issue the Tax Clearance Letter before releasing the funds.
This step is central to the offboarding process in any proper Malaysia tax guide.
5. Refund any balance after clearance
Once the tax position is cleared, the employer can release or refund the relevant balance to the employee.
Penalty: What happens if an employer does not comply
Failure to comply with these employee tax forms requirements can lead to serious consequences.
If the employer fails to report a new hire, a resignation, a departure from Malaysia, or fails to withhold the required monies, the employer may face:
- A fine of RM200 to RM20,000
- Imprisonment of up to 6 months
- Or both
There is also a more serious financial consequence. The employer can become responsible for the employee’s unpaid tax.
Under the rules, the outstanding tax can be treated as a government debt. The authorities may recover it from the employer through civil action.
This is why accurate and timely LHDN tax filing is not only an administrative issue. It is a business risk issue.
CP21 vs CP22A vs CP22B: which form should employers use?
Many employers mix up these employee tax forms. The easiest way to separate them is by event.
Use CP21 when:
The employee is leaving Malaysia for more than three months, and the employee’s income reaches the taxable threshold.
Use CP22A when:
A private sector employee resigns, retires, receives compensation, or passes away.
Use CP22B when:
A government sector employee leaves service or passes away.
Use CP22 when:
A new employee joins the company.
If your payroll team handles both onboarding and offboarding, this distinction should be clearly documented in your internal Malaysia tax guide.
How to build a practical internal Malaysia tax guide for HR and payroll teams
A useful internal Malaysia tax guide should not only list the forms. It should also define the workflow.
Include these checkpoints:
- Identify whether the event is joining, resignation, retirement, death, or leaving Malaysia.
- Confirm whether the employee is in the private sector or the government sector.
- Check whether the employee’s income has reached the taxable threshold.
- Review whether gratuity, compensation, unpaid salary, or other final payments are involved.
- Submit the right employee tax forms within the deadline.
- Withhold payable sums where required.
- Track the 90-day holding period.
- Release payment only after the Tax Clearance Letter is issued.
A clear workflow reduces delays, prevents payroll errors, and improves LHDN tax filing accuracy.
FAQ on employee tax forms, CP21, CP22, CP22A, CP22B, and LHDN tax filing
Is CP22 for resignation?
No. CP22 is for new employees joining employment. For resignation, the relevant employee tax forms are usually CP22A for the private sector or CP22B for the government sector.
What is the difference between CP22A and CP22B?
CP22A applies to private sector employment. CP22B applies to government sector employment. Both relate to employees leaving service or passing away.
When is CP21 required?
CP21 is required when an employee is leaving Malaysia for more than three months, and the employee’s annual income reaches the taxable threshold.
Must employers withhold salary after filing CP21 or CP22A?
Yes. Employers must withhold all monies payable, including salary and compensation, and hold them for 90 days while waiting for tax clearance.
How are these forms submitted?
The LHDN tax filing is done through the MyTax Portal. CP22 is submitted through e-CP22. CP21, CP22A, and CP22B are submitted through e-SPC.
SME Alert. Prepare for Malaysia e-Invoice Enforcement Before 2028
In 2026, a major compliance risk for Malaysian SMEs is failing to prepare during the LHDN e-Invoice Phase 4 grace period. The relaxation period ends on 31 December 2027. Once enforcement begins on 1 January 2028, businesses can face fines of RM200 to RM20,000 for each e-invoice they fail to issue. To lower this risk, set up einvoicing software such as JomeInvoice early, so your submissions already run in real time when enforcement starts.
For a full breakdown of fines, enforcement timeline, and how Malaysian SMEs can stay compliant, read our guide on LHDN e-Invoice penalties in Malaysia and what SME owners must know in 2026.
From payroll compliance to e-invoicing
CP21, CP22, CP22A and CP22B are filed by HR and payroll through the MyTax Portal, and no e-invoicing software is involved. E-invoicing is the part of LHDN compliance that sits with your finance team. If that team handles high invoice volumes, JomeInvoice is middleware that custom-integrates your existing ERP or accounting system with MyInvois, and it is built mainly for larger enterprises. See how JomeInvoice works for enterprise finance teams.
Last updated: 10 November 2026 | Written by Ng Yinn Sheng, Head of Marketing
References
- LHDN, Employers: Notification of New Employees (Form CP22, e-CP22): hasil.gov.my
- LHDN, Employers: Notification of Cessation of Employment (Forms CP22A, CP22B and CP21, e-SPC): hasil.gov.my
- LHDN, Employers: Employer’s Responsibility (form deadlines and submission methods): hasil.gov.my
- LHDN, Legislation: Offences, Fines and Penalties: hasil.gov.my
- Income Tax Act 1967 (Act 53), text as at 21 May 2024: hasil.gov.my (official PDF)
- MyTax portal (LHDN), where e-CP22 and e-SPC are submitted: mytax.hasil.gov.my