Malaysia · Southeast Asia

Malaysian Coconut Rice (Nasi Lemak) Made on the Stove

Updated November 2, 2026

Total time
40 min
prep 10 min · cook 30 min
Serves
4
portions as written
Safe temperature (USDA)
165°F / 74°C
check the thickest piece
Cuisine
Malaysia
Southeast Asia

Jump to recipe

Malaysian Coconut Rice (Nasi Lemak) Made on the Stove

Malaysian coconut rice, commonly served as the fragrant rice at the heart of nasi lemak, is made by cooking rice with coconut milk, water, salt, and pandan. This stovetop version keeps the method straightforward while giving you tender, aromatic grains to serve with sambal and classic accompaniments; proportions and additions vary between regions and households.

Ingredients

  • 2 cups (370 g) jasmine or other long-grain white rice
  • 1 cup (240 ml) canned coconut milk, well stirred
  • 1½ cups (355 ml) water
  • 2 pandan leaves (about 20 g), rinsed and tied in a loose knot
  • 3 thin slices fresh ginger (about 15 g)
  • ¾ teaspoon fine salt (4.5 g)

Instructions

  1. Rinse the rice. Put the rice in a bowl and cover it with cool water. Swirl the grains with your fingers, pour off the cloudy water, and repeat three or four times, until the water is much clearer. Drain thoroughly in a sieve for about 2 minutes. Rinsing removes loose surface starch, which helps keep the cooked grains distinct rather than gluey.
  2. Combine the cooking liquid. In a heavy-bottomed saucepan with a close-fitting lid, stir together the coconut milk, measured water, and salt. Add the drained rice, pandan leaves, and ginger. Stir once to distribute the rice and salt, then level the surface. The rice should sit in an even layer beneath the liquid.
  3. Bring it to a gentle simmer. Set the uncovered pan over medium heat. This usually takes about 5 minutes, but use the liquid rather than the clock as your guide: small bubbles should appear around the edges and across the surface. Stir once from the bottom if you see rice beginning to stick, then cover the pan and turn the heat to its lowest setting. Avoid a hard boil, which can make the bottom catch before the grains are tender.
  4. Cook covered. Simmer gently for 15 minutes without lifting the lid. A tight lid traps the steam needed to cook the top layer evenly. If your stove runs hot, use a heat diffuser or move the pan to a smaller burner set low. Do not stir during this stage, as stirring can break the grains and release starch.
  5. Rest and fluff. Turn off the heat and leave the covered pan undisturbed for 10 minutes. The rest lets the remaining steam finish softening the rice and helps excess moisture settle. Remove the pandan and ginger, then fluff the rice gently with a fork or rice paddle, lifting from the edges toward the center. Taste a few grains; they should be tender and separate, with a soft coconut aroma. Serve warm.

Tips

  • Check the coconut milk can. Coconut milk separates naturally, so stir it thoroughly before measuring. Use unsweetened coconut milk, not sweetened coconut cream or a coconut beverage sold for drinking. Full-fat canned milk gives a richer result; if you prefer a lighter finish, use light canned coconut milk without changing the total liquid amount.
  • Keep the liquid ratio steady. This recipe is written for jasmine or similar long-grain white rice. Different rice varieties absorb different amounts of liquid, so brown rice, basmati, and short-grain rice may need adjusted liquid and cooking times. For a first try, follow the package guidance for your chosen rice and keep the combined liquid close to its recommended amount.
  • Use a sensible pandan substitute. Fresh or frozen pandan leaves are common in Malaysian cooking but can be difficult to find. If unavailable, omit them or add a small pinch of pandan extract to the liquid according to its label; extract can be concentrated, so start sparingly. The rice will still be coconut rice, but it will lack some of pandan’s distinctive grassy, floral fragrance. Do not substitute pandan with vanilla.
  • Resist repeated lid checks. Each time you uncover the pan, steam escapes and cooking becomes less even. If the rice is slightly firm after its rest, sprinkle 1 to 2 tablespoons (15 to 30 ml) of hot water over it, cover again, and warm on the lowest heat for 3 to 5 minutes. If it is wet, let it stand uncovered briefly after fluffing rather than cooking it hard over high heat.

Serving Suggestions

For nasi lemak, serve the warm rice with sambal, cucumber slices, roasted peanuts, and ikan bilis, the small dried anchovies often fried until crisp. A hard-boiled egg is another familiar accompaniment; if preparing one, cook it until the yolk and white are firm. Arrange the sides alongside the rice so diners can combine each bite to taste. The contrast of mellow coconut rice, spicy sambal, crisp anchovies, and cool cucumber is a big part of the meal’s appeal.

