Expat Tax · Malaysia
Malaysia Tax Guide for Foreign Freelancers
In Malaysia, staying longer actually reduces your tax rate. Here's why residency matters and how to benefit.
Malaysia is a top freelancer destination — great infrastructure, English widely spoken, and the DE Rantau digital nomad visa. But the tax system treats residents and non-residents very differently. Get the classification right and you could cut your tax bill dramatically.
Resident vs Non-Resident: The 182-Day Rule
| Status | Tax Rate | Tax Reliefs? |
|---|---|---|
| Resident (182+ days) | Progressive 0%–30% | Yes — individual, lifestyle, EPF, medical, education |
| Non-Resident (under 182 days) | Flat 24% on gross income | No reliefs or deductions |
The difference is stark. A non-resident earning RM 10,000/month pays a flat 24% (RM 28,800/year) with zero deductions. A resident with the same income can claim reliefs that may bring the effective rate below 10%. In Malaysia, staying longer is literally cheaper.
Foreign-Sourced Income: Currently Tax-Exempt
As of current rules, foreign-sourced income received by tax residents is exempt from tax until December 2026. If you're a Malaysia tax resident earning from overseas clients, that income may not be taxed — a significant advantage that makes Malaysia one of the most tax-friendly bases for international freelancers in Asia.
Non-residents are only taxed on Malaysian-sourced income. Foreign client income is generally not subject to Malaysian tax for short-term visitors.
MM2H and DE Rantau: Visa & Tax
If you're in Malaysia under MM2H or the DE Rantau digital nomad visa:
- 182+ days makes you a tax resident — progressive rates + full reliefs apply.
- Foreign-sourced income remains exempt through 2026.
- MM2H does not grant work rights for Malaysian clients — only foreign income.
- DE Rantau visa provides legal cover for remote work with foreign employers/clients.
Tax Reliefs for Residents
- Individual relief: RM 9,000
- Lifestyle: Up to RM 2,500 (IT equipment, internet, subscriptions — perfect for freelancers)
- EPF/voluntary pension: Up to RM 4,000
- Insurance: Up to RM 3,000
- Education: Up to RM 7,000
These reliefs stack, meaning a resident freelancer can reduce taxable income by RM 25,500+ before brackets even apply.
Key Takeaways
- Stay 182+ days to become a resident — progressive rates + reliefs beat the flat 24%.
- Foreign-sourced income is currently exempt for residents (through 2026).
- MM2H doesn't grant work rights for Malaysian clients.
- Claim all available reliefs — they stack and can dramatically reduce your effective rate.
- Use the expat toggle in our calculator to see both resident and non-resident rates.
Double Taxation Agreements
Malaysia has an extensive network of double taxation agreements with over 70 countries. These treaties can significantly reduce your tax burden — or help you avoid paying twice on the same income. Key provisions that affect freelancers include reduced withholding rates on interest and royalties, foreign tax credits, and tie-breaker rules for determining residency when both countries claim you.
| Treaty Country | Withholding Tax on Interest | Withholding Tax on Royalties |
|---|---|---|
| Singapore | 15% | 10% |
| United Kingdom | 15% | 8% |
| Australia | 15% | 10% |
| Japan | 15% | 10% |
| China | 10% | 10% |
| India | 15% | 10% |
| Indonesia | 15% | 8% |
| United States | 15% | 10% |
To claim treaty benefits as a foreign freelancer, you need a Certificate of Residence from your home country's tax authority. Withholding agents in Malaysia will apply the treaty rate if you provide this certificate before the payment is made. If you pay tax in Malaysia on income also taxed in your home country, claim a foreign tax credit on your Malaysian return (Form BE for residents) — the credit is the lower of Malaysian tax or foreign tax paid on the same income.
When both Malaysia and your home country claim you as a tax resident, the treaty's tie-breaker clause determines your residence based on four tests in order: permanent home, center of vital interests, habitual abode, and nationality. This matters because the foreign-sourced income exemption (through 2026) only applies to Malaysian tax residents — if the treaty assigns you to your home country, you lose this benefit.
Setting Up a Local Company
Many expat freelancers in Malaysia eventually consider incorporating. Here is what that involves and when it makes financial sense:
- Sdn Bhd (Private Limited): The most common structure for foreign-owned businesses. Requires at least one director (can be a foreigner with a valid work pass) and one shareholder. Minimum paid-up capital is RM 1 for most sectors, though regulated industries may require more.
- Registration costs: Setting up through a corporate secretarial firm costs RM 2,000–5,000. This includes SSM registration, Memorandum & Articles of Association, and initial compliance. Annual maintenance (audit, tax filing, secretarial services) runs RM 4,000–8,000.
- Tax rate advantage: The SME corporate tax rate is 15% on the first RM 150,000 of chargeable income — significantly lower than most individual tax brackets. For income between RM 150,001 and RM 600,000, the rate tiers up to 17%, then 24% above RM 600,000. Compare these rates with your personal marginal rate to see if incorporation saves you money.
- When to incorporate: Consider incorporating if your annual freelance income exceeds RM 200,000, you need to hire employees, or you want to build a local business brand. Below that threshold, staying as a sole proprietor is simpler, cheaper, and avoids audit requirements.
- Sole proprietor option: Registering as a sole proprietor with SSM costs RM 50–150 and requires no audit. You report income directly on your personal tax return (Form BE). This is the simplest and most cost-effective structure for freelancers earning under RM 300,000 per year.
Filing as a Foreigner
The Malaysian tax filing process for foreigners differs from local filers in several important ways:
- Tax ID registration: Foreigners register with the Inland Revenue Board (LHDN) by completing Form A and submitting it at the nearest LHDN office with your passport and visa. You receive a tax reference number — an SG number for residents or a non-resident reference number for short-term visitors.
- Filing forms: Residents file Form BE (employment income only) or Form B (business income, including freelancing). Non-residents file Form M. All forms are available in both Malay and English, and LHDN officers in major cities like Kuala Lumpur, Penang, and Johor Bahru speak English.
- E-filing via MyTax: Malaysia's e-filing portal supports English. You'll need your tax reference number and a PIN, which LHDN issues at registration. E-filing extends the deadline to May 15 (instead of April 30 for paper returns). The system auto-calculates your tax and tracks filing history.
- Deadlines: For residents with business income, the filing deadline is June 30 (e-filing) or April 30 (paper). Non-residents must file by April 30. Late filing penalties start at RM 200 and can reach RM 2,000 for persistent non-compliance.
- Professional help: Many Malaysian accounting firms cater specifically to expats. Fees for individual tax filing assistance range from RM 500–2,000. The Malaysian Institute of Accountants maintains a searchable directory of qualified practitioners, many with experience handling foreigner cases.
- Record keeping: Keep all invoices, receipts, and bank statements for 7 years. LHDN can audit returns up to 5 years after filing. Digital records are acceptable as long as they can be produced on request. Cloud-based expense trackers like Xero or QuickBooks simplify this considerably.
Social Security for Foreigners
Malaysia's social security system (SOCSO/PERKESO) and Employees Provident Fund (EPF) treat foreign workers and freelancers differently:
- SOCSO (Social Security Organization): Foreign employees working in Malaysia are required to contribute to SOCSO's Employment Injury Scheme. The rate is 1.25% of monthly wages, paid by the employer. This covers work-related injuries and occupational diseases. Foreigners are not covered by the Invalidity Pension Scheme unless they opt in voluntarily.
- EPF (Employees Provident Fund): Unlike Malaysian citizens, foreign workers are exempt from mandatory EPF contributions. This is a significant advantage — Malaysian employees contribute 11% of salary to EPF, which is locked until retirement. As a foreigner, you keep this 11% as take-home pay. You can choose to contribute voluntarily if you plan to stay long-term.
- Self-employed freelancers: If you are self-employed and not on a Malaysian payroll, neither SOCSO nor EPF contributions are required. This means you have no local social safety net. Private international health insurance and voluntary retirement savings through a home-country or international provider are strongly recommended.
- Health insurance: Malaysia does not require foreigners to hold health insurance for most visa types (unlike Thailand or Indonesia). However, the MM2H visa requires medical insurance. Private hospital care in Malaysia is excellent and affordable by international standards, but a serious medical event without insurance could be financially devastating.
- Totalization agreements: Malaysia has bilateral social security agreements with several countries including Singapore, Indonesia, and the UK. These help avoid double coverage. If you're from a country with an agreement, you may be exempt from SOCSO if you remain covered in your home country.
Repatriating Money
Malaysia has relatively liberal foreign exchange rules compared to neighbors like Indonesia or Vietnam, making money transfers straightforward:
- Receiving foreign income: Wise supports MYR and offers competitive exchange rates for USD-MYR conversions (0.5–1% above mid-market). SWIFT transfers to Malaysian banks cost RM 10–30 per incoming transfer. PayPal Malaysia charges approximately 3.5% in fees. Most freelancers receive payments via Wise for the best combination of speed and cost.
- Bank accounts for foreigners: Maybank, CIMB, and HSBC allow foreigners to open accounts. Requirements include passport, valid visa (MM2H, work permit, or DE Rantau), and proof of address. Non-residents can open accounts at most banks with a passport and valid social visit pass. HSBC offers multi-currency accounts that are particularly useful for freelancers earning in multiple currencies.
- No capital controls: Unlike many Asian countries, Malaysia has no significant restrictions on repatriating funds. You can freely transfer money abroad up to RM 5 million per transaction for residents, and up to the equivalent of your foreign income for non-residents. Amounts above these thresholds require supporting documentation from your bank.
- Tax on repatriation: For residents, foreign-sourced income received in Malaysia is currently tax-exempt through December 2026. This means you can bring your freelancing income into Malaysia without triggering tax. After 2026, this exemption may not be extended — monitor announcements from the Ministry of Finance.
- Forex management: The Malaysian ringgit has been relatively weak against USD and SGD in recent years. Consider holding a multi-currency account (HSBC or Wise) to receive payments in USD or EUR and convert to MYR only when needed. The ringgit is less volatile than the Indonesian rupiah or Vietnamese dong.
Visa Types and Tax Implications
The type of visa or pass you hold in Malaysia directly affects your ability to work and your tax residency status:
| Visa / Pass | Duration | Work Rights | Tax Impact |
|---|---|---|---|
| Tourist Visa / Social Visit Pass | 30–90 days | No work allowed | Non-resident — no Malaysian tax liability |
| DE Rantau (Digital Nomad) | 3–12 months, renewable | Remote work for foreign clients only | Resident if 182+ days, foreign income exempt through 2026 |
| Employment Pass (Category I–III) | 1–5 years | Work for sponsor employer | Resident — progressive rates, EPF optional |
| Professional Visit Pass | Up to 12 months | Specific project for foreign entity | Non-resident — flat 24% if Malaysian income |
| MM2H (Malaysia My Second Home) | 5 years, renewable | No local work (except limited investment activities) | Resident if 182+ days, foreign income exempt through 2026 |
| Premium Visa Programme (PVP) | 20 years | No local work, foreign income only | Resident if 182+ days, foreign income exempt through 2026 |
Key distinction for digital nomads: The DE Rantau visa is specifically designed for remote workers and explicitly permits earning from foreign clients while staying in Malaysia. This is different from MM2H or the Premium Visa, where the rules are more restrictive regarding what constitutes "work." DE Rantau holders should still track their stay days carefully — crossing the 182-day threshold triggers tax residency, which means you must file a Malaysian tax return (Form B or BE) even if your foreign income is currently exempt.
For Employment Pass holders: only the employer listed on your pass can sponsor your work. Freelancing on the side for other clients (even foreign ones) is generally not permitted under immigration rules. To legally freelance, the DE Rantau visa or a Professional Visit Pass are the appropriate channels.
Understanding Tax Residency — Beyond the Day Count
The 182-day rule is just the starting point for determining your Malaysian tax status. Both Malaysia and your home country consider deeper factors when determining where you are truly resident:
- The "tax home" concept: Your tax home is your main place of business or employment. For US expats claiming the Foreign Earned Income Exclusion, you must demonstrate that your tax home is in a foreign country — not just that you spent 330+ days abroad. If you maintain US client relationships, a US professional license, and US bank accounts, the IRS may argue your tax home remains in the US even if you spend most of the year in Kuala Lumpur.
- Center of vital interests: Under Malaysia's extensive DTA network, tie-breaker provisions look at where your personal and economic ties center. Factors include: family location, property ownership, bank accounts, professional affiliations, driver's license, voting registration, and social memberships. A freelancer whose spouse and children remain abroad while renting in Penang may successfully argue Malaysia is not their center of vital interests — keeping taxing rights with the home country.
- Permanent establishment risk: Even as a non-resident, maintaining a PE in Malaysia (a fixed place of business where you regularly work) can trigger Malaysian tax on your business income. A regular co-working desk you use daily, a home office in your rented condominium, or a local bank account used to receive Malaysian client payments could constitute a PE. The IRB (LHDN) is experienced in PE assessments and has won notable cases.
- Documenting your position: To protect your claimed status, keep: a travel log with exact entry and exit dates (immigration stamps), short-term rental agreements (not long-term leases), evidence of home-country business activities (contracts, professional licenses, client communications), home-country tax returns showing resident filing, and bank records showing where your income is primarily earned and spent. If audited, LHDN gives significant weight to factual documentation over stated intentions.
- The 60-day rule for non-residents: A lesser-known provision: if you are in Malaysia fewer than 60 days in a year, the law may treat you as having no Malaysian-sourced income at all for certain categories. This is a narrower exception primarily relevant to short-term business visitors rather than long-term digital nomads.
- CRS and information sharing: Malaysia has robust information exchange agreements under the Common Reporting Standard. If you claim non-resident status but maintain a long-term Malaysian lease, a Malaysian bank account with regular deposits, and spend 180+ days here, this inconsistency may trigger an LHDN inquiry. Be consistent in your filings across all jurisdictions.
Deductible Expenses for Freelancers
Claiming legitimate business deductions is essential for reducing your Malaysian tax bill. Here is what foreign freelancer residents can typically deduct on Form B:
- Home office expenses: A portion of your rent, utilities, internet, and maintenance can be deducted if you work from home. LHDN accepts claims based on the square footage of your dedicated office space vs total home area. Typically 20–30% of housing costs is reasonable for a one-bedroom unit used partly as an office. Keep your tenancy agreement and utility bills.
- Internet and phone: Full deduction for business internet plans and mobile phone bills. If you have a single line used for both business and personal, deduct 70–80% as business use. LHDN rarely challenges this percentage if you work full-time as a freelancer.
- Computer equipment and software: Laptops, monitors, printers, office furniture, and software subscriptions (Google Workspace, Adobe, Notion, etc.) are fully deductible. Under the tax rules, capital allowances (depreciation) apply to assets over RM 2,000 — typically 20% initial allowance plus 20% annual allowance for ICT equipment, meaning you can claim 40% in year one.
- Coworking space: Memberships at co-working spaces in KL, Penang, or Johor Bahru are fully deductible. Keep invoices. LHDN views this as a standard business expense for freelancers who don't have a dedicated office.
- Professional development: Course fees, conference tickets, professional certifications, and reference materials are deductible. This includes online courses on platforms like Coursera, Udemy, or specialized industry training.
- Travel and accommodation: Business travel — flights, hotels, car rental, and tolls — is deductible. Keep all receipts and note the business purpose. Meals while traveling for business are also deductible. LHDN requires detailed records for travel expenses, so maintain a simple log of each trip's purpose.
- Insurance premiums: Professional indemnity insurance, equipment insurance, and health insurance premiums for yourself (up to RM 3,000 for life/medical insurance relief) are deductible. If you have separate business insurance for your freelance activities, claim it as a business expense rather than under personal reliefs.
Lifestyle relief for freelancers: Don't forget the personal reliefs available to residents — up to RM 2,500 for lifestyle expenses (books, internet, gym, courses) and RM 9,000 individual relief. These stack with your business deductions. A resident freelancer earning RM 120,000/year can potentially reduce taxable income by RM 30,000+ through a combination of business deductions and personal reliefs.
Key Numbers at a Glance
| Item | Value |
|---|---|
| Residency threshold | 182 days in a calendar year |
| Non-resident tax rate | Flat 24% on gross Malaysian income |
| Resident tax-free threshold | RM 35,000/year (first bracket 0%) |
| Top resident rate | 30% (over RM 2M) |
| Foreign income for residents | Exempt through December 2026 |
| Standard individual relief | RM 9,000 (automatic) |
| Lifestyle relief cap | RM 2,500 (IT, internet, subscriptions) |
| Annual filing deadline (e-filing) | June 30 (business income) / May 15 (employment) |
| EPF for foreigners | Not mandatory — significant advantage |
| DE Rantau visa duration | 3–12 months, renewable |
| Tax treaties active | 70+ countries |
This guide covers general rules only. Malaysian tax law for foreigners is complex and subject to change. Consult a qualified tax professional for advice specific to your situation.
Fahmi
Freelance Software Engineer & Tax Researcher
Researching and maintaining freelance tax guides for 6 Asian countries based on official government regulations.