Garlic Herb Baked Cod: Easy Weeknight Recipe
Garlic herb baked cod is a fast weeknight fish dinner. Learn the right temperature, timing, toppings, sides, and safe storage.
| ~6 min read | Seafood
What's inside
Garlic herb baked cod is a quick weeknight fish dinner in which cod fillets are topped with a mixture of butter or olive oil, minced garlic, and chopped herbs (typically parsley, dill, thyme, or a blend), then baked at around 400°F (200°C) until the fish flakes and reaches an internal temperature of 145°F (63°C). It is one of the fastest and most forgiving ways to cook white fish, and the whole dish usually comes together in under 25 minutes from a cold oven.
What Garlic Herb Baked Cod Actually Is
The dish is a simple preparation rather than a single fixed recipe. Cod is a lean, mild, flaky white fish, and its neutral flavor takes well to assertive seasonings. The classic version combines softened butter (or olive oil) with minced or grated garlic, chopped fresh herbs, salt, and black pepper, spreads that mixture over the fillets, and bakes them in a hot oven. Some versions add lemon juice or zest, breadcrumbs, or a pinch of red pepper flakes, but the core is always the same: fish, fat, garlic, herbs, heat.
Cod is a good choice for this method because it holds its shape reasonably well and cooks quickly. Thicker loin cuts take longer than thin tail pieces, so a recipe that works for one may overcook the other. That is why checking with a thermometer rather than relying on time alone matters so much here.
Why the Method Works
Baking at high heat (400–425°F / 200–220°C) cooks the fish fast, which keeps it moist, while the garlic-herb topping browns slightly and flavors the surface. The fat in the topping carries the fat-soluble flavor compounds in the garlic and herbs, so the seasoning actually tastes like something rather than sitting on top of the fish. A hot oven also helps the fish release from the pan more cleanly.
The single most important factor is not the recipe but the internal temperature. Fish is done at 145°F (63°C). At that point it is opaque and begins to flake. Cod can go from perfectly cooked to dry and rubbery within a few minutes, so a food thermometer inserted into the thickest part of the fillet is the reliable check. Color and flakiness alone are not enough.
How to Make It: Step by Step
- Heat the oven to 400°F (200°C). Line a sheet pan with parchment or lightly grease it.
- Pat the cod fillets dry with paper towels. Do not rinse them; rinsing spreads bacteria around the kitchen.
- Mash softened butter (or combine olive oil) with minced garlic, chopped parsley, dill, or thyme, salt, and pepper. Aim for roughly 1 tablespoon of fat and 1 clove of garlic per fillet, adjusting to taste.
- Place the fillets on the pan, season lightly with salt, and spread the garlic-herb mixture evenly over the top.
- Bake until the thickest part of the fish reaches 145°F (63°C), usually 12–18 minutes depending on thickness. Start checking at 10 minutes.
- Let the fish rest a minute or two, then serve with lemon wedges.
For a crisper top, broil for the final 1–2 minutes, watching closely so the garlic does not burn. Burnt garlic turns bitter quickly.
Choosing the Fish and the Topping
Fresh cod should smell mild and clean, with firm, translucent flesh. Frozen cod works well too, but it must be thawed safely: in the refrigerator overnight, under cold running water in a sealed bag, or in the microwave followed by immediate cooking. Never thaw fish on the counter.
Other white fish substitute well: halibut, haddock, pollock, tilapia, and rockfish all take to this treatment. Adjust cooking time for thickness. Very thin fillets may need only 8–10 minutes.
For the topping, fresh herbs give the best flavor, but dried herbs work in a pinch at about one-third the volume. Parsley and dill are the most common pairing with cod; thyme, chives, and tarragon also work. Garlic powder can stand in for fresh garlic, but fresh minced garlic gives a rounder flavor. A squeeze of lemon before baking brightens the dish without overpowering it.
Common Problems and How to Fix Them
- Dry, rubbery fish: almost always overcooking. Pull the fillets at 145°F (63°C) and no higher.
- Burnt garlic: garlic scorches fast at high heat. Keep it in the butter rather than exposed on top, or broil only briefly at the end.
- Fish sticking to the pan: parchment paper or a well-oiled pan solves this; also make sure the fillets are dry before they go in.
- Uneven cooking: thin tail pieces cook faster than thick loins. Sort by thickness or remove thin pieces early.
- Watery pan: frozen fish that was not fully thawed releases water and steams instead of roasting. Thaw completely and pat dry.
What to Serve With It
Garlic herb baked cod pairs with almost any simple side. Good options include roasted potatoes, rice pilaf, couscous, crusty bread, steamed green beans, roasted broccoli, asparagus, or a simple green salad. A crisp white wine or sparkling water with lemon works well for adults. Because the fish cooks quickly, time the sides to finish at the same moment; start longer-cooking sides like potatoes first.
Making It Ahead, Storing, and Reheating
The garlic-herb butter can be mixed up to 3 days ahead and refrigerated, or frozen in small portions. The assembled dish should be cooked promptly; do not leave raw fish sitting at room temperature.
Refrigerate leftovers within 2 hours (1 hour if the room is above 90°F / 32°C) at 40°F (4°C) or below. Cooked fish keeps about 3–4 days in the refrigerator. Reheat leftovers to 165°F (74°C). Frozen leftovers keep best for about 2–3 months at 0°F (-18°C). Reheated cod is best flaked into rice bowls, pasta, or salads, since it will not return to its fresh texture.
Frequently Asked Questions
What temperature should baked cod reach?
Fish, including cod, is safely cooked at an internal temperature of 145°F (63°C). Check the thickest part of the fillet with a food thermometer rather than judging by color or flakiness.
Can I use frozen cod without thawing it?
It is not recommended for this recipe. Frozen fillets release water as they cook and steam rather than roast, and the outside overcooks before the center is done. Thaw in the refrigerator, under cold running water in a sealed bag, or in the microwave, then cook immediately.
How long does baked cod last in the fridge?
Cooked fish keeps about 3–4 days refrigerated at 40°F (4°C) or below. Refrigerate within 2 hours of cooking and reheat to 165°F (74°C).
Can I make garlic herb baked cod dairy-free?
Yes. Substitute olive oil for the butter; the flavor is slightly different but the method works the same. Use about 1 tablespoon of oil per fillet.
Is it safe to store garlic butter at room temperature?
No. Garlic-and-herb butter should be refrigerated and used within about 3 days, or frozen. Never store garlic or herb oil infusions at room temperature, because they can support the growth of harmful bacteria.
What can I use instead of cod?
Haddock, halibut, pollock, tilapia, and rockfish are good substitutes. Adjust cooking time for thickness and check the internal temperature of 145°F (63°C) rather than relying on the clock.