Xalwo (Djiboutian and Somali Cardamom Halwa with Ghee and Nutmeg)

cuisine
⏱ 165👨‍🍳 Medium💶 0.60☾ Night

↓ Jump to recipe

Xalwo is a glossy, chewy cardamom and nutmeg sweet made from sugar, cornstarch and ghee, cut into diamonds and served with tea or coffee in Djibouti and the Somali-speaking Horn.

Glossy amber halwa cut into diamonds topped with chopped nuts on a tray.
In short

Xalwo (Djiboutian and Somali Cardamom Halwa): Chewy, glossy halwa of sugar, cornstarch and ghee, scented with cardamom and nutmeg, set in a tray and cut into diamonds.

Total time: 2 h 45 min·Serves: 16 pieces·Difficulty: Medium·Cuisine: Djiboutian

Why it works

  • Cornstarch gel. Starch granules swell and thicken at about 62 to 72 °C, and long stirring turns the paste from cloudy to translucent and springy.
  • Ghee added in stages. Fat worked in gradually coats the gel, so the sweet turns glossy and pulls from the pan instead of splitting into grease.
  • Cardamom and nutmeg. Their warm aromatics are the signature of Horn of Africa sweets, and they lift the sugar without a sharp edge.
  • Sugar syrup first. Dissolving the sugar before the starch goes in prevents grains and lumps.

Xalwo (also written halwo or halwa) is a glossy, chewy sweet made from sugar, starch and ghee, eaten at celebrations and with coffee or tea across the Somali-speaking Horn of Africa, including Djibouti. It is related to other halwa-style sweets of the region, but it is set apart by its cardamom and nutmeg, its generous ghee and its stretchy bite.

Plan on constant stirring for about 30 minutes. A sturdy spatula and our sugar syrup chart are useful companions. It belongs with our desserts.

Glossy amber halwa cut into diamonds topped with chopped nuts on a tray.
DayNightCook Kitchen

Xalwo (Djiboutian and Somali Cardamom Halwa)

Chewy, glossy halwa of sugar, cornstarch and ghee, scented with cardamom and nutmeg, set in a tray and cut into diamonds.
Prep Time 10 minutes
Cook Time 35 minutes
Setting 2 hours
Total Time 2 hours 45 minutes
Servings: 16 pieces
Course: Dessert
Cuisine: Djiboutian
Calories: 150

Ingredients
  

For the halwa
  • 300 g granulated sugar (1.5 cups)
  • 400 ml water (1.75 cups), for the syrup
  • 100 g cornstarch (about 3/4 cup)
  • 200 ml cold water (3/4 cup), for the slurry
  • 100 g ghee (3.5 oz), plus extra to grease the tray
  • 1.5 tsp ground cardamom
  • 1/4 tsp ground nutmeg
  • 1 pinch salt
  • 40 g pistachios or peanuts (1.5 oz), chopped, to top

Equipment

  • Heavy saucepan
  • Whisk and sturdy spatula
  • 20 cm (8 in) square tray
  • Oil for the tray

Method
 

Cook the halwa
  1. Grease a 20 cm (8 in) square tray with ghee. Stir the cornstarch into the cold water until smooth.
  2. Combine the sugar, 400 ml water, cardamom and salt in a saucepan. Bring to a boil over medium heat, stirring, about 5 min, until the sugar dissolves.
  3. Reduce to medium-low. Pour in the starch slurry in a thin stream while whisking constantly.
  4. Cook 12 to 15 min, stirring all the time, until the mixture turns thick and translucent.
  5. Stir in one third of the ghee and the nutmeg. Cook 5 min until absorbed, then add the rest in two more additions.
  6. Keep stirring 8 to 10 min more until the halwa glistens and pulls away from the sides as one mass.
Set and serve
  1. Scrape into the tray, smooth the top with a greased spatula and scatter the nuts over.
  2. Cool 2 hr at room temperature until set, then cut into 16 diamonds.

Notes

Contains dairy (ghee) and, if used, tree nuts or peanuts. Very hot sugar can burn: stir with a long spatula and keep children away. Keeps 5 days covered at room temperature, up to 1 week refrigerated.

🔥 DayNightCook Chef’s Secrets

  1. Technique. Dissolve the starch fully in cold water and pour it in a thin stream while whisking. Starch clumps the moment it meets hot liquid; cold slurry keeps granules apart until they all swell together.
  2. Avoid this. Do not stop stirring or leave the pan on high. The paste scorches on the bottom within seconds, and a burnt layer gives the whole batch a bitter note. Keep the heat at medium-low.
  3. Pro move. Add the ghee in three portions, waiting until each is absorbed. Done properly, the mass will pull away from the sides as a single glossy lump; see our guide to cooking oils and fats.

