Portuguese · Casseroles & bakes
Bacalhau à Gomes de Sá (Porto salt cod with potatoes and olives)
Non-vegetarian
Bacalhau à Gomes de Sá
Flaked salt cod soaked in warm milk, layered with sliced potatoes and soft olive-oil onions, baked until golden and finished with hard-boiled egg, black olives and parsley. One of Portugal's most famous ways with bacalhau, invented in Porto.
Bacalhau à Gomes de Sá (Porto salt cod with potatoes and olives) is a Portuguese main course from Portugal, ready in about 2 hours 20 minutes and made with salt cod, potato and olive oil. It serves 4 and is rated intermediate to cook.

- Prep
- 30 min
- Cook
- 50 min
- Rest
- 1 h
- Total
- 2 h 20 min
- Serves
- 4
- Level
- Intermediate
- Calories
- 1093
Plus 24–48 hours soaking the salt cod.
Main ingredients
Method
Step 1
Put the soaked cod in a pot, cover with boiling water, put on the lid and leave off the heat for 15 minutes. Drain, then remove the skin and bones and break the fish into large flakes.
Step 2
Put the flakes in a bowl, pour over the hot milk (opens in a new tab) and leave to steep for 1 hour; this makes the cod tender and mellow.
Step 3
Meanwhile boil the potatoes (opens in a new tab) in their skins in salted water for about 20 minutes until just tender. Peel and slice into 1 cm rounds. Hard-boil the eggs (opens in a new tab) for 10 minutes.
- 20 min
- medium heat

How it looks · Photo: Lionel Ntasano on Pexels Step 4
Heat the olive oil (opens in a new tab) in a wide pan and cook the onions (opens in a new tab), garlic (opens in a new tab) and bay leaf (opens in a new tab) over low heat for 15 minutes until very soft and golden, not browned.
- 15 min
- low heat
- Frying pan / skillet (opens in a new tab)

How it looks · Photo: Magda Ehlers on Pexels Step 5
Heat the oven (opens in a new tab) to 200 °C. Drain the cod (discard the milk (opens in a new tab)) and stir it gently into the onions (opens in a new tab) with the potatoes (opens in a new tab) and pepper (opens in a new tab). Taste for salt. Tip everything with all the oil into a baking dish (opens in a new tab) and bake for 15–20 minutes until golden at the edges.
Step 6
Arrange the egg (opens in a new tab) slices and olives (opens in a new tab) on top, scatter with parsley (opens in a new tab) and serve hot from the dish.
- 3 min

How it looks · Photo: Klaus Nielsen on Pexels
At a glance
Salt cod
Milk
Potato
Olive oil
Onion
Garlic
Bay leaves
Black pepper
Salt
Egg
Black olives
Parsley
About this dish
- Origin
- Porto, Portugal · Well documentedCredited to José Luís Gomes de Sá, a Porto cod merchant's son who worked at the Restaurante Lisbonense in the late 19th century; his handwritten recipe insists the cod be steeped in hot milk.Also popular in BrazilMore food from Portugal
Portugal - Dish
- Lunch · Dinner · Main courses · Casseroles & bakes
- Cooking method
- Boiled, Sautéed, Oven-baked
- Taste
- savoury, salty, rich, garlicky
- Diet
- Pescatarian · No gluten ingredients · No nut ingredients · High-proteinWorked out from the ingredients. How labels work
All labels
Pescatarian · Non-vegetarian · No gluten ingredients · No nut ingredients · No added sugar · Alcohol-free · Pork-free · Beef-free · High-protein - Good for
- Festive & celebration · Make-ahead
Allergens
- Contains: Milkfrom milk
- Contains: Eggsfrom egg
- Contains: Fishfrom salt cod
Based on typical versions of these ingredients and not verified allergen-free. Brands differ and cross-contact happens, so always check labels. For severe allergies, follow your clinician’s advice.
Nutrition
1093 kcal per serving
Calculated1 serving ≈ 645 g · recipe makes 4
Where the energy comes from
- Protein 41%
- Carbohydrate 18%
- Fat 41%
| Nutrient | Per serving | Per 100 g* |
|---|---|---|
| Energy | 1093 kcal | 169 kcal |
| Protein | 109.8 g | 17 g |
| Carbohydrate | 49.3 g | 7.6 g |
| Net carbohydrate | 43.6 g | 6.8 g |
| Sugars | 10.7 g | 1.7 g |
| Added sugars | 0 g | 0 g |
| Fibre | 5.7 g | 0.9 g |
| Fat | 49.1 g | 7.6 g |
| Saturated fat | 9.9 g | 1.5 g |
| Trans fat | — | — |
| Cholesterol | 427 mg | 66 mg |
| Sodium | 10870 mg | 1685 mg |
| Salt equivalent | 27.2 g | 4.2 g |
Vitamins & minerals per serving
- Potassium
- 3395 mg
- Calcium
- 480 mg
- Iron
- 8.2 mg
- Magnesium
- 274 mg
- Vitamin A (RAE)
- 222 µg
- Vitamin C
- 55 mg
- Vitamin D
- 8.7 µg
- Vitamin B12
- 16 µg
- Folate (DFE)
- 114 µg
How these numbers were made
- Calculated from USDA FoodData Central (SR Legacy) per-100 g values and the listed quantities.
- *Per 100 g of combined raw ingredients; the cooked dish may weigh more or less.
- “—” means the value isn’t known for enough of the ingredients; it is never zero by default.
- Values are estimates for guidance, not for medical dosing. U.S. Department of Agriculture, Agricultural Research Service. FoodData Central, 2019. fdc.nal.usda.gov.
Good to know
Tips
- Taste a flake after soaking; if it is still too salty, soak for a few more hours in fresh water.
Common mistakes
- Browning the onions; they should be soft and sweet, almost melting into the oil.
Serve with
- Serve with a green salad and a glass of vinho verde.
Food safety
- Soak salt cod in the fridge, not at room temperature, changing the water regularly.
Storage
- Keeps 2 days refrigerated.
Reheating
- Reheat covered in a 180 °C oven until piping hot.
Variations
- Bacalhau à Zé do Pipo: Another Porto classic: cod baked under mashed potato and mayonnaise.
Original editorial recipe · FriendsPantry editorial · source: TasteAtlas (dish facts) · Not yet independently reviewed · Added
Recipe DNA
How this dish is built
Built from the recipe’s own sections. Each band’s width is its share of the dish by weight. Choose a component to see what it does.
Reviews & corrections
Reviews come from signed-in cooks and appear after a moderator checks them. We never show made-up ratings.
You might also like

Bacalhau à brás
Portuguese · 55 min · 581 kcal
Bacalhau com natas
Portuguese · 1 h 30 min · 506 kcal
Bolinhos de bacalhau
Portuguese · 1 h 5 min · 266 kcal
Bitoque (Portuguese steak and egg)
Portuguese · 1 h 20 min · 756 kcal
