Baked Cod With Tomatoes and Onions Recipe: Mediterranean Bake With Flaky Fish and Sweet Caramelized Veggies

Side Dishes

Baked Cod With Tomatoes and Onions Recipe: Mediterranean Bake With Flaky Fish and Sweet Caramelized Veggies

This baked cod with tomatoes and onions recipe delivers restaurant-quality flakiness in every bite, paired with sweet caramelized vegetables that bring Mediterranean flavors to your table.

The secret lies in a precise balance of acidity from tomatoes and onions, which tenderizes the fish while creating a rich, aromatic sauce that clings perfectly to the flakes.

I developed this method after years of testing—no shortcuts, just a proven technique that transforms simple ingredients into a dish worthy of a seaside bistro.

The beauty of this recipe is its simplicity: just six core ingredients, a single baking dish, and 30 minutes of active prep time. The cod bakes gently atop a bed of tomatoes and onions, absorbing their natural juices while developing a delicate golden crust.

The onions caramelize beautifully, adding depth without overpowering the delicate fish, while the tomatoes contribute a bright acidity that cuts through the richness. This dish is foolproof for weeknight dinners or special occasions—just don’t skip the final resting period, which ensures maximum flakiness.

By the time it emerges from the oven, you’ll have perfectly flaky cod with tender, caramelized vegetables clinging to each piece. The sauce pools beneath the fish, rich and aromatic, ready to be spooned over crusty bread or fresh greens.

The texture contrast—crisp edges on the cod, velvety caramelized vegetables—makes every bite satisfying. Serve with a simple arugula salad or warm pita to complete the Mediterranean experience, and you’ll have a dish that’s both elegant and effortless.

This recipe scales beautifully for two or four, and leftovers reheat perfectly for lunch the next day. The key to success is patience—letting the vegetables cook low and slow ensures they develop that perfect caramelization while the cod stays moist.

Whether you’re feeding a family or treating yourself to a special meal, this baked cod delivers professional-quality results with minimal effort. Let’s get started on creating your perfect Mediterranean bake.

👨‍🍳
Difficulty
Medium
🐟
Diet
Seafood
🔥
Calories
Med Cal

Ingredients for baked cod with tomatoes and onions

Six Mediterranean staples transform into restaurant-worthy baked cod with caramelized tomatoes and onions.

Ingredient Amount Notes
Cod Fillets 🐟 2 whole Skin-on, center-cut for even thickness
Yellow Onions 🧅 1 whole Thinly sliced, large diameter preferred
Roma Tomatoes 🍅 1 lb Halved, seeds removed for cleaner sauce
Extra-Virgin Olive Oil 🫒 ¼ cup Light fruity variety for delicate flavor
Dry White Wine 🍷 ½ cup Sauvignon Blanc or Pinot Grigio preferred
Fresh Thyme 🌿 ¼ cup Leaves only, stems removed
Garlic Cloves 🧄 4 cloves Thinly sliced, not minced
Diamond Crystal Kosher Salt 🧂 1 ½ tsp For seasoning and brining
Freshly Ground Black Pepper 🌶️ ½ tsp Coarsely ground for texture
Lemon Zest 🍋 1 tbsp From 1 medium lemon
All-Purpose Flour 🌾 1 tbsp For light dredging
Fresh Parsley 🌿 ⅛ cup Chopped, for garnish

The cod selection is critical—look for center-cut fillets with skin at your local seafood counter or Whole Foods fish department. The skin anchors the fillets during baking, preventing curling. If buying frozen, thaw in the fridge overnight for even cooking. For onions, yellow or red varieties caramelize best; avoid sweet onions like Vidalia. The tomatoes should be firm with vibrant color—heirloom or Roma types hold up best to baking. Fresh thyme and parsley elevate the dish, so prioritize these over dried versions unless absolutely necessary. Trader Joe's often carries high-quality fresh herbs at competitive prices.

No white wine? Substitute with additional lemon juice and vegetable broth—the acidity remains key. For a deeper flavor, add 1 tsp fish sauce or soy sauce to the wine substitute. If fresh thyme is unavailable, dried thyme at one-third the quantity works, but toast it lightly in the olive oil first to revive its aroma. Swapping Roma tomatoes for vine-ripened? Reduce the quantity by 20% as they release more liquid. The flour dredge can be omitted entirely if you prefer a completely skin-on presentation, though it adds subtle texture. For extra brightness, zest from a Meyer lemon adds floral notes compared to standard lemons.

Prep the vegetables first—they'll caramelize while the cod bakes. Store any unused fresh herbs in damp paper towels within sealed containers for up to 5 days in the fridge. The baked cod reheats beautifully; cover with foil and warm at 300°F for 10 minutes to maintain moisture. This dish freezes well for up to 3 months—portion into single servings before freezing. For presentation, arrange the caramelized onions and tomatoes artfully around the cod fillets before serving, using the pan juices as a sauce. The leftovers make excellent lunches or sandwich fillings the next day.

