Baked Bacalhau (Salted Cod): A Traditional Portuguese Casserole
Discover the rich heritage and comforting flavors of Baked Bacalhau, Portugal’s beloved salted cod casserole, with step-by-step instructions and expert tips.

Baked Bacalhau (Salted Cod): A Portuguese Culinary Icon
Baked Bacalhau, Portugal’s beloved salted cod casserole, is a classic household dish that captures the rustic heart of Portuguese cuisine. This crowd-pleasing recipe combines tender salt cod, potatoes, onions, spices, and a creamy sauce, all brought together in a golden baked casserole. Here, you’ll find not only step-by-step instructions to create this festive centerpiece, but the cultural context, history, and essential tips that bring out the very best in this enduring favorite.
Table of Contents
- Introduction to Bacalhau
- Key Ingredients
- Preparation and Soaking of Salt Cod
- Step-by-Step Recipe Instructions
- Baking and Serving Suggestions
- Expert Tips and Variations
- Cultural Notes & History
- Frequently Asked Questions
Introduction to Bacalhau
The term bacalhau refers to dried, salted codfish—a staple ingredient in Portuguese cuisine for centuries. There are said to be over 1000 different recipes for bacalhau throughout Portugal, each celebrating the ingredient’s ability to absorb flavors and star in both festive and everyday meals. This baked version, using soaked and shredded salt cod mingled with creamy sauce and vegetables, is among the most cherished.
Key Ingredients for Baked Bacalhau
Traditional Baked Bacalhau brings together simple yet flavorful elements:
- Salted Cod (Bacalhau): The primary protein, requiring soaking to rehydrate and remove excess salt.
- Potatoes: Sliced or cubed, forming a hearty base in the casserole.
- Onions: Sautéed until translucent to impart sweetness and depth.
- Milk: Used to infuse the cod and help tenderize potatoes.
- Eggs (optional): Boiled and sliced for garnish or mixed in for richness in some family variations.
- Olive Oil & Butter: For sautéing, greasing, and flavor.
- Cream & Egg Mixture: Whisked and folded into the base before baking, yielding a luscious, velvety texture.
- Tomatoes: Sautéed as a vibrant, savory garnish.
- Bread Crumbs & Cheese: For a golden, crispy topping with a gently nutty flavor.
- Herbs & Spices: Parsley, black pepper, salt to taste, and sometimes garlic or bay leaf for aroma.
Preparation and Soaking of Salt Cod
Bacalhau must be desalted and rehydrated before it’s ready for cooking. This step is essential for achieving the tender, flaky texture and mild savoriness that defines the dish.
- Soak the Salt Cod: Rinse the fish, then soak it in a large bowl of fresh, cold water for 24 to 48 hours. Change the water every 6 to 8 hours to extract excess salt.
- Check Readiness: The cod will become plump and lose much of its saltiness. Taste a small piece after soaking; if it is still too salty, continue soaking with fresh water for a few more hours.
- Remove Skin and Bones: Once soaked, drain the cod and remove skin and any bones. Shred the flesh into bite-sized pieces, about half-inch to one-inch in size.
Tip: The soaking water will become quite salty. Using a sieve when draining helps catch any loose bones or fish bits.
Step-by-Step Recipe Instructions
1. Prep Work
- Peel and slice the potatoes (choose waxy varieties like Yukon Gold).
- Peel and thinly slice the onions.
- Peel and mince garlic, if using.
- Hard-boil, peel, and slice the eggs if you prefer serving the casserole with boiled egg garnish.
2. Infusing Cod and Potatoes
- Place shredded cod and sliced potatoes in a saucepan.
- Add enough milk to just cover the potatoes and cod. For more savory depth, toss in a bay leaf or a clove of garlic.
- Bring the mixture to a gentle simmer (do not boil hard), poaching until the potatoes are nearly tender, about 15–20 minutes, stirring occasionally.
- Drain, discarding the milk. Set aside.
3. Preparing the Onion Base
- Warm olive oil and/or butter in a skillet over medium heat.
- Add the sliced onions; sauté until limp and translucent, about 10–15 minutes. Stir to prevent browning and develop sweetness.
- Add garlic and cook for another 2–3 minutes.
- Combine the sautéed onions with the drained potatoes and cod mixture.
4. Assembling the Casserole
- Preheat oven to 350°F (175°C).
- In a small saucepan, prepare a roux: Melt 1 tablespoon of butter, add 1 tablespoon flour, and cook, stirring, until just golden. This helps thicken the final casserole.
- In a bowl, whisk together cream (about 1 cup) and 1 egg until fully blended.
- Combine the cooked cod-potato-onion mixture with the roux, then pour the cream-egg blend over everything. Mix gently to distribute evenly.
- Season with black pepper. Adjust salt (keep in mind the cod’s retained saltiness).
- Transfer mixture to a greased large baking casserole dish, spreading it out evenly.
5. Garnishing and Final Touches
- Bread Crumb Topping: In a bowl, toss together half a cup of fine bread crumbs with half a cup of grated hard cheese (such as Parmesan, Grana Padano, or any aged Portuguese cheese).
- Sautéed Tomatoes: Optionally, gently fry diced tomatoes in a bit of olive oil for 5–10 minutes. Season with a pinch of salt and black pepper; finish with a drizzle of quality extra virgin olive oil.
- Sprinkle the bread crumb and cheese mixture over the top of the casserole.
6. Baking
- Bake uncovered for 25–35 minutes, or until the casserole is bubbling and the top is pale gold and crisp.
- For an extra-crispy top, finish under the broiler for an additional 2–5 minutes (watch closely to avoid burning!).
- Remove from the oven and let cool for at least 10 minutes to set. Top with the sautéed tomatoes and, if using, rounds of hard-boiled eggs, olives, and a sprinkle of fresh parsley.
Baking and Serving Suggestions
Baked Bacalhau is traditionally served as a hearty main course, especially popular for large gatherings and special family meals. When ready to serve:
- Allow casserole to rest before cutting—this helps clean slices hold together.
- Garnish with fresh parsley, olives, and extra sautéed tomatoes as desired.
- Serving Temperature: Best enjoyed warm, but leftovers can be served at room temperature as well.
This dish is wonderfully complemented by sautéed greens (such as collard or kale), crusty bread, or a crisp green salad.
Expert Tips and Popular Variations
- Salting Tip: Taste ingredients before adding salt. Salt cod can retain more seasoning than expected, so it’s best to season at the end if needed.
- Cheese Variety: Experiment with different cheeses for the topping. Choose dry, aged cheeses rather than soft, melty types for the best result.
- Make-Ahead: Prepare casserole up to the baking stage a day in advance, refrigerate, and bake just before serving. This develops a deeper flavor.
- Variations:
- Add bell peppers and sautéed carrots for a vegetable boost.
- Include a layer of sliced hard-boiled eggs between components.
- Finish with a dusting of sweet paprika on top for color and aroma.
- Serving Size: Easily scaled up for larger gatherings or adjusted for smaller households by dividing the base components before assembling and baking.
Cultural Notes & History
Bacalhau plays a special role in Portuguese tradition—especially during Christmas and Easter feasts, when fasting from meat leads families to reach for their best cod recipes. Historically, bacalhau fueled voyages and fed empires, as the salted fish could last for months on ships. This legacy endures in today’s cuisine, blending the resilience of preservation with techniques refined over generations.
In many regions, every family has its own secret touch—whether a unique blend of seasonings, an extra dose of onions, or a special cheese atop the crust. Baked Bacalhau can be found on restaurant tables in Lisbon, at seaside holiday tables, and in cozy home kitchens from the Algarve to the Minho.
Frequently Asked Questions (FAQs)
Q: Can I use fresh cod instead of salted cod?
A: The signature flavor of bacalhau comes from curing and drying. Fresh cod will lack the characteristic saltiness and preserved texture, but you can substitute in a pinch by seasoning and draining fresh cod to evoke some of the traditional aspects.
Q: How do I know the salt cod is adequately soaked?
A: After 24–48 hours of soaking with water changes, the cod should taste just pleasantly salty, not overpowering. Thicker pieces may need longer soaking.
Q: Is it possible to make Baked Bacalhau gluten-free?
A: Yes! Substitute gluten-free bread crumbs and use a gluten-free flour for your roux. All other ingredients are naturally gluten-free.
Q: Can I freeze leftover Baked Bacalhau?
A: Absolutely. Cool completely, cover tightly, and freeze for up to one month. Reheat gently in a moderate oven.
Q: What is the best wine pairing for this casserole?
A: A bright Portuguese white wine, such as Vinho Verde or an aged Bairrada, brings out the cod’s delicate flavors and balances the richness of the dish.
Nutrition and Storage
Baked Bacalhau is high in protein and delivers a balance of complex carbohydrates from potatoes with the healthy fats of olive oil. For lighter texture, substitute some cream with milk and use only a minimal amount of cheese topping.
- Storage: Keeps well refrigerated for up to 3 days. Reheat covered in a moderate oven or in the microwave on lower power settings.
- Freezing: For best quality, freeze individual portions for easy reheating.
Serving and Presentation Ideas
- Garnish with sliced boiled eggs, ripe olives, and a flurry of herbs for a festive appearance.
- Serve with a simple side of lemon-dressed greens or marinated beans.
- Accompany with rustic, crusty bread to mop up the creamy sauce.
Conclusion
Baked Bacalhau stands as a testament to the ingenuity and enduring comfort of Portuguese home cooking. Its familiar, satisfying layers make it perfect for celebrations, casual dinners, and leftovers alike. Whether you are steeped in Portuguese heritage or simply seeking a delicious, internationally inspired casserole, Baked Bacalhau is a dish sure to bring people together around the table.










