Bacalhau à Brás (Portuguese Salt Cod with Eggs and Crispy Potatoes)

cuisine
⏱ 1495👨‍🍳 Medium💶 5.50☀ Day☾ Night

↓ Jump to recipe

Shredded salt cod, sweet onions and crisp potato straws bound with soft eggs. The classic Lisbon bacalhau, with the desalting steps that make it work.

Shredded salt cod with soft eggs, topped with crispy potato straws, olives and parsley.
In short

Bacalhau à Brás (Portuguese Salt Cod with Eggs and Crispy Potatoes): Shredded desalted salt cod, slowly cooked onions and fried potato straws bound with soft-set eggs. Contains fish, egg; eggs are cooked to just set.

Total time: 24 h 55 min·Serves: 4 servings·Difficulty: Medium·Cuisine: Portuguese

Why it works

  • Fully desalted cod. Soaking salt cod 24–48 hours in cold water, changed several times, draws out salt and restores a moist, flaky texture that carries the seasoning of the whole dish.
  • Onions cooked slowly. Thin onions softened in olive oil turn sweet and silky, which balances the savory fish and fried potato.
  • Crisp potato straws. Matchstick potatoes fried until golden stay crunchy only if they go in last, so they add texture rather than turning into mush.
  • Eggs set off the heat. Beaten eggs stirred in at the very end finish cooking in the residual heat, giving a soft, glossy binder instead of dry scrambled egg.

Bacalhau à Brás is the most ordered salt cod dish in Portuguese cuisine: shredded cod, thin-sliced onion and matchstick potatoes bound with soft-scrambled eggs and finished with black olives and parsley. The result is creamy under a crunchy top, rich without any cream.

Plan ahead: the cod needs a day or two in the fridge to desalt, but the cooking itself takes about 30 minutes. It is a favorite for a relaxed family meal, and an easy main dish for guests.

Shredded salt cod with soft eggs, topped with crispy potato straws, olives and parsley.
DayNightCook Kitchen

Bacalhau à Brás (Portuguese Salt Cod with Eggs and Crispy Potatoes)

Shredded desalted salt cod, slowly cooked onions and fried potato straws bound with soft-set eggs. Contains fish, egg; eggs are cooked to just set.
Prep Time 25 minutes
Cook Time 30 minutes
Desalting (24 hr minimum, in the fridge) 1 day
Total Time 1 day 55 minutes
Servings: 4 servings
Course: Main Course
Cuisine: Portuguese
Calories: 525

Ingredients
  

The cod
  • 400 g salt cod (14 oz, thick loin pieces, bone-in or boneless)
  • 2 l cold water (8 cups, for soaking, changed several times)
The base
  • 2 large yellow onions (about 350 g / 12 oz, halved and sliced very thinly)
  • 3 cloves garlic (finely sliced)
  • 80 ml extra virgin olive oil (1/3 cup)
  • 1 bay leaf
The potatoes
  • 400 g floury potatoes (14 oz, peeled and cut into 3 mm matchsticks)
  • 500 ml neutral oil (2 cups, for frying)
To finish
  • 6 large eggs (beaten)
  • freshly ground black pepper
  • 2 tbsp fresh flat-leaf parsley (chopped)
  • 12 black olives (pitted, preferably Portuguese)

Equipment

  • Large bowl or container for soaking
  • Deep pan or pot for frying
  • Wide skillet (30 cm)
  • Wooden spoon
  • Kitchen thermometer (optional)

Method
 

Desalt the cod
  1. Rinse the cod under cold water, put it in a large container with the 2 l of cold water and place it in the fridge.
  2. Change the water 3 to 4 times over 24 to 48 hours; thick pieces need the full 48.
  3. Poach a small flake in simmering water for 1 minute and taste it. It should be lightly salty, not harsh.
Cook the cod
  1. Put the cod in a pot with fresh cold water to cover and bring to just below a simmer over medium heat.
  2. Poach 5 to 7 minutes at 80 to 85 °C (175 to 185 °F) until the flesh flakes easily. Lift out, drain and cool 5 minutes.
  3. Remove skin and bones, then shred the cod into large flakes with your fingers.
Fry the potatoes
  1. Rinse the potato matchsticks in cold water, drain and pat completely dry on a towel.
  2. Heat the frying oil to 170 °C (340 °F) in a deep pan.
  3. Fry the potatoes in 3 small batches for 3 to 4 minutes each until golden and crisp. Drain on paper towels and salt lightly.
Assemble
  1. Heat the olive oil in the skillet over medium-low heat, then add onions, garlic and bay leaf. Cook 15 minutes, stirring often, until very soft and pale gold.
  2. Add the shredded cod and toss over medium heat for 2 minutes until hot through.
  3. Remove the pan from the heat. Pour in the beaten eggs and stir gently for about 1 minute, until just creamy and softly set (at least 70 °C / 160 °F). Return to low heat for 20 seconds if still runny.
  4. Fold in two thirds of the potatoes, season with pepper and discard the bay leaf.
  5. Serve in a wide dish topped with the remaining potatoes, olives and parsley.

Notes

Salt cod must be soaked in the fridge, never at room temperature. Taste before adding any salt; most batches need none. Contains fish and egg. Eggs should be cooked until just set; use pasteurized eggs if pregnant, cooking for young children or immunocompromised. Nutrition is estimated per serving from USDA FoodData Central, with part of the frying oil absorbed.

