← Recipes

Traditional method

Bacalhau à Brás

Bacalhau à Braz · Brás-style salt cod

Loading ratings…

Lisbon's salt cod dish: shredded desalted cod and fine fried potato matchsticks folded through softened onion and bound with beaten egg, finished with parsley and black olives.

Bacalhau à Brás with cod flakes, fine potato matchsticks and black olives, served on a pale plate.

The cod dish of Lisbon

Bacalhau à Brás is one of Portugal's most recognizable preserved-fish dishes.

Its central ingredients are shredded, desalted cod, finely cut fried potatoes, softened onions and eggs.

The mixture is gently cooked until the eggs bind the other ingredients together. Parsley and black olives provide the characteristic final garnish.

The dish combines several textures: tender fish, soft onion, potato strands and a creamy egg coating.

Unlike the large roasted cod portions used in bacalhau à lagareiro, the fish here is deliberately separated into flakes.

It is therefore well suited to using smaller pieces of desalted cod, provided that all bones and skin are removed.

The dish is strongly associated with Lisbon and is commonly served as a main course.

Sources for this section

Names and terminology

The name à Brás means prepared in the style associated with Brás.

The identity of the person behind that name is not securely established.

Portuguese — Bacalhau à Brás

Alternative spelling — Bacalhau à Braz

English — Brás-style salt cod

Portuguese ingredient — Bacalhau — salted cod

Portuguese potato preparation — Batata palha — thin potato matchsticks

Portuguese garnish — Azeitonas pretas — black olives

Scientific name — Usually Gadus morhua

Sources for this section

Origins: tradition and documentary evidence

The dish is usually associated with Lisbon's Bairro Alto.

A popular story attributes its creation to a tavern keeper named Brás or Braz in the late nineteenth century.

The story is widely repeated, but its historical certainty is limited.

The Centro Interpretativo da História do Bacalhau records the association while explicitly acknowledging uncertainty about the precise origin.

It also identifies earlier Portuguese cod preparations resembling aspects of modern bacalhau à Brás.

An important reference is a 1715 manuscript by Francisco Borges Henriques, Receitas de milhores doces e de alguns guizados…, containing a preparation named frigideiras de bacalhau.

That preparation has similarities to later cod-and-egg dishes.

However, similarity is not proof that it was already the modern named recipe.

The use of the Brás name, the precise inclusion of thin fried potato strands and the familiar contemporary presentation should not be projected backwards onto the 1715 manuscript without evidence.

A defensible history therefore distinguishes three points:

The wider Portuguese tradition of cooking salted cod is older than the named dish.

Related cod-and-egg preparations are documented before the nineteenth century.

The particular modern dish is associated with Lisbon, but its exact creation remains uncertain.

Sources for this section

The importance of salted cod

Bacalhau is preserved by salting and often drying.

The process makes the fish substantially different from fresh cod.

Salt penetrates the muscle while water is removed.

This changes the concentration of dissolved substances within the flesh and reduces water activity.

Before cooking, desalting removes much of the salt and restores moisture.

The resulting texture is not always identical to fresh cod because the original preservation process changes the protein structure.

Those differences can be useful in bacalhau à Brás.

The fish can be separated into characteristic flakes that remain identifiable among the potatoes and onions.

However, excessive salt or incomplete hydration can produce a harshly seasoned, dry final dish.

Use properly desalted cod rather than attempting to compensate for a salty ingredient by adding extra potatoes or eggs.

Sources for this section

Why the potatoes are cut so finely

The potatoes are not simply a side dish.

Their shape is part of the identity of bacalhau à Brás.

Batata palha means very thin potato strands or matchsticks.

When freshly prepared, the potatoes are cut thinly and fried until lightly golden.

This creates a large surface area relative to their volume.

During frying, moisture leaves the surface while oil transfers heat.

The surface dries, producing crispness.

As the potatoes are later combined with the moist cod and eggs, some crispness is inevitably lost.

That is part of the dish's texture.

The aim is not to preserve every potato strand in a permanently crisp state. Instead, the potatoes contribute structure and absorb flavours while retaining some variation in firmness.

Ready-fried potato matchsticks are a practical alternative.

They avoid the need for cutting and frying raw potatoes, but they are not identical to freshly fried potatoes.

Commercial products may be saltier, thinner or more brittle.

The recipe below uses the ready-fried form.

Sources for this section

Eggs as the binding ingredient

Eggs create the cohesive texture that distinguishes bacalhau à Brás from a simple mixture of fish and potatoes.

Beaten eggs contain proteins dispersed in water, along with lipids and emulsifying components in the yolks.

As the eggs heat, proteins unfold and interact, forming a network that thickens the mixture.

At relatively gentle heat, that network can retain moisture and produce a soft texture.

As heating continues, the network becomes firmer and may expel liquid.

