Baked Cod with Lemon and Garlic: Easy Oven Recipe
Baked cod with lemon and garlic is a fast weeknight dinner. Get the oven temperature, timing, doneness checks, and storage tips for perfect results.
| ~6 min read | Seafood
What's inside
Baked cod with lemon and garlic is a simple oven method: cod fillets are seasoned, topped with a mixture of butter or olive oil, minced garlic, and lemon juice and zest, then baked at around 400°F (200°C) until the fish flakes easily and reaches an internal temperature of 145°F (63°C). It is a fast weeknight dish, usually done in 12 to 20 minutes depending on fillet thickness, and it works because cod is lean and mild, so it takes on the garlic and citrus without being overwhelmed.
Why Cod Works With Lemon and Garlic
Cod is a lean white fish with a delicate, slightly sweet flavor and large flakes. Because it has little fat of its own, it benefits from added fat — butter or olive oil — which carries the garlic flavor and keeps the surface from drying out. Lemon does two jobs: its acid cuts through the richness of the butter or oil, and its zest adds aromatic oils that survive the oven better than juice alone. Garlic, meanwhile, is fat-soluble, so it infuses the butter or oil and coats the fish evenly.
The main risk with cod is overcooking. Lean fish dries out quickly once it passes the done point, so the dish rewards a thermometer and a short bake more than a long, slow one. A fillet that is 1 inch thick typically needs 12 to 15 minutes at 400°F; a thicker loin cut may need closer to 18 to 20 minutes.
Choosing the Cod: Fresh, Frozen, and Cuts
Cod comes as fillets (thin tail-end pieces and thicker loin or center-cut pieces), as loins, and as frozen blocks or individually quick-frozen portions. For baking, thicker center-cut fillets hold up best because they cook evenly and stay moist.
- Fresh cod: look for firm, translucent flesh with a clean, mild smell and no gaping tears along the flakes. Store it in the coldest part of the fridge and cook within a day or two of purchase.
- Frozen cod: individually frozen fillets are convenient and often cheaper. Thaw them in the refrigerator overnight, or sealed in cold water, or in the microwave — never on the counter.
- Salt cod (bacalao): a completely different ingredient. It is heavily salted and dried and must be soaked and rinsed for hours, often overnight with water changes, before use. Do not substitute it directly in a fresh-cod recipe.
- Other white fish: haddock, pollock, halibut, and tilapia can stand in, though halibut is denser and needs a few extra minutes.
How to Make It: Step by Step
- Heat the oven to 400°F (200°C). Line a baking sheet with parchment or lightly oil a baking dish.
- Pat the cod fillets dry with paper towels. Dry surfaces help the topping cling and the fish brown rather than steam.
- Season both sides lightly with salt and black pepper. If you have time, salt the fillets 15 to 20 minutes ahead and refrigerate; this lightly firms the flesh.
- Melt 3 to 4 tablespoons of butter, or use an equal amount of olive oil, and stir in 2 to 3 minced garlic cloves, the zest of one lemon, and about 1 tablespoon of lemon juice. Add chopped parsley if you like.
- Arrange the fillets in a single layer, not touching. Spoon the garlic-lemon mixture over each one, spreading it evenly.
- Bake until the fish is opaque and flakes easily with a fork and the center reaches 145°F (63°C) on an instant-read thermometer. Start checking at 12 minutes for 1-inch fillets.
- Let the fish rest 2 to 3 minutes, then spoon the pan juices over the top and serve with fresh lemon wedges.
A common variation adds thin lemon slices under or on top of the fish, or a layer of cherry tomatoes and olives around the fillets. Breadcrumbs mixed with the garlic and a little grated Parmesan give a crisper crust; press the mixture on top before baking and expect a slightly longer bake.
Common Problems and How to Fix Them
- Dry, flaky fish: almost always overcooked. Pull it at 145°F and no later; residual heat continues cooking during the rest.
- Burnt garlic: minced garlic on the exposed surface can scorch. Mix it into the butter or oil rather than sprinkling it dry on top, and keep the oven at 400°F rather than broiling the whole time.
- Watery pan: cod releases liquid as it cooks. A parchment-lined sheet pan or a shallow dish helps; do not crowd the fillets or they will steam.
- Fish sticking: a cold pan or too little fat. Use parchment or oil the dish properly.
- Uneven cooking: thin tail pieces cook much faster than thick loins. Fold the thin tail under itself, or add the thick pieces to the oven a few minutes earlier.
What to Serve With It
The lemon-garlic pan juices are worth soaking up, so pair the cod with something absorbent or starchy:
- Rice pilaf, couscous, or orzo
- Crusty bread or roasted potatoes
- Steamed green beans, broccoli, or asparagus
- A simple salad with a sharp vinaigrette
- White beans or lentils for a heartier plate
Roasting vegetables on the same pan around the fish is efficient, but keep dense vegetables like potatoes in a separate pan or start them earlier, since they need far longer than cod.
Make Ahead, Storage, and Safety
The garlic-lemon butter can be mixed a day ahead and refrigerated. The fish itself is best baked just before serving, but leftovers keep well enough for another meal.
- Refrigerate leftovers within 2 hours (1 hour if the room is above 90°F) at 40°F (4°C) or below.
- Cooked cod keeps about 3 to 4 days in the refrigerator.
- Freeze leftovers at 0°F (-18°C), ideally within a day or two, and reheat to 165°F (74°C).
- Reheat gently — a low oven or microwave — because reheated cod dries out fast. Flake leftovers into fish cakes, chowder, or a pasta dish instead of reheating whole fillets.
- Always confirm doneness with a food thermometer at 145°F (63°C); color and flakiness alone are not reliable.
- Do not refreeze thawed raw cod unless it was thawed in the refrigerator and you cook it before refreezing.
If you are making a garlic butter to keep in the fridge, use it within a few days. Do not store garlic or herb infusions in oil at room temperature; garlic in oil is a known botulism risk and must be refrigerated and used quickly.
Frequently Asked Questions
How long does baked cod take in the oven?
At 400°F, a 1-inch fillet usually takes 12 to 15 minutes. Thicker loins may take 18 to 20 minutes. The reliable test is an internal temperature of 145°F (63°C), not the clock.
Can I use frozen cod without thawing it?
It is possible but uneven: the outside overcooks while the center stays cold. Thawing in the refrigerator overnight gives a much better result. If you must bake from frozen, add several minutes and check the center with a thermometer.
Why did my garlic turn bitter?
Garlic scorches at high heat when exposed. Stir it into melted butter or oil so it is coated, and avoid broiling for the whole cooking time. Burnt garlic tastes acrid and cannot be rescued.
Is baked cod healthy?
Cod is a lean source of protein and the dish can be made with olive oil instead of butter. Whether a food fits your diet is a question for your own judgment or a qualified professional; this recipe makes no health claims.
Can I make this in a slow cooker or air fryer?
An air fryer works well at about 400°F for 8 to 12 minutes depending on thickness. A slow cooker is not a good fit — cod overcooks and falls apart long before the appliance's typical cooking times.
What can I use instead of lemon?
Lime juice and zest work, as does a splash of dry white wine (for adults; the alcohol mostly cooks off but not entirely). A little vinegar can substitute in a pinch, though it is sharper.