Baked cod with lemon and garlic reaches 145°F (63°C) at the thickest point in about 12–15 minutes in a 400°F oven, and that number—not the clock—is what tells you it's done. Cod goes from silky to rubbery within roughly 3 minutes of overcooking, so the method below leans on an instant-read thermometer and takes the fish out early. The recipe serves four, uses about 1.5 pounds of fillets, and needs nothing fancier than a sheet pan and foil.

Why 400°F and 12–15 Minutes Beats the 350°F Renditions Everywhere

The typical baked cod recipe runs 350°F for 25 minutes, which is a plausible way to get dry fish. I prefer a hotter, shorter bake on a sheet pan because it lets the butter and lemon juice brown slightly while the fillet stays just past translucent. A 1-inch-thick cod fillet at 400°F is usually done in 12–15 minutes; a 1.5-inch fillet needs closer to 18–20, which is why you need to know your thickness before you set the timer.

Here's the temperature comparison that matters. The FDA's 2022 advice for fish is a 145°F internal temperature, and cod cooked to that point is opaque, flakes with a fork, and separates easily. Chefs often pull cod at 130–135°F for a softer texture because carryover heat during rest will bring it up; the FDA figure is the safety floor, not a recipe-only number. If you're pregnant, immunocompromised, or cooking for anyone in a high-risk group, follow the FDA and skip the carryover trick.

Oven placement matters too. Put the pan on the middle rack, not the top, because a top-rack bake browns the garlic to bitterness before the fish is cooked through. If your oven runs hot—many home ovens are off by 25–50°F, according to decades of Consumer Reports testing—drop the set temperature to 375°F and add three minutes rather than fighting the thermostat.

The salt timing is where home cooks get snagged. Salt the fillets 10–15 minutes before baking and blot the released moisture away. Cod is a lean white fish with almost no fat, so it doesn't self-baste the way salmon does, and 15 minutes of dry-salting firms the fillet without making it taste cured. Skip the dry salt if you're using frozen fillets, which already hold a lot of water from the ice glaze.

Assembling the Sheet Pan: Lemon Slices, Garlic, and the Butter Question

Lay the lemon slices underneath the cod, not on top. The lemon underneath gives the fish a citrus cushion as it releases juice, and it keeps the skillet sauce honest; lemon on top can make the fillet steam rather than bake. Use about two lemons total, sliced into thin rounds, and press the slices flat against the foil so they don't roll under the fish.

Garlic: four to six cloves, sliced thin and scattered around the fillets. Slicing rather than mincing saves you from burnt garlic bits, because thin slices toast at the edges while the interior stays sweet. If you use a garlic press, add the garlic after the fish comes out, not before, and stir it into the hot pan drippings for 30 seconds to cook off the raw bite.

Butter versus olive oil. Melted butter (4 tablespoons) gives the classic richness, and olive oil (3 tablespoons) survives the higher heat with fewer scorched milk solids. A 50/50 mix—2 tablespoons butter, 1.5 tablespoons olive oil—gives you the flavor without a cloud of burnt solids. Drizzle it over the fillets right before they go in, and reserve another tablespoon for a final drizzle.

The sheet pan should be lined with foil or parchment. Parchment is better for lemon slices because they stick to bare metal, but foil is fine if you oil it first. Don't crowd the fillets. Four 6-ounce fillets on a half-sheet pan (18 by 13 inches) fit with room to spare; two pans' worth on a single sheet will steam rather than bake.

Step-by-Step Bake With a Check at Minute 10

This is the sequence I use. The minutes are for 1-inch fillets at 400°F on the middle rack.

1: Heat the oven to 400°F and line a half-sheet pan with foil or parchment. 2: Pat the fillets dry, salt them on both sides, and let them sit 10–15 minutes. Blot any released water. 3: Arrange lemon slices flat on the pan, then lay each fillet on top, skin side down if the skin is on. 4: Scatter sliced garlic around the fillets and drizzle with the butter-oil mixture. Season with black pepper. 5: Bake 12 minutes, then check the internal temperature at the thickest part with an instant-read thermometer. 6: If the reading is 130–135°F, pull the pan and let the fish rest 3–4 minutes—the temperature will climb 5–10 degrees. 7: If the reading is below 125°F, return the pan for 2–3 minutes and check again. 8: Drizzle the reserved butter over the top, squeeze half a lemon over the pan, and serve right away.

