Bacalhau à Gomes de Sá: Portuguese Salt Cod Casserole Recipe

This article contains affiliate links. We may receive compensation if you make a purchase using one of these links at no additional cost to you. See our Disclaimers and Terms of Use for more information.

Pinterest Hidden ImagePinterest Hidden ImagePinterest Hidden Image

This salt cod, potato and onion casserole from Porto turns up on daily specials boards all over Portugal. Here’s how we make bacalhau à Gomes de Sá in our Lisbon kitchen, from soaking the cod to scattering the olives.

Bacalhau gomes de sa with a spoon on the left
Image: ©2foodtrippers

Bacalhau à Gomes de Sá, a casserole of caramelized onions, potatoes and salt cod (i.e., bacalhau), is one of our favorite Portuguese dishes. It’s a simple construction of sweet onion, earthy potatoes and funky salt cod that works in a comfort food kind of way.

It’s a dish we’re always happy to see on prato do dia blackboard menus in Lisbon and Porto. Literally translating to daily plate, a prato do dia is a daily special offered by restaurants all over Portugal. Sometimes the dish features fresh fish, other times it’s a stew like cozido à portuguesa or octopus on Fridays. And, of course, dishes made with bacalhau.

🍽️ This Recipe at a Glance

  • Main Ingredients: Salt cod, potatoes and onions
  • Toppings: Hard-boiled eggs, black olives and parsley
  • Soaking Time: 2 to 4 days, changing the water at least 3 to 4 times
  • Cooking Time: About 1 hour
  • Oven: 450°F/230°C for 8 to 10 minutes
  • Servings: 4
  • Flavor: Sweet onions, earthy potatoes and funky cod
  • Origin: Porto, late 19th century
  • Best For: Weekend dinners (start soaking midweek)
Bacalhau a Gomes de Sa at O Rapido in Porto
We often order bacalhau à Gomes de Sá when we see it on a Portuguese menu. We ordered this version at O Rápido, one of our favorite restaurants in Porto. | Image: ©2foodtrippers

Bacalhau à Gomes de Sá is named after its creator, José Luís Gomes de Sá Júnior, a salt cod merchant who worked on Porto’s riverfront in the late 1800s. Legend has it that he sold the recipe to his friend João, a cook at the now-closed Restaurante Lisbonense. We can’t vouch for every detail, but we’re fairly certain that Gomes de Sá liked potatoes and onions as much as we do.

Regardless of the dish’s origin story, there’s no debate that the rustic casserole is central to the Portuguese cooking canon. Now it’s part of our culinary repertoire too. It’s a great dish to serve at Portuguese Christmas Eve dinners and Easter meals as well as on random Sundays.

Ingredients

Bacalhau gomes de sa mise en place
The ingredients in this bacalhau à Gomes de Sá recipe include salt cod, potatoes, onion, garlic, olive oil, a bay leaf, parsley, eggs, black olives, white peppercorns, salt and pepper. | Image: ©2foodtrippers

The list of ingredients in this bacalhau à Gomes de Sá recipe is simple. Here’s everything you need:

  • Bacalhau / Salt Cod
  • Bay Leaf
  • Black Olives
  • Eggs
  • Garlic
  • Olive Oil
  • Onion
  • Parsley
  • Pepper
  • Potatoes
  • Salt
  • White Peppercorns

Ingredient quantities are detailed in the printable recipe card below.

How to Soak Salt Cod

Soaking Salt Cod for Bacalhau a Bras
Soaking salt cod is an easy but necessary process. | Image: ©2foodtrippers

Salt cod is a food product with a learning curve. It’s a process to understand how to soak and desalinate the preserved fish. Portuguese people often soak bacalhau for 36 hours, changing the water three to four times. It’s important to remember that soaking bacalhau isn’t just about desalinization. It’s also about rehydration.

We soak our bacalhau in the refrigerator for at least two days, optimally for three to four days and up to a week maximum. (There’s enough salt in the fish to repel bacteria for a long time.) This duration gives the fish time to increase in size and become both plump and tender. Also, we change the water at least three to four times during the soaking process so that the fish isn’t bracingly salty.

Pro Tip
Change the water once a day if you choose to soak your bacalhau for longer than three days.

How To Make Bacalhau à Gomes de Sá

Bacalhau à Gomes de Sá - birdseye view
We made this bacalhau à Gomes de Sá in an hour with a relatively short list of simple ingredients. | Image: ©2foodtrippers

