
Bacalhau à Gomes de Sá
A classic Portuguese salt cod casserole layered with potatoes, onions, olives, and hard-boiled eggs — one of Portugal's most beloved bacalhau dishes.
About This Recipe
Bacalhau à Gomes de Sá is one of the most iconic ways to prepare bacalhau — Portugal's beloved salt cod. Created in the 19th century by José Luís Gomes de Sá, a merchant from Porto, the dish transforms humble ingredients into something magnificent. The combination of salt cod, slowly caramelised onions, golden potatoes, and generous olive oil, crowned with olives and hard-boiled eggs, is a masterclass in simplicity.
Ingredients
Serves 4
- 600 gsalt cod (bacalhau)(soaked 24–48 h, desalted)
- 600 gwaxy potatoes(peeled and sliced 5 mm)
- 2 largeonions(thinly sliced)
- 4 clovesgarlic(minced)
- 150 mlolive oil
- 3hard-boiled eggs(sliced)
- 80 gblack olives
- 2 tbspfresh parsley(chopped)
- 1 tspblack pepper
Instructions
- 1
Poach cod
Simmer desalted cod in water for 10 min. Drain, remove skin and bones, flake into large pieces.
- 2
Boil potatoes
Boil potato slices until just tender, about 12 min. Drain.
- 3
Sauté onions
Heat olive oil in a wide pan; cook onions and garlic over low heat until golden, 20 min.
- 4
Layer casserole
In an oven-proof dish alternate layers of potatoes, cod, and onion. Drizzle with olive oil.
- 5
Bake
Bake at 200 °C for 20 min until heated through and lightly golden.
- 6
Garnish and serve
Top with egg slices, olives, and parsley. Serve hot or at room temperature.
Did you make this?
Rate it and help other cooks find the recipes that actually work.
One tap to sign in, and we'll save the rating you just picked.
Everything you need to plan your week — free
- Meal calendar
- Grocery list
- AI recipe ideas
Track what you eat
Snap your meal to log calories and macros, run fasting timers and track water in the free SnapCal app.
Pro Tips
- →
Don't over-cook the cod — flake it gently so the pieces stay large and moist.
- →
Taste and adjust salt at the very end — flavors concentrate as liquids reduce, and a final pinch of flaky salt sharpens the whole dish.
- →
Mise en place pays for itself: chop, measure and pre-mix everything before the heat goes on, especially for any step that moves fast.
- →
Read the recipe through once before starting — knowing what's coming prevents the small timing mistakes that compound into bigger ones.
Variations
- •
Add chorizo slices between layers
- •
Use canned chickpeas instead of potatoes
- •
Sprinkle breadcrumbs for a crispy top
- •
Vegetarian: swap the protein for roasted king oyster mushrooms, smoked tofu or cooked chickpeas — adjust seasoning slightly upward to compensate.
Storage
Refrigerate up to 3 days. Reheat gently covered in foil at 170 °C.
History & Origin
Gomes de Sá, a Porto fish trader, reportedly created this dish in the late 1800s. It quickly became one of Portugal's most replicated bacalhau recipes and is now considered part of national culinary heritage.
Frequently Asked Questions
How long should I soak the salt cod?
At least 24 hours, changing water 3–4 times, for mild saltiness.
Can I make it ahead?
Yes — assemble and refrigerate overnight, then bake before serving.
Can I make this ahead of time?
Yes — most of the components can be prepared up to a day in advance and refrigerated separately. Reheat gently and assemble just before serving so textures stay distinct.
What can I substitute if I don't have all the ingredients?
Stay close to the role each ingredient plays: swap aromatics for similar ones (shallot for onion, lime for lemon), and keep the fat-acid-salt balance intact. Spice blends can usually be approximated with what's in the cupboard.
Nutrition Facts
Per serving · 4 servings total
Time Summary
Have Questions?
Ask our AI cooking assistant anything about this recipe — substitutions, techniques, scaling.
Chat with AI Chef →More Portuguese Recipes
You Might Also Like
Similar dishes from other cuisines around the world.
Browse by Ingredient
More recipes built around the same core ingredients.
Free Kitchen Tools
Calculators and converters that pair with this page — no signup needed.
Put This Into a Plan
Schedule it, shop for it, and track what you already have.
Read Next
Longer reads that go deeper on the ideas behind this dish.
Community
Join the conversation
Sign in to leave a comment and save your favourite recipes