Table of Contents
There's something magical about a dinner that comes together on a single sheet pan in under half an hour. This garlic butter baked cod with asparagus is exactly that kind of meal—tender, flaky white fish topped with a rich, savory garlic butter, and fresh asparagus roasted until just crisp-tender. The whole thing is finished with a squeeze of lemon and a sprinkle of fresh parsley, giving you a restaurant-quality dish with minimal effort.
Cod is a fantastic choice for weeknight cooking. It's mild, lean, and cooks incredibly fast, making it perfect for those nights when you're short on time but still want something wholesome. The garlic butter does double duty here: it flavors the fish as it bakes and also coats the asparagus, so every bite is seasoned perfectly. Plus, you only dirty one pan—always a win in my book.
Why You'll Love This Dish
- Quick and easy: From start to finish, this dish is ready in about 25 minutes, including prep.
- One-pan cleanup: Everything cooks on a single sheet pan, so washing up is a breeze.
- Healthy and balanced: Lean cod provides high-quality protein, while asparagus adds fiber and essential nutrients.
- Rich, savory flavor: The garlic butter infuses the fish and vegetables with incredible taste.
- Versatile: Serve it with rice, quinoa, or crusty bread to soak up the buttery juices.
Ingredients & Smart Swaps
Here's what you'll need to make this garlic butter baked cod and asparagus. I've also included some easy substitutions in case you're missing something.
For the Fish and Asparagus
- Cod fillets (4 pieces, about 6 oz each): Look for fresh or frozen cod that's thawed. If you can't find cod, other white fish like halibut, tilapia, or haddock work well. Just adjust cooking time based on thickness.
- Fresh asparagus (1 bunch, about 1 lb): Trim the woody ends. If asparagus isn't in season, you can use green beans or broccolini instead.
- Olive oil (1 tablespoon): Helps the asparagus roast and prevents sticking.
- Salt and pepper: Season to taste.
For the Garlic Butter
- Unsalted butter (4 tablespoons), melted: If using salted butter, reduce the added salt in the recipe.
- Garlic (3 cloves), minced: Fresh garlic is best, but you can use 1 teaspoon of garlic powder in a pinch.
- Fresh lemon juice (1 tablespoon): Adds brightness and cuts through the richness.
- Lemon zest (1 teaspoon): Optional but recommended for extra citrus flavor.
- Fresh parsley (2 tablespoons), chopped: For garnish. You can also use dill or chives.
Pro-Tip: Pat your cod fillets completely dry with paper towels before baking. Moisture on the surface can prevent the butter from adhering and cause the fish to steam instead of roast.
Step-by-Step Cooking Guide
Follow these simple steps for perfectly cooked fish and asparagus every time.
Step 1: Prep the Oven and Pan
Preheat your oven to 400°F (200°C). Line a large rimmed baking sheet with parchment paper or lightly grease it with cooking spray. This makes cleanup easier and prevents sticking.
Step 2: Prepare the Asparagus
Wash the asparagus and snap off the woody ends. To do this, hold each spear near the base and bend it—it will naturally break at the right spot. Arrange the spears in a single layer on one side of the baking sheet. Drizzle with olive oil and season with a pinch of salt and pepper. Toss to coat.
Step 3: Make the Garlic Butter
In a small bowl, combine the melted butter, minced garlic, lemon juice, and lemon zest (if using). Stir well. The mixture should be fragrant and slightly thickened.
Step 4: Season the Cod
Pat the cod fillets dry and place them on the other side of the baking sheet, leaving a little space between each piece. Season both sides lightly with salt and pepper.

Step 5: Brush with Garlic Butter
Generously brush the garlic butter over the top of each cod fillet. Reserve about 1 tablespoon of the butter mixture for drizzling after baking. If you have any extra, you can brush it on the asparagus too.
Step 6: Bake
Place the baking sheet in the preheated oven and bake for 12–15 minutes, or until the cod is opaque and flakes easily with a fork. The internal temperature should reach 145°F (63°C). The asparagus should be tender-crisp and slightly browned at the tips.
Step 7: Finish and Serve
Remove from the oven and drizzle the reserved garlic butter over the fish. Squeeze fresh lemon juice over everything and sprinkle with chopped parsley. Serve immediately.
Pro-Tip: If your cod fillets are thick (over 1 inch), they may need a few extra minutes. Check early to avoid overcooking—fish can go from perfect to dry quickly.
Chef's Secrets for Success
- Don't overcrowd the pan: Give the fish and asparagus space so they roast rather than steam. Use a large sheet pan or two smaller ones if needed.
- Use a meat thermometer: The best way to ensure perfectly cooked fish is to check the internal temperature. It should be 145°F (63°C).
- Adjust seasoning: Taste the garlic butter before brushing it on. Add more salt or lemon if needed.
- Rest before serving: Let the fish rest for a minute or two after baking to allow the juices to redistribute.
Troubleshooting & Common Mistakes
- Fish is dry: Overbaking is the main culprit. Start checking at 10 minutes, especially if your fillets are thin.
- Asparagus is undercooked: If the asparagus is thick, it may need a few extra minutes. You can also pre-roast it for 5 minutes before adding the fish.
- Garlic burns: Since the garlic is mixed with butter, it's protected from direct heat. But if you're concerned, use garlic powder instead of fresh.
- Fish sticks to the pan: Always use parchment paper or a well-greased pan.
Storage, Make-Ahead & Reheating
This dish is best enjoyed fresh, but you can store leftovers in an airtight container in the refrigerator for up to 2 days. To reheat, place in a 350°F oven for 5–7 minutes, or until warmed through. Avoid microwaving, as it can make the fish rubbery. You can also flake leftover cod into salads or pasta.
Frequently Asked Questions
Can I use frozen cod?
Yes, just make sure to thaw it completely in the refrigerator overnight and pat it dry before using.
What can I serve with this?
It's great with rice, quinoa, couscous, or crusty bread. A simple green salad also pairs nicely.
Is this recipe gluten-free?
Yes, it is naturally gluten-free.
Can I use a different fish?
Absolutely. Halibut, tilapia, haddock, or even salmon work well. Adjust cooking time based on thickness.
Main Course • American
Garlic Butter Baked Cod & Asparagus
★★★★★
4.9
(42 reviews)
Tender, flaky cod baked with garlic butter and fresh asparagus in just 25 minutes. A healthy, one-pan weeknight dinner.
🛒 Ingredients
- ✓4 cod fillets (6 oz each)
- ✓1 bunch fresh asparagus (about 1 lb)
- ✓1 tablespoon olive oil
- ✓Salt and pepper to taste
- ✓4 tablespoons unsalted butter, melted
- ✓3 cloves garlic, minced
- ✓1 tablespoon fresh lemon juice
- ✓1 teaspoon lemon zest (optional)
- ✓2 tablespoons fresh parsley, chopped
📋 Step-by-Step Instructions
-
1Preheat oven to 400°F (200°C). Line a large rimmed baking sheet with parchment paper.
-
2Trim asparagus and arrange on one side of the baking sheet. Drizzle with olive oil, season with salt and pepper, and toss to coat.
-
3In a small bowl, mix melted butter, minced garlic, lemon juice, and lemon zest.
-
4Pat cod fillets dry and place on the other side of the baking sheet. Season both sides with salt and pepper.
-
5Brush garlic butter generously over each cod fillet, reserving about 1 tablespoon.
-
6Bake for 12–15 minutes, until cod is opaque and flakes easily with a fork (internal temperature 145°F).
-
7Drizzle reserved garlic butter over fish, squeeze fresh lemon juice, and sprinkle with parsley. Serve immediately.