This bacalhau à Gomes de Sá recipe is relatively simple and only takes an hour once you pre-soak the salt cod.

Start by cooking the onions in the olive oil with a pinch of salt and pepper over a medium-low fire, stirring frequently. While the onions cook, boil the peeled potato slices in salted water with the bay leaf, white peppercorns and garlic until the potato slices are just tender in the center. You don’t want them to be mushy. At the same time, preheat your oven to 450°F/230°C.

boil the peeled potato slices in salted water with the bay leaf, white peppercorns and garlic.

Potato slices boiling in a saucepan
It’s key to boil the peeled potato slices until they’re just cooked. | Image: ©2foodtrippers

Next, move the salt cod, bay leaf, white peppercorns and garlic clove to a small pot and cook for four to five minutes in water just under boiling. Don’t let the water boil. You’re essentially poaching the fish.

Pro Tip
After a couple of tests, we’ve found that the salt cod is best if it’s just cooked for a few minutes at moderate, slightly below boiling temperature. If it’s overcooked, bacalhau can become tough and bitter.

Once the fish is cooked, remove it from the heat and separate the meat from the bones and skin. (You can discard the bones and skin.) Be careful not to over-mix the salt cod as the goal here is large flakes.

Flaking cooked bacalhau by hand
The bacalhau should be in flakes and not overworked. | Image: ©2foodtrippers

The onions take about 35 to 45 minutes to turn golden, tender and slightly caramelized. Add the garlic in the last three minutes of cooking and cook it until fragrant. You don’t want the garlic to get too brown and burn.

Onions cooking in a frying pan
In this recipe, gold is the ideal onion color. | Image: ©2foodtrippers

Build the casserole level by level. Start by layering half of the onions, followed by the potatoes, salt cod and, finally, the other half of the onions.

Cook the casserole in the oven for eight to ten minutes or until the top of the dish just starts to brown.

Remove the casserole from the oven. Top with hard-boiled eggs, black olives and chopped parsley in an artistic pattern.

Bacalhau gomes de sa - 45 degree view
Bacalhau à Gomes de Sá is great to serve at a Portuguese dinner wherever you happen to live. | Image: ©2foodtrippers

Serve and enjoy!

Bacalhau gomes da sa - birdseye viewPin

Bacalhau à Gomes de Sá Recipe

Daryl and Mindi Hirsch
A staple at Portuguese tascas, Bacalhau à Gomes de Sá is a simple yet classic salt cod casserole that you can cook at home in an hour.
No ratings yet
Prep Time 2 days
Cook Time 1 hour
Total Time 2 days 1 hour
Course Lunch, Main Course
Cuisine Portuguese
Servings 4
Calories 496 kcal

Ingredients
  

  • 1 pound bacalhau loin
  • 1 pound red or Yukon gold potatoes (peeled and sliced into about 1/3-inch rounds)
  • 2 large onions (sliced about ¼-inch thin, about 1 ¼ pounds after slicing)
  • 4 cloves garlic (3 minced, 1 whole and peeled)
  • ½ cup olive oil
  • 1 bay leaf
  • 1 tablespoon parsley (chopped for garnish)
  • 3 eggs (hard boiled; halved or sliced)
  • 10 white peppercorns (whole)
  • 8 black olives (pitted for garnish)
  • 2 tablespoons salt (for boiling the potatoes)
  • salt (to taste)
  • pepper (to taste)

