This Baked Fish in Foil with Potatoes is an easy and gluten-free fish dinner that’s packed with flavor, nutrients, and zero fuss. Perfect for weeknights or casual entertaining, this foil-packet recipe features flaky cod, tender potatoes, and fresh thyme, all wrapped in buttery lemon goodness for a satisfying, no-mess meal.

Baking fish in foil is a fun way to cook fish and veggies together, in a way that yields the most delicious steamed-like fish and serving up individual portioned packets, without a big fishy mess!
I fell in love with this method of cooking fish back when I made this Baked Fish-in-Foil with Vegetables recipe and later on this Grilled Salmon in Foil with Vegetables.
Today I am giving the classic ‘fish and chips’ a fun twist by baking the fish fillets over a bed of buttery potato slices, seasoned with flaky sea salt, fresh thyme and a generous squeeze of fresh lemon juice. The foil packets go on a baking sheet and into the oven, until the fish is flaky and cooked to perfection.
Ingredients for oven baked fish and potatoes
- Fresh cod fillet – you can substitute for another fish that has similar texture and cook at about the same time. Such as halibut, bass and tilapia. Not recommended is swordfish, as it is a meaty fish and takes longer to cook.
- Yellow potatoes, thinly sliced – Substitute for pre-sliced, seasoned, frozen potato wedge.
- Butter – any type of butter will work. for dairy-free or vegan, use vegan butter
- Lemon – sliced plus freshly squeezed lemon juice when serving
- Sea salt and black pepper – to taste. You can use bay seasoning for more flavor
- Fresh thyme – during the summer months opt for seasonal herbs such as parsley, cilantro and dill. Note these fresh herbs are best used in garnishing.
👉🏻 This foil packet cod with lemon and butter is very simple to make and it only requires few ingredients, as you can see. We first bake the buttery potatoes alone to assure perfectly baked potatoes with crispy edge. Then we add the fish and bake until flaky.
RECIPE TIP
- Slice potatoes thin so they cook through in time with the fish.
- Swap cod for another firm white fish like haddock or halibut.
- Add garlic or a splash of white wine for extra flavor depth.
Make ahead and storage
You can assemble the foil packets up to 1 day ahead and keep them in the fridge until ready to bake. Store leftovers in an airtight container for up to 2 days and reheat gently in the oven or air fryer.
This gluten-free fish dinner is great for a year round dinner idea and it’s a great source or clean protein. You can cook the fish packets on the grill during the summer months, and it is perfectly paired with a side green salad.
Fish lover? Check out these delicious fish dinners
Easy 20-Minutes Fish Stew – inspired by my childhood favorite moqueca de peixe (Brazilian fish stew). The broth is incredibly delicious so be sure to serve with some crusty bread to soak up all that goodness.
Onion Parmesan Crusted Salmon – this is a 5-ingredient pantry friendly salmon recipe. It’s a different variation on salmon, so if you are tired of your old salmon recipes, this is something you should try.
Sheet Pan Mediterranean Shrimp – if you are new to my blog, I am proud to share that this recipe has been a fan favorite for several years. it cooks in 10-minutes and it’s packed with delicious Mediterranean flavors. I know you will love it too!
Oven Baked Fish and Chips – we New Englanders love a good fish and chips, but I tend to stay away from fried foods as much as possible. This is my healthy take on the classic New England fish and chips.
This foil baked cod with potatoes and lemon butter is a comforting and flavorful dinner that’s easy to love. Simple ingredients, big flavor, and minimal cleanup. it’s the perfect go-to meal for busy nights or a cozy weekend dinner.
Baked Fish in Foil with Potatoes Recipe
Ingredients
- 1 1/2 – 2 lb fresh cod
- 3 medium yellow potatoes, sliced
- 5 tbsp unsalted butter* (for DF/Vegan sub for vegan butter)
- 1 lemon, sliced
- 1 pinch sea salt and pepper, to taste
- fresh thyme
Instructions
- Pre-heat oven to 425F degrees. Line a large sheet pan with four good-sized pieces of aluminum foil. Set aside
- Slice the potatoes to about 1/4 inch thick. Dip the potato slices into a bowl with melted butter, then arrange the potato slices on the foil overlapping each other, forming a bed of potatoes. Season the potato slices with sea salt and top with fresh thyme. Repeat until all four pieces of foil have a layer of potatoes. Bake for 20-25 minutes.
- Meanwhile prepare the cod by cutting it into four equal size pieces. Brush with remaining butter and season with sea salt, freshly ground pepper and fresh tyme. Top with lemon slices.
- Place a piece of cod on top of each potato bed. Gently fold the sides of the foil up, not completely wrapping the fish but rather forming a pocket. Bake for 18-20 minutes or until fish is flaky.
- Serve each fish packet with fresh lemon slices, fresh herbs and a side of green salad
Notes
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.
delicious and so easy for those nights my husband works OT and still wants a hot fresh meal —love this easy flavorful dish!
Thanks so much Lisa, I am so glad to hear!
I gave this recipe a try tonight as my first attempt at foil baking and I have to say, “I’m hooked!” Pun intended. Many thanks to you, Sylvia, for a delicious recipe that leads the pack. I have no need to look further than your Garden in the Kitchen for fresh menu ideas for my husband’s new diet to meet his recently changed health needs. Seriously, I have experienced foil baking, however, I have just begun to foil bake and you got me off to a great start!
Hi Suzanne, that’s such a thoughtful message , honestly it made my day! I am so glad that you and your husband enjoyed this recipe. A change of a diet can be hard but it can also be exciting and open up a whole world of possibilities in the kitchen. Best luck to you both and please do not hesitate to reach out should you have any questions about my recipes! Silvia
Thank you, Silvia. To further tell you how much we really enjoyed ourselves using your recipe, I have to relate that neither of us are even light eaters of fish. We have been married going on 41 years and your recipe has just set us on a course into the adventures of foil baking all things “fish”!!! Please, please forgive my slip of the one-finger-typo in spelling your name earlier. My bad…😔
I love this recipe, it is one of my favorite and on frequent rotation in my kitchen. I’ve lost count the number of people I’ve shared it with, after serving it and everyone commenting on how delicious it is!!
Is that right? that’s so great to hear Kim! Thanks for sharing this with me, I am truly so glad!