Best Baked Cod Recipe Ever
This cod recipe is one of the best meals I’ve ever made, but don’t just take my word for it! With over 100 ratings and a 5-star review, it’s loved by readers, too. It has continued to be one of the most popular recipes on the site since I first posted it in 2016, getting millions of page views on a regular basis.
Table of Contents
Buttery Cod Fish Recipe
This is one of my favorite dinners to make when I want something a little special without spending hours in the kitchen. The cod is tender and flaky, but the tomato herb butter is what makes this dish worth sharing.
My tip is to let the tomatoes cook down until most of the liquid has evaporated, then stir in the butter and fresh herbs off the heat. You’ll end up with a rich, velvety sauce that’s full of flavor. I promise you’ll want to eat it by the spoonful.
I love serving it with rice, or simply crusty garlic bread for soaking up every bit of sauce. Add a side chopped salad, and you have a dinner that feels special but comes together in about 45 minutes.
Why You’ll Love This Butter and Tomato Baked Cod Recipe
- Big flavor from simple ingredients. Tomatoes, butter, and fresh herbs create a rich sauce that complements the mild, flaky cod.
- Ready in 45 minutes. Special enough for company and simple enough for a weeknight.
- Easy to make a meal. Serve with rice or crusty bread to soak up the sauce and a simple salad on the side.
Baked Cod Recipe Ingredients
See the recipe card for full information on ingredients and quantities.
- Cod fillets: Choose pieces of similar thickness so they cook evenly. Frozen cod works too; thaw completely and pat dry well to remove excess moisture.
- Tomatoes: Cherry or grape tomatoes work best here. Let them soften and burst as they simmer to build the base of the sauce.
- Butter: Use unsalted butter to control the seasoning. Stir it in off the heat for a smooth, velvety sauce.
- Fresh herbs: Basil, parsley, chives, or a combination all work well. Add them at the end to preserve their fresh flavor.
- Sugar: A small amount balances the tomatoes’ acidity. If your tomatoes are especially sweet, you can reduce it or leave it out.

How to Make The Best Baked Cod Recipe Ever
The recipe card below has all the details you need.

Step 1: Make the sauce. Sauté the shallot and garlic, then add the tomatoes, stock, and seasonings. Simmer until the tomatoes break down and most of the liquid evaporates.
Step 2: Finish with butter and herbs. Remove from the heat and stir in the butter and fresh herbs.
Step 3: Bake the cod. Pat dry, season, and arrange in an oiled baking dish. Add olive oil and lemon juice, cover tightly, and bake until the fish flakes easily.
Step 4: Combine and serve. Spoon the tomato herb butter over the cod. Cover and let stand for 1–2 minutes before serving.
Baked Cod Recipe Variations
- Try another fish. Swap the cod for haddock or halibut, adjusting the baking time for the thickness of your fillets.
- Add olives or capers. Stir a small handful of sliced Kalamata olives or a spoonful of drained capers into the tomato sauce. Taste before adding extra salt.
- Adjust the heat. Add a little more red pepper flakes for extra warmth, or leave them out for a milder sauce.
What to Serve with Baked Cod
I like to keep the sides simple so the tomato herb butter can shine.
- Rice or quinoa: Spoon the cod and sauce over cooked rice or quinoa to catch all those flavorful juices.
- Crusty bread: My favorite for soaking up the sauce. Try my garlic sourdough bread if you want something a little extra.
- A fresh salad: My house salad adds crunch and a refreshing balance to the buttery sauce.
Best Baked Cod Recipe FAQs
If your cod turns out tough or rubbery, it usually means it was overcooked. Cod is naturally a delicate fish, so it doesn’t take long in the oven. A good rule of thumb is to cook it until it just flakes easily with a fork. I always recommend keeping an eye on the thickness of your fillets. Thicker pieces need a little more time, while thinner ones can be done in as little as 10 minutes.
My go-to is a mix of garlic, lemon, fresh herbs, and a pinch of red pepper flakes. But it’s also delicious with Mediterranean spices like paprika, oregano, or dill. If you want to keep things super simple, even just olive oil, salt, and pepper will do the trick.

