How to make pesto buttered cod
Pesto buttered cod is a method, not a recipe — you make a compound butter by mixing softened butter with basil pesto, then lay it on top of the fish as it finishes cooking. The butter melts into the flesh, carrying the bright, sharp flavour of the pesto through every bite. The technique works because butter conducts heat gently and the pesto stays fresh instead of cooking down to bitterness.
Start with a thick cod fillet — at least an inch and a half — because thin fillets cook through before the butter has time to flavour them properly. Pat the fish dry with paper towels, season it with salt and pepper, and lay it skin-side down in a hot pan with a little oil. Let it cook without moving it for four to five minutes until the skin crisps and the flesh turns opaque about halfway up the side. While the fish cooks, stir together softened butter and pesto in a small bowl — about two tablespoons of butter to one tablespoon of pesto per fillet. When the fish is nearly done, flip it, then immediately top it with a spoonful of the pesto butter. Let it cook for another minute or two until the butter melts and the fish flakes easily when you press it with a fork.
Key Takeaways
- Pesto butter melts onto the fish in the last minute of cooking, so the pesto stays bright and fresh instead of turning bitter from heat.
- Use fillets at least an inch and a half thick so the butter has time to flavour the flesh before the outside overcooks.
- Pat the fish completely dry before cooking so the skin crisps and the butter adheres properly.
- The ratio is roughly two parts softened butter to one part pesto, mixed together just before you need it.
- Flip the fish only once, and add the pesto butter right after flipping so it melts into the warm flesh.
Why compound butter works on delicate fish
Cod is mild and tender, which means it can be overwhelmed by aggressive cooking or heavy sauces. Pesto butter solves this by delivering flavour without weight. The butter is cold when it hits the hot fish, so it melts slowly and evenly instead of pooling or burning. The pesto itself — basil, garlic, pine nuts, cheese, and oil — is already emulsified, so it blends seamlessly with the butter rather than separating.
The technique also protects the fish. Once you flip the fillet, the pesto butter sits on top like a blanket, keeping the exposed side from drying out while the interior finishes cooking. This is especially useful if your fillets are uneven in thickness, because the butter insulates the thinner parts while the thicker parts continue to cook through.
Building your pesto butter at home
You can use store-bought pesto, but making your own takes fifteen minutes and gives you control over the salt and the ratio of garlic to basil. Toast a handful of pine nuts in a dry pan over medium heat for two to three minutes, shaking the pan so they brown evenly. Tear a large bunch of fresh basil leaves — about two cups loosely packed — and put them in a food processor with the pine nuts, two cloves of garlic, a quarter cup of grated Parmesan, and a pinch of salt. Pulse until the mixture is coarse and chunky, then drizzle in olive oil slowly while pulsing, until the pesto comes together but still has texture. Taste it and adjust the salt and garlic.
If you do not have a food processor, you can make pesto in a mortar and pestle, which actually gives you better control over the texture — you want it rough, not smooth. Pound the garlic and salt together first to break down the garlic, then add the pine nuts and pound until they release their oil, then add the basil a handful at a time, pounding gently so the leaves bruise rather than shred. Finish with the cheese and oil.
Store leftover pesto in a jar in the refrigerator for up to a week, or freeze it in ice cube trays so you have single portions ready. If you freeze it, leave out the cheese and stir it in after thawing, because the cheese can become grainy when frozen.
Cooking the fish step by step
Heat your pan — cast iron or stainless steel both work well — over medium-high heat for two minutes. Add a thin film of neutral oil like canola or grapeseed oil and let it shimmer. Place the cod fillet skin-side down in the pan and do not touch it. You will hear it sizzle immediately. This is the sound of the skin crisping and the proteins setting. After four to five minutes, the skin should be golden and the flesh should be opaque about halfway up the side of the fillet.
Flip the fish gently using a thin metal spatula — slide it under the fillet from the side, not from the end, so you do not tear the flesh. The moment it is skin-side up, place a spoonful of pesto butter on top. The residual heat in the pan will melt it. Cook for another minute or two. The fish is done when it flakes easily when you press the thickest part with a fork, and the flesh is opaque all the way through. The internal temperature should be 145°F if you are using a thermometer.
The whole process takes eight to ten minutes from cold pan to plate. Do not rush it — the slow crisping of the skin is what makes this technique work.
Pairing pesto butter cod with sides
Pesto butter cod is rich enough that it does not need much. A simple green salad dressed with lemon and olive oil cuts through the richness and refreshes the palate. Roasted or steamed vegetables — green beans, broccoli, or asparagus — are traditional partners because they are mild and let the fish be the centre of the plate.
If you want starch, new potatoes boiled and tossed with a little butter and salt work well, or a piece of crusty bread to soak up the melted pesto butter that pools on the plate. Some cooks add a squeeze of fresh lemon juice to the pesto butter itself, which brightens the whole dish and adds acidity that balances the richness.
Avoid heavy sauces or competing flavours. The pesto butter is already doing the work of flavouring the fish, so anything else will muddy the plate.
Troubleshooting common mistakes
If your pesto butter separates or looks grainy, the butter was too warm when you mixed it with the pesto, or the pesto was too warm. Both should be cool to the touch. If the pesto butter breaks on the fish, it means the pan was too hot or the fish was too cold — let the pesto butter come to room temperature before cooking, and do not pull the fish straight from the refrigerator.
If the skin does not crisp, your pan was not hot enough or the fish was wet. A wet surface prevents browning because the water has to evaporate first. Pat the fillet dry with paper towels right before it goes in the pan, and make sure the pan is hot enough that a drop of water sizzles and evaporates immediately.
If the fish is dry, you cooked it too long or at too high a heat. Cod is forgiving, but it does have a point of no return. Start checking for doneness at the seven-minute mark by pressing the thickest part gently — if it flakes, it is done. Remember that the fish will continue to cook slightly after you remove it from the heat, so pulling it a few seconds early is better than cooking it a few seconds too long.
Scaling pesto butter cod for a crowd
This technique scales easily because you are cooking fillets individually or in small batches. If you are cooking for four people, use four fillets and make a larger batch of pesto butter — about half a cup of softened butter mixed with a quarter cup of pesto. Keep it at room temperature while you cook so you can top each fillet as it finishes.
Cook the fillets in batches if your pan is not large enough to hold them all without crowding. Crowded fillets steam instead of sear, and the skin will not crisp. If you have to work in batches, keep the finished fillets warm on a plate in a low oven — around 200°F — while you cook the rest. Add the pesto butter to each fillet just before serving so it does not dry out.
Frequently Asked Questions
Can I use frozen cod for this recipe?
Yes, but thaw it completely and pat it very dry. Frozen cod releases water as it thaws, and that water prevents the skin from crisping. Thaw it in the refrigerator overnight, then pat it dry with paper towels right before cooking.
What if I do not have fresh basil?
You can use store-bought pesto, or substitute other fresh herbs — parsley, cilantro, or dill all work with cod. If you use dried basil, use less of it because dried herbs are more concentrated. Start with half the amount and taste as you go.
Can I make the pesto butter ahead of time?
Yes. Mix the butter and pesto, shape it into a log using plastic wrap, and refrigerate it for up to three days or freeze it for up to a month. Slice off a piece and let it come to room temperature before cooking, or place a slice directly on the hot fish and let it melt.
What temperature should the pesto butter be when I add it to the fish?
It should be soft but not melted — around room temperature. If it is too cold, it will not melt evenly into the fish. If it is too warm, it will separate and look greasy.
Can I cook this in the oven instead of on the stovetop?
You can finish it in the oven, but you will lose the crispy skin. Sear the fish skin-side down on the stovetop for four to five minutes, then transfer the pan to a 400°F oven for two to three minutes to finish cooking. Add the pesto butter right before serving.