Our products
Bacalao encebollado al horno

Baked cod with caramelized onions

June 9, 2026María José Sáez⏱ 3 min de lectura

Cod with caramelized onions is one of those simple dishes that taste like home: a bed of onions poached until sweet and mellow, cod loins on top, and the oven to bring it all together. The onion releases its juices and sweetens the whole dish, while the cod remains juicy and full of flavor. Humble, comforting cooking that you'll want to have again and again.

Cod with caramelized onions is a dish that thrives on contrast: the deep sweetness of an onion slowly cooked until caramelized against the saline touch and firmness of the cod. It's an ancient combination that works in all kitchens of the Mediterranean, from Portugal to Greece, and which in Spain has a character all its own. The key is to take your time with the onion: the slower the cooking, the sweeter and silkier it becomes.

Ingredients

  • 4 desalted cod loins (we use Extra Desalted Clean Cod Loin - 900g)
  • 4 large onions (preferably sweet, like Fuentes de Ebro onions)
  • 100 ml dry white wine
  • 1 tablespoon brown sugar (optional, to speed up caramelization)
  • Extra virgin olive oil
  • 1 bay leaf
  • Fresh thyme
  • Salt and black pepper

Step-by-step preparation

  1. Cut the onions into thick julienne strips, all of the same size. You need a lot of onion because it reduces enormously during cooking: four large onions turn into barely a handful of caramelized onion.
  2. Caramelize the onion: 25-30 minutes over low heat. In a large frying pan, heat 4 tablespoons of oil over low heat. Add all the onion at once with the bay leaf, a pinch of salt, and, if you wish, the brown sugar. Cook, stirring every 4-5 minutes, without rushing, without increasing the heat. The onion should first become transparent, then soft, and finally dark golden with a jam-like texture. If it starts to stick, add a splash of water. Don't leave it unattended: there is a fine line between caramelized and burnt.
  3. When the onion is dark and sweet, add the white wine and increase the heat for a moment to evaporate the alcohol. Cook for 2 more minutes, stirring. Remove the bay leaf.
  4. Preheat oven to 200°C. Spread the caramelized onion in an oven-safe dish, forming an even bed. Place the cod loins on top, skin side up. Add a few sprigs of thyme, drizzle with oil and black pepper.
  5. Oven: 12-15 minutes at 200°C. The cod is ready when the skin is golden and the meat flakes easily. The caramelized onion will have absorbed some of the cod's juices, creating a dark, sweet, and deeply flavorful sauce that is the true star of the dish.
  6. Serve directly from the dish, with the onion as a base and the cod on top. It needs no other accompaniment than crusty bread to soak up that dark, addictive sauce from the bottom.

The house trick

Patience with the onion is non-negotiable. If you turn up the heat to go faster, the onion fries instead of caramelizing, and the flavor is completely different: bitter and dry instead of sweet and silky. Thirty minutes over low heat are non-negotiable if you want the correct result. You can caramelize the onion the day before and store it in the fridge. The next day you just have to assemble the dish and bake it.

Morro Extra Bacalao Desalado Limpio - 900gBuy it at BacalaloExtra Desalted Clean Cod Loin - 900g€44.90 · 24-48h refrigerated shipping →

Frequently asked questions

How to properly poach onions?

Over low heat and with patience (20-30 min), with a little oil and salt, until they are transparent and sweet. Rushing burns them instead of sweetening them.

How much oven time does cod need?

10-15 minutes at 190 °C over the already poached onion, just enough for the cod to be juicy.

Does it contain pepper or tomato?

It allows for variations: a little pepper or tomato enriches the base, but classic "encebollado" shines with just onion and good oil.

Cod

Lo que cierra una receta

Cod

El detalle que separa un plato de un buen plato.

Ver selección
María José Sáez

María José Sáez

Kitchen & Sea Recipes

Expert in cooking and seafood recipes. Passionate about Mediterranean cuisine, she develops and adapts traditional and creative recipes with cod, anchovies, seafood, and gourmet preserves.

Know our story →
Product listYou can see the products we have in our store.
Surtido "Pulpo & Bacalao" - envase y embalaje premium
Filetes de anchoa del Cantábrico "00" Premium - detalle del producto
Regular priceFrom 38,90 € Unit price77,80 € / kg
Rating: 4.7 out of 5
Cantabrian Anchovies "0" Gourmet Selection
Default Title
Morro Extra de Bacalao Desalado Limpio (2ud) - 500g - detalle del producto
Regular price 24,97 € Sale price25,95 € Unit price49,94 € / kg
Rating: 5.0 out of 5
Extra Clean Desalted Cod Snouts (2 units) - 500g
-4%
30gr
Caviar Beluga Iraní 000 Calidad Premium - detalle del producto
Regular priceOn Sale from 90,00 €
No reviews
Imperial Iranian Beluga Caviar 00
Up to -42%
Default Title
Lomitos de Bacalao Desalado Limpio (2ud) - 500g - detalle del producto
Regular price 21,45 € Sale price22,95 € Unit price42,90 € / kg
Rating: 5.0 out of 5
Cleaned Desalted Cod Loins (2 units) - 500g
-7%

Related articles