Video: How to Make Cod with Tomato and Herb Butter
If you make this recipe, please leave a ⭐️ STAR rating and COMMENT letting us know how you liked the recipe.
Best Baked Cod Recipe Ever
- Prep Time: 20 mins
- Cook Time: 25 mins
- Total Time: 45 mins
- Yield: 4-6 1x
- Category: Dinner
- Method: Baking
- Cuisine: American
Description
Most tender, flakiest, and flavorful cod you will ever make! This tomato and herb butter compliments the mild tasting cod in the most delicious way ever. It will be the only baked cod with butter you will crave time after time.
Ingredients
Tomato and Herb Butter
- 1 medium shallot, finely chopped
- 2 garlic cloves, minced
- 1 Tbsp. olive oil, plus extra for drizzling
- 1 pint grape or cherry tomatoes
- 1/2 cup chicken stock
- 1/2 tsp. kosher salt
- 1/4 tsp. red pepper flakes
- 1/4 tsp. granulated sugar
- 4 Tbsp. unsalted butter, sliced
- 3 Tbsp. fresh chopped herbs (basil, parsley, chives, cilantro), plus extra for garnish
Cod
- 2 – 2 1/4 pounds fresh cod fillets, cut into 6-8 oz. portions*
- 1 lemon
- Kosher salt and fresh ground black pepper
Instructions
Tomato and Herb Butter
- In a small saucepan heat olive oil over medium heat. Sauté shallot and garlic for 4-5 minutes or until soft, stirring occasionally.
- Add tomatoes, chicken stock, sea salt, red pepper flakes, and sugar. Simmer, uncovered, for 15-17 minutes or until tomatoes break down and release their juices and liquid has almost evaporated.
- Remove the saucepan from the heat and stir in the butter and fresh herbs. The herb butter should be velvety and thick. Cover and keep warm while the cod is baking.
Cod
- Preheat the oven to 400 degrees F.
- Drizzle the bottom of a casserole dish lightly with olive oil. You want a dish big enough to fit the cod in a single layer with some room around or you will get too much juice during baking.
- Pat dry the cod really well and place in a single layer. Season with salt and pepper to taste but be generous. Drizzle the top lightly with olive oil and squeeze of fresh lemon. I used about 1/2 lemon. Cover tightly with aluminum foil and bake for 12-18 minutes or until easily flaked. Baking time will depend on the thickness of the cod.
- Remove from the oven and evenly spread the tomato butter over the cod. Cover back with aluminum foil and let stand at room temperature for 1-2 minutes before serving. You just want all the flavors to come together.
- Garnish with fresh chopped herbs, if desired, and serve immediately.
Notes
-
Cod: Choose similar thicknesses for even cooking.
-
Leftovers: Refrigerate in an airtight container for up to 2 days. Reheat gently to avoid drying out the fish. I don’t recommend freezing.
Nutrition
- Serving Size: 1 (6-8 oz.) fillet plus sauce
- Calories: 350
- Sugar: 3.1 g
- Sodium: 383.3 mg
- Fat: 11.1 g
- Carbohydrates: 6.8 g
- Protein: 57.7 g
- Cholesterol: 168.7 mg







Can you make the sauce hours ahead then just reheat when the fish is cooking?
It’s best served immediately just because fish, especially white fish can get tough when reheated.
Not make the fish ahead, just the sauce? Is the sauce ok to reheat
You can make the sauce in advance but when reheating, I would heat over low heat to avoid the sauce becoming really oily.
This was soooo good. I made it exactly as written. Smooth, sauce that compliments the fish perfectly.
Thank you so much!!!
I’m so happy to hear that! Thank you.
This recipe rocked the house on Good Friday. My husband loved it and I must agree, it was so flavorful. Thank you for this recipe. We will make it on a continuous basis. Yummy!
Thank you so much! I’m so happy to hear that.
My husband and I haven’t been connecting lately. When I made this recipe he started to tear up, kissed me with a renewed passion and told me how much he loves me and my cooking. Will make again soon.
I’m so happy to hear that!
AMAZING!! Wow the best fish recipe ever. Thank you for sharing.
I’m so happy to hear that! Thanks for the feedback Kelly.
So delicious! Served it with roasted potatoes, a hit with the whole family, Going to try the sauce on roasted asparagus next time!
Yum! That sounds good. So happy you enjoyed it.
This was incredible! So flavorful and easy. My family loved it!
So happy to hear that Dawn! Thanks for the feedback.
I plan to make this on Christmas Eve as part of the “seven fishes” tradition of my family. It would be great if I can make it the day before & heat it up the next day. Can I do that?
You could but cod is best when served immediately. A lot of times when you reheat it, it can dry out a bit.
I cant find red pepper flakes. Can I use chilli flakes
Yes you can.
This recipe is perfect! Simple to make and so delicious! I added a chopped yellow pepper to the onions & garlic (I didn’t have a shallot). I also put a pinch of ground fennel with the onions/garlic/pepper as it works really with fish. Thank you Katya, for providing such a superb recipe 🙂 We thoroughly enjoyed it, and ate it with roasted sweet potatoes. I will definitely make this again.
That’s so great! Thank you Julie.
… forgot to mention we like it with gnocchi
I’ve made this almost a dozen times, and I just had to leave a review because it is so simple, but so good. Thyme, basil and parsley FRESH herbs are my fave, but as the recipe states, almost any fresh herbs will work. I cook the fish on the grill in a cast iron pan with a little butter and lemon. I do add a splash or two of white wine to deglaze the pan after sautéing shallots/garlic. My wife and I are foodies, and this fairly simple recipe is one we keep coming back to. Thank you Katya!
Thank you for feedback! Glad you are enjoying the recipe.
Not a fish fan, can you use chicken instead?!
I think it could be a topping for chicken but I would recommend you bake the chicken using your own method and then add the tomato mixture on top.
Excellent! I followed the recipe exactly and will definitely make again.
Thank you!
Soooo good!! I’ve made this twice and loved it both times. Followed the recipe, it’s perfect.
Thank you.
Thank you! So glad to hear that.
Delicious! The bright flavors of the sauce pair perfectly with this mild fish. This will become a regular in our household. My entire family loved it. Thank you for the recipe!
Fantastic, super bright flavours! Will make again.
Thank you!
Best recipe ever!
Just wanted to add that I made this with orzo which I added olive oil & capers too & then asparagus tips – delish
Gosh that sounds delicious!
Thanks so much!
This recipe was amazing, my son who is home from college due to covid-19 went back for seconds until it was all gone. I cant wait until covid-19 is over so I can prepare this for guest. Amazing!!!
So happy to hear that! Thank you Sedalia.
This recipe is amazing, my fiancé LOVES it! He wanted me to cook this when his friends came over.
That’s so great! Thank you Christy.
So so so good! This is going into my recipe file. There isn’t a thing I would change in the recipe 😊
Thank you Leah!
Big Hit. so easy and delicious. I w ill definitely do it again . I might add a little anchovy paste with the shallots and garlic to give it a bit more depth, but then I add anchovy paste to many things.
I’m so happy to hear that! Thank you for feedback.