Nasi Lemak: Malaysia's National Dish, Made in a Rice Cooker

Nasi lemak served on a banana leaf: coconut rice with sambal, fried anchovies, peanuts, cucumber and a boiled egg
Prep
20 min
Cook
40 min
Total
1 hr
Serves
4 servings
Level
Beginner
Cuisine
Malaysian

Nasi lemak is Malaysia's national dish: coconut rice with sambal, crispy anchovies, peanuts, cucumber and egg, made in a rice cooker with homemade sambal.

Cooking flow

Cooking steps

STEP11 / 4

Cook the coconut rice

40 min

Rice cooking in a rice cooker with coconut milk and pandan leaves
The sweet scent of coconut milk and pandan drifts from the rice cooker. The ordinary white-rice setting is fine

Rinse 2 cups of rice and put them in the rice cooker's inner pot. Add 200 ml coconut milk, 200 ml water and 1/2 tsp salt, and stir lightly. Tie 2 pandan leaves in a knot and set them on the rice, then add 2 thin slices of ginger. Cook on the regular setting.

When it's done, check that the rice is plump with no hard center, remove the pandan leaves and ginger, and fluff it gently with a rice paddle. Close the lid and let it steam for 10 minutes so the coconut fragrance spreads through the rice.

Rice cooker tip

Coconut milk fat makes Japanese rice cookers boil over easily. Use slightly less liquid than usual (coconut milk plus water at about 95% of the normal amount) to prevent this. Wipe the inner lid right after cooking so the coconut smell doesn't carry over to the next batch.

STEP22 / 4

Make the sambal

20 min

Sambal frying in a pan; oil is starting to separate from the bright red paste
Sambal is done when the oil separates. Cook it slowly over low heat until it reaches this point

Remove the seeds from 8–10 dried red chilies and soak them in warm water for 10 minutes to soften. Drain, then process them in a food processor with 4 shallots, 3 cloves of garlic and 2 tbsp dried shrimp into a coarse paste.

Heat 3 tbsp vegetable oil in a frying pan over medium heat and add the paste. Cook over low to medium heat for 10–12 minutes, until the oil separates.

When the oil turns red and a film of oil floats on the surface of the paste (called "pecah minyak" in Malay, meaning "the oil splits"), add 1 tbsp tamarind paste, 1 tbsp sugar and 1/2 tsp salt and cook for 2 more minutes.

Adjusting the sambal's heat

Removing the chili seeds cuts the heat by more than half. If it's still too hot, reduce the chilies to 5 and add 1 tbsp paprika powder to keep the color. If you'd like more heat, leave the seeds in or add more chilies.

STEP33 / 4

Prepare the crispy fish (ikan bilis) and peanuts

10 min

Crispy stir-fried whitebait and roasted peanuts
Whitebait fried until crisp comes close to the texture of ikan bilis. Dry-roast the peanuts until fragrant

Heat 2 tbsp vegetable oil in a frying pan over medium heat and add 1.75 oz (50 g) whitebait. Stir-fry for 3–4 minutes until crisp. You're aiming for whitebait that has turned brown and snaps crisply when you pick it up with chopsticks.

In a separate pan (or the same pan, wiped out), dry-roast 1.75 oz (50 g) peanuts over low heat for 5 minutes. Keep shaking the pan so they don't burn, and remove from the heat when they turn light brown.

Thinly slice 1 cucumber and halve the 4 boiled eggs.

STEP44 / 4

Plate

3 min

Nasi lemak plated beautifully on a banana leaf, with rice in the center and accompaniments around it
The basic plating: rice in the center, sambal at 12 o'clock, and the accompaniments clockwise from there