This explains why overheated scrambled eggs become dry and rubbery.

For bacalhau à Brás, the goal is a cohesive mixture in which the egg binds the fish and potato strands without producing large, separate pieces of hard scrambled egg.

Traditional descriptions often aim for a creamy result.

Food-safety guidance introduces an important consideration: the US reference for egg dishes is 71°C (160°F).

Reaching that temperature can give a firmer result than some traditional softly cooked versions. The editorial formulation prioritizes the defined food-safety endpoint.

It should not be claimed that the exact temperature is specified in traditional Portuguese recipes.

Sources for this section

The onion base

Onion provides sweetness, moisture and a soft foundation.

The onions are normally cooked slowly in olive oil.

As they soften, their cellular structure changes and water is released.

Cooking also changes the balance of pungent sulphur compounds and sweeter-tasting components.

The goal is not necessarily deep caramelization.

An overly browned onion base can introduce strong roasted flavours that overwhelm the more delicate cod and egg mixture.

Garlic adds an additional aromatic layer.

The fish is incorporated after the onions have softened.

This ordering matters because raw onion and prepared cod require different cooking treatment.

Sources for this section

Recipe: bacalhau à Brás with ready-fried potato matchsticks

Serves 4 · Approximately 35 minutes after desalting · Not kitchen-tested

Sources for this section

Method

1. Prepare the ingredients. Separate the desalted fish into small flakes and check again for bones.

Slice the onion finely.

2. Soften the onions. Heat the olive oil in a wide, heavy frying pan.

Add the sliced onion and cook gently for 10–12 minutes.

The onion should soften without becoming heavily browned.

3. Add garlic. Stir in the garlic and continue cooking for approximately one minute.

4. Cook the cod. Add the fish and 30 ml water.

Cover and cook gently for approximately 6–10 minutes, stirring occasionally, until the fish is cooked.

5. Remove excess water. Uncover and allow any pooled liquid to evaporate.

The mixture should be moist but not watery.

6. Add the potatoes. Fold in the ready-fried matchsticks.

Mix enough to distribute them without crushing them completely.

7. Add eggs. Reduce the heat and pour in the beaten eggs.

Stir slowly, scraping the bottom of the pan.

8. Reach the endpoint. Cook until the eggs bind the ingredients and the mixture reaches 71°C.

Remove promptly to minimize additional firming.

9. Finish. Add the chopped parsley, black olives and black pepper.

Taste before considering additional salt.

10. Serve immediately. The dish is best served while the egg mixture is fresh and the potatoes retain some texture.

Sources for this section

Comparison with a documented Portuguese recipe

Nestlé Portugal publishes a bacalhau à Brás formulation serving four people, using:

Its method fries freshly cut potato strands, softens onions and garlic, incorporates the cod and adds beaten eggs while the pan remains over the heat.

The eggs are cooked until creamy but cooked.

The editorial version here replaces the freshly fried potatoes with ready-fried ones and measures the egg quantity by weight.

These are convenience and reproducibility adaptations.

Shredded cod — 400 g

Potatoes, before cutting and frying — 500 g

Eggs — 6

Olive oil — 3 tablespoons

Onions — 3

Garlic — 1 clove

Parsley and black olives — As needed

Sources for this section

Why the order of operations matters

If the eggs are added too early, they can cook separately before the potatoes and fish are evenly distributed.

If the potatoes are added too early, they can absorb moisture from the onion and fish mixture and lose their structure.

If the fish is not adequately cooked before the eggs are added, the cook may need to continue heating everything until the cod is done, potentially overcooking the eggs.

Preparing each component in sequence gives better control.

A wide pan is useful because it allows relatively even heating and provides room to fold the ingredients.

A very small pan can create a thick mixture with uneven temperatures.

Sources for this section

Regional and contemporary variations

The dish is associated with Lisbon but is now widely eaten elsewhere in Portugal.

Some versions use freshly fried potatoes; others use purchased batata palha.

The ratio of potato to cod varies.

Some preparations contain more onion, creating a sweeter and softer dish.

Others place more emphasis on the cod.

Olives may be whole or sliced.

Parsley is the familiar garnish, although some modern interpretations use alternative herbs.

These are variations within one recognized dish rather than distinct preparations requiring separate reference pages.

There are also related Portuguese cod dishes containing eggs, potatoes or onions. Similarity in ingredients does not make them identical to bacalhau à Brás.

Sources for this section

Serving and evaluation

The finished preparation should be cohesive without becoming a solid omelette.

The cod flakes should remain recognizable.

Potato strands should be distributed throughout.

The colour is generally golden-yellow with pale pieces of fish, onion and potato.

Black olives and green parsley provide visual contrast.

The dish should taste savoury but not aggressively salty.

If it is bland, check the relative amount of cod and the seasoning of the other ingredients.

