Recipes Diets we supportDiets Start your planStart plan

Baked Cod With Fennel And Thyme

Flaky roasted cod fillets laid over caramelized fennel and onion, finished with olive oil, garlic, fresh thyme, and a squeeze of lemon.

By Camille McLaughlin, RDN, LD, registered dietitian nutritionist

Built forAIPDinner
Also fits Pescatarian Paleo High-Protein Low-Carb Whole30
Fennel wedges go soft and sugary in the oven, the anise smell mellowing into something closer to caramelized onion. Cod laid over the top turns opaque and breaks into fat white flakes, sliced garlic and thyme perfume the olive oil under it all, and a squeeze of lemon at the table sharpens every bite.
↓ Jump to Recipe

Why You'll Love This Recipe

This is a gentle, weeknight-friendly dinner for anyone who wants a light but filling plate of fish and vegetables without a long list of ingredients or a sink full of pans. Everything cooks on one pan, and the flavors are clean and bright rather than heavy. It suits cooks who are avoiding a long list of common irritants and additives, since it leans entirely on whole vegetables, fresh herbs, olive oil, and citrus for its flavor.

The fennel and onion get the oven to themselves first. Given a head start in the hot oven, their natural sugars caramelize and the fennel's sharp anise note mellows into something sweet and savory, building a flavorful base before the fish ever touches the pan. The cod is added only for the final stretch so it cooks through gently and stays moist, soaking up the lemon, garlic, and thyme while the vegetables underneath keep it from drying out.

The dish is satisfying because cod is delicate and mild yet filling, and it carries the aromatic fennel and herbs beautifully. Fennel and onion add fiber and a natural sweetness, olive oil brings richness and helps you feel content, and the lemon keeps every bite tasting fresh. It is nourishing without being heavy, the kind of meal that leaves you comfortable rather than weighed down.

White cod fillets on a bed of golden roasted fennel wedges with lemon and thyme sprigs. Save
Prep: 15 minsCook: 30 minsTotal: 45 minsMakes: 4 servingsServing: 1 cod fillet with roasted fennel and onion

Ingredients

Serves4Amounts change with the number. The nutrition panel is per serving, so it stays the same.
  • 4 cod fillets (about 680 g total)
  • 2 fennel bulbs, cut into wedges
  • 1 large onion, sliced
  • 4 tbsp olive oil
  • 2 tbsp fresh lemon juice
  • 4 garlic cloves, sliced
  • 1 tbsp fresh thyme leaves
  • 3/4 tsp salt

Instructions

  1. Preheat and prep the vegetables: Preheat the oven to 425°F (220°C). Trim the stalks and root end from the fennel bulbs, then cut each bulb into wedges through the core, since the core is what holds the layers together in the oven. Peel the onion and slice it thinly. Peel and thinly slice the garlic cloves.
  2. Roast the base: On a rimmed sheet pan or in a baking dish, toss the fennel wedges, sliced onion, and sliced garlic with half of the olive oil and a pinch of the salt. Spread it into a single layer and roast for about 18 minutes, until the edges are browned and the fennel is beginning to soften. The vegetables go in alone first, because fennel takes about twice as long as cod does.
  3. Prepare the cod: While the vegetables roast, pat the cod fillets dry with paper towels and pick the thyme leaves from their stems. Squeeze the fresh lemon juice and set it aside.
  4. Add the cod: Pull the pan from the oven and tuck the cod fillets among and over the roasted vegetables. Drizzle the fish and vegetables with the remaining olive oil and the lemon juice, then season the fillets with the remaining salt and the thyme leaves.
  5. Finish baking: Return the pan to the oven and bake for about 12 minutes, until the cod turns from translucent to opaque white and flakes easily when pressed with a fork; the thickest part should reach 145°F (63°C) on an instant-read thermometer.
  6. Serve: Spoon the roasted vegetables and all of the pan juices over each fillet and serve right away, since those juices are where the garlic, the thyme, and the lemon have collected.
Nutrition Facts
4 servings per recipe
Serving size1 cod fillet with roasted fennel and onion
Calories319
% Daily Value*
Total Fat 15g19%
Saturated Fat 2g11%
Trans Fat 0g
Cholesterol 73mg24%
Sodium 607mg26%
Total Carbohydrate 14g5%
Dietary Fiber 5g17%
Total Sugars 7g
Includes 0g Added Sugars 0%
Protein 32g
Vitamin D 1.3mcg7%
Calcium 102mg8%
Iron 1.7mg10%
Potassium 919mg20%
* Percent Daily Values are based on a 2,000 calorie diet. Values are computed from USDA FoodData Central and are estimates. Per serving (1 cod fillet with roasted fennel and onion).

