Nasi lemak is Malaysia’s beloved national dish: fragrant coconut rice served with sambal (chili paste), crispy anchovies, roasted peanuts, cucumber, and a hard-boiled egg. This recipe breaks down every ingredient you need, from the rice to the sambal, so you can build an authentic plate at home. It works because each component balances the others—rich, spicy, salty, and fresh—creating a satisfying meal any time of day.
Ingredients
- 2 cups (370 g) long-grain jasmine rice, rinsed and drained
- 1 can (13.5 oz / 400 ml) coconut milk
- 1 cup (240 ml) water
- 2 pandan leaves, knotted (optional but traditional)
- 2 lemongrass stalks, bruised
- 1 thumb-size piece ginger, sliced
- 1 tsp salt
- For the sambal:
- 10 dried red chilies, soaked in hot water for 10 minutes, then drained
- 5 shallots, peeled
- 3 cloves garlic, peeled
- 1 tbsp tamarind paste mixed with 3 tbsp water, strained
- 2 tbsp cooking oil
- 1 tsp sugar (or more to taste)
- Salt to taste
- For the toppings:
- 1 cup (50 g) dried anchovies (ikan bilis), rinsed
- 1 cup (140 g) roasted peanuts (unsalted or lightly salted)
- 1 cucumber, sliced into rounds
- 4 hard-boiled eggs, peeled and halved
- Optional: fried chicken, fried fish, or beef rendang for a fuller meal
Instructions
- Cook the rice: In a rice cooker or heavy pot, combine the rinsed rice, coconut milk, water, pandan leaves, lemongrass, ginger, and salt. If using a rice cooker, turn it on and cook until done. If using a pot, bring to a boil over medium heat, then reduce to low, cover, and simmer for 15–18 minutes until the liquid is absorbed. Remove from heat and let sit, covered, for 10 minutes. Fluff with a fork and discard the pandan, lemongrass, and ginger.
- Make the sambal: While the rice cooks, blend the soaked chilies, shallots, and garlic into a smooth paste using a food processor or blender, adding a little water if needed.
- Heat the oil in a skillet over medium heat. Add the chili paste and cook, stirring frequently, for 5–7 minutes until the raw smell disappears and the paste darkens slightly.
- Stir in the tamarind water, sugar, and salt. Cook for another 3–4 minutes until the sambal thickens and the oil starts to separate. Taste and adjust seasoning—it should be spicy, tangy, and slightly sweet. Set aside.
- Fry the anchovies: In a dry skillet over medium heat, toast the dried anchovies for 3–4 minutes until crispy. Alternatively, shallow-fry them in a little oil for 2–3 minutes. Drain on paper towels.
- Assemble the plates: Place a generous scoop of coconut rice on each plate. Add a spoonful of sambal on the side, then top with crispy anchovies, roasted peanuts, cucumber slices, and a hard-boiled egg half. Serve immediately.
Tips
- Substitutions: If you can’t find pandan leaves, use a few drops of vanilla extract or simply omit them—the rice will still be fragrant from the coconut milk and lemongrass. Dried anchovies can be replaced with fried shallots or omitted for a vegetarian version (use soy sauce or fish sauce substitute in the sambal).
- Storage: The sambal keeps well in an airtight container in the fridge for up to a week. The rice is best eaten fresh, but you can refrigerate leftovers and reheat gently with a splash of water.
- Common mistakes: Don’t overcook the rice—it should be fluffy, not mushy. Use fresh coconut milk if possible; canned is fine but avoid “lite” versions, which make the rice less rich. Also, don’t skip soaking the dried chilies—it softens them and makes blending easier.
- Make it ahead: You can prepare the sambal and fry the anchovies a day in advance. Store them separately and assemble just before serving.
Serving Suggestions
Serve nasi lemak as a complete breakfast, lunch, or dinner. It’s traditionally eaten with a spoon and fork, mixing the sambal into the rice. For a heartier meal, add fried chicken, fried fish, or beef rendang on the side. A side of keropok (shrimp crackers) adds crunch. Pair with a cup of hot teh tarik (pulled milk tea) or iced lemon tea.
Variations
- Vegetarian: Omit the anchovies and add extra fried tofu or tempeh. Use a vegetarian sambal with soy sauce instead of fish sauce.
- Spicy level: Reduce the number of dried chilies to 5–6 for a milder sambal, or add a fresh bird’s eye chili for extra heat.
- Rice alternatives: Brown jasmine rice works but needs more water and a longer cooking time. For a fragrant twist, add a few slices of galangal or a cinnamon stick to the rice.
- Regional styles: In Malaysia, some versions include fried chicken, while others add a side of sambal udang (prawn sambal). You can also swap the hard-boiled egg for a fried egg with a runny yolk.
Storage and Reheating
Store leftover rice and sambal separately in airtight containers. The rice will keep in the fridge for up to 3 days; the sambal for up to a week. To reheat rice, sprinkle with a little water and microwave for 1–2 minutes, or reheat in a pan with a splash of coconut milk. The sambal can be reheated in a small saucepan over low heat. Crispy anchovies and peanuts lose their crunch when stored; keep them in a separate container at room temperature for up to 2 days, and re-crisp in a dry pan for a minute if needed.
Frequently Asked Questions
Can I use regular rice instead of jasmine? Yes, but jasmine rice is traditional and has the right fragrance. Long-grain rice like basmati will work, but the texture may be slightly different.
What if I can’t find pandan leaves? You can omit them or use a drop of vanilla extract as a substitute. The rice will still be delicious, just slightly less aromatic.
Is nasi lemak spicy? The sambal is spicy, but you can control the heat by adjusting the number of chilies. Start with fewer and add more to taste.
Can I make the sambal in advance? Absolutely. It actually tastes better the next day as the flavors meld. Store it in the fridge and reheat gently.
What can I use instead of dried anchovies? If you can’t find them, you can use fried shallots for a similar salty crunch, or omit them entirely for a vegetarian version.
How do I get the rice to be fluffy? Rinse the rice thoroughly until the water runs clear to remove excess starch. Also, let the rice rest for 10 minutes after cooking before fluffing.
Related
- Calories in Taquitos: Count, Compare, and Cook
- Chicken Curry and Naan: Easy Weeknight Recipe
- Bicol Express Food Truck Recipe: Spicy Pork Stew
More recipes to cook
Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes
Spotted an error? Tell us and we will correct it (corrections policy).