❤️

Why You'll Love This Recipe

  • Same recipe, different vibes: toss it together for a quick Tuesday supper or dress it up with fresh parsley and crusty bread for guests. The cod stays flaky and the tomatoes soak up all the good flavors—no one will guess it took less than 30 minutes.
  • One-Pan Magic: I swear by this for lazy nights—just toss the sliced onions and halved tomatoes straight onto the same sheet pan as the cod, drizzle with olive oil and wine, and let the oven do the work. No chopping boards to clean, no extra pots to wash.
  • Wine-Infused Richness: That splash of dry white wine doesn’t just cook off—it lingers, turning the tomatoes into sweet, jammy bursts and the cod into tender, buttery perfection. The onions caramelize right on top, adding a depth that’s ridiculously satisfying.
  • Weeknight to Dinner Party: Same recipe, different vibes: toss it together for a quick Tuesday supper or dress it up with fresh parsley and crusty bread for guests. The cod stays flaky and the tomatoes soak up all the good flavors—no one will guess it took less than 30 minutes.

Step-by-step instructions for Mediterranean baked cod

This method delivers perfectly flaky cod with caramelized tomatoes and onions—every layer infused with Mediterranean brightness.

1

Prepare the Cod for Maximum Flakiness

Pat the 2 whole cod fillets dry with paper towels, removing any moisture from the skin. Using a sharp chef's knife, score the flesh side of each fillet in a diamond pattern—about ½-inch apart—without cutting into the skin. This creates channels that allow the sauce to penetrate deeply while ensuring the fish remains intact during baking.

In a small bowl, whisk together the 1 tablespoon all-purpose flour, 1.5 teaspoons diamond crystal kosher salt, 0.5 teaspoon freshly ground black pepper, and 1 tablespoon lemon zest. Lightly dredge each cod fillet in this mixture, pressing gently to adhere the seasoning evenly. The flour creates a delicate crust that helps seal in moisture while the citrus zest adds a bright, aromatic layer that prevents the fish from drying out.

2

Sauté the Aromatics for Deep Flavor

Heat a large oven-safe skillet over medium heat and add the 0.25 cup extra-virgin olive oil. Once shimmering, add the 1 whole yellow onion (thinly sliced) and cook for 5-6 minutes until softened and just beginning to caramelize. Remove the onions with a slotted spoon and set aside.

In the same skillet, add the 4 cloves garlic (thinly sliced) and cook for 30 seconds until fragrant—don't let them brown. Stir in the 0.25 cup fresh thyme leaves and cook for another 30 seconds. Immediately pour in the 0.5 cup dry white wine, scraping up any browned bits from the bottom of the pan. Let the wine reduce by half, about 2 minutes, until it develops a slightly syrupy consistency. This deglazing step captures all the caramelized onion and garlic flavors that will infuse the cod.

3

Layer the Tomatoes and Prepare for Baking

Add the 1 lb roma tomatoes (halved and seeded) to the skillet, arranging them cut-side down. Spoon the reduced wine mixture over the tomatoes, ensuring they're evenly coated. Return the caramelized onions to the skillet and distribute them evenly around the tomatoes. The tomatoes should release their juices as they warm, creating a luscious base for the cod.

Carefully place the seasoned cod fillets on top of the tomato mixture, skin-side down. The fillets should nestle comfortably among the vegetables without overcrowding. The arrangement ensures even heat distribution and allows the fish to cook gently while the tomatoes caramelize further. The skin-side down position also helps create a crispy skin while keeping the delicate flesh moist.

4

Bake to Flaky Perfection

Transfer the skillet to a preheated 375°F oven and bake for 18-20 minutes. The cod is done when it flakes easily with a fork and reaches an internal temperature of 145°F. You'll know it's ready when the edges appear opaque and the flesh pulls apart cleanly at the thickest part. The tomatoes should be tender but still hold their shape, with a glossy sheen from their natural juices.

During the last 2 minutes of baking, watch for the skin to develop a delicate golden crust. If the tomatoes begin to brown too quickly, tent the skillet loosely with aluminum foil. Remove the cod from the oven and let it rest for 5 minutes before serving. This resting period allows the fish to reabsorb its juices, ensuring each bite is moist and flavorful.

5

Garnish and Serve

Sprinkle the baked cod evenly with the 0.125 cup chopped fresh parsley, distributing it over the tomatoes and fish. The parsley adds a fresh, vibrant contrast to the rich, caramelized flavors. Serve immediately with the tomato-onion mixture spooned alongside the cod, allowing each diner to create their own perfect bite. The combination of flaky cod, sweet caramelized onions, and juicy tomatoes creates a harmonious Mediterranean medley that's both elegant and satisfying.

👨‍🍳

