Nasi lemak is Malaysia’s national dish: fragrant rice cooked in coconut milk and pandan leaf, served with a spicy sambal, crispy anchovies, roasted peanuts, cucumber, and a boiled egg. It’s a complete meal in one plate—creamy, spicy, salty, and crunchy—that works for breakfast, lunch, or dinner. This recipe builds the classic version from scratch, with a sambal that’s deeply savory and just sweet enough to balance the heat.
Ingredients
- 2 cups (370 g) long-grain jasmine rice, rinsed and drained
- 1 ½ cups (360 ml) coconut milk (full-fat, from a can)
- 1 cup (240 ml) water
- 2 pandan leaves, knotted (or 1 tsp pandan extract)
- 2 slices fresh ginger (about ¼ inch / 6 mm thick)
- 1 tsp salt
- For the sambal: 10 dried red chilies, soaked in hot water for 15 minutes, drained
- 4 shallots, peeled
- 3 cloves garlic, peeled
- 1 tbsp belacan (dried shrimp paste) (optional, but traditional)
- 2 tbsp (30 ml) vegetable oil
- 1 small onion, thinly sliced
- 2 tbsp (25 g) palm sugar (or brown sugar)
- 1 tsp tamarind paste mixed with 3 tbsp (45 ml) water
- Salt to taste
- For the toppings: 1 cup (50 g) dried anchovies (ikan bilis), rinsed
- ½ cup (75 g) roasted peanuts
- 1 cucumber, sliced into rounds
- 4 large eggs, boiled and peeled
Instructions
- Cook the rice: In a rice cooker or heavy saucepan, combine the rinsed rice, coconut milk, water, pandan leaves (if using extract, add it now), ginger, and salt. Stir well. Cook according to your rice cooker’s settings, or on the stovetop: bring to a boil, cover, reduce heat to low, and simmer for 15–18 minutes until liquid is absorbed. Turn off heat and let sit, covered, for 10 minutes. Fluff with a fork before serving.
- Make the sambal: While the rice cooks, place the soaked chilies, shallots, garlic, and belacan (if using) in a food processor. Blend into a smooth paste, adding a splash of water if needed.
- Heat the vegetable oil in a skillet over medium heat. Add the sliced onion and cook until soft and translucent, about 3 minutes. Add the chili paste and cook, stirring frequently, until the paste darkens and the oil starts to separate, about 8–10 minutes. This step is key to developing flavor.
- Stir in the palm sugar and tamarind water. Season with salt to taste. Simmer for another 5 minutes until the sambal thickens into a jam-like consistency. Remove from heat and set aside.
- Prepare the toppings: In a small dry skillet over medium heat, toast the dried anchovies until crisp, about 3–4 minutes, shaking the pan often. Set aside. (If you prefer them less dry, you can fry them in a little oil for 2 minutes.)
- Boil the eggs: place them in a saucepan, cover with cold water, bring to a boil, then simmer for 8 minutes for hard-boiled. Drain, cool under cold water, and peel.
- Assemble: Place a scoop of coconut rice on each plate. Add a generous spoonful of sambal on the side. Arrange the anchovies, peanuts, cucumber slices, and a halved boiled egg on the plate. Serve immediately.
Tips
- Substitutions: If you can’t find pandan leaves, use a few drops of pandan extract or simply omit—the rice will still be fragrant from the coconut milk. Belacan can be replaced with a teaspoon of fish sauce added to the sambal, though the flavor will be slightly less complex.
- Don’t skip the sambal cooking time: The sambal needs to cook until the oil separates; this removes the raw chili taste and deepens the flavor. Be patient—it’s the heart of the dish.
- Rice consistency: For fluffier rice, rinse it well until the water runs clear before cooking. This removes excess starch and prevents gummy rice.
- Adjusting heat: If you prefer a milder sambal, remove the seeds from the dried chilies before soaking. For extra heat, add a fresh bird’s eye chili to the paste.
Serving Suggestions
Nasi lemak is traditionally served on a banana leaf or a plate lined with one. For a full meal, add a piece of fried chicken, beef rendang, or a fried egg on top. It’s also wonderful with a side of stir-fried water spinach (kangkung) or a simple cucumber salad. In Malaysia, it’s often eaten for breakfast with a cup of hot kopi (coffee with condensed milk).
Variations
- Vegetarian: Skip the anchovies and belacan. Add extra roasted peanuts and a fried tofu or tempeh. Use a vegetarian sambal with a little soy sauce for umami.
- Seafood: Add a few grilled shrimp or a piece of fried fish on the side. The sambal pairs beautifully with seafood.
- Chicken rendang: Serve the rice with a rich, dry chicken rendang instead of the usual toppings. This is a festive variation popular for celebrations.
- Modern twist: Some versions include a fried egg with a runny yolk, which mixes into the rice and sambal. You can also add a slice of tomato or a few sprigs of fresh herbs like cilantro.
Storage and Reheating
Store the rice, sambal, and toppings separately in airtight containers. The rice will keep in the refrigerator for up to 3 days; the sambal for up to 5 days. Anchovies and peanuts should be stored at room temperature in a sealed container to stay crisp, but they will soften after a day—refresh them in a dry skillet for 2 minutes before serving. To reheat, microwave the rice with a splash of water for 2 minutes, or steam it on the stovetop. Reheat the sambal in a small pan over low heat. The boiled eggs can be stored in the fridge for up to a week.
Frequently Asked Questions
Can I use regular rice instead of jasmine? Yes, but jasmine rice has a floral aroma that complements the coconut milk. If using a different long-grain rice, adjust the liquid ratio according to the package instructions.
Is nasi lemak very spicy? The heat level depends on the chilies you use. Dried chilies are moderately spicy; if you’re sensitive, remove the seeds or use fewer chilies. The palm sugar and coconut milk help balance the heat.
Can I make the sambal ahead of time? Absolutely. The sambal actually tastes better the next day after the flavors meld. Store it in a jar in the fridge for up to a week.
What is belacan and can I skip it? Belacan is a fermented shrimp paste with a strong, pungent aroma. It adds depth to the sambal. If you can’t find it or prefer not to use it, you can omit it, but the sambal will be less complex. A splash of fish sauce is a good substitute.
Why is my rice too sticky or too dry? Sticky rice usually means too much water or not rinsing well. Dry rice means too little water or overcooking. Follow the ratio of 1:1.5 (rice to liquid) and let it rest after cooking to absorb any remaining moisture.
Can I freeze nasi lemak? Yes, you can freeze the rice and sambal separately for up to 2 months. Thaw overnight in the fridge and reheat thoroughly. The anchovies and peanuts won’t freeze well—add them fresh after reheating.
Related
- Bicol Express Ingredients List & Recipe
- Bicol Express Recipe: Creamy, Spicy Filipino Pork Stew
- Bicol Express in a Jar: Spicy Pork Stew Recipe
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).