Skip to content
Cuisine Marrakech

Cooking with Onions

Recipes with Onions — The Silent Engine of Every Moroccan Tagine

Onions (basla) are the silent engine of Moroccan cooking — the foundation on which nearly every tagine, soup and couscous is built. Grated or finely sliced and cooked slowly, they melt into the sauce and thicken it naturally, so no flour is ever needed. Sweetened further with sugar, honey and cinnamon they become tfaya, the jammy topping for couscous and meat. From humble base to celebratory crown, onions do more work than any other vegetable in the Moroccan kitchen. This guide covers how onions build a tagine, the dishes they define, and how to handle and buy them.

Onions in Moroccan cooking

How Moroccans use onions

Onions are the base of the sauce. Grated or finely sliced, a generous quantity is cooked down slowly with oil and spices until soft and melting, forming the body that thickens a tagine — Moroccan cooks rely on this rather than flour or cornflour. Grating the onion (rather than chopping) helps it dissolve completely into a smooth sauce, a hallmark of refined home cooking. Beyond the base, onions are slow-cooked with sugar and warm spice into sweet tfaya, layered into bastilla, and stuffed or braised whole. Their natural sweetness balances the savoury, spiced heart of the cuisine.

The best Moroccan recipes with onions

Tfaya — onions slow-cooked with raisins, honey, cinnamon and saffron until dark and jammy, crowning couscous or meat. Every tagine base — grated onion softened with spices under the meat. Bastilla — cooked onion enriches the poultry filling. Djaj mhamer and mqualli — heavy on melting onion. Kefta, bound with grated onion. Stuffed or braised onions. Start by mastering a grated-onion tagine base, then make tfaya to taste how far Moroccan cooks push the onion's natural sweetness.

Grating, slicing and quantities

For a smooth sauce, grate the onions so they dissolve; for tfaya and toppings, slice them thinly so they keep a little texture. Moroccan tagines use a lot of onion — often as much onion as a pound of meat by weight — cooked down patiently over low heat so it sweetens rather than browns harshly. Do not rush this stage: the melting onion is what gives the sauce its body and depth. For tfaya, cook the sliced onions very slowly with a little water, sugar and spice until soft, golden and jammy, which can take forty minutes or more.

Buying and storing onions

Moroccan markets sell onions loose and cheaply by the sack — choose firm, heavy bulbs with dry, papery skins and no soft spots, sprouting or musty smell. Both yellow and red onions are used, yellow for cooking down into sauces and red often for salads and lighter uses. Store them in a cool, dry, airy place away from potatoes (which make them spoil faster), and they keep for weeks. Do not refrigerate whole onions, which softens them. Once cut, wrap and refrigerate an onion and use it within a day or two.

Cook's tips

  • Grate onions for a smooth tagine sauce; slice them for tfaya and toppings.
  • Use plenty — often as much onion as meat by weight — to build the sauce's body.
  • Cook the onion base slowly and patiently; it thickens the tagine without any flour.
  • For tfaya, cook sliced onions very slowly with sugar and spice until dark and jammy.
  • Store onions cool, dry and airy, away from potatoes, and never refrigerate whole ones.

Questions about cooking with Onions

Why do Moroccan tagines use so many onions?

Onions are the thickener and the flavour base. Cooked down slowly, a generous quantity of grated or sliced onion melts into the sauce, giving it body and a natural sweetness without any flour or cornflour. This is why a good tagine has a rich, clinging sauce — it is built almost entirely on patiently softened onion.

Should I grate or chop onions for a tagine?

For a smooth, refined sauce, grate them so they dissolve completely into the base. For dishes where you want a little texture, such as tfaya or a rustic stew, slice them thinly instead. Grating is the classic technique for the melting sauce Moroccan cooks prize, while slicing suits sweet onion toppings.

What is tfaya?

Tfaya is a sweet Moroccan topping of onions slow-cooked with raisins, honey, cinnamon and saffron until dark, soft and jammy. Spooned over couscous or tender meat, it delivers the sweet-savoury contrast the cuisine loves. It takes patience — the onions must cook very slowly — and it is a fixture of festive couscous and celebration meals.

Which onions are best for Moroccan cooking?

Yellow onions are the workhorse for cooking down into tagine bases and tfaya, thanks to their balance of sweetness and body. Red onions are used more for salads and lighter, fresher dishes. Choose firm, heavy bulbs with dry, papery skins, and use plenty — Moroccan cooking is generous with onion.

How do I store onions so they last?

Keep whole onions in a cool, dry, well-ventilated spot, such as an open basket in the cupboard, away from potatoes, whose moisture makes them spoil faster. Do not refrigerate whole onions, which turns them soft. Stored well they last for weeks. Once cut, wrap the onion, refrigerate it and use it within a day or two.

Cook these dishes with a local in Marrakech

Learn to handle onions the Moroccan way in a hands-on cooking class, or taste it across the medina on a guided food tour.