

Bacalhau à Gomes de Sá
Portuguese Cod Casserole
A hearty Portuguese casserole featuring tender salt cod layered with soft potatoes and sweet onions, enriched with fragrant garlic and olive oil, then baked to meld flavors. Garnished with sliced hard-boiled eggs, black olives, and fresh parsley for a comforting, rustic dish.

History
Bacalhau à Gomes de Sá is a traditional Portuguese dish originating from Porto. Named after its 19th-century creator, a Porto merchant Gomes de Sá, it combines shredded salt cod with potatoes and an aromatic sauté of onions and garlic. It remains a celebrated classic in Portuguese cuisine.
- Servings
- 4
- Prep time
- 30 minutes
- Cook time
- 45 minutes
- Total time
- 25 hr 15 min
- Active time
- 30 minutes
- Resting time
- 24 hours soaking
- Difficulty
- medium
- Course
- main
- Cuisine
- Portuguese
- Cooking method
- boiling, sautéing, baking
- Diet
- pescatarian
- Allergens
- fish, eggs
Ingredients
For the cod and soaking:
- 1 lb (450 g) salt cod
- 3/4 cup (180 ml) milk
For the potatoes and vegetables:
- 1 lb (450 g) potatoes (such as yellow or all-purpose)
- 1 medium onion (about 150 g), sliced
- 1 clove garlic, roughly chopped
For the sauté and assembly:
- 1/3 cup (5 tbsp or 75 ml) extra virgin olive oil
- Salt, to taste (about 1 tsp or 5 ml)
- 1/2 tsp (2.5 ml) white pepper
For garnish:
- 2 hard-boiled eggs, sliced
- 12 black olives, pitted
- 1 tbsp (15 ml) chopped fresh parsley
Preparation
For the cod and soaking:
- Place the salt cod in a container and cover with cold water. Refrigerate and soak for at least 24 hours, changing the water 3 times a day to remove excess salt.
- After soaking, drain and pat the cod dry.
- Bring a small pot of water to a simmer and cook the cod for about 5 minutes until tender and flaky.
- Remove the cod, let cool slightly, then remove skin and bones. Flake into medium pieces.
- Warm the milk until just below simmering and pour over the flaked cod. Set aside to steep.
For the potatoes and vegetables:
- Place whole potatoes in a pot, cover with cold water, and bring to a boil. Reduce heat and simmer until tender when pierced with a knife, about 10-15 minutes.
- Drain and let cool enough to handle. Peel and slice into medium-thick rounds.
- In a skillet, warm half the olive oil over medium heat. Add sliced onion and cook, stirring occasionally, until soft and translucent, about 5-7 minutes.
- Add chopped garlic and cook for 1-2 more minutes. Remove from heat.
For assembly and baking:
- Preheat oven to 375°F (190°C).
- Lightly oil a casserole or baking dish with some olive oil.
- Spread the potato slices evenly on the bottom of the dish and drizzle with a little olive oil.
- Drain the cod from the milk and layer it over the potatoes.
- Spread the sautéed onion and garlic evenly over the cod.
- Season with salt and white pepper, and drizzle with remaining olive oil.
- Bake in the preheated oven for 15-20 minutes until onions are lightly browned and potatoes begin to crisp.
To serve:
- Garnish the casserole with sliced hard-boiled eggs, black olives, and chopped parsley.
- Serve warm.
Equipment
pot, skillet or frying pan, casserole or baking dish
Serving suggestions
Serve warm as a hearty main dish accompanied by a simple green salad or crusty bread.
Tips
Soaking the salt cod for 24 to 48 hours with multiple water changes is essential to reduce saltiness. Use yellow or all-purpose potatoes for best texture. The milk soak softens the cod and mellows flavor. Baking melds the layers and crisps the potatoes slightly. Garnish with olives and eggs for traditional presentation.
Local-language keywords — Portuguese
Bacalhau à Gomes de Sá, bacalhau salgado, batatas, azeite extra virgem, leite, cebola média, alho, pimenta branca, Portugal
Keywords — English
bacalhau, Portuguese, salt cod, casserole, potatoes, olive oil, onions, traditional