The failure case worth knowing: if you check at minute 12 and your fillet is already at 150°F, you've overcooked it, but not fatally—slide it off the pan onto a plate and let it rest without returning it to the oven. Cod at 150–155°F is firmer and less juicy but still edible; anything near 165°F turns chalky. The bigger risk is a thin tail—the tapered end of a cod fillet can be 1/2 inch thick and will be done in half the time. Fold the thin tail under the thicker portion before baking to even out the thickness, or use a piece of foil to tent it after eight minutes.

One safety point on carryover. The FDA's 145°F standard exists because fish can carry parasites and bacterial pathogens, and residual heat during resting continues to kill them. If your thermometer reads 135°F after the bake, that's below the standard, so follow the FDA number rather than the chef's instinct when serving to vulnerable guests. This is general cooking information, not medical advice—if you have specific food-safety concerns, ask your local health authority or a qualified professional.

What to Serve and How to Time the Rest of the Meal

The bake takes 15 minutes; the sides should be mostly done before the fish goes in. Roast vegetables (broccoli, asparagus, cherry tomatoes) need 20–25 minutes at 400°F, so put them in first, and add the fish on the same rack or below once the vegetables have a 10-minute head start. Rice takes 18–20 minutes; start it as the oven preheats. Potatoes roasted in 1-inch cubes need 30 minutes, so those go in 15 minutes before the cod.

Lemon and garlic sauce: the pan juices are the sauce. Spoon them over rice or potatoes, and finish with a pinch of flaky salt and chopped parsley. If you want a thicker sauce, whisk a teaspoon of Dijon mustard into the pan drippings after the fish comes out—it emulsifies the butter and lemon into something closer to a vinaigrette.

Don't serve the cod straight from the pan if you can avoid it. A plate and a 3-minute rest lets the juices redistribute, and it's the difference between a fillet that flakes cleanly and one that falls apart on the fork.

How to Buy Cod: Thickness, Freshness, and the Frozen Difference

Thickness is the variable that determines bake time, and most supermarket cod is 3/4 to 1 inch. Ask the fish counter for the thick end of the loin—the part closer to the head—because the tail end runs thinner and cooks faster. Alaska cod and Atlantic cod are the two common names on U.S. labels; Atlantic cod (Gadus morhua) is a species name and a U.S. labeling requirement under the FDA's Seafood List, while "Alaska cod" is usually walleye pollock sold as cod—check the Latin name on the label if the exact species matters to you.

Frozen versus fresh. Frozen cod is often better than "fresh" cod that's been sitting on ice for three days. The FDA and USDA both note that freezing is a preservation method, not a quality loss; the practical rule is to thaw in the refrigerator overnight (about 8–12 hours for a 1-pound fillet) and pat it dry before salting. Don't thaw on the counter. Don't bake from frozen unless you add 8–10 minutes and accept a texture that's noticeably less flaky—the edges overcook before the center comes up to temperature.

A cost computation that most recipes skip: a 1.5-pound bag of frozen cod fillets runs roughly $12–18 at U.S. supermarkets in recent seasons, according to the USDA's quarterly retail price reports, and gives four to five servings. Fresh cod at the fish counter often runs $14–20 per pound. The difference is about $10–15 per meal for the same nutrition and a similar cooked result if the frozen fillet is thawed properly. If your budget is the deciding factor, frozen is the better buy for this recipe.

Smell test. Fresh cod should smell of the sea, not ammonia. Ammonia scent indicates the fish is past its prime, and no amount of lemon and garlic will fix it. Also check the flesh: it should be nearly translucent, not milky or opaque, before cooking.

Why Your Cod Came Out Dry: Five Failure Points and the Fix for Each

Overcooking is the top cause, but not the only one. Here are the five I see most often, in the order they ruin dinners.

Failure What went wrong Fix
Fillet is chalky and flakes into shards Internal temperature above 155°F Pull at 130–135°F and rest 3–4 minutes
Fish is watery and steam-cooked Fillets crowded on the pan Four 6-oz fillets max on an 18×13-inch half sheet
Garlic is bitter and dark Garlic added at the start on the top rack Slice, not mince, and add after minute eight
Lemon tastes burnt Slices on top, exposed to direct heat Put lemon under the fish, not over it
Center is raw while edges are cooked Fillet is uneven thickness Fold the thin tail under or use a foil tent

The rack position is worth a second look. If your oven has a strong top element, the garlic and lemon on the surface will scorch before the fish reaches temperature, and the fix is a lower rack and a piece of foil laid loosely over the pan for the first 8 minutes. Remove the foil for the last 5 minutes to crisp the tops.

One fix that most recipes omit: a quick saltwater brine—1 tablespoon kosher salt per cup of cold water, 15 minutes—helps cod hold moisture through the bake because it lightly denatures the surface proteins. Don't brine for longer than 30 minutes; the fish will start to taste like the sea instead of the lemon and garlic.