This rice also works as a side dish with Malaysian-style curries, grilled fish, or vegetables. Keep sauces and strongly flavored dishes separate until serving so the fragrant rice remains easy to taste. For a simple meal without a full nasi lemak spread, add a spoonful of sambal and cucumber, plus a protein or vegetable dish you already have prepared. If serving several people, put the rice in a covered warm bowl and set out toppings in separate dishes; crunchy peanuts and anchovies stay crisp that way.

Variations

More pronounced coconut flavor: Replace ½ cup (120 ml) of the water with another ½ cup (120 ml) coconut milk, keeping the total liquid at 2½ cups (595 ml). The rice will taste richer and may feel a little softer, so keep the heat low and give it the full covered rest before fluffing.

Ginger-free rice: Leave out the ginger for a milder, more straightforward coconut-and-pandan aroma. Some cooks include ginger, while others rely on pandan alone; it is a flavor choice rather than a required ingredient.

Rice-cooker method: Rinse and drain the rice, then add it to the cooker with the coconut milk, water, salt, pandan, and ginger. Cook using the regular white-rice setting, and leave it on the closed lid for 10 minutes after the cycle ends before fluffing. Rice cookers vary, and coconut milk can foam more than water, so do not exceed the appliance’s maximum fill line. If your cooker’s instructions advise against cooking with milk-like liquids, use the stovetop method instead.

Gentle, less rich version: Use light canned coconut milk, or replace up to ½ cup (120 ml) of the coconut milk with water while keeping the total liquid unchanged. The result will be less creamy but still aromatic. Avoid using coconut cream as a direct replacement unless you dilute it; its higher fat content can make the rice heavy.

Storage and Reheating

Cooked rice should not sit at room temperature for an extended period. Refrigerate it within 2 hours of cooking, dividing it into shallow, covered containers so it cools quickly. Keep it refrigerated for 3 to 4 days. For the best texture, store the rice separately from sambal and other toppings, especially anything crisp or fresh.

To reheat a portion, add a teaspoon or two of water, cover, and microwave until steaming hot, stirring or breaking up clumps partway through. You can also reheat it in a covered saucepan over low heat with a small splash of water. USDA FSIS guidance is to reheat leftovers to 165°F (74°C); check the center with a food thermometer. Reheat only the portion you plan to eat. Freeze cooled rice in airtight portions for up to 1 month for best quality, then thaw in the refrigerator and reheat thoroughly. Discard rice left out for more than 2 hours.

Frequently Asked Questions

Is Malaysian coconut rice the same as nasi lemak?

Coconut rice is the rice component of nasi lemak, a Malaysian meal commonly served with sambal and a selection of accompaniments. The name nasi lemak is often used for the whole plate, but the rice can also be served on its own or alongside other dishes. Toppings and presentation differ across households and places.

Can I make this with basmati or brown rice?

You can, but the texture and cooking needs will differ. Basmati is a long-grain option, though it may cook more quickly and have a less floral character than jasmine rice. Brown rice usually needs more liquid and substantially more time than the 15-minute simmer in this recipe. Follow the rice package’s absorption directions, count the coconut milk as part of the total liquid, and check doneness before serving.

Why is my coconut rice mushy or wet?

Common causes include too much liquid, a lid that does not fit well, stirring during the covered simmer, or using a rice variety that absorbs less liquid. Measure both liquids carefully and keep the lid on while the rice cooks and rests. If the rice is cooked but slightly wet, fluff it gently and let it stand uncovered for a few minutes so some steam can escape.

Why is the bottom scorched while the top is still firm?

The heat may be too high, the pan may be thin-bottomed, or the burner may be larger than the pan. Use a heavy saucepan, bring the liquid only to a gentle simmer, and turn the heat to its lowest setting before covering. A heat diffuser can help on a stove that does not maintain a low, even flame. If scorching starts before the rice is tender, do not scrape the stuck bottom into the rest of the rice.

Can I prepare the rice ahead?

Yes. Cook it, cool it promptly in a shallow container, and refrigerate it within 2 hours. Reheat it covered with a small splash of water until steaming hot and 165°F (74°C) at the center. For a meal with crisp toppings, prepare those separately and add them just before serving. The rice can also be frozen in portions and reheated after thawing in the refrigerator.

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