Summary: Catalan-style cod is the Mediterranean expression of cod cuisine in Catalonia. It consists of cod loins cooked with samfaina (the Catalan sofrito of bell pepper, eggplant, zucchini, and tomato) and served with aioli. It is a dish that combines the robustness of cod with the freshness and sweetness of Mediterranean vegetables, seasoned with the garlic and olive oil that define Catalan cuisine.
What is Catalan-style cod?
Catalan-style cod is the Mediterranean expression of cod cuisine in Catalonia. It consists of cod loins cooked with samfaina (the Catalan sofrito of bell pepper, eggplant, zucchini, and tomato) and served with aioli. It is a dish that combines the robustness of cod with the freshness and sweetness of Mediterranean vegetables, seasoned with the garlic and olive oil that define Catalan cuisine.
Catalan cuisine has a deep relationship with cod. Despite having a spectacular coastline with fresh fish and seafood, the interior of Catalonia (Lleida, rural areas) historically depended on dried cod as its primary source of marine protein. Cod arrived by mule from the ports (Tarragona, Barcelona) and became a fundamental ingredient in rural Catalan cuisine, especially during Lent.
At the Mercat del Ninot in Barcelona, where Bacalalo has had its stall since 1990, Catalan-style cod is one of the dishes we prepare most often. It is the recipe that best represents our identity: premium cod with the culinary tradition of our city.
Samfaina: the Catalan ratatouille
Samfaina (pronounced “sam-FAY-na”) is Catalonia's quintessential vegetable sofrito. It is similar to French ratatouille but with its own distinct personality: more concentrated, more cooked, and with a more intense tomato base. It is composed of:
- Diced red and green bell pepper
- Diced eggplant
- Diced zucchini
- Grated ripe tomato
- Finely chopped onion
- Garlic
- Extra virgin olive oil
Samfaina is cooked over medium-low heat for 30-40 minutes until all the vegetables are completely tender and the flavors are fused. It is not a quick sauté: it is a slow cooking process that concentrates the flavors and produces an almost compote-like vegetable texture. It is the perfect base for cod, but it also accompanies meats, eggs, pasta, and rice in Catalan cuisine.
Ingredients for 4 people
For the samfaina
- 1 medium eggplant, diced into 1-2 cm pieces
- 1 red bell pepper, diced
- 1 green bell pepper, diced
- 1 medium zucchini, diced
- 1 large onion, finely chopped
- 3 ripe tomatoes, grated (or 400 g crushed tomatoes)
- 3 cloves garlic, sliced
- 150 ml extra virgin olive oil
- Salt, pepper, 1 bay leaf
For the cod
- 4 desalted cod loins, 180-200 g each
- Flour for dusting
- Olive oil for frying
Related products from Bacalalo
Step-by-step preparation
1. Prepare the samfaina (30-40 minutes)
Heat the oil in a large pot over medium heat. Add the onion and garlic, cook for 8 minutes. Add the bell peppers, cook for 5 minutes. Add the eggplant and zucchini, cook for another 5 minutes. Stir in the grated tomato and bay leaf. Reduce heat to medium-low and cook for 15-20 minutes until all the vegetables are tender and the tomato has reduced. The samfaina should have the texture of candied vegetables, not raw.
2. Cook the cod (6-8 minutes)
While the samfaina is cooking, pat the cod loins dry and lightly dust with flour on the flesh side. In a pan with hot oil, fry the loins for 3-4 minutes per side until golden. Don't aim for complete cooking: just an external sear with a golden crust.
3. Combine (5 minutes)
Place the cod loins on top of the samfaina in the pot. Cover and cook over low heat for 5 minutes so that the cod absorbs the flavors of the samfaina. The steam from the vegetables will finish cooking the cod.
4. Serve with aioli
Serve each loin over a portion of samfaina, with a generous spoonful of aioli on the side or on top. Garnish with fresh parsley and a drizzle of extra virgin olive oil. The aioli can be placed in a separate bowl for each person to serve themselves as desired.
The perfect aioli for cod
Authentic Catalan aioli is made only with garlic and olive oil (no egg). It is a dense, potent, and fragrant emulsion that pairs masterfully with cod:
- Crush 4-6 cloves of garlic in a mortar with a pinch of salt until a paste is formed.
- Gradually add extra virgin olive oil drop by drop while stirring continuously in the same direction with the pestle.
- As the emulsion thickens, you can pour the oil in a thin stream. Be patient: the emulsion can take 10-15 minutes.
- The result should be a thick, yellowish-white cream with an intense garlic and oil flavor.
Quick version (with egg): if mortar aioli seems difficult, make an aioli with 2 cloves of garlic, 1 egg, lemon juice, salt, and extra virgin olive oil in a blender. The result is milder but equally delicious. Authentic Catalan aioli (without egg) is more intense, denser, and more aromatic, but the version with egg is perfectly respectable.
Tips for perfect Catalan-style cod
- Slow Samfaina: Don't rush the samfaina. The vegetables need 30-40 minutes over medium-low heat to achieve that candied texture and concentrated flavor. If you cook them quickly, they will be raw and unfused.
- Eggplant without bitterness: If your eggplant is bitter, salt it in cubes 20 minutes beforehand, rinse, and dry. Modern eggplants usually have little bitterness.
- Sear the cod: The golden flour crust protects the flesh and adds texture. Don't skip this step.
- Generous aioli: Aioli is not a timid accompaniment. A large spoonful per loin is the minimum. The garlic in the aioli dialogues with the vegetables in the samfaina.
- Catalan olive oil: An extra virgin olive oil of the Arbequina variety (typical of Catalonia) is the most suitable: mild, fruity, without excessive bitterness. Otherwise, any mild EVOO works.
Catalan variations
Cod with escalivada
Escalivada (oven-roasted and peeled bell peppers, eggplants, and onions) replaces the samfaina. It is more elegant and has a smokier flavor. It is served as a cold or warm base under the hot cod.
Bacalao a la llauna
A classic from Barcelona restaurants: cod baked in a "llauna" (metal tray) with garlic, sweet paprika, and a splash of vinegar. More austere than Catalan-style with samfaina but equally delicious.
Esqueixada de bacalao
The raw Catalan cod salad: raw desalted cod, shredded (uncooked), with tomato, bell pepper, onion, black olives, and olive oil. It is a summer dish, fresh and light. Use premium quality cod because it is eaten raw.
Bunyols de bacalao (fritters)
Fritter batter with shredded cod, fried in hot oil. They are a classic Barcelona tapa served in bars during Lent. Crispy on the outside, fluffy and flavorful with cod on the inside.
Cod in Catalan cuisine
Catalonia has a rich and diverse cod tradition. Cod was the fish for days of abstinence (Fridays and Lent) throughout Catalonia, and each region developed its own recipes. In Barcelona, bacalao a la llauna is a classic in restaurants in El Born and El Raval. In Lleida, "truites de bacallà" (cod omelets) are a Holy Week tradition. In Tarragona, "xató" (cod and endive salad with romesco sauce) is a winter dish. And throughout Catalonia, esqueixada is the quintessential summer salad.
At Bacalalo, located in the heart of the Mercat del Ninot (Eixample, Barcelona), we experience this tradition daily. Our customers order cod for Sunday escalivada, for Lent fritters, for summer esqueixada, and, of course, for Catalan-style cod with samfaina, which is our signature dish.
It is also worth noting the importance of traditional Catalan markets as guardians of this cod tradition. From La Boquería and Santa Caterina in Barcelona to the markets of Tarragona and Girona, cod stalls continue to be reference points where customers find not only the product, but also expert advice on how to prepare it. It is in these markets that the culinary knowledge that keeps recipes such as Catalan-style cod, esqueixada, or Lent fritters alive is transmitted orally.
Nutritional information
- Calories: 380-430 kcal per serving (with samfaina and aioli)
- Protein: 28-32 g (cod)
- Fats: 24-28 g (olive oil + aioli)
- Carbohydrates: 12-16 g (vegetables)
- Fiber: 4-6 g (from samfaina vegetables)
- Vitamins: A, C (bell peppers, tomato) + B12 (cod)
Catalan-style cod is a nutritionally complete dish: high-quality protein, varied vegetables (5 different types in samfaina), healthy fats from olive oil, and an excellent vitamin profile. It's the Mediterranean diet on a plate. For pairing, a Catalan white wine of the Xarel·lo variety with aging or a Garnacha blanca from Priorat are ideal options that honor the origin of the dish with wines from the same land.
Conclusions
- What is Catalan-style cod?: Catalan-style cod is the Mediterranean expression of cod cuisine in Catalonia.
- Samfaina: the Catalan ratatouille: Samfaina (pronounced “sam-FAY-na”) is Catalonia's quintessential vegetable sofrito.
- Ingredients for 4 people: Heat the oil in a large pot over medium heat.
- The perfect aioli for cod: Authentic Catalan aioli is made only with garlic and olive oil (no egg).
- Tips for perfect Catalan-style cod: Escalivada (oven-roasted and peeled bell peppers, eggplants, and onions) replaces the samfaina.
Frequently asked questions
What is samfaina?
It is the typical Catalan vegetable sofrito: bell pepper, eggplant, zucchini, tomato, onion, and garlic, slowly cooked in olive oil. Similar to French ratatouille but more concentrated.
Can samfaina be made in advance?
Yes, samfaina is even better the next day: the flavors meld together. Make the samfaina the day before, store it in the refrigerator, and cook the cod just before serving.
Does aioli have to be egg-free?
Traditional Catalan aioli is just garlic + oil (no egg). The version with egg is easier and milder. Both are perfectly valid to accompany cod. The perfect aioli for cod. Authentic Catalan aioli is made only with garlic and olive oil (no egg).
What cut of cod is best for Catalan-style?
Thick loin is ideal: it withstands frying and maintains its juicy texture. Flank works well and is more economical. Catalan-style cod is the Mediterranean expression of cod cuisine in Catalonia.
Is it the same as cod with tomato?
No. Cod with tomato mainly contains tomato. Catalan-style cod contains complete samfaina (eggplant + bell pepper + zucchini + tomato) and aioli. More vegetables, more complexity. It consists of cod loins cooked with samfaina (the Catalan sofrito of bell pepper, eggplant, zucchini, and tomato) and served with aioli.
What spice goes well with cod?
Don't be afraid of spices. Paprika, cumin, and cayenne are some options that pair very well with cod. But remember: less is more.
How to cook cod so it doesn't dry out?
How to prevent cod from drying out? One of the main problems when cooking cod is that it can easily dry out if left on the heat for too long. To avoid this: Control the cooking time: generally between 8 to 12 minutes, depending on the cooking method and the thickness of the pieces.
What are the ingredients for Bacalao a la Riojana?
4 MSC fresh cod loins, 200g each. Olive oil. ½ green pepper cut into julienne strips. ½ red pepper cut into julienne strips. 1 onion cut into julienne strips. 2 cloves garlic, minced. 500g crushed tomatoes. ½ glass of white wine.
Buy premium cod loins for your Catalan dish at Bacalalo — Mercat del Ninot, Barcelona.
→ Prepare it with Bacalalo products: Extra desalted cod loin | Cod with sanfaina




