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 hard-boiled egg. This version builds the layers of flavor—sweet, spicy, salty, and rich—that make it so beloved. It’s a complete, satisfying meal that works for breakfast, lunch, or dinner.
Ingredients
- 2 cups (400 g) long-grain rice (jasmine or basmati), rinsed
- 1 ½ cups (355 ml) coconut milk (full-fat)
- 1 ½ cups (355 ml) water
- 2 pandan leaves (screwpine leaves), knotted
- 2 slices fresh ginger (about ¼ inch / 6 mm thick)
- 1 teaspoon salt
- For the sambal: 10 dried red chilies, soaked in hot water for 15 minutes
- 5 shallots, peeled
- 3 cloves garlic, peeled
- 1 tablespoon belacan (dried shrimp paste)
- 2 tablespoons (30 ml) vegetable oil
- 1 small onion, thinly sliced
- 1 tablespoon tamarind pulp, soaked in ¼ cup (60 ml) warm water, strained to get the juice
- 2 teaspoons sugar (palm sugar or brown sugar works well)
- 1 teaspoon salt
- For the toppings: 1 cup (50 g) dried anchovies (ikan bilis), rinsed
- 1 cup (150 g) roasted peanuts, unsalted
- 1 cucumber, sliced into rounds
- 4 hard-boiled eggs, peeled and halved
Instructions
- Cook the rice: In a rice cooker or a heavy-bottomed pot, combine the rinsed rice, coconut milk, water, pandan leaves, ginger, and salt. If using a pot, bring to a boil, then reduce heat to low, cover, and simmer for 15-18 minutes until the liquid is absorbed. Turn off the heat and let it sit, covered, for 10 minutes. Fluff with a fork before serving.
- Make the sambal: While the rice cooks, make the sambal. Drain the soaked chilies. In a food processor or blender, grind the chilies, shallots, garlic, and belacan into a smooth paste, adding a tablespoon of water if needed.
- Heat the vegetable oil in a wok or 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 is fragrant and the oil starts to separate from it, about 8-10 minutes. The mixture will darken slightly.
- Stir in the tamarind juice, sugar, and salt. Cook for another 2-3 minutes until the sambal is thick and glossy. Taste and adjust seasoning—it should be spicy, sweet, and salty. Set aside.
- Fry the anchovies: Pat the rinsed anchovies dry with paper towels. Heat about ½ inch (1 cm) of oil in a small pan over medium heat. Fry the anchovies in batches until golden and crispy, about 2-3 minutes per batch. Drain on paper towels.
- Assemble: To serve, place a generous scoop of coconut rice on a plate. Add a spoonful of sambal on the side. Arrange the crispy anchovies, roasted peanuts, cucumber slices, and a halved hard-boiled egg alongside. Serve immediately.
Tips
- Belacan substitute: Belacan (dried shrimp paste) has a unique, pungent umami flavor. If you can’t find it, you can omit it, but the sambal will be less complex. A tiny pinch of fish sauce added at the end can help mimic some of that depth.
- Pandan leaf substitute: Fresh pandan leaves give the rice its signature aroma. If unavailable, you can use a drop of pandan extract or simply omit it—the rice will still be delicious, just less fragrant.
- Soaking dried chilies: Don’t skip soaking the dried chilies. It softens them for blending and reduces their raw heat, giving you a smoother, more flavorful sambal.
- Don’t overcook the sambal: The sambal is done when the oil visibly separates and pools around the paste. Overcooking it will make it bitter, so watch it carefully.
Serving Suggestions
Nasi lemak is traditionally served on a banana leaf for extra aroma, but a plate works perfectly. For a more substantial meal, add a piece of fried chicken, beef rendang, or a few slices of fried fish. It’s also common to see it wrapped in paper or a banana leaf for a portable breakfast.
Variations
There are many regional versions of nasi lemak. In some parts of Malaysia, the sambal is made with fresh red chilies instead of dried, resulting in a brighter, less smoky flavor. Some cooks add a squeeze of calamansi lime juice to the sambal for extra acidity. You can also substitute the hard-boiled egg with a fried egg with a runny yolk, or add some fried tempeh or tofu for a vegetarian version (just omit the anchovies and belacan).
Storage and Reheating
Store the rice, sambal, and toppings separately in airtight containers in the refrigerator. The rice and sambal will keep for up to 3 days. The fried anchovies and peanuts will lose their crunch, so keep them in a separate container at room temperature for up to 2 days, but they are best eaten fresh. To reheat, sprinkle the rice with a little water and microwave it in 30-second bursts until hot, or steam it. Reheat the sambal in a small pan or microwave. Reheat leftovers to an internal temperature of 165°F (74°C) for food safety.
Frequently Asked Questions
Can I use brown rice instead of white? Yes, you can. Brown rice will require more liquid and a longer cooking time—about 2 ½ cups (590 ml) of liquid total and 40-45 minutes of cooking. The texture will be chewier and the flavor nuttier, but it will still be delicious.
My sambal is too spicy. How can I fix it? The heat comes from the chilies and their seeds. Next time, you can remove some of the seeds from the soaked chilies before blending. To fix a batch that’s too hot, you can add more sugar and a splash of coconut milk to mellow the heat.
What is the best type of rice to use? Jasmine rice is the most common and reliable choice. It has a fragrant aroma that complements the coconut milk and a slightly sticky texture that holds up well. Basmati is a good alternative, though it is less sticky.
Can I make the sambal in advance? Absolutely. The sambal actually tastes even better the next day as the flavors meld. You can make it up to 3 days ahead and store it in the refrigerator in an airtight container.
Are the anchovies essential? They are a key part of the traditional dish, providing a salty, crispy contrast. If you don’t have them or prefer not to use them, you can substitute with crispy fried shallots or just leave them out.
Can I freeze nasi lemak? The rice and sambal freeze well for up to a month. Thaw them overnight in the refrigerator before reheating. The anchovies, peanuts, and cucumber should not be frozen as their texture will suffer.
Related
- Mais Arepas New Orleans: Corn Arepas Recipe
- Mambo Arepas Corn Cakes Recipe
- Marcy’s Picadillo Recipe: Easy Cuban-Style Beef
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).