Traditional Malaysian Dinner: Nasi Lemak Recipe
In this article
The coconut rice in nasi lemak depends on a 1:1.5 ratio of rice to coconut milk, which gives grains that are rich but still separate. Too much coconut milk turns the rice gluey; too little leaves it dry and the sambal has nothing to cling to. The sambal itself is built on a paste of dried chillies, shallots and belacan fried slowly until the oil separates.
Coconut Rice and Sambal Base
Nasi lemak is the benchmark Malaysian dinner: coconut rice, a spoonful of sambal, crisp fried anchovies and peanuts, sliced cucumber, and a hard-boiled or fried egg. The rice and the sambal are the two components that decide whether the plate works. Cook the rice first, then use the same pot for the sambal while the rice rests.
Rice ingredients
- 400 g (2 cups) jasmine rice
- 600 ml (2 1/2 cups) coconut milk
- 100 ml (about 1/3 cup plus 1 tbsp) water
- 2 pandan leaves, tied in a knot (optional)
- 1 tsp salt
Sambal ingredients
- 15 dried red chillies, soaked in hot water 15 minutes and drained
- 6 shallots, peeled
- 3 garlic cloves
- 1 tbsp belacan (fermented shrimp paste)
- 3 tbsp cooking oil
- 1 tbsp tamarind paste mixed with 3 tbsp water
- 1 tbsp sugar
- 1/2 tsp salt
To finish
- 100 g (about 1 cup) dried anchovies (ikan bilis), rinsed and patted dry
- 100 g (about 2/3 cup) raw peanuts
- 2 eggs
- 1 cucumber, sliced
- Oil for frying
Prep the Rice and Paste
- Rinse the rice under cold water until the water runs mostly clear, about 3 rinses. Drain well.
- Put the rice, coconut milk, water, pandan and salt in a heavy pot. Bring to a boil over medium-high heat, about 5 minutes.
- Reduce heat to low, cover, and cook 15-18 minutes, until the liquid is absorbed and the rice is tender. Turn off the heat and leave covered 10 minutes. Fluff with a fork.
- While the rice cooks, blend the soaked chillies, shallots, garlic and belacan to a coarse paste. Add a splash of water only if the blades stick.
Fry the Sambal
- Heat the 3 tbsp oil in a wok or wide pan over medium heat. Add the paste and fry 8-10 minutes, stirring often, until it darkens and the oil separates at the edges.
- Stir in the tamarind water, sugar and salt. Cook 3-4 minutes more, until the sambal thickens and holds a line when you drag a spoon through it.
- Taste and adjust: more sugar for a rounder heat, more salt if the belacan is mild. The sambal should be thick enough to mound on the rice, not runny.
Frying the paste properly is the step that goes wrong most often. If the sambal tastes raw or bitter, it needed more time over lower heat, not more sugar. If it spits and darkens within 2 minutes, the heat is too high; pull the pan off, lower the flame and continue.
Fry Anchovies and Peanuts
- Heat 2 cm (about 3/4 inch) of oil in a small pan to 350F/175C. Fry the peanuts 2-3 minutes, until lightly golden. Lift out and drain on paper towels.
- Fry the anchovies 1-2 minutes, until crisp and just golden. Drain. They burn fast, so fry in small batches and keep the oil at 350F/175C.
- Boil the eggs 8-9 minutes, cool in cold water, then peel and halve. For fried eggs, fry in a little oil over medium heat 2-3 minutes, until the white is set and the yolk still soft.
Anchovies and peanuts can be fried up to 2 days ahead and kept in an airtight container at room temperature. Fry them fresh if you can; they lose their snap after a day.
Build the Plate
Mound the rice on a plate or banana leaf. Spoon 2-3 tbsp sambal over one side. Scatter a handful of anchovies and peanuts over the sambal, add cucumber slices and an egg half. Serve immediately while the rice is hot.
For a fuller dinner, add fried chicken or a piece of fried fish on the side. A simple cucumber and pineapple salad cuts the richness. Keep the sambal at the table so each person can add more.
Variations That Work
Pandan rice
Add 2 pandan leaves tied in a knot to the rice pot. Use the same liquid amounts; the leaves only perfume the rice. Remove before serving.
Less-sweet sambal
Reduce the sugar to 1 tsp and add 1 extra tbsp tamarind water. The sambal will taste sharper and more sour, which suits fish and vegetables.
Brown rice version
Swap in 400 g brown rice and increase the water to 200 ml (about 3/4 cup plus 1 tbsp), keeping the coconut milk at 600 ml. Cook 35-40 minutes, until the grains are tender, then rest 10 minutes.
Storage and Reheating
Cool leftovers within 2 hours of cooking. Store rice, sambal and toppings in separate airtight containers in the fridge. Perishable food should go into the refrigerator within 2 hours; discard anything left out longer. Do not leave rice or sambal at room temperature more than 2 hours (1 hour above 90F/32C).
Reheat rice and sambal to 165F/74C in a microwave or covered pan with a splash of water. Reheat only the portion you will eat. Do not refreeze reheated rice. Hard-boiled eggs keep 1 week in the fridge; peel them just before serving.
What to Check Before Serving
The rice should be fluffy, not wet: tilt the pot and no liquid should pool. The sambal should be thick and glossy with oil pooling at the edge. Anchovies should snap, not bend. If the rice is too wet, return it to low heat uncovered 3-5 minutes, stirring once. If the sambal is too hot, stir in 1 tbsp coconut milk off the heat. If the peanuts are soft, they were fried at too low a temperature; refry at 350F/175C for 1 minute.
For a dinner party, cook the sambal and fry the toppings the day before, then cook the rice fresh. The whole plate comes together in about 45 minutes if the sambal is made ahead, or about 1 hour from scratch.