Instructions
 

  • Preheat your oven to 450°F/230°C.
  • Heat the olive oil in a sauté or frying pan over a medium-low fire and add the onions. Cook the onions, stirring frequently, until they’re golden. (Cook the potatoes and cod while the onions are caramelizing. If the eggs aren't already boiled, you can boil them too.) Add the chopped garlic in the last three minutes of cooking the onions. Cook the garlic until just fragrant. The onions should be done in about 35 to 45 minutes. Once the onions are cooked, remove them from the heat and set aside for the casserole assembly.
  • While the onions cook, bring water to a boil with the salt, bay leaf, white peppercorns and whole garlic clove in a 4-quart saucepan. Add the potatoes and boil for about 8 to 10 minutes until just tender. Remove the potatoes with a slotted spoon.
  • Place water in a 2-quart saucepan and add the salt cod, the same bay leaf, the white peppercorns and the same garlic clove. Place over a medium fire and cook for four to five minutes at just under a boil until the cod is flaky.
  • Remove the cod from the water and separate the flesh from the bones and skin. Discard the bones and skin. Set the flaked salt cod aside.
  • Build the casserole in an ovenproof round or rectangular baking dish. Layer half of the onions first, followed by the potatoes, salt cod and then the remaining onions. Add a small dash of salt and pepper to taste.
  • Place in the oven and cook for about 8 to 10 minutes until it's lightly caramelized on top.
  • Remove the baking dish from the oven. Garnish with black olives, the hard-boiled eggs and chopped parsley.

Notes

The nutrition is estimated using fresh haddock in place of soaked salt cod.

Nutrition

Calories: 496kcalCarbohydrates: 27gProtein: 26gFat: 32gSaturated Fat: 5gPolyunsaturated Fat: 4gMonounsaturated Fat: 22gTrans Fat: 0.02gCholesterol: 184mgSodium: 424mgPotassium: 949mgFiber: 4gSugar: 3gVitamin A: 364IUVitamin C: 29mgCalcium: 69mgIron: 2mg
We hope you love this recipe.Sign up for our newsletter for more of our faves.

💡 Frequently Asked Questions

What is bacalhau à Gomes de Sá?

Bacalhau à Gomes de Sá is a Portuguese casserole made with flaked salt cod, sliced potatoes and onions cooked slowly in olive oil. It’s baked briefly, then topped with hard-boiled eggs, black olives and parsley.

Who invented bacalhau à Gomes de Sá?

The dish is named after José Luís Gomes de Sá Júnior, a Porto salt cod merchant who lived from 1851 to 1926. He sold the recipe to his friend João, a cook at the now-closed Restaurante Lisbonense in Porto.

What are the ingredients in bacalhau à Gomes de Sá?

Our recipe calls for salt cod loin, potatoes, onions, garlic, olive oil, hard-boiled eggs, black olives, parsley, a bay leaf, white peppercorns, salt and pepper. Quantities are in the recipe card.

How long should I soak salt cod for this recipe?

We soak our bacalhau in the refrigerator for at least two days and ideally three to four, changing the water at least three to four times. The soak removes salt and also plumps up the fish.

Is there milk in bacalhau à Gomes de Sá?

The original recipe involves soaking flaked cod in hot milk for an hour or two before assembly. We skip the milk and poach the cod in water with garlic, bay leaf and white peppercorns. You can soak your cod in milk if you want softer, richer cod.

What’s the difference between bacalhau à Gomes de Sá and bacalhau à Brás?

Both Portuguese dishes combine salt cod, onions and potatoes. Bacalhau à Gomes de Sá layers boiled potato slices and flaked cod in a baked casserole. Bacalhau à Brás combines shredded cod with fried matchstick potatoes and soft scrambled eggs in a pan.

Where can I buy salt cod in the United States?

Portugalia Marketplace in Fall River, Massachusetts sells salt cod loins. Since unsoaked loins keep for months, you can stock up for multiple bacalhau recipes.

🇵🇹 More Portuguese Recipes

Bacalhau a Bras on a plate

Bacalhau à Brás Recipe: Portuguese Salt Cod with Eggs

Read More
A hand holding a patanisca de bacalhau

Pataniscas de Bacalhau: Portuguese Salt Cod Fritters Recipe

Read More
Picking up a tentacle with a fork

Polvo à Lagareiro Recipe: Portuguese Octopus and Potatoes

Read More
Overhead of shrimp acorda in an earthenware pot and lid

Shrimp Açorda: Satisfying Portuguese Soup

Read More

📍 Pin This Recipe

Bacalhau a Gomes de Sa with text reading 'How to Make Bacalhau a Gomes de Sa - Portuguese Comfort Food Recipe'Pin
Bacalhau a Gomes de Sa with text reading 'How to Make Bacalhau a Gomes de Sa Recipe'Pin

⚙️ Disclosures

Article Updates
We update our articles regularly. Some updates are major, while others are minor link changes and spelling corrections. Let us know if you see anything that needs to be updated in this article.

Funding
We purchased the ingredients and tools used to create this recipe.

Daryl and Mindi Hirsch
Daryl and Mindi Hirsch

Saveur Magazine’s BEST TRAVEL BLOG award winners Daryl and Mindi Hirsch share their culinary travel experiences and recipes on their website 2foodtrippers. Since launching the site in 2012, they’ve traveled to over 40 countries in their quest to bring readers a unique taste of the world.