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







Have not yet made this recipe, but the reviews sound awesome.
I do have to compliment you on your great photos and layouts!
Thanks so much! Hope you get a chance to make it.
This is awesome. I used a combination of Roma anc cherry tomatoes. Will make again.
Thanks so much Jan! So glad you loved it.
Just discovered this recipe; it really is an easy and elegant dish that I’d highly recommend!!
I didn’t have chicken stock/broth or cherry tomatoes on hand, so I substituted with water and a couple chopped tomatoes from our garden (it’s the tail end of tomato season, here in SC, and this recipe does a fabulous job of showcasing the tomato in all its sweet, tangy glory). For the fresh herbs, I used a generous combination of parsley, garlic chives, a couple varieties of basil, and tarragon (I went lighter on the tarragon since it’s flavor can easily overwhelm). Otherwise, I followed the recipe to a T, and it turned out beautifully! Will definitely make again!
Thanks so much for sharing Kelly! So glad it worked out for you with few tweaks. Thanks so much again 🙂
Followed the recipe but deleted the sugar and salt, the fish was delicious!
So easy! Definitely a five star meal!
Thank you Lisa! So glad you loved it.
Great recipe! My husband thought it was as good as Nobu’s miso cod. Thank you for sharing.
Thank you so much for the compliment! So happy you all enjoyed it.
This recipe is so delicious. Followed every ingredient and it came perfectly great! Next on the list is are the salmon with red pepper sauce. I’m pretty sure my family will love it as well.
That’s great Odette! Thank you so much. I hope you love the salmon wtih red pepper sauce too!
I didn’t have cod on hand, so substituted with swai.
It was exceptional and pretty light for dinner. The sauce was so good with all those herbs mixed together. Really like this recipe. Ate it with gretchka, pouring some of the herb butter sauce on top. Delicious:)
Thank you! So happy you loved it, especially over gretchka 🙂
I made this a couple hours ago. Didn’t have shallots so I used chopped onion, plus I added some mushrooms. Everything else I followed to a tee.
While eating this gourmet meal, my wife Janet kept saying “Oh My Gosh!” over and over. I paired it with jasmine rice. This, by far, is my favorite recipe of all. Thank you for publishing the recipe.
Thank you so much Norm for such a sweet comment! So happy you and your wife enjoyed this recipe. I bet the addition of mushrooms was delicious too.
I’m looking forward to making this tonight. Do you think diced roma tomatoes would work?
I think you should be okay with using diced roma tomatoes. You may have to add a little more than what the recipe calls for though.
and simmer a little longer to get the moisture out.
I made it with the Romas, and simmered it longer though I hadn’t read your comment yet. 🙂 Absolutely delicious, and fantastic recipe! I agree with Maggie’s comment…it is restaurant worthy! Thanks so much for the recipe.
Thanks for letting me know! So glad it worked out for you.
This was great! I used cod loin & doubled the sauce recipe. We soaked up the leftover sauce and juices with garlic ciabbata bread….Fantastic. Thank you for the recipe
Thank you so much Nanette! So glad you enjoyed it and that garlic ciabbata bread sounds sooo good!
Can I use frozen cod or does it have to be fresh??
You can use frozen but I would de-frost the fish first.
Saw this on Instagram the other day and made it today, it was delicious!!! I added some spinach and served over mashed potatoes. My husband loved it! Thank you
That’s great! LOVE that you added spinach and mashed potatoes…I mean you can’t go wrong there 🙂 Thanks so much for your feedback. So glad you guys loved it.
This is SO good! The market didn’t have cod when I went so I substituted for tilapia and it still tastes wonderful. I wasn’t prepared for sides but I think I would do a Caesar salad and crispy bread. And wine of course!
So happy you made it work with tilapia! And crusty bread for all that sauce sounds SO good!
Joyce: I’m so happy you enjoyed the cod! Thank you so much for such a sweet comment. I’m not going to lie, I’m a little jealous of your warm weather and abundant supply of fish 🙂
Are we supposed to pick which of those fresh herbs to use or are we supposed to use all four, thr basil, parsley, cilantro, chives?
Hi Kate: you can use all of the herbs or just couple of them. Thanks!
How much of each herb?
You need a total of 3 Tablespoons, mixed in any amount you like.
I’ve made this and shared with several friends we all agree this would be a $30 entree in a nice restaurant. I didnt change anything the first time and the second I added a few kalamata olives and serve with a side of angle hair. Truly great recipe! Thanks.
Maggie that is the SWEETEST compliment! THANK YOU so much! So happy to hear you are enjoying this cod and thank you for sharing with your friends.
I agree, a restaurant quality recipe. I’m definitely going to use this for my next dinner party! Served this in a pasta bowl so none of the wonderful sauce would escape. Served with crusty bread and angel hair pasta. Thank you for sharing.
Could I put the mixture on the cod and bake all together?
You can but the herb butter will lose its creaminess and break down. So you’ll have more “oily” sauce if that makes sense.
Can you make this for meal prep or will it be too oily the next day
I think if you’re going to serve it over rice or quinoa it will be okay to reheat/meal prep. The sauce will break down a little but since it’ll be served over something, you wont really taste the difference.
how many calories/carbs is this meal?
We tried it this way last night and its not as good. The sauce thins out and loses its flavor a little.
Wow! Made this dish this evening and it was absolutely delicious! Followed the recipe- So easy and quick. Paired with basmati rice. Can’t wait to make again!
So glad you loved it Laura! We love pairing it with rice as well. Thanks so much for your feedback.
I made this tonight and it was delicious. I did make a few tweaks. I used cod loin and basically doubled the recipe. I put in much more garlic, used onion, added fresh spinach and muscles. Awesome!
That sounds so delicious! So glad you enjoyed it Rosemary.