If it tastes overwhelmingly of ready-fried potato snacks, the chosen product may be too strongly seasoned.

Sources for this section

Troubleshooting

The eggs become rubbery. Excess heat or prolonged cooking may be responsible. Use gentle heat and stop promptly after reaching the required cooking endpoint.

The mixture is watery. The cod-and-onion mixture was not reduced sufficiently before adding potatoes and eggs.

The potatoes disappear into a paste. Excess stirring or prolonged exposure to moisture may have broken them down.

The fish is salty. Desalting was inadequate. Additional eggs may dilute the perception of salt but cannot undo the underlying preparation error.

The mixture sticks to the pan. Heat may be too high or the pan unsuitable for gentle egg cooking.

Sources for this section

Food safety

Desalt the cod under refrigeration below 4°C.

Cook fish thoroughly to the general reference of 63°C.

For the egg-containing final dish, the published safe cooking temperature is 71°C.

Use a clean thermometer and check the temperature of the mixture rather than relying solely on appearance.

This recipe contains fish and eggs. Commercial ready-fried potatoes may contain additional allergens or ingredients.

Refrigerate leftovers promptly and reheat them thoroughly.

Sources for this section

History

The name says only so much. À Brás means prepared in the style associated with Brás, and who that was is not securely established; the usual story puts him in a tavern in Lisbon's Bairro Alto in the late nineteenth century, and it is repeated far more confidently than the evidence supports. A defensible history separates three things. Portugal's cooking of salted cod is much older than any one named dish. Preparations combining cod with eggs are documented before the nineteenth century, including frigideiras de bacalhau in a 1715 manuscript by Francisco Borges Henriques, which resembles aspects of what is eaten now. And the modern dish, with the Brás name, the thin fried potato strands and the familiar presentation, is a Lisbon association of uncertain date; projecting its details backwards onto the 1715 text would be reading a later recipe into an earlier one. What the dish actually depends on is three decisions about texture. The fish is shredded rather than portioned, which is why the preservation matters in a useful way here: salting changes the protein structure, so desalted cod separates into flakes that stay identifiable among everything else rather than dissolving into it. The potatoes are cut as batata palha, very thin strands fried until lightly golden, which gives a large surface area relative to volume and therefore crispness; some of that crispness is inevitably lost once they meet the moist fish and egg, and that loss is part of the dish rather than a fault, the aim being structure and variation in firmness rather than permanently crisp strands. And the eggs do the binding, a protein network forming as they heat and thickening the whole mixture, soft while the heat stays gentle and firm, then dry, if it does not. Onion underneath supplies sweetness and moisture, softened rather than caramelised so that roasted flavours do not swamp the cod. The order in which those components meet the pan is the whole technique.

Ingredients

Scaling: source batch only

Desalted salt codRinse the loose surface salt off the cured fish, desalt it in cold water under refrigeration with the water changed, then drain it, remove all skin and bones and separate it into small flakes, checking again for bones.
450 g
Salted and dried cod, weighed after desalting and draining. This is not the unsalted air-dried stockfish used elsewhere in this collection, and a plain soaking schedule for that product does not apply here. Because the fish is shredded rather than served in portions, smaller pieces of desalted cod are usable provided all bones and skin come out. The Nestlé formulation states 400 g of shredded cod for the same four people. The preservation changes the protein structure, so the texture is never identical to fresh cod, and that is useful here: the flakes stay identifiable among the potato and onion.
Ready-fried potato matchsticksFold in whole, mixing just enough to distribute them without crushing them.
200 g
The weight of the purchased ready-fried product, not of raw potatoes; the Nestlé recipe instead gives 500 g of potatoes weighed before cutting and frying. Batata palha means very thin potato strands, and their shape is part of the dish's identity: cut thin and fried, they have a large surface area relative to their volume, which is what makes them crisp. Commercial products may be saltier, thinner or more brittle than freshly fried strands, and a dish that tastes overwhelmingly of potato snacks usually means the product was too strongly seasoned.
OnionSlice finely and cook gently in the olive oil for 10 to 12 minutes, until softened without heavy browning.
220 g
The Nestlé recipe uses three onions. Onion brings sweetness, moisture and a soft foundation; as it softens its cellular structure changes and water is released, and the balance shifts from pungent sulphur compounds towards sweeter components. Deep caramelisation is not the aim, because strong roasted flavours overwhelm the cod and egg.
GarlicChop, stir into the softened onion and cook for approximately one minute.
8 g
The Nestlé recipe uses one clove.
Olive oilHeat in a wide, heavy frying pan before the onion goes in.
35 mL
The Nestlé recipe gives three tablespoons. A wide pan matters more than the quantity: it heats evenly and leaves room to fold the ingredients, where a small pan gives a thick mixture with uneven temperatures.
WaterAdd with the fish, cover, and let any pooled liquid evaporate afterwards.
30 mL
A small amount of liquid to cook the cod gently under a lid. It is then driven off, because a mixture that is still wet when the egg goes in will not set properly.
Beaten eggBeat, and pour into the reduced-heat pan once the potatoes are distributed, stirring slowly and scraping the bottom.
300 g
Shelled weight, which corresponds approximately to six medium eggs, although actual egg weights vary; the Nestlé recipe counts six eggs rather than weighing them. Beaten egg holds proteins dispersed in water along with lipids and emulsifying components in the yolks, and as it heats those proteins unfold and form a network that thickens the mixture; gentle heat keeps moisture in the network, while continued heating firms it and expels liquid, which is why overheated egg turns dry and rubbery.
Pitted black olivesAdd at the end with the parsley and pepper.
50 g
Azeitonas pretas, the characteristic garnish. They may be whole or sliced, and they carry salt of their own.
ParsleyChop, and add at the end.
15 g
Unquantified in the Nestlé recipe, which lists parsley and olives as needed. Some modern interpretations use other herbs instead.
Black pepperSeason at the end, and taste before considering any salt.
Amount not stated
No weight is given. Salt is not in the measured formulation at all: the cod, the olives and commercial potato matchsticks all contribute some.