☀ Day version and ☾ Night version

☀ Day version (about 1 hr 25 min): Pour into a thin tray and chill in the fridge 40 minutes to set, then cut. The texture is slightly softer than the room-temperature set.

☾ Night version: Let it set 2 hours at room temperature, cut into diamonds and top with chopped pistachios or peanuts. Serve on a platter with small cups of cardamom tea or strong coffee. A non-alcoholic pairing: warm spiced milk tea.

Substitutions

  • Ghee. Clarified butter gives the classic flavor; a neutral oil works for a dairy-free version but tastes plainer. See butter conversions if you clarify your own.
  • Cornstarch. Potato starch gives a slightly softer set; use the same weight.
  • Spices. Fresh-ground cardamom seeds taste stronger than pre-ground; use about 8 pods.

Common mistakes

  • Lumps. They come from adding starch to hot syrup without whisking. If it happens, whisk hard and press through a sieve.
  • Rubbery set. Too much starch or too little ghee. Keep the weights above and cook until glossy.
  • Greasy pools. The ghee went in too fast. Add it in three stages and wait for each to disappear.

Variations

Cooks add a few drops of rose water, a pinch of saffron or food coloring, and some mix in roasted sesame seeds or peanuts. Household recipes also differ in how much ghee they use, so the texture ranges from soft and spoonable to firm enough to cut. The sweetness here is moderate; for a sweeter version, add 50 g more sugar.

What to serve with it

Xalwo is usually served with strong tea or coffee as a gesture of hospitality, or at holidays and family gatherings. Offer it after a rice dish for a holiday table. A bitter, cardamom-spiced coffee balances the sweetness best. Toast the nuts first, as in our nuts and seeds guide, and see sugars and sweeteners for swaps.

Storage

Wrap pieces in parchment and keep at room temperature up to 5 days in a cool kitchen, or refrigerate for 1 week; bring to room temperature before eating as it stiffens when cold. Do not freeze.

Origin and authenticity

Halwa-type sweets stretch from South Asia across the Middle East and East Africa, and the word itself comes from Arabic. Somali xalwo is made with cornstarch, sugar, ghee and cardamom, and it is a common sweet at celebrations and for guests; Djibouti shares this tradition because of its large Somali-speaking population. When it reached the Horn is not clearly documented, with trade across the Indian Ocean and Red Sea as the likely path. Spice choices and ghee amounts vary by household. It is a close relative of, but not identical to, the Gulf halwa already on our site.

Authenticity: Regional variation

FAQ

What is xalwo?

A chewy, glossy sweet of sugar, cornstarch and ghee flavored with cardamom and nutmeg, popular in Somali-speaking communities and in Djibouti.

Why is my xalwo sticky?

It was likely undercooked. Keep stirring until it pulls from the pan as one mass.

Can I make it without ghee?

Yes, with neutral oil, but the flavor is less rich.

How long does it keep?

About 5 days covered at room temperature, up to a week in the fridge.

How is it different from other halwa?

This version is cornstarch-based with cardamom and nutmeg, and has a stretchy, chewy bite.

Sources

  • USDA FoodData Central, nutrition estimate for sugar, cornstarch and butter oil.
  • Harold McGee, On Food and Cooking (Scribner, 2004), for starch gelatinization and sugar cooking.
  • Alan Davidson, The Oxford Companion to Food (Oxford University Press), general reference.
  • Claudia Roden, The New Book of Middle Eastern Food (Alfred A. Knopf), for regional halwa context.
II
About the author
Ivan Ivanov
Founder ofSupreme CommerceGiantParts

Ivan Ivanov is the founder of Supreme Commerce OOD and editor-in-chief of DayNightCook. He chooses the dishes and topics and reviews the recipes and guides before they go live. Recipes are researched from published cookbooks, food-history sources and official food-safety guidance (USDA, EFSA, UK FSA), and every recipe lists its sources. Some content is prepared with the help of AI tools and checked under our AI Transparency Policy.

Clear steps, real sources, food that works at home

  • Sources under every recipeCookbooks, food history and official food-safety guidance
  • Metric and clear timingsGrams, millilitres and real cooking times
  • Honest about authenticityEach recipe notes how close it is to the original
Cooked it? Rate itYour stars help other cooks choose what to makeBe the first to rate this recipe