Make-Ahead, Reheating, and Whether Leftovers Are Worth It

Cod is best the day it's baked, and leftovers are limited but usable. Cold baked cod keeps 3–4 days in the refrigerator in a sealed container per USDA food-safety guidance (United States Department of Agriculture, FoodSafety.gov storage chart). Reheat gently: 300°F oven for 8–10 minutes, covered, with a splash of water or a pat of butter on top. A microwave will work, but it heats unevenly and can dry the edges, so cover the plate and use 50% power for 60–90 seconds.

The better move with leftovers is to flake the cold fish into a salad or a fish cake mix, where the firmer texture is an asset rather than a flaw. One cup of flaked cod plus a beaten egg, two tablespoons of breadcrumbs, and lemon zest makes four small cakes that pan-fry in 3 minutes per side.

If you want to prep ahead, assemble the pan with lemon and fish, cover, and refrigerate for up to 4 hours; add the garlic and butter just before baking so the garlic doesn't turn sulfurous in the cold. Don't freeze the assembled pan—the lemon will break down the fish's texture and the garlic will lose its punch.

Scaling the Recipe for Two, Six, or a Dinner Party

For two, use two 6-ounce fillets, halve the butter to 2 tablespoons, and keep the temperature and time the same. For six, use two half-sheet pans rather than crowding one—the fillets need 1–2 inches of space between them, and stacking pans on different racks can cause uneven browning. Rotate the pans at the 8-minute mark if your oven runs unevenly.

The relationship between size and time is roughly linear up to about 1.5 inches of thickness; beyond that, the center lags and the fillet needs 18–22 minutes at 400°F or a drop to 375°F with a longer bake. A 2-inch-thick cod loin is the one case where I'd recommend 375°F for 20–22 minutes with a foil tent for the first half.

If you're serving a crowd, bake in two batches rather than one long bake. The first batch can rest on a warm plate under foil while the second bakes, and cod holds for about 10 minutes that way without losing much. At a dinner party, that timing is the difference between calm plating and a rush.

FAQ

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

Look for opaque white flesh that separates into large flakes when pressed with a fork, and a center that resists slight pressure rather than giving way. The FDA's 145°F standard is the safest marker, and visual cues alone can miss the undercooked center on a thick fillet. If you don't own a thermometer, buy a $10 instant-read model—it removes the guesswork for the price of one fish dinner.

Can I bake cod from frozen?

Yes, but add 8–10 minutes to the bake time and expect a less flaky texture. Frozen fillets release water as they cook, which steams the surface and dilutes the lemon-garlic butter; pat the fillets dry after thawing in the refrigerator for the best result. Never thaw fish on the counter at room temperature.

What does cod taste like compared to salmon?

Cod is mild, lean, and slightly sweet, with a flaky texture and almost no fishy aftertaste; salmon is richer and fattier, with a pronounced flavor. That's why cod takes lemon and garlic well without being overwhelmed, while salmon often needs only salt and pepper. For anyone who "doesn't like fish," cod is the more forgiving starting point.

Is baked cod healthy?

Cod is a lean source of protein and provides vitamin B12 and selenium, and the lemon-garlic preparation adds little saturated fat if you use olive oil. The butter version is richer but still modest at about 130 calories per serving from the butter. This is general information, not nutritional advice—consult a dietitian or your physician for individual guidance.

Why did my garlic turn blue or green?

Garlic can turn blue-green when it reacts with acid, usually lemon juice, at low temperatures or over long storage. It's harmless and doesn't affect flavor. To avoid it, add lemon after the bake or use the garlic within 20 minutes of cutting.

How much cod per person should I buy?

Plan on 6 ounces of raw fillet per adult, which yields about 5 ounces cooked; cod loses roughly 15–20% of its weight in moisture during baking. A 1.5-pound bag of frozen fillets feeds four, and a 2-pound fresh loin feeds four with a small leftover portion.

Can I use this method for other white fish?

Yes—halibut, haddock, and pollock all work with the same temperature and time, though halibut is denser and often needs 3–5 extra minutes. Tilapia is thinner and cooks in 8–10 minutes. The thermometer check at minute 10 remains the reliable way to adapt.

What's the best way to reheat leftover baked cod?

A 300°F oven for 8–10 minutes, covered, with a splash of water or butter, preserves texture better than a microwave. Reheating to 145°F is the food-safety target per USDA guidance. If the fish is already dry, flake it into a salad or fish cakes instead of reheating it.