If you have a banana leaf, lay it on the plate (it's fine without). Mound the coconut rice into a round, and arrange the sambal, crispy whitebait, roasted peanuts, 0.125 inch (2 mm) slices of cucumber and boiled egg around it.

Put the sambal beside the rice and mix it in little by little as you eat. The crunch of peanuts, the freshness of cucumber, the heat and sweetness of sambal and the rich scent of coconut rice. When these five come together in your mouth, you understand what nasi lemak is.

0 / 0
Ingredients

Ingredients

1 / 3

Coconut rice (nasi)

Ingredient Amount Substitutes & notes
Rice (Thai or jasmine) 2 cups (300 g) Japanese rice also works. Thai rice gives a looser, more authentic result. "Cup" here means the 180 ml rice-cooker cup
Coconut milk 200 ml Carton or can
Water 200 ml Together with the coconut milk, this makes the usual cooking liquid
Pandan leaves 2 Tie in a knot and put in the rice cooker. If you have none, substitute 2–3 drops of vanilla extract
Ginger (thinly sliced) 2 slices For flavor. Remove after cooking
Salt 1/2 tsp —
Where to find pandan leaves

Pandan leaf (screwpine) has a sweet fragrance and is called the "vanilla of Southeast Asian cooking." Frozen pandan leaves are available at Asian grocery stores and online. If you can't find any, 2–3 drops of vanilla extract come close. Some shops also sell pandan essence (a concentrated liquid).

2 / 3

Sambal (chili paste)

Ingredient Amount Substitutes & notes
Dried red chilies 8–10 Remove the seeds and soak in water for 10 minutes. Japanese takanotsume chilies work
Shallots 4 1/2 regular onion works
Garlic 3 cloves —
Dried shrimp 2 tbsp Tiny dried sakura shrimp work. Look in the Chinese or Asian grocery section
Tamarind paste 1 tbsp 1/2 tbsp pickled-plum (umeboshi) paste plus 1 tsp lemon juice also works
Sugar 1 tbsp —
Salt 1/2 tsp —
Vegetable oil 3 tbsp —
3 / 3

Accompaniments (condiments)

Ingredient Amount Substitutes & notes
Whitebait (shirasu-boshi), or small fish simmered in soy 1.75 oz (50 g) The authentic choice is ikan bilis (fried anchovies). Stir-frying dried whitebait in a pan until crisp gets a similar texture
Peanuts (unsalted) 1.75 oz (50 g) Dry-roast in a frying pan
Cucumber 1 Thinly sliced. Essential as a palate cleanser against the spicy sambal
Boiled eggs 4 Hard-boiled. Cut in half to serve
Vegetable oil (for frying) 2 tbsp For crisping the whitebait
0 / 0

It's 5 a.m. in Kuala Lumpur, and in a back alley that is still dark, motorbikes keep pulling up to a hawker stall. Their riders are buying nasi lemak before work, each portion a small triangular parcel wrapped in banana leaf. Inside is coconut rice with fiery sambal, crispy little fish, peanuts, cucumber and a boiled egg. Heat, sweetness, saltiness and toasty flavor all on one plate is what makes nasi lemak so appealing. This version brings Malaysia's national dish to a home rice cooker, using ingredients that are easy to find.

Nasi lemak, Malaysia's national dish

Nasi lemak wrapped in a banana leaf triangle, the traditional Malaysian takeaway style
Nasi lemak in the banana-leaf bungkus style. In Malaysia it's sold this way as breakfast

Nasi lemak translates from Malay as "fatty rice," but lemak here means the rich, mellow quality of coconut milk. The dish spread as a breakfast staple, and those banana-leaf parcels are still a familiar part of the Malaysian morning. Today you can eat it at lunch and dinner too, at restaurants as well as street stalls.

Breakfast in Malaysia and beyond

A breakfast scene at a Malaysian hawker stall with nasi lemak on display
At Malaysian hawker stalls, nasi lemak is lined up from 5 a.m.

Nasi lemak is also eaten in Singapore, where many ethnic Malays live, and in Indonesia's Riau province, the Riau Islands and Medan. In Singapore it's a breakfast staple too, sold at hawker centers and roadside stalls.

Within Malaysia, a multiethnic country home to Malays, indigenous peoples, Chinese, Indians and others, nasi lemak is eaten across all communities. What people serve with it, whether fried chicken, curry chicken or rendang, reflects their own tastes.

Fun fact

Part of the fun is that the accompaniments differ from place to place even under the same name, from street-stall parcels to hotel breakfasts.

The history of nasi lemak

Coconut-based dishes appear throughout Southeast Asia, and coconut milk is essential in Indonesian cuisine (in Japanese) as well. Nasi lemak itself originated in the 19th century among people living along the sea on the west coast of the Malay Peninsula, where coconuts and small fish were plentiful. It began as a simple breakfast to fill the bellies of working people, and in the 1970s some vendors went from house to house carrying it wrapped and ready.

Nasi lemak and other rice dishes

Other Southeast Asian rice dishes take a very different approach, such as nasi goreng or pad kra pao over rice. Closer to home, nasi kerabu, from the east-coast state of Kelantan, builds its plate by layering herbs, grilled fish and coconut sambal. And from the forests of Sarawak comes ayam pansuh, chicken steamed in bamboo with lemongrass and ginger, which has a very different character again.


Nasi lemak ingredients: coconut milk, pandan leaves, rice, lemongrass, whitebait, peanuts and chilies
Coconut rice is the star of nasi lemak. The sweet scent of pandan and the heat of sambal wake the body up in the morning

Ingredients (serves 4)

Nutrition (approximate, for one quarter of the batch)

Nutrient Per 1/4 of the recipe
Calories 520 kcal
Protein 18 g
Fat 22 g
Carbohydrates 2.25 oz (62 g)
Fiber 3 g
Sodium 680 mg
Allergy information

This dish contains egg, nuts (peanuts) and shellfish (dried shrimp). If you have a peanut allergy, leave the peanuts out. The dried shrimp can be omitted and the dish still works, but the sambal has a little less depth.

Choosing ingredients for nasi lemak

Coconut milk comes as "first press" and "second press," and its concentration varies by product. Cartons are easier to use up. If you're using a thick canned one, dilute it 1:1 with water to keep the rice from getting too heavy. Leftover coconut milk can be frozen; an ice-cube tray is handy.

Authentic ikan bilis are dried anchovies fried in oil. Japanese shirasu-boshi are the young of the same anchovy family, so stir-frying them in a pan until crisp gives a very similar texture and flavor. Like the sakura shrimp in pad thai, it's a dried ingredient that works well as a stand-in in Southeast Asian cooking.

Frozen banana leaves are sold at Asian grocery stores and online. They add fragrance and presentation but have little effect on flavor, so the dish is perfectly good without them.


Method

Nasi lemak is made in separate parts. Prepare the coconut rice, the sambal and the accompaniments individually, then assemble at the end. With a rice cooker the rice looks after itself, so you can prepare the sambal and accompaniments in the meantime.

Cooking nasi lemak without a rice cooker

Stovetop coconut rice

Soak the rice in water for 30 minutes, then add the coconut milk, water, pandan leaves and ginger. Bring to a boil over high heat, reduce to low, cover and cook for 15 minutes. Turn off the heat and let it steam for 10 minutes. Stir the bottom of the pot occasionally to prevent scorching.


Serving, storing and varying nasi lemak

Making parts ahead

Make-ahead parts for nasi lemak: sambal, crispy whitebait and peanuts in storage containers
Sambal and crispy whitebait keep in the refrigerator. The Malaysian way is to prepare ahead so that in the morning you only need to cook the rice

The Malaysian way is to prepare the sambal and crispy whitebait ahead and keep them in the refrigerator, so in the morning you only need to cook the rice. Coconut rice is best freshly cooked but is still good cold.

Sambal keeps for 2 weeks in the refrigerator or 2 months in the freezer, so it's worth making a double batch. Use the extra to season stir-fries, as a sauce for grilled fish, or as the flavor base for nasi goreng.

If you'd like something sweet after breakfast, a small slice of kuih lapis carries on the coconut fragrance.

Variations

Three variations of nasi lemak: rendang, fried chicken and squid sambal
The choice of accompaniments gives nasi lemak endless variations. Malaysian restaurants offer dozens of toppings

Fried chicken (nasi lemak ayam goreng). This is the most popular variation at Malaysian restaurants. Season chicken thighs with 1 tsp turmeric, 1/2 tsp salt and 1 clove of grated garlic, coat in potato starch, and fry in 170°C (340°F) oil for 8–10 minutes. Crisp chicken with sambal is more filling than breakfast needs to be.

Beef rendang (nasi lemak rendang). Rendang, beef simmered in spiced coconut, is another popular partner in Malaysia, and a ready-made rendang paste makes it easy at home. It needs 2 hours of simmering in a separate pot, so make it the day before.

A mild version for children. Skip the sambal and serve a sweet-savory sauce made from 2 tbsp ketchup and 1 tsp soy sauce. Coconut rice, crispy whitebait, peanuts and cucumber alone make a plate kids love.

Japanese-style. Cook the rice with ¾ cup (200 ml) soy milk instead of coconut milk, serve 2 tsp yuzu kosho (yuzu-chili paste) in place of the sambal, and use the whitebait as is. As with banh mi, blending in Japanese ingredients produces new flavors.


FAQ

Thai rice or Japanese rice?

Thai rice (jasmine rice) gives a more authentic result; its long, loose grains go well with coconut milk. Japanese rice works but comes out a little stickier and closer to porridge, so reduce the water by 10–15%.

Does it work without sambal?

Sambal is central to nasi lemak, and without it the dish becomes something else. If you don't like spicy food, substitute store-bought sweet chili sauce, or use fewer chilies in the sambal and add more sugar. Middle Eastern shakshuka and Turkish köfte are also useful references for adjusting heat.


Sources

  • National Heritage Board (Singapore), Roots, "Nasi Lemak" (19th-century west-coast origins; vendors going door to door in the 1970s. Accessed 22 October 2026)
  • MICHELIN Guide, "What Is Nasi Lemak?" (5 September 2024. Accessed 22 October 2026)
  • Wikipedia, "Nasi lemak" (meaning of the name, Winstedt's 1909 account, names in neighboring regions. Accessed 22 October 2026)