Nasi Lemak Picture: How to Make It at Home

Updated November 25, 2026

Total time
1 hr 15 min
prep 30 min · cook 45 min
Serves
4
portions as written

Jump to recipe

Nasi lemak is Malaysia’s national dish: fragrant coconut rice served with spicy sambal, crispy anchovies, roasted peanuts, cucumber, and a hard-boiled egg. It is often wrapped in banana leaves and eaten for breakfast, but it works for any meal. This recipe builds the classic plate from scratch, with a sambal that balances heat, sweetness, and umami, and a rice that is creamy and aromatic.

Ingredients

  • For the rice: 2 cups (370 g) long-grain jasmine rice, rinsed until water runs clear
  • 1 cup (240 ml) coconut milk (full-fat)
  • 1 ½ cups (360 ml) water
  • 2 pandan leaves, knotted
  • 2 slices (about 5 g) fresh ginger
  • 1 teaspoon salt
  • 1 teaspoon sugar
  • For the sambal: 10 dried red chilies, soaked in hot water for 15 minutes, drained
  • 4 shallots, peeled
  • 3 cloves garlic, peeled
  • 1 tablespoon belacan (dried shrimp paste), toasted
  • 2 tablespoons (30 ml) vegetable oil
  • 1 tablespoon tamarind pulp, soaked in ¼ cup (60 ml) warm water for 10 minutes, then strained to get juice
  • 1 teaspoon salt
  • 1 tablespoon sugar (or palm sugar, grated)
  • For the toppings: 1 cup (100 g) dried anchovies (ikan bilis), rinsed and drained
  • ½ cup (75 g) roasted peanuts, unsalted
  • 1 cucumber, sliced into rounds
  • 4 large eggs, hard-boiled (cook in boiling water for 9 minutes, then cool in ice water)
  • Banana leaves (optional, for serving)

Instructions

  1. Start the rice: In a medium pot, combine the rinsed rice, coconut milk, water, pandan leaves, ginger, salt, and sugar. Bring to a boil over medium-high heat, then reduce to low, cover, and simmer for 15 minutes. Turn off the heat and let it sit, covered, for 10 minutes. Fluff with a fork and keep warm.
  2. Make the sambal: While the rice cooks, blend the soaked chilies, shallots, garlic, and toasted belacan into a smooth paste using a food processor, adding a little water if needed. Heat the oil in a skillet over medium heat. Add the paste and cook, stirring constantly, for 5–7 minutes until it darkens and becomes fragrant. Stir in the tamarind juice, salt, and sugar. Cook for another 3–4 minutes until the sambal thickens and the oil starts to separate. Taste and adjust salt or sugar; set aside.
  3. Fry the anchovies: In a separate small pan, heat about ½ inch of oil over medium heat. Fry the anchovies in batches until golden and crisp, about 2–3 minutes per batch. Drain on paper towels.
  4. Assemble: If using banana leaves, soften them briefly over a flame or in a dry pan (about 10 seconds per side). Place a portion of rice on each leaf or plate. Top with a generous spoonful of sambal, a handful of fried anchovies, peanuts, cucumber slices, and a halved hard-boiled egg.

Tips

  • Substitute belacan: If you can’t find belacan, use 1 teaspoon of fish sauce added to the sambal at the end of cooking. It won’t have the same depth, but it will still be savory.
  • Don’t skip the pandan: Pandan leaves give the rice its signature aroma. If unavailable, tie a few fresh or frozen kaffir lime leaves into the rice instead, or add a drop of pandan extract.
  • Adjust the heat: For a milder sambal, remove the seeds from the dried chilies before soaking. For extra heat, add a fresh bird’s eye chili to the blend.
  • Make the sambal ahead: The sambal keeps well in the fridge for a week, and its flavor deepens overnight.

Serving Suggestions

Serve nasi lemak warm, with extra sambal on the side for those who want more heat. It’s traditionally eaten with a spoon and fork, but you can also wrap it in banana leaves for a picnic. Pair with a cup of hot teh tarik (pulled milk tea) or iced lemon tea.

Variations

  • Chicken nasi lemak: Add a fried chicken thigh or a piece of ayam goreng (Malay fried chicken) on top for a heartier meal.
  • Vegetarian version: Omit the anchovies and belacan. Use 1 tablespoon soy sauce and 1 teaspoon miso paste in the sambal for umami. Add extra fried tofu or tempeh.
  • Nasi lemak with rendang: Serve with beef or chicken rendang instead of the egg and anchovies.
  • Modern twist: Add a fried egg with a runny yolk, or swap the cucumber for pickled vegetables.

Storage and Reheating

Store the rice, sambal, and anchovies separately in airtight containers. The rice will keep in the fridge for up to 3 days, the sambal for up to a week, and the anchovies for 2 days (they lose crispness). To reheat, sprinkle the rice with a little water and microwave for 1–2 minutes, or steam for 5 minutes. Reheat the sambal in a pan with a splash of water. Refresh the anchovies in a dry pan over medium heat for 1–2 minutes.

Frequently Asked Questions

Can I use regular white rice instead of jasmine? Yes, but jasmine rice has a floral aroma that complements the coconut. If using regular long-grain, reduce the water slightly (to 1 ¼ cups / 300 ml) and adjust cooking time as needed.

What is belacan and where can I find it? Belacan is a fermented shrimp paste sold in blocks or jars at Asian grocers. It’s pungent but mellows when cooked. If you can’t find it, use fish sauce as a substitute, though the flavor will be less complex.

Why is my rice too sticky or too dry? Too sticky often means too much water or overcooking. Use the exact ratio and let the rice rest off the heat. Too dry means you may have cooked it too long or used old rice; add a splash of coconut milk when reheating.

Can I make this vegan? Yes, skip the anchovies and belacan. Use soy sauce and a pinch of smoked paprika in the sambal for depth. Serve with fried tofu or tempeh.

How do I toast belacan without a stove? Wrap the belacan in foil and toast in a dry pan over medium heat for 2–3 minutes per side, or microwave it on a plate for 30 seconds (it will smell strong).

Can I freeze the sambal? Yes, the sambal freezes well for up to 3 months. Thaw in the fridge overnight and reheat gently. The rice doesn’t freeze as well; it can become mushy.

Related

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).