Summary: Cod with tomato is one of the most comforting stew-like dishes in Spanish cuisine. In this comprehensive guide, you'll find the classic pan-fried recipe in just 30 minutes, the oven-baked version, with peppers, with onions, tips for achieving the perfect sauce, a cooking time table by cut, nutritional information, pairing suggestions, and 12 frequently asked questions answered. Everything you need to master this foolproof classic.
Contents
- What is cod with tomato and why it never fails
- Ingredients for 4 servings
- Step-by-step pan-fried cod with tomato recipe
- Baked cod with tomato
- Cod with tomato and peppers
- Cod with tomato and caramelized onions
- Cooking time table by cod cut
- Fresh vs. fried vs. crushed tomato: which to use
- Tips for the perfect tomato sauce
- Variations: with olives, capers, and potatoes
- Nutritional information for cod with tomato
- Accompaniments and pairings
- History and tradition of cod with tomato in Spain
- Frequently asked questions
Cod with Tomato: Easy 30-Minute Recipe
What is cod with tomato and why it never fails
Cod with tomato is one of those dishes that define Spanish grandma's cooking. Two humble ingredients – cod and tomato – that together create a simple, flavorful, and deeply comforting stew. It's the dish you prepare on a Tuesday with what you have in the fridge, and also the one that appears on celebratory tables because everyone loves it.
Its success lies in the balance: the natural sweetness of cooked tomato offsets the salty intensity of the cod, while garlic and extra virgin olive oil provide that aromatic base characteristic of traditional cod in sauce recipes. It's almost impossible to mess up, making it the perfect recipe for beginners and seasoned cooks alike.
It's prepared throughout Spain, from Andalusia to the Basque Country, and across Castile and Catalonia, with minor but significant variations: some add bell peppers, others caramelized onions, some finish it in the oven. In this guide, you'll find all the versions so you can choose the one that best suits you.
Ingredients for 4 servings
For the classic, easy cod with tomato recipe, you need very few ingredients. Here's the complete list:
- 600 g of desalted cod (loins or cheeks, cut into 4 generous pieces)
- 800 g of ripe tomatoes (or 400 g of canned crushed tomatoes)
- 1 medium onion (finely chopped)
- 3 cloves of garlic (sliced)
- Extra virgin olive oil (5 generous tablespoons)
- 1 teaspoon of sugar (optional, to correct acidity)
- 1 bay leaf
- Salt (little or none, cod is already salty)
- Ground black pepper
- Flour (2 tablespoons, for dusting the cod)
- Fresh parsley (for garnish)
Important note about cod: the quality of the cod changes everything. Icelandic cod (Gadus morhua) has a firm, meaty, flaky texture that perfectly withstands cooking with the sauce without falling apart. If you use pre-desalted cod, you save 24-48 hours of soaking, and the result is just as good.
Step-by-step pan-fried cod with tomato recipe
This is the easy cod with tomato recipe that takes 30 minutes and turns out perfect. Follow these 8 steps:
Step 1 -- Prepare the cod. Pat the cod pieces dry with paper towels. This is important: if the cod is wet, it will splatter when frying and won't brown well. Lightly dust each piece with flour on both sides, shaking off any excess.
Step 2 -- Sear the cod. Heat 3 tablespoons of extra virgin olive oil in a wide pan over medium-high heat. When the oil is hot (but not smoking), place the cod pieces skin-side up. Sear them for 2 minutes per side until golden. Remove and set aside on a plate.
Step 3 -- Sauté the garlic. In the same oil (reduce heat to medium-low), add the sliced garlic. Cook for 1-2 minutes, stirring frequently, until golden but not burned. Burnt garlic will make the whole sauce bitter.
Step 4 -- Add the onion. Add the finely chopped onion and a pinch of salt. Sauté over medium heat for 5-6 minutes, stirring occasionally, until transparent and tender.
Step 5 -- Incorporate the tomato. If using fresh tomatoes, grate or crush them beforehand. Add the tomato to the pan along with the bay leaf. Increase heat to medium-high and cook for 10-12 minutes, stirring occasionally, until the sauce thickens and the tomato loses its raw acidity. If the sauce is too acidic, add the teaspoon of sugar.
Step 6 -- Season and adjust. Taste the sauce. Remember that the cod will add salt to the dish, so be cautious. Add black pepper to taste.
Step 7 -- Add the cod. Place the seared cod pieces over the tomato sauce, skin-side up. Reduce heat to medium-low, cover the pan, and cook for 8-10 minutes. The cod will finish cooking in the sauce, absorbing all the flavors.
Step 8 -- Rest and serve. Remove from heat, sprinkle fresh chopped parsley on top, and let rest for 5 minutes with the lid on. This resting period allows the flavors to meld and the cod to release its gelatin into the sauce.
Total time: 30 minutes. Difficulty: low.
Baked cod with tomato
The baked cod with tomato version is ideal when you want a juicier result, with a slightly gratinéed surface and without having to watch the pan. It's the same recipe, but the oven does the work for you.
How to make it:
- Preheat the oven to 200°C (390°F) with top and bottom heat.
- Prepare the tomato sauce in the pan following steps 3 to 6 of the base recipe (garlic, onion, tomato). Cook for 12-15 minutes until the sauce is very thick.
- Pour the sauce into an oven-safe dish. No need to grease if the sauce has enough oil.
- Place the cod pieces on top of the sauce, skin-side up. It is not necessary to sear them beforehand in this version.
- Bake for 15-18 minutes at 200°C (390°F). The cod will be ready when the flakes separate easily when pressed with a fork.
- If you want a gratinéed touch, turn on the broiler for the last 2-3 minutes.
The advantage of the oven is that the surrounding heat cooks the cod more evenly and the sauce reduces without the risk of sticking. It's perfect for preparing large quantities: with a large dish, you can make baked cod with tomato for 6-8 people without complications.
Cod with tomato and peppers
The cod with tomato and peppers version is possibly the most visually appealing and flavorful of all variations. Peppers add sweetness, texture, and a spectacular color to the sauce.
Additional ingredients:
- 1 large red bell pepper, cut into strips
- 1 Italian green bell pepper, cut into strips
Preparation:
- Sear the cod as in the base recipe and set aside.
- In the same oil, sauté the bell pepper strips over medium heat for 8-10 minutes until tender but still with some texture.
- Add the garlic and onion, and sauté for another 4-5 minutes.
- Add the tomato and cook for 10 minutes.
- Place the cod on top of the sauce with peppers, cover, and cook for 8-10 minutes over low heat.
Roasted peppers (from a jar or homemade) also work very well. In that case, add them directly with the tomato without sautéing, as they are pre-cooked. This dish is a cousin to bacalao a la vizcaína, with the difference that here fresh tomato is used and the peppers are visible in strips instead of pureed into the sauce.
Cod with tomato and caramelized onions
The cod with tomato and caramelized onions takes the proportion of onion to the extreme: instead of using one onion as a base for the sauce, here the onion is the star. The result is a silky, sweet, and deeply aromatic sauce.
Specific ingredients:
- 3 large onions (about 600g), thinly sliced into julienne
- 400g crushed tomatoes
- 1 teaspoon sweet paprika from La Vera
Preparation:
- Sauté the julienned onions in olive oil over low heat for 20-25 minutes. Take your time: the onion should become transparent, silky, and slightly caramelized. This step is what differentiates a good cod with caramelized onions from a mediocre one.
- Add the sweet paprika, stir for 30 seconds (paprika burns quickly), and immediately add the crushed tomatoes.
- Cook the sauce for 10 minutes over medium heat.
- Place the cod (without flouring in this version) on top of the bed of onions and tomatoes.
- Cover and cook for 10-12 minutes over low heat.
The secret is not to rush the onions. If they are properly sautéed, you won't need to add sugar to the tomato sauce: the caramelized onions provide all the necessary sweetness.
Cooking time table by cod cut
Not all cod cuts require the same cooking time. Use this table as a reference for your cod with tomato recipe:
| Cod cut | Approx. thickness | Time in sauce (pan) | Time in oven (200 °C / 390 °F) | Result |
|---|---|---|---|---|
| Loin / Cheek | 3-4 cm (1.2-1.6 in) | 10-12 min | 18-20 min | Thick flakes, juicy |
| Small loins | 2-3 cm (0.8-1.2 in) | 8-10 min | 15-18 min | Tender, flakes perfectly |
| Tail | 1.5-2 cm (0.6-0.8 in) | 6-8 min | 12-15 min | More gelatinous, soft texture |
| Shredded | Flakes | 3-5 min | 8-10 min | Integrates into the sauce |
| Thick cut (Penca) | 4-5 cm (1.6-2 in) | 12-15 min | 20-22 min | Very meaty, thick flakes |
Golden rule: cod is perfectly cooked when the flakes separate easily when pressed lightly with a fork, but the center is still juicy and not dry. Overcooking is the most common mistake: the cod continues to cook for 2-3 minutes after removing it from the heat due to residual heat.
Fresh vs. fried vs. crushed tomato: which to use
The choice of tomato type makes a huge difference in the final result of your cod with tomato. Here's an honest comparison:
Natural grated tomato (the best option). Ripe plum or vine tomatoes, grated with a coarse grater. The result is a sauce with a rustic texture, intense flavor, and freshness. It needs 12-15 minutes of cooking to lose acidity and thicken. This is the grandma's option and gives the best result if you have good tomatoes.
Canned crushed tomatoes (the practical option). Perfect for when it's not tomato season or you're in a hurry. Choose a brand that uses real tomatoes without additives. It needs 10-12 minutes of cooking. The result is consistent and reliable.
Fried tomato (the quick option). This comes pre-cooked, with oil and sugar. If you use it, reduce the oil in the recipe and don't add sugar. The sauce cooking time is reduced to 5 minutes (just to integrate flavors). The result is sweeter and less complex. It works, but it's not the same.
Our recommendation: use fresh tomatoes in season (June-October) and canned crushed tomatoes the rest of the year. Avoid fried tomato if you can: the difference in flavor is worth the extra 10 minutes of cooking.
Tips for the perfect tomato sauce
The sauce is what differentiates a bland easy cod with tomato from one that makes you close your eyes in pleasure. These are the tricks that really work:
- Don't skimp on extra virgin olive oil. Tomato sauce needs fat to develop its full flavor. If you see a film of orange oil on the surface of the sauce, you're on the right track. That oil is not excess; it's flavor.
- Cook the tomato until it changes color. When the sauce turns from bright red to dark red-orange, the tomato has lost its raw acidity. That's the moment.
- Add a pinch of sugar only if necessary. Taste the sauce first. If the tomato is good and ripe, you won't need sugar. If it's acidic, half a teaspoon is enough.
- Bay leaf makes all the difference. A single bay leaf adds a subtle aroma that rounds out the entire sauce. Remove it before serving.
- Do not add water. If the sauce thickens too quickly, reduce the heat instead of adding water. Water dilutes the flavor; low heat concentrates it.
- Finish with fresh parsley. Never dried. Fresh chopped parsley added at the last moment provides a refreshing contrast that balances the entire dish.
Variations: with olives, capers, and potatoes
Once you've mastered the base recipe, cod with tomato allows for countless variations. These are the most popular and the ones that work best:
With black olives. Add a handful of pitted black olives (Kalamata or Aragonese type) 5 minutes before adding the cod to the sauce. The olives provide a salty and bitter note that perfectly complements the sweetness of the tomato. This is a very popular variation in Mediterranean cuisine.
With capers. Capers are the secret ingredient in many Italian tomato sauces, and they work just as well with cod. Add 2 tablespoons of drained capers along with the tomato. If they are salt-cured capers, soak them for 10 minutes beforehand to reduce the saltiness.
With potatoes. Peel 3-4 medium potatoes, slice them 1 cm thick, and lightly fry them in oil before assembling the dish. Place the fried potatoes at the bottom of the dish, pour the tomato sauce over them, and top with the cod. Bake for 20 minutes at 200 °C. This is the most substantial version and works perfectly as a single dish. The result is reminiscent of baked cod with potatoes but with the richness of the tomato sauce.
With peas. Frozen peas (or fresh if in season) are added 5 minutes before serving. They add sweetness, color, and vegetable protein. This is many families' favorite version to give the dish a more complete touch.
With pine nuts and raisins. The Catalan-medieval version: a handful of toasted pine nuts and some soaked raisins added to the sauce. It's a sweet and sour profile that works surprisingly well with cod.
Nutritional Information for Cod with Tomato
Cod with tomato is a nutritionally very balanced dish. These are the approximate values per serving (1/4 of the basic recipe):
| Nutrient | Per serving | % DV* |
|---|---|---|
| Calories | 285 kcal | 14% |
| Protein | 32 g | 64% |
| Total fat | 12 g | 15% |
| - of which saturated | 1.8 g | 9% |
| Carbohydrates | 11 g | 4% |
| - of which sugars | 7 g | 8% |
| Fiber | 2.5 g | 10% |
| Sodium | 480 mg | 20% |
| Vitamin B12 | 3.2 mcg | 133% |
| Selenium | 42 mcg | 76% |
| Phosphorus | 290 mg | 41% |
| Omega-3 (DHA+EPA) | 0.3 g | -- |
*Daily Value based on a 2,000 kcal diet.
Cod is one of the leanest protein sources available: 32g of protein with barely 1g of its own fat. Most of the fat in the dish comes from extra virgin olive oil, which is healthy monounsaturated fat. Tomatoes provide lycopene (a powerful antioxidant), vitamin C, and potassium. It is a dish suitable for weight control diets and especially recommended for its high content of vitamin B12 and selenium. For more information on the properties of cod, consult our complete guide to cod calories and properties.
Pairings and Accompaniments
Cod with tomato is a generous dish that works well on its own, but with the right accompaniment, it goes from very good to extraordinary.
Classic accompaniments:
- White rice. The perfect accompaniment: it absorbs the tomato sauce and creates a complete dish. Make the rice slightly loose so it soaks up well.
- Boiled or steamed potatoes. Quartered, with a drizzle of olive oil on top. Simple and effective.
- Crusty bread. Essential for dipping in the sauce. A good crystal bread, country bread, or toasted baguette.
- Mashed potatoes. The combination of mashed potatoes + tomato sauce + cod is pure comfort food.
Modern accompaniments:
- Couscous. Absorbs the sauce just like rice, but with a lighter texture and a North African touch.
- Sautéed vegetables. Green asparagus, green beans, or spinach sautéed with garlic provide a fresh, green contrast.
- Lamb's lettuce salad. A handful of lamb's lettuce with a light lemon dressing to cleanse the palate between bites.
Pairing:
- Young white wine: a Verdejo from Rueda, an Albariño, or a Godello. The acidity of the white wine complements that of the tomato, and the freshness balances the richness of the cod.
- Rosé wine: a rosé from Navarra or Provence. It has enough structure for the tomato without competing with the cod.
- Light red wine: if you prefer red, opt for a young Mencía from Bierzo or an unoaked Garnacha. Nothing with excessive tannin.
- Beer: a cold lager or a wheat beer. Works especially well in summer.
History and Tradition of Cod with Tomato in Spain
Cod arrived on the Iberian Peninsula in the 15th century with Basque fishermen who fished in the Newfoundland and Iceland fishing grounds. The salting technique allowed the fish to be preserved for months, making it a fundamental food during Lent, when the Catholic Church prohibited the consumption of meat.
Tomatoes, meanwhile, arrived from America in the 16th century, but it took more than a century for them to be incorporated into Spanish cuisine. Until the mid-17th century, they were considered an ornamental plant, not food. When Spanish cooks finally began to use them in sauces and stews, the marriage between cod and tomato was inevitable.
Cod with tomato as a consolidated dish appears in Spanish cookbooks of the 18th century. In "Arte de Cocina" by Martínez Montiño (Felipe III's chef), cod preparations with sauce are already mentioned, although tomato was not yet the protagonist. It is in 19th-century cookbooks that the recipe takes the form we know today: desalted cod, tomato sauce with onion and garlic, olive oil.
Its popularity in Spanish home cooking is explained by practical reasons: dried cod was cheap and could be stored without refrigeration, tomatoes were abundant in summer and bottled for winter, and olive oil was (and is) the cooking fat par excellence. The result: an economical, nutritious, easy-to-make dish that everyone liked. The perfect recipe from "cocina de aprovechamiento" (cuisine of utilizing leftovers) that has transcended its humble origins to become a timeless classic.
🛒 Products mentioned in this article
⭐ 4.9/5 · 24-48h cold shipping · Since 1990 at Mercat del Ninot
Frequently Asked Questions
Can cod with tomato be made without desalting it first?
It is not recommended. Salted cod that has not been desalted has a salt concentration that would make the dish inedible. The desalting process requires 24-48 hours of soaking in cold water, changing the water every 8 hours. The most convenient alternative is to buy pre-desalted cod, which comes ready to cook without soaking.
How long does cod with tomato keep in the fridge?
Cod with tomato keeps perfectly in the fridge for 3-4 days in an airtight container. In fact, like many stews, it tastes even better the next day because the flavors meld during cold storage. Reheat over medium-low heat in a pan or for 3-4 minutes in the microwave.
Can cod with tomato be frozen?
Yes, it can be frozen for up to 2 months. The tomato sauce freezes perfectly. The cod may lose some firmness when thawed, but the result is still good. Always thaw in the refrigerator for 12 hours (never at room temperature) and reheat gently.
Which cut of cod is best for cod with tomato?
The loin and jaw are the ideal cuts: thick, fleshy, and with the perfect proportion of gelatin. The loins are the second best option. The tail works well but is thinner and cooks faster. Shredded cod is perfect if you want the cod to be fully integrated into the sauce, in the style of a more rustic stew.
Do you need to flour the cod before cooking it with tomato?
It is optional but recommended for the pan-fried version. Flourishing the cod before searing creates a thin crust that protects it from direct cooking and helps to slightly thicken the sauce. For the baked or onion-based version, you can skip the flour.
How to remove the acidity from tomato sauce?
Three strategies: (1) cook the sauce long enough over medium heat (minimum 10-12 minutes) until it darkens; (2) add half a teaspoon of sugar; (3) add a grated carrot which adds natural sweetness. Well-sautéed onion also helps a lot to balance the acidity.
Can fresh cod be used instead of desalted cod?
Yes, but the result is different. Fresh cod has less flavor and a softer texture than desalted cod. If using fresh cod, you will need to salt it a little and the cooking time in the sauce will be reduced to 5-6 minutes to prevent it from falling apart.
Is it better to make cod with tomato in a pan or in the oven?
It depends on what you're looking for. In a pan, it's faster (30 minutes), the cod gets a more pronounced outer crust, and you have more control over doneness. In the oven, it's easier (just keep an eye on it), the cod is juicier and more uniform, and you can prepare larger quantities without complication.
Can cod with tomato be made in a Thermomix?
Yes. Program 7 minutes, varoma, speed 1 for the garlic and onion sofrito. Add the tomato and program 12 minutes, varoma, speed 1. Place the cod in the varoma and program 15 minutes, varoma, speed 1. The result is very good, although you lose the prior searing of the cod.
How many calories does cod with tomato have?
Approximately 285 kcal per serving (for 4 people). It is a low-calorie dish, high in protein (32 g) and low in saturated fat. Most of the fat comes from extra virgin olive oil, which is healthy monounsaturated fat.
What is the difference between cod a la Vizcaína and cod with tomato?
They are different dishes. Bacalao a la Vizcaína uses dried choricero peppers (not tomatoes) as the base of the sauce, which are hydrated and pureed to achieve a thick red sauce. Cod with tomato uses fresh or crushed tomato as the main ingredient. The confusion arises because both produce a red sauce, but the flavor is completely different.
Can cod with tomato be made for many people?
It is an ideal dish for large groups. The oven version is the most practical: prepare the sauce in a large pot, pour it into large baking dishes, place the cod on top, and bake. You can prepare the sauce the day before and assemble + bake on the day of the event. For 10 people, multiply the ingredients by 2.5.
If you want to explore more cod recipes, visit our collection of desalted cod recipes where you will find everything from the classic baked cod with potatoes to more elaborate preparations such as cod in green sauce.