Variations

  • Herb swap: Trade the thyme for fresh rosemary or oregano, or use a mix. Rosemary is more assertive, so use a lighter hand than you would with thyme.
  • Orange and fennel: Replace the lemon juice with fresh orange juice and add a little grated orange zest with the thyme for a sweeter, more floral finish against the anise of the fennel.
  • Olive and caper: Sprinkle chopped pitted green or black olives and a few rinsed capers over the vegetables before the final bake for a briny, savory lift.
  • Different white fish: Swap the cod for haddock, halibut, or another firm white fish. Thicker fillets may need a few extra minutes; go by the opaque, flaking cue rather than the clock.
  • Extra greens: Add a couple of handfuls of trimmed green beans or asparagus to the pan along with the fennel and onion so they roast into the base and stretch the vegetables further.

Storage & Leftovers

Store leftover cod and vegetables together in an airtight container in the refrigerator for up to three days. The flavors of the fennel and garlic will deepen overnight, though the fish is most tender the day it is made.

Reheat gently to keep the cod from turning rubbery. Warm it in a covered baking dish in a low oven, around 275°F (135°C), until just heated through, or use short bursts in the microwave at reduced power. Spoon some of the reserved pan juices over the fish first to reintroduce moisture.

To get ahead, you can trim and cut the fennel, slice the onion, and slice the garlic a day in advance and keep them refrigerated in a covered container. You can also roast the vegetable base earlier in the day, then add the cod and finish baking just before dinner.

Notes & Tips

A few practical notes from my kitchen to help this come out right every time.
  • Choosing the cod: Look for fillets that are firm, translucent, and smell clean like the sea, not fishy. Fillets of even thickness cook at the same rate; if one end is thin, tuck it under itself so it does not overcook.
  • Save the fennel fronds: Do not throw away the feathery green fronds from the top of the bulbs. Chop a few and sprinkle them over the finished dish for a fresh, delicate anise garnish.
  • Cut fennel through the core: Slice the wedges so a bit of the root core stays attached to each piece. The core holds the layers together on the pan instead of letting them fall apart into loose strands.
  • Pat the fish dry: Drying the fillets before they go on the pan helps the surface take on a little color and keeps the fish from steaming in its own moisture.
  • Judging doneness: Cod is done the moment it turns opaque and the flakes separate easily when nudged with a fork. It goes from perfect to dry quickly, so start checking a couple of minutes early.
  • Serving alongside: A spoonful of cauliflower rice or a simple green salad rounds this into a full plate and catches the bright, garlicky pan juices.

Nutrition & Mindful Eating

Everything goes into one dish and comes out of the oven smelling of thyme and lemon, the fennel and onion collapsed and sweet underneath, the cod sitting on top in white pieces that have barely had to work.
  • Fennel, onion and cod cook as one thing here. The vegetables go in first and soften into a bed, the fish goes on top and steams in what they release, and the olive oil ties them together while helping your body take up what the vegetables carry.
  • Fennel roasted long enough is a different vegetable from fennel raw. The anise edge goes and a caramel sweetness takes its place, the layers turn silky, and the fiber that would have been crunchy becomes soft and easy.
  • Cod is a close-grained white fish that wants a short cook and gentle heat, which is exactly what sitting on a bed of hot vegetables gives it, and it turns a tray of roasted fennel into a plate of protein.
  • Onion and garlic melt into the oil at the bottom of the dish and become the sauce, sweet and soft after that long slow heat, and gentle enough that people who find them harsh raw usually do fine here.
  • Fresh thyme and lemon are the smell that comes out of the oven door. The thyme goes woody and warm against the fennel, and the lemon squeezed over at the end is the sharp thing that makes the whole tray taste finished.
  • As you eat, run a fork through the fennel underneath before you touch the fish and taste how sweet the oven has made it, then keep the meal a sit-down rather than a stop.

Frequently Asked Questions

Can I use frozen cod?

Yes. Thaw it completely in the refrigerator first, then pat the fillets very dry before they go on the pan. Excess water from frozen fish will make it steam and can leave the vegetables watery.

My fennel tastes strongly of licorice. Will that carry through?

Roasting mellows fennel considerably. As it caramelizes, the sharp anise note softens into a gentle sweetness, so even people who are unsure about raw fennel usually enjoy it here.

How do I know when the cod is done without a thermometer?

Press the thickest part with a fork. When it has turned from glossy and translucent to opaque white and the flesh flakes into separate pieces with light pressure, it is cooked through.

Can I make this in a baking dish instead of on a sheet pan?

Yes. A shallow baking dish works well and pools more of the flavorful pan juices around the fish. A wide, rimmed sheet pan gives the vegetables more room to brown; either produces a good result.