Palm sugar is one of those ingredients that can quietly change the whole flavour of a dish. It brings sweetness, depth and a warm caramel-like taste that works beautifully in Asian desserts, sauces, curries and drinks.
If you have seen palm sugar, gula melaka or coconut sugar in a recipe and wondered whether they are the same thing, this guide explains it clearly.

Definition Box
| Item | Details |
|---|---|
| Ingredient | Palm sugar |
| Common names | Gula melaka, gula jawa, nam tan pip, jaggery in some regions |
| Source | Sap from palm trees, often coconut palm or sugar palm |
| Texture | Blocks, discs, paste, granules or syrup |
| Flavour | Caramel, toffee, smoky, slightly earthy |
| Uses | Desserts, sauces, curries, drinks, marinades |
| Storage | Keep sealed in a cool, dry place |
What Is Palm Sugar?
Palm sugar is a natural sweetener made from the sap of palm trees. The sap is collected, heated and reduced until it thickens, then shaped into blocks, discs, paste, granules or syrup.
It is widely used across Southeast Asian and South Asian cooking. In Malaysia, one of the best known forms is gula melaka, a dark and fragrant palm sugar often used in desserts such as ondeh-ondeh, sago pudding, cendol and coconut milk sweets.
Palm sugar is loved for its deep flavour. It does not taste as sharp as plain white sugar. It has a rounded sweetness with caramel, toffee and smoky notes.

What Is Gula Melaka?
Gula melaka is a Malaysian style palm sugar that is often made from coconut palm sap. It is usually sold in cylindrical blocks, discs or syrup form. It has a dark brown colour and a rich aroma.
In Malaysian desserts, gula melaka is often melted into syrup and paired with coconut milk, pandan, glutinous rice, sago, shaved ice or steamed cakes.
Popular uses for gula melaka
- Cendol
- Sago pudding
- Onde-onde
- Kueh and steamed cakes
- Coconut milk desserts
- Pandan drinks and syrups
Palm Sugar vs Brown Sugar
Palm sugar and brown sugar are both used for sweetness, and they have different flavour profiles.
| Sweetener | Source | Flavour | Best uses |
|---|---|---|---|
| Palm sugar | Palm tree sap | Caramel, smoky, earthy, rounded | Asian desserts, curries, sauces, drinks |
| Brown sugar | Sugar cane or beet sugar with molasses | Sweet, molasses-like | Baking, biscuits, cakes, sauces |
Brown sugar can work as a palm sugar substitute in some recipes, especially baking and sauces. For Malaysian, Thai and Indonesian desserts, palm sugar or gula melaka gives a more traditional flavour.
Coconut Sugar vs Palm Sugar
Coconut sugar is made from the sap of coconut palm flowers. Palm sugar can refer to sugar made from several types of palm trees, depending on the country and producer.
In many shops and recipes, the names are sometimes used loosely. This is why it helps to check the ingredient label. If the product says coconut palm sugar, it usually comes from coconut palm sap. If it says palm sugar, it may come from sugar palm, palmyra palm, coconut palm or another palm source.
Quick comparison
- Coconut sugar: often sold as granules, with a caramel taste.
- Gula melaka: often sold as blocks or syrup, with a darker and richer aroma.
- Palm sugar: a broader term that can cover several palm-based sugars.
How Is Palm Sugar Made?
Palm sugar begins as sap collected from palm flowers or palm stems, depending on the type of palm. The sap is heated slowly to remove water. As it thickens, it becomes a syrup. It can then be poured into moulds to form blocks or cooled into granules.
This simple processing helps retain the ingredient’s natural colour and flavour. The final taste depends on the palm variety, cooking time and production method.

How to Use Palm Sugar in Cooking
1. Desserts
Melt palm sugar into syrup and drizzle it over sago pudding, cendol, shaved ice, coconut jelly or glutinous rice desserts.
2. Sauces
Add a small amount to dipping sauces, peanut sauce or tamarind-based sauces to balance salty, sour and spicy flavours.
3. Curries
Thai and Malaysian curries often use palm sugar to round out heat, saltiness and aromatics.
4. Drinks
Use gula melaka syrup in iced coffee, milk tea, pandan drinks or coconut milk drinks.
5. Marinades
Mix palm sugar with soy sauce, garlic, ginger and sesame oil for a glossy marinade.
How to Melt Palm Sugar or Gula Melaka
Block palm sugar can be hard, so melting it properly makes cooking much easier.
- Chop, shave or grate the palm sugar into smaller pieces.
- Add it to a small saucepan with a little water.
- Heat gently over low to medium heat.
- Stir until fully dissolved.
- Simmer for a few minutes if you want a thicker syrup.
- Strain if needed to remove small solids.
A simple starting ratio is 1 cup chopped palm sugar to 1 cup water. For thicker syrup, simmer longer until it reduces slightly.

Palm Sugar Substitute Options
If a recipe calls for palm sugar and you do not have it, these options can help:
- Brown sugar: good for baking, sauces and marinades.
- Coconut sugar: suitable for many recipes that need caramel flavour.
- Maple syrup: useful in drinks and sauces, though it changes the texture.
- Dark brown sugar with a little molasses: closer in depth for rich desserts.
For classic Southeast Asian desserts, gula melaka or palm sugar gives the most familiar flavour.
How to Store Palm Sugar
- Keep it in an airtight container.
- Store in a cool, dry pantry.
- Keep away from moisture, as it can soften or clump.
- For syrup, refrigerate after opening or after making it at home.
If block palm sugar becomes too hard, grate it before use or soften it gently with a small amount of warm water.
Where to Buy Palm Sugar in Australia
Palm sugar, gula melaka and coconut sugar are easier to use when you can choose the right format for your recipe. Blocks are great for traditional desserts. Syrup is handy for drinks. Granules are practical for everyday cooking.
Asian Pantry stocks a range of Asian pantry staples for Australian households, including sugars, sauces, rice, noodles and dessert ingredients.
Browse Asian pantry essentials:
Shop palm sugar at Asian Pantry
Frequently Asked Questions
What is palm sugar made from?
Palm sugar is made from the sap of palm trees. The sap is collected, boiled down and formed into blocks, granules, paste or syrup.
Is gula melaka the same as palm sugar?
Gula melaka is a type of palm sugar commonly used in Malaysia. It is often made from coconut palm sap and has a dark colour with a rich caramel aroma.
Can I substitute brown sugar for palm sugar?
Yes. Brown sugar can be used as a palm sugar substitute in many recipes, especially sauces and baking. Gula melaka gives a more traditional flavour in Southeast Asian desserts.
Is coconut sugar the same as palm sugar?
Coconut sugar is made from coconut palm sap. Palm sugar is a broader term that can refer to sugar from several palm trees. Always check the ingredient label.
How do I melt gula melaka?
Chop or grate gula melaka, then heat it gently with a little water until dissolved. Simmer longer for a thicker syrup and strain if needed.

