Nasi Lemak with Sambal (Malaysian Coconut Rice with Anchovy Sambal)

cuisine
⏱ 75👨‍🍳 Medium💶 2.20☀ Day

↓ Jump to recipe

Malaysian coconut rice with a sweet-hot anchovy sambal, crisp ikan bilis, roasted peanuts, egg and cucumber. About 75 minutes, mostly gentle cooking.

A plate of coconut rice with sambal, fried anchovies, peanuts, boiled egg and cucumber.
In short

Nasi Lemak with Sambal (Malaysian Coconut Rice with Anchovy Sambal): Pandan coconut rice served with a cooked-down anchovy sambal, fried anchovies, roasted peanuts, boiled egg and cucumber. Contains peanuts, fish and shellfish (belacan).

Total time: 1 h 15 min·Serves: 4 servings·Difficulty: Medium·Cuisine: Malaysian

Why it works

  • Rice steamed in coconut milk. Fat from the coconut coats each grain, so the rice stays separate and fragrant instead of sticky.
  • Pandan and ginger in the pot. Pandan adds a grassy, vanilla-like aroma; ginger keeps the coconut from tasting flat or cloying.
  • Sambal fried until the oil separates. Cooking the chili paste slowly drives out water and deepens the flavor from raw and sharp to sweet, smoky and savory.
  • Crunch on the side. Fried anchovies, roasted peanuts and cucumber give the creamy rice and rich sambal something sharp and crisp to play against.

Nasi lemak, literally fatty rice, is Malaysia’s unofficial national breakfast: coconut rice with a spicy-sweet sambal, crisp anchovies, peanuts, egg and cucumber. It is sold from banana-leaf parcels at street stalls and eaten at all hours. This guide follows the home-style combination from Malaysian cuisine, with the sambal as the star.

The recipe has a few components, but each one is simple. Cook the rice with the right grain by checking our rice varieties guide.

A plate of coconut rice with sambal, fried anchovies, peanuts, boiled egg and cucumber.
DayNightCook Kitchen

Nasi Lemak with Sambal (Malaysian Coconut Rice with Anchovy Sambal)

Pandan coconut rice served with a cooked-down anchovy sambal, fried anchovies, roasted peanuts, boiled egg and cucumber. Contains peanuts, fish and shellfish (belacan).
Prep Time 30 minutes
Cook Time 45 minutes
Total Time 1 hour 15 minutes
Servings: 4 servings
Course: Breakfast, Main Course
Cuisine: Malaysian
Calories: 690

Ingredients
  

For the coconut rice
  • 300 g jasmine rice, rinsed until the water runs clearer (1 1/2 cups)
  • 250 ml coconut milk (1 cup)
  • 250 ml water (1 cup)
  • 2 pandan leaves, tied in a knot
  • 3 slices fresh ginger
  • 1/2 tsp salt
For the sambal
  • 10 dried red chilies, seeded and soaked in hot water 15 min
  • 4 shallots, peeled
  • 3 garlic cloves
  • 1 tsp belacan (shrimp paste), toasted (1 cm cube)
  • 80 ml neutral oil (1/3 cup)
  • 1 large onion, sliced into rings
  • 2 tbsp tamarind pulp mixed with 60 ml water, strained
  • 1 tbsp sugar
  • 1 tsp salt
To serve
  • 50 g dried anchovies (ikan bilis), rinsed and dried (1/2 cup)
  • 60 g roasted peanuts (1/2 cup)
  • 4 eggs, hard-boiled
  • 1 cucumber, sliced

Equipment

Method
 

Coconut rice
  1. Put the rice, coconut milk, water, pandan, ginger and salt in a pot. Bring to a gentle simmer over medium heat, stirring once.
  2. Cover, reduce to the lowest heat, and cook 15 min, until the liquid is absorbed. Rest 10 min covered, then remove the pandan and ginger and fluff.
Sambal
  1. Blend the soaked chilies, shallots, garlic and toasted belacan into a thick paste, adding 1 to 2 tbsp of soaking water if needed.
  2. Heat the oil in a skillet over medium-low heat. Fry the paste 12 to 15 min, stirring, until the oil separates and the paste turns deep red-brown.
  3. Stir in the onion, tamarind liquid, sugar and salt. Simmer 10 min until the onion is soft and the sauce is glossy. Taste and adjust sugar and salt.
Sides
  1. Cover the eggs with cold water, boil for 10 min, then cool in cold water and peel.
  2. Fry the anchovies in 3 tbsp oil over medium heat for 3 to 4 min until golden and crisp. Drain on paper towels.
  3. Serve the rice with sambal, anchovies, peanuts, egg halves and cucumber.

Notes

Contains peanuts, fish (anchovies), shellfish (belacan), egg and tamarind. Wear gloves when handling dried chilies. Cook eggs fully. Refrigerate leftover rice within 1 hour.