Pro Tips For Making Baked Cod With Tomatoes And Onions

  • Sear the Cod First: Hit the pan with a splash of olive oil and medium-high heat before baking—just 2-3 minutes per side until golden. I learned this the hard way: skipping the sear means the fish turns out bland and mealy, no matter how good the tomatoes.
  • Slice Onions Thinly: Quarter the onions lengthwise, then slice them paper-thin—no thicker than 1/8 inch. Thick slices stay crunchy and bitter; thin ones soften perfectly and caramelize without turning mushy.
  • Don’t Overcrowd the Pan: Leave space between cod fillets when arranging them in the baking dish. I used to stack them like lasagna, and they’d steam instead of brown. Give each fillet at least an inch of room.
  • Deglaze with Wine Early: Pour the white wine into the pan before adding tomatoes—let it bubble for 30 seconds to lift the fond. Then toss in the chopped tomatoes and onions. This builds flavor instead of just drowning it in liquid.

Regional styles of this recipe

Greek Lemon-Infused Style

In Greece, this dish often incorporates extra lemon juice and oregano for brightness. After caramelizing the onions and tomatoes, I add 2 tablespoons fresh lemon juice and 1 teaspoon dried oregano to the pan before adding the cod.

The Greeks also love to finish with a drizzle of extra-virgin olive oil from Kalamata olives and a sprinkle of feta cheese on top. Serve with warm pita bread for dipping. 🍋

Spanish Sofrito Technique

Spanish cooks often start with a sofrito—a slow-cooked base of onions, garlic, and tomatoes. For this dish, I sauté the onions and garlic until deeply golden, then add the tomatoes and cook for 10-12 minutes until they form a thick, jam-like consistency.

The cod is placed on top and baked with a sprinkle of smoked paprika and sherry vinegar for a smoky, tangy twist. Pair with crusty bread and a glass of Albariño. 🍷

Provençal Herb Garden

In Provence, fresh herbs take center stage. After caramelizing the onions and tomatoes, I stir in 1 tablespoon each of fresh tarragon, thyme, and marjoram before adding the cod. A splash of pastis or Pernod (just ½ teaspoon) adds an anise note that pairs beautifully with the fish.

Garnish with fresh basil and serve with a simple green salad. 🌿

Italian Lemon-Caper Version

Italian cooks often add briny capers and lemon zest for complexity. After baking, I sprinkle the cod with 1 tablespoon capers and 1 teaspoon lemon zest, letting them soak into the fish for 2-3 minutes before serving.

A drizzle of chili oil adds heat, balancing the richness. Serve with a side of polenta or crusty focaccia. 🌶️

Nordic Dill and Mustard

Scandinavian-style baked cod swaps Mediterranean flavors for bright dill and tangy mustard. After caramelizing the onions and tomatoes, I mix 1 tablespoon Dijon mustard and 1 tablespoon chopped fresh dill into the pan before adding the cod.

Finish with a squeeze of lemon and serve with lingonberry jam for a sweet-tart contrast. ❄️

Nutrition facts

Servings 4
Amount Per Serving
Calories 320kcal
% Daily Value *
Total Fat 18g23%
Saturated Fat 3g15%
Cholesterol 85mg28%
Sodium 580mg25%
Total Carbohydrate 12g4%
Dietary Fiber 3g11%
Sugars 6g
Protein 34g68%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Frequently asked questions

1

Can I substitute another white fish for cod in this recipe?

Halibut, sea bass, or mahi-mahi work beautifully with this method. Stick to center-cut fillets with skin for best results. The baking time may vary slightly—halibut needs about 15-18 minutes while mahi-mahi cooks faster at 12-15 minutes. Always check for 145°F internal temp.

2

Why does my cod turn out dry when baked?

Overcooking is the most common cause. Cod is delicate and reaches 145°F quickly—use a meat thermometer! Also, skip the resting period or overcrowding the pan can dry it out. For extra moisture, add 1 tablespoon lemon juice to the tomato mixture before baking. The skin-side-down position helps too.

3

Can I make this dish ahead of time?

Yes, but with care. Assemble the dish (without baking) up to 24 hours ahead and refrigerate uncovered. Bake straight from the fridge at 375°F for 25-30 minutes, adding 5 extra minutes to account for cold start. For leftovers, reheat at 300°F for 10 minutes covered with foil to preserve moisture.

4

What's the best way to caramelize the onions without burning them?

Low and slow wins here! Cook onions over medium-low heat for 20-25 minutes without stirring constantly. The sugar in onions needs time to break down. If they brown too quickly, reduce heat further. For deeper color, add 1 teaspoon sugar to the oil at the start. Stir occasionally but let them develop that sweet, golden crust.

5

How can I make this dish vegetarian?

Swap cod for firm tofu or king oyster mushrooms (sliced into fillet shapes). Marinate tofu in lemon juice, olive oil, and herbs for 30 minutes first. Mushrooms need 10 extra minutes baking time. Add 1 tablespoon nutritional yeast to the tomato mixture for umami depth. The texture won't be identical, but it's delicious!

★★★★★4.7(5 reviews)
Categories Side Dishes