Method

Risks and precautions · Elevated risk
Desalting reverses the preservation

Salting removed water and lowered water activity; soaking puts the water back and takes the salt out, so the cod becomes perishable seafood as soon as it goes into the water and stays so for the length of the soak.

Hazard source
A lightly set egg dish

Traditional descriptions aim for a creamy bind, and a soft egg mixture may sit below the published endpoint for egg dishes while looking exactly as the cook intends.

Hazard source
Appearance used instead of measurement

A pan of shredded fish, potato and egg gives no reliable visual signal of its internal temperature, and the guidance is to check the mixture with a clean thermometer rather than to rely on how it looks.

Hazard source
Allergens from the fish, the eggs and the prepared potatoes

The dish contains both fish and egg, and commercial ready-fried potato matchsticks may carry additional allergens or ingredients of their own.

Hazard source

Desalt the cod under refrigeration with the water changed, following the product's own instructions

Control source

Cook the fish through under the lid before the eggs go in

Control source

Take the finished mixture to the published endpoint for egg dishes and check it with a clean thermometer

Control source

Refrigerate leftovers promptly and reheat them thoroughly

Control source

This dish contains fish and eggs, and commercial ready-fried potatoes may carry further allergens or ingredients.

The 71°C endpoint for the egg mixture is a published modern safety reference; it is not specified in traditional Portuguese recipes, and reaching it gives a firmer texture than the creamy result those descriptions aim at.

The raw material is salted and dried cod that needs desalting, and the long plain soak used for unsalted air-dried stockfish is a different procedure for a different product.

Salty cod means desalting was inadequate: extra eggs may mask the perception of salt but cannot undo it.

The Nestlé recipe's raw potato weight and this version's ready-fried weight measure different things, and substituting one number for the other changes the dish.

This adaptation has not been kitchen-tested.

  1. Separate the desalted fish into small flakes, check it again for bones, and slice the onion finely.
  2. Heat the olive oil in a wide, heavy frying pan, add the sliced onion and cook gently for 10 to 12 minutes until softened without heavy browning.
  3. Stir in the chopped garlic and cook for approximately one minute.
  4. Add the fish and 30 ml of water, cover, and cook gently for approximately 6 to 10 minutes, stirring occasionally, until the fish is cooked.
  5. Uncover and let any pooled liquid evaporate, so the mixture is moist but not watery.
  6. Fold in the ready-fried potato matchsticks, mixing just enough to distribute them without crushing them.
  7. Reduce the heat, pour in the beaten eggs and stir slowly, scraping the bottom of the pan.
  8. Cook until the eggs bind the ingredients and the mixture reaches 71°C, then take it off the heat promptly to limit further firming.
  9. Add the chopped parsley, black olives and black pepper, taste before considering any salt, and serve at once.

Conditions

Temperature controlMulti-stage

Places

Lisbon

Traditional preparation · Locality evidence

A locality-level association: the dish is strongly associated with Lisbon and particularly with the Bairro Alto. The attribution to a tavern keeper named Brás is a widely repeated story whose historical certainty is limited, and the association is recorded without accepting the story as evidence.

Portugal

Traditional preparation · Country evidence

A country-level association: the dish is now widely eaten across Portugal rather than only in Lisbon. The 1715 manuscript preparation named frigideiras de bacalhau belongs to this wider national tradition of cooking salted cod and is a related recipe, not this one.

Related

Community

No community contributions have been published for this entry yet.

Share what you made

Sign in to contribute. Published comments and photos are free to read.

Sources