🔥 DayNightCook Chef’s Secrets

  1. Technique: desalt in the fridge and change the water. Cold water keeps the fish out of the bacterial danger zone while salt diffuses out. Swap the water 3 to 4 times, and poach a small flake and taste it before cooking the whole batch; it should be pleasantly seasoned, not sharp.
  2. Avoid this: scrambling the eggs on the heat. Eggs set at roughly 65 to 70 °C, so a hot pan turns them into dry curds that split from the cod. Take the pan off the burner, stir the eggs in, and let the residual heat finish them in about a minute.
  3. Pro move: pat the potatoes dry and fry them in small batches. Surface starch and water cause soggy fries. Dry matchsticks fried at 170 °C (340 °F) crisp evenly; see the guide to greasy or soggy fried food.

☀ Day version and ☾ Night version

☀ Day version (about 40 min): Buy pre-desalted frozen cod and ready-made potato straws (batata palha). Skip the frying, cook the onions and cod, stir in the eggs and fold the straws in at the end. It is less crunchy than hand-cut fries but still a proper bacalhau à Brás.

☾ Night version: Cut and fry the potatoes by hand, serve the dish in a wide shallow bowl with olives and parsley, and finish with a thread of good olive oil. Pair with a chilled Vinho Verde, or with sparkling water and a squeeze of lemon if you avoid alcohol.

Common mistakes

  • Rushing the soak. Under-soaked cod stays leathery and salty, and no amount of seasoning fixes it. Thick loins need 48 hours; thin tail pieces can be ready in 24.
  • Browning the onions. Colored onions taste sharp against the soft egg. Keep the heat at medium-low and stir until they turn translucent and just start to gild.
  • Mixing the potatoes in too early. Straws left in the hot egg for more than a minute lose their snap. Fold them in at the very end and keep a handful for the top.
  • Using the wrong potato. Waxy potatoes steam instead of crisping. Floury types fry up lighter; the deep-frying safety guide covers oil temperature and pan size.

Substitutions and variations

Cod: Ready-desalted frozen cod saves time and is common in Portuguese supermarkets. Fresh cod can be used in a pinch, but the texture is softer and you must add salt. See the fish cooking times chart for poaching times.

Potatoes: Ready-made batata palha works, and many Portuguese households use it for convenience. Oven-roasted matchsticks are a lighter alternative, but they do not give the same crunch.

Variations: Some cooks add a splash of white wine to the onions, or serve with a small salad. Others stir in a handful of chopped chives or a sprinkle of paprika. These are personal choices; olives and parsley are the standard garnish. For onion technique see our onion and garlic guide.

Storage and reheating

Desalted raw cod keeps up to 2 days in the fridge, covered in clean water. Cooked bacalhau à Brás is best eaten fresh; if there are leftovers, cool within 2 hours, refrigerate and eat within 2 days. Reheat gently in a pan to 74 °C (165 °F). The potatoes will soften, so crisp new ones separately if you can. The leftovers guide has cooling rules for egg and fish dishes.

What to serve with it

A tomato and red onion salad or a plate of wilted greens balances the richness. A glass of Vinho Verde works for adults, and plain bread rounds out the plate. For a bigger spread, serve it after a bowl of soup.

Origin and authenticity

Portugal has been eating salt cod for centuries, and the country is famously associated with hundreds of ways to cook it. Bacalhau à Brás is usually linked to the Bairro Alto in Lisbon, with a popular story crediting a tavern keeper surnamed Brás for the recipe, though this is hard to verify and the name’s true origin is uncertain. What is consistent across versions is the combination of cod, onion, matchstick potatoes and eggs. Recipes differ in how creamy the eggs should be, and whether garlic or olives are included. Authenticity: Traditional

FAQ

How long does salt cod need to soak?

Between 24 and 48 hours in the fridge, with the water changed 3 to 4 times. Thicker pieces need the longer time.

Can I use fresh cod instead of salt cod?

Yes, but the texture will be softer and the flavor less deep. Season with salt as you cook, and poach just until it flakes.

Why is my bacalhau à Brás dry?

The eggs were probably overcooked or there was too little oil. Remove the pan from the heat before adding eggs and stop stirring as soon as they look creamy.

Can I use store-bought potato straws?

Yes. Portuguese cooks often do. Fold them in at the last moment so they stay crisp.

Is bacalhau à Brás gluten-free?

As written, yes: it contains no wheat. Check that any ready-made potato straws were not fried in oil shared with gluten products.

Sources

  • USDA FoodData Central, nutrition estimate for cod, potatoes, eggs and olive oil
  • Harold McGee, On Food and Cooking (Scribner, 2004), salted fish and egg cookery
  • Alan Davidson, The Oxford Companion to Food (Oxford University Press), salt cod
  • UK Food Standards Agency, guidance on fish and eggs
II
About the author
Ivan Ivanov
Founder ofSupreme CommerceGiantParts

Ivan Ivanov is the founder of Supreme Commerce OOD and editor-in-chief of DayNightCook. He chooses the dishes and topics and reviews the recipes and guides before they go live. Recipes are researched from published cookbooks, food-history sources and official food-safety guidance (USDA, EFSA, UK FSA), and every recipe lists its sources. Some content is prepared with the help of AI tools and checked under our AI Transparency Policy.

Clear steps, real sources, food that works at home

  • Sources under every recipeCookbooks, food history and official food-safety guidance
  • Metric and clear timingsGrams, millilitres and real cooking times
  • Honest about authenticityEach recipe notes how close it is to the original
Cooked it? Rate itYour stars help other cooks choose what to makeBe the first to rate this recipe