Wali wa Nazi.
Swahili Coconut Rice
Wali wa nazi · say it: WAH-lee wah NAH-zee
Swap the water in a pot of rice for coconut milk and you get wali wa nazi, the side dish that turns up under almost everything cooked on the Tanzanian coast. Done properly it is not a creamy rice: the grains stay separate and dry to the touch, with a soft gloss and a mild sweetness that shows up most clearly against something sour or spicy beside it. The trick is that the coconut goes in twice, thin milk to cook the grains and thick milk stirred through at the end for richness and perfume. It takes one pot and about half an hour, and it makes plain grilled fish taste like a proper meal.

- Gate
TanzaniaThe Swahili coast- Prep
- 10 min
- Cook
- 22 min
- Total time
- 42 min incl. 10 min rest
- Serves
- 4
- Status
- Easy
- Nutrition / serving · estimated
- Calories 490 kcal
- Protein 8 g
- Carbs 78 g
- Fat 17 g
- Fiber 2 g
- Sodium 490 mg
Why this recipe works.
- Uses the two-extraction method that coastal cooks use, adapted so it works from a standard tin of coconut milk.
- Produces separate, glossy grains rather than the sticky coconut pudding most home versions end up as.
- Only five ingredients, one pot, and no stirring after the lid goes on.
- Explains the resting step, which is where the last of the liquid finishes absorbing.
Ingredients.
6 itemsFor the rice
To finish
Equipment
- Heavy saucepan with a tight-fitting lid
- Fine sieve
- Fork for fluffing
Instructions.
Rinse the rice
Put the rice in a sieve and rinse under cold running water, working it with your fingers, until the water coming through is clear rather than milky. Leave it to drain for a few minutes.
Separate the coconut milk
Open the chilled tin without shaking it and spoon the firm white cream from the top into a small bowl — you want about 150 ml. Stir the remaining thin liquid together with the water to make roughly 500 ml of thin coconut milk.
Tip If the tin has not set into layers, just use 250 ml of the milk as your thick portion and dilute the rest.
Bring to the boil
Tip the drained rice into a heavy saucepan with the thin coconut milk, the salt and the cardamom pods. Bring to a boil over medium-high heat, stirring once, and let it bubble uncovered until the liquid level drops to the surface of the rice and small craters open across the top.
Steam covered
Turn the heat to its lowest setting, cover with a tight lid and cook undisturbed for 12 minutes. Do not lift the lid. When the time is up, the rice should be tender at the tip and the pan should smell sweet and faintly toasted rather than scorched.
Add the thick coconut cream
Take the pan off the heat, dot the reserved coconut cream over the surface, replace the lid and leave it to stand for 10 minutes. The residual heat melts the cream down through the grains without ever boiling it.
Fluff and serve
Lift and fold the rice with a fork until the melted cream is evenly distributed and the grains separate cleanly and look glossy. Taste for salt, scatter with toasted coconut if using, and serve hot.
Tips from our kitchen.
- Rinse the rice in cold water until the water runs clear, three or four changes. Surface starch is what makes coconut rice gluey.
- Chill the tin of coconut milk beforehand and do not shake it — the thick cream sets at the top and lifts off cleanly with a spoon.
- Keep the total liquid at roughly 1.5 times the volume of rice. Coconut milk is thicker than water but hydrates the grain the same way.
- Once the lid is on, leave it alone. Every lift releases the steam that is actually cooking the top layer of rice.
- Fold the thick coconut cream in with a fork, lifting rather than stirring, so the grains are coated instead of crushed.
- A bruised cardamom pod or two in the pot is common on the islands and turns a side dish into something people comment on.
Substitutions.
- Tinned coconut milk → Fresh grated coconut, hand-pressed into two extractions
- The authentic route and noticeably sweeter and cleaner. Work 250 ml hot water into 200 g gratings, squeeze and strain for the thick press, then repeat with 400 ml water for the thin.
- Basmati or long-grain rice → Any medium-grain white rice
- Adjust the liquid down slightly, as medium grains absorb less. Avoid short-grain and risotto rice, which release too much starch for this dish.
- Cardamom → A short piece of cinnamon stick, or nothing at all
- Plain is entirely normal on the coast. The spice is a flourish, not a requirement.
Variations.
- Wali wa nazi na kunde
- Cooked black-eyed peas folded through the finished rice, which turns the side dish into a light main course eaten with greens.
- Wali wa ufuta
- The same method with toasted sesame seeds stirred in at the end alongside the coconut cream, giving a nuttier, less sweet plate.
- Spiced coconut rice
- Cumin seeds and a bay leaf bloomed in a little oil before the rice goes in, for a version that stands up to plain grilled fish.
Storage & reheating.
Cooked coconut rice keeps 2 days refrigerated in a sealed container — cool it quickly and refrigerate within an hour, as with any cooked rice. Reheat with a tablespoon of water per portion, covered, until steaming hot the whole way through. The coconut fat firms up when cold and makes the rice look clumped, but it loosens completely on reheating. It freezes acceptably for a month, though the grains soften a little on thawing.
Serve with
Pweza wa nazi, any fish curry, stewed beans, or simply greens and a spoonful of pilipili sauce.
The story behind Wali wa Nazi.
The Swahili coast is a coconut economy. Palms line the roads and the beach edges on Unguja, Pemba and the mainland shore, and grated coconut is a daily kitchen job rather than an occasional one — done on a mbuzi wa nazi, a low wooden stool with a serrated metal blade at the front that you sit on and scrape the halved nut against. From one nut a cook draws two extractions. Hot water is worked into the gratings and squeezed out to give tui la kwanza, a thick, almost creamy first press, and the same gratings are squeezed a second time to give a much thinner tui la pili.
Those two liquids are used for different jobs, and wali wa nazi is the clearest demonstration of why the distinction matters. The rice cooks in the thin second extraction, which behaves close enough to water that the grains absorb it and swell normally. The thick first press goes in near the end, when there is no longer enough heat or time to break the emulsion, so it coats the finished grains instead of boiling into them. Cook rice in thick coconut milk from the start and you get something closer to a pudding, with a scorched, slightly separated base.
Coconut rice of some kind exists across the tropics, and this particular version is common to the whole Swahili-speaking coast — Mombasa and Lamu cook it as routinely as Dar es Salaam and Stone Town, and calling it exclusively Tanzanian would be wrong. What is specific is its place in the meal. Inland Tanzania eats ugali as the everyday starch; the coast eats rice, and on days when there is something worth eating it with, that rice is cooked in coconut. It appears beside fish curries, beans, greens and grilled meat, and at Eid and weddings it is on every table.
Questions, answered.
Why does my coconut rice come out sticky?
Two usual causes: unrinsed rice, which brings surface starch into the pot, and too much liquid. Rinse until the water runs clear, keep the liquid to about 1.5 times the volume of rice, and hold back the thick coconut cream until the end rather than boiling it with the grains from the start.
What is the difference between the thick and thin coconut milk?
They are the first and second pressings of the same grated coconut. The first squeeze, tui la kwanza, is rich and high in fat and behaves like cream. The second, tui la pili, is much thinner and closer to water. From a tin you can imitate this by lifting the set cream off the top and diluting what remains with water.
Can I make it in a rice cooker?
Yes. Use the thin coconut milk as the cooking liquid and set it going as normal, then fold in the thick cream after the cooker switches to warm and let it sit closed for five minutes. Adding the full-fat milk at the start tends to catch and scorch on a rice cooker base.
Is wali wa nazi sweet?
Only faintly, and no sugar goes into it. The sweetness is whatever comes naturally from the coconut, and its purpose is to balance the sour, spicy or salty dish it is served alongside. If yours tastes like a dessert, either the coconut milk was sweetened or it has been under-salted.
How much rice per person?
As a side dish alongside a main, about 100 g of uncooked rice per adult, which is what this recipe uses. If the rice is carrying the meal — served with just beans or greens — allow 125 to 150 g each and increase the liquid in the same proportion.
You might also like.
All recipes →Keep exploring Tanzania.
Tanzania has 9 more dishes in the atlas — Biriani ya Zanzibar and Chipsi Mayai, and 7 more.
Recipe by The DishRoute Kitchen · published August 20, 2026 · updated August 20, 2026