If you have been searching for a flavorful, effortless seafood dinner that feels both elegant and comforting, this Grilled Cod in Foil Recipe is an absolute game-changer. The tender flakes of cod cooked gently in foil lock in moisture and infuse every bite with bright lemon, fresh thyme, and savory garlic butter. It’s one of those dishes that you’ll want to make again and again, whether for a busy weeknight or a casual weekend get-together. With just a handful of simple ingredients and a grill, you’ll bring restaurant-quality seafood straight to your table in under 20 minutes.

Ingredients You’ll Need
This recipe wonderfully balances simplicity with flavor-packed essentials. Each ingredient plays a key role, from the fresh thyme that perfumes the fish to the butter- garlic mixture that adds richness and depth. Here’s what you’ll want to have on hand before firing up the grill:
- 12 sprigs of fresh thyme: Adds a fragrant herbal note that complements the mild cod perfectly.
- 1 pound cod fillets: The star of the dish, mild and flaky, perfect for grilling in foil.
- 1/2 teaspoon kosher salt: Enhances the natural flavors without overpowering the fish.
- 1/4 teaspoon ground black pepper: Brings a little subtle heat and earthiness to the filet.
- 2 tablespoons butter (melted): Creates a luscious base to carry the garlic and shallots across each bite.
- 2 tablespoons finely diced shallot: Adds a gentle sweetness and tender bite.
- 2 cloves garlic (finely minced): Infuses the fish with a warm, aromatic kick.
- 1 lemon (thinly sliced): Brightens and balances the richness with fresh citrus zing.
- Optional – additional chopped fresh herbs: Parsley, tarragon, or more thyme for vibrant garnish and extra flavor.
How to Make Grilled Cod in Foil Recipe
Step 1: Prepare the Grill
Begin by heating your grill to medium-high, aiming for about 365 degrees Fahrenheit. This temperature ensures your cod cooks evenly and attains that perfect flaky texture without drying out. Prepping the grill properly is key because once your foil packets go on, the indirect heat will gently embrace the fish.
Step 2: Set Up the Foil Packets
Tear off large squares of aluminum foil—one for each cod fillet. Carefully place your cod fillets onto the foil squares, then season each fillet with kosher salt and ground black pepper. Seasoning the fish before adding the butter mixture ensures your flavors fully penetrate the mild cod.
Step 3: Make and Apply the Butter Mixture
In a small bowl, combine the melted butter, finely diced shallots, and minced garlic. This savory blend is what transforms simple cod into a tender, flavor-packed meal. Brush this mixture generously over each fillet, making sure every inch is covered with that rich, garlicky goodness.
Step 4: Add Lemon Slices
Top each butter-brushed fillet with several thin lemon slices. The lemon not only adds a fresh citrus brightness but also gently steams the fish from within the foil, keeping it moist and aromatic as it cooks.
Step 5: Seal the Foil Packets
Carefully fold the foil over the fish, creating a closed packet that locks in all the steaming flavors. Crimp the edges tightly to keep the steam inside, which helps the cod cook evenly and keeps it juicy.
Step 6: Grill the Cod
Reduce your grill heat to medium and place the foil packets on the grill grate, avoiding direct contact with flames. Cook for 8 to 10 minutes, or until the fish flakes easily with a fork. Checking with an instant-read thermometer is perfect here—your cod should hit an internal temperature of 145 degrees Fahrenheit.
Step 7: Serve the Cod
Carefully remove the foil packets from the grill and plate the fish. If you like, sprinkle some extra fresh herbs over the top for a burst of color and herbal flavor. Serve immediately to enjoy the cod at its tender, flavorful best.
How to Serve Grilled Cod in Foil Recipe

Garnishes
Add vibrancy and texture by scattering freshly chopped herbs such as parsley, tarragon, or additional thyme over the plated cod. A light drizzle of extra virgin olive oil or a few more lemon wedges can brighten the whole dish even further and make it feel extra special.
Side Dishes
Pair this grilled cod with crisp, seasonal vegetables like grilled asparagus or a fresh green salad tossed with a lemon vinaigrette. A side of fluffy couscous or garlic mashed potatoes also complements the buttery richness beautifully without overwhelming the flavors.
Creative Ways to Present
For a dinner party, consider serving the cod in the foil packets right at the table for a rustic, interactive experience. You can also place the fish on a bed of steamed greens or colorful quinoa to create a stunning plate that’s as pleasing to the eye as it is to the palate.
Make Ahead and Storage
Storing Leftovers
If you have any leftovers, gently transfer them to an airtight container and refrigerate within two hours of cooking. The cod will keep well for up to two days, and it’s perfect for a quick lunch or light dinner the next day.
Freezing
This dish is best enjoyed fresh to maintain its delicate texture, but you can freeze cooked cod in foil packets if needed. Wrap the packets tightly in freezer-safe wrap and freeze for up to one month. Thaw in the refrigerator overnight before reheating.
Reheating
To reheat, remove the cod from the foil and place it in a baking dish. Cover with foil and warm gently in a 275-degree Fahrenheit oven for 10-15 minutes or until heated through. Avoid the microwave if possible, as it can toughen the fish.
FAQs
Can I use frozen cod for this recipe?
Yes, you can use frozen cod fillets as long as they are fully thawed before cooking. Pat them dry to remove excess moisture, which helps the butter and seasonings adhere better.
What if I don’t have a grill? Can I bake the cod in foil instead?
Absolutely! Preheat your oven to 400 degrees Fahrenheit and bake the foil packets on a baking sheet for about 12-15 minutes until the fish flakes easily.
Can I substitute other herbs for thyme?
Definitely! Fresh rosemary, dill, or tarragon make excellent alternatives that offer different but equally delicious herbal notes to complement the cod.
How do I know when the cod is perfectly cooked?
The best way is to use an instant-read thermometer; 145 degrees Fahrenheit is the target internal temperature. Alternatively, the fish should flake easily with a fork and look opaque all the way through.
Is this recipe suitable for a keto or low-carb diet?
Yes, this Grilled Cod in Foil Recipe fits perfectly within keto and low-carb diets since it’s high in protein, healthy fats, and free of carbs.
Final Thoughts
There is something truly joyful about preparing a meal that feels effortless yet tastes extraordinary, and this Grilled Cod in Foil Recipe achieves exactly that. Its fresh flavors and simple technique make it a new favorite for anyone who loves seafood, whether for a quick dinner or entertaining guests. I encourage you to give it a try—you might just find yourself coming back to this recipe time and time again.