🔥 DayNightCook Chef’s Secrets

  1. Technique: fry the sambal paste over medium-low heat for 12 to 15 minutes until the oil floats to the surface and the paste turns deep red-brown. This is what Malaysian cooks call pecah minyak; it shows the water has cooked out and the chili has lost its raw edge.
  2. Avoid this: adding the coconut milk to cold rice or boiling it hard. Coconut fat can split at a rolling boil and the rice turns greasy. Bring the pot to a gentle simmer, then drop to the lowest heat.
  3. Pro move: toast the shrimp paste (belacan) in a dry pan until it smells strongly savory before pounding it into the sambal. Heat mellows its raw sulfur edge and unlocks its umami.

☀ Day version and ☾ Night version

☀ Day version (about 50 min): use a rice cooker for the coconut rice and make the sambal in a blender. Buy ready-fried anchovies and roasted peanuts. A jar of good sambal tumis saves 30 minutes, though the flavor will be less layered than the homemade version.

☾ Night version: add sambal prawns or fried chicken, serve on banana leaf, and finish with a fried egg with lacy edges. Pair with teh tarik, iced calamansi or lime, or a cold jasmine tea.

Substitutions

  • Pandan: frozen pandan leaves work well. Without them, add a few drops of pandan extract or a bay leaf for a different but pleasant aroma.
  • Belacan: miso with a splash of fish sauce is a distant stand-in for the savory depth, though the flavor differs. Our umami seasonings guide explains the options.
  • Dried chilies: use milder varieties to lower the heat; see the chili heat guide.
  • Coconut milk: use full-fat canned milk; light versions make the rice less rich.

Common mistakes

  • Mushy rice: too much liquid or stirring while it cooks. Measure carefully and keep the lid on; our rice troubleshooting guide helps.
  • Raw, harsh sambal: the paste was not fried long enough. Wait for the oil to separate before adding tamarind.
  • Soft anchovies: damp fish or too-cool oil. Dry them well and fry until they stop sizzling loudly. See deep-frying safety.

Variations

Stalls often add fried chicken, rendang, sambal squid or cockles, and some serve the rice with a fried egg instead of a boiled one. The anchovy-and-onion sambal here is the classic version, while sambal prawn and sambal sotong are popular upgrades. They are regional and modern variations, not part of the minimal dish.

Storage and reheating

Cool rice within 1 hour and refrigerate in a sealed container for up to 1 day, since rice can carry bacteria that survive cooking. The sambal keeps 4 days in the fridge. Reheat rice with a splash of water until steaming hot at 74 °C (165 °F). See cooling and reheating leftovers.

What to serve with it

A glass of teh tarik or iced lime goes well. For a bigger spread, add fried chicken or a vegetable stir-fry. More ideas appear under breakfast and family meal.

Origin and authenticity

Nasi lemak is widely regarded as Malaysia’s national dish and appears across Malaysia, Singapore and parts of Indonesia. The name means rich or fatty rice, referring to the coconut milk. Its exact origin is uncertain; it is often described as a Malay peasant meal sold wrapped in banana leaf, but the early history is not well documented. The sambal, anchovies, peanuts and egg are the standard components, while chicken, rendang and seafood are later or regional extras. Authenticity: Traditional

FAQ

What is nasi lemak?

A Malaysian dish of coconut rice served with sambal, crisp anchovies, peanuts, egg and cucumber.

Is nasi lemak spicy?

The sambal is sweet, savory and moderately hot. Use fewer or milder dried chilies for less heat.

Can I make nasi lemak without belacan?

Yes, but the sambal will taste less deep. A little miso and fish sauce are weak substitutes.

Does nasi lemak contain peanuts?

Yes, and also anchovies and shrimp paste. Check allergens before serving.

Can I cook the rice in a rice cooker?

Yes. Use the same rice, coconut milk and water ratio with pandan and ginger, and use the white rice setting.

Sources

  • Alan Davidson, The Oxford Companion to Food (Oxford University Press)
  • Harold McGee, On Food and Cooking (Scribner, 2004) — rice, fats and food science
  • USDA FSIS — safe rice and egg handling
  • USDA FoodData Central — nutrition estimate
II
About the author
Ivan Ivanov
Founder ofSupreme CommerceGiantParts

Ivan Ivanov is the founder of Supreme Commerce OOD and editor-in-chief of DayNightCook. He chooses the dishes and topics and reviews the recipes and guides before they go live. Recipes are researched from published cookbooks, food-history sources and official food-safety guidance (USDA, EFSA, UK FSA), and every recipe lists its sources. Some content is prepared with the help of AI tools and checked under our AI Transparency Policy.

Clear steps, real sources, food that works at home

  • Sources under every recipeCookbooks, food history and official food-safety guidance
  • Metric and clear timingsGrams, millilitres and real cooking times
  • Honest about authenticityEach recipe notes how close it is to the original
Cooked it? Rate itYour stars help other cooks choose what to makeBe the first to rate this recipe