The Feast

Home cooking recipes for everyday dinners and easy entertaining

How Long to Cook Cod in Foil – Times, Tips & Safety

· 6 min read · Dinners

Cod fillets wrapped in foil cook in about 12–15 minutes at 400°F (200°C) for a 1‑inch thick piece; thinner fillets need 10–12 minutes and thicker ones 16–20 minutes. Adjust the time if you use a higher or lower oven temperature, but always check that the internal temperature reaches 145°F (63°C) before serving.

Background & How Foil Packs Work

Cod is a lean, white‑fleshed fish that cooks quickly and can dry out if exposed directly to high heat. Wrapping the fillet in aluminum foil creates a sealed packet that traps steam generated by the fish’s own moisture and any added liquid (such as lemon juice, broth, or butter). This steam bath gently poaches the cod while the foil conducts heat evenly, resulting in a tender, flaky texture and a moist interior. The method is popular because it requires minimal cleanup, preserves delicate flavors, and works on ovens, grills, and even campfires.

Temperature, Time, and Thickness Guidelines

The two variables that most affect cooking time are oven temperature and fillet thickness. Below is a quick reference table that can be used as a starting point; always finish by checking the internal temperature.

  • 400°F (200°C): 10‑12 minutes for ½‑inch thick fillet; 12‑15 minutes for 1‑inch; 16‑20 minutes for 1½‑inch.
  • 425°F (220°C): subtract about 2 minutes from the times above.
  • 375°F (190°C): add 2‑3 minutes to the 400°F times.
  • Grill at medium‑high (≈400°F): 8‑10 minutes for ½‑inch; 12‑14 minutes for 1‑inch.

Other factors that can shift the time include:

  • Amount of added liquid – more liquid creates more steam, which can speed up cooking slightly.
  • Whether the foil packet is tightly sealed – a loose seal lets heat escape, lengthening the cook.
  • Starting temperature of the fish – fish taken directly from the refrigerator needs a minute or two longer than fish at room temperature.

Step‑by‑Step Preparation

  1. Preheat your oven, grill, or campfire to the desired temperature (most home cooks use 400°F).
  2. Lay a sheet of heavy‑duty aluminum foil (about 12×12 inches) on a flat surface.
  3. Pat the cod fillet dry with paper towels; this helps the seasonings adhere.
  4. Season the fish with salt, pepper, and any aromatics you like – lemon slices, herbs, or a dab of butter are common choices.
  5. Drizzle a small amount (1–2 teaspoons) of liquid such as white wine, broth, or olive oil to encourage steam formation.
  6. Fold the foil over the fish and crimp the edges tightly to seal the packet, leaving a small vent on one corner to allow excess steam to escape.
  7. Place the packet on a baking sheet or directly on the grill grates. Cook for the time range that matches your fillet’s thickness.
  8. When the timer goes off, carefully open the foil (steam will be hot). Insert an instant‑read thermometer into the thickest part; it should read at least 145°F (63°C).
  9. If the temperature is low, reseal and return to the heat for another 1–2 minutes.
  10. Serve immediately, spooning any pan juices over the fish.

Common Problems & Fixes

Even with a simple foil packet, mistakes can happen. Below are the most frequent issues and how to correct them.

  • Dry, overcooked fish: This usually means the packet was sealed too tightly, preventing enough steam, or the cooking time was too long. Reduce the time by 2‑3 minutes and consider adding a tablespoon more liquid.
  • Soggy, stewy texture: Excess liquid or a loosely sealed packet can cause the fish to sit in its own juices. Use less added liquid and ensure the foil is tightly crimped, leaving only a tiny vent.
  • Uneven cooking: If the fillet is unevenly thick, the thinner parts will finish early. Fold the thicker portion under the thinner one before sealing, or cut the fillet into uniform pieces.
  • Sticking to foil: Lightly oil the foil before placing the fish, or use parchment paper inside the foil as a non‑stick barrier.

Foil vs Other Methods

Many home cooks wonder whether foil is truly superior to baking in a dish or using parchment (en papillote). The main differences are:

  • Heat conduction: Aluminum foil conducts heat faster than parchment, shaving a minute or two off the cooking time.
  • Moisture retention: Both foil and parchment trap steam, but foil creates a tighter seal, which can produce a slightly richer broth.
  • Cleanup: Foil can be discarded after use, whereas a glass or ceramic dish must be washed.
  • Flavor impact: Parchment is neutral; foil can impart a faint metallic taste if the packet is over‑cooked or if low‑grade foil is used.

When grilling, foil packets also protect the fish from direct flame, reducing the risk of charring, while parchment would likely burn.

Cost & Convenience

Aluminum foil is inexpensive – a roll of standard heavy‑duty foil costs a few dollars and provides hundreds of packets. The cost of the cod itself varies by region, season, and whether you buy fresh, frozen, or sustainably sourced wild‑caught fish. Because foil cooking requires no extra cookware, the method is especially convenient for small households, outdoor cooking, or when you want a hands‑off approach that still yields a restaurant‑quality result.

Safety, Storage & Reheating

Food safety is paramount when handling raw fish. Follow these guidelines:

  • Cold storage: Keep raw cod refrigerated at 40°F (4°C) or below and use within 1–2 days. If you need longer storage, freeze at 0°F (‑18°C); frozen cod remains safe for up to 6 months.
  • Cross‑contamination: Use a separate cutting board and knife for raw fish, and wash hands, utensils, and surfaces with hot, soapy water after contact.
  • Internal temperature: The USDA recommends an internal temperature of 145°F (63°C) for finfish. Use an instant‑read thermometer to verify.
  • Holding time: Cooked cod can stay at a safe temperature (above 140°F/60°C) for up to 2 hours. If it cools below that, refrigerate within 2 hours.
  • Refrigeration: Store cooked cod in shallow airtight containers; consume within 3 days.
  • Reheating: Reheat to an internal temperature of 165°F (74°C). The best method is to re‑wrap in foil with a splash of broth and heat in a 300°F oven for 10‑12 minutes, or microwave in short bursts, checking temperature frequently.

Frequently Asked Questions

Can I use frozen cod directly in a foil packet?

Yes. Place the frozen fillet on foil, add a little extra liquid (1‑2 teaspoons), and increase the cooking time by about 5‑7 minutes. Still verify that the internal temperature reaches 145°F.

Do I need to pre‑heat the foil packet?

No. The foil starts at room temperature; the oven’s heat quickly brings the packet up to cooking temperature. Pre‑heating the foil offers no benefit and can make handling the hot packet risky.

Is it safe to cook cod in foil on a grill?

Absolutely, as long as the grill is pre‑heated to medium‑high (around 400°F) and the foil packet is placed on the grates, not directly on the flames. Close the lid to create an oven‑like environment.

What if I don’t have a thermometer?

Check for doneness by flaking: the fish should separate easily with a fork and appear opaque throughout. However, a thermometer is the most reliable way to guarantee safety.

Can I add vegetables to the same foil packet?

Yes. Thinly sliced carrots, zucchini, or bell peppers cook well alongside cod. Cut vegetables into small, uniform pieces so they finish at the same time as the fish.

Will using parchment instead of foil change the cooking time?

Parchment generally adds 1‑2 minutes because it conducts heat slightly slower. The rest of the timing guidelines remain the same.

In this article
  1. Background & How Foil Packs Work
  2. Temperature, Time, and Thickness Guidelines
  3. Step‑by‑Step Preparation
  4. Common Problems & Fixes
  5. Foil vs Other Methods
  6. Cost & Convenience
  7. Safety, Storage & Reheating
  8. Frequently Asked Questions