

Bacalhau à Brás
Portuguese Cod Egg Skillet
Bacalhau à Brás is a comforting Portuguese dish featuring tender shredded salt cod gently combined with crispy matchstick potatoes and creamy scrambled eggs, accented by sweet confit onions, fresh parsley, and briny black olives for a harmonious blend of textures and flavors.

History
Bacalhau à Brás originated in Lisbon's Bairro Alto, named after a tavern cook called Brás. It is one of Portugal's most popular cod dishes, traditionally made with shredded salt cod, matchstick potatoes, and eggs. The recipe is valued for its simplicity, quick preparation, and comforting taste, often served as a daily special in Portuguese restaurants.
- Servings
- 4
- Prep time
- 45 min
- Cook time
- 20 min
- Total time
- 1 hr 20 min
- Active time
- 30 min
- Resting time
- 15 min
- Difficulty
- medium
- Course
- main
- Cuisine
- Portuguese
- Cooking method
- frying, sautéing, confiting
- Diet
- gluten-free
- Allergens
- eggs, fish
Ingredients
For the cod and onions:
- 2 lb (900 g) salt cod loin, bone-in and skin-on, soaked and desalinated
- 2 cloves garlic, smashed
- 2 bay leaves
- 2 tbsp (30 ml) olive oil
- 2 large onions (about 10 oz / 280 g), peeled and thinly sliced
- 2 cloves garlic, minced
- 1 tsp (5 ml) salt
- Freshly ground black pepper to taste
For the potatoes and eggs:
- 1 1/2 cups (120 g) matchstick potatoes (batata palha), divided
- 4 large eggs, beaten with a pinch of salt and pepper
To finish:
- 1/4 cup (15 g) fresh parsley, chopped
- 8 black olives
Preparation
For the cod and onions:
- Soak the salt cod in cold water for at least 24 hours, changing the water 3 times to desalinate.
- Place the cod, smashed garlic cloves, and bay leaves in a small saucepan with water just below boiling. Remove from heat and let steep for 10 minutes.
- Drain the cod, remove skin and bones, and shred the flesh into small pieces by hand.
- In a skillet, heat olive oil over low heat. Add sliced onions, minced garlic, salt, and pepper. Cook slowly, stirring occasionally, until onions are soft, golden, and sweet, about 1 hour.
For the potatoes and eggs:
- Heat oil in a frying pan and fry matchstick potatoes until crisp and golden. Drain on paper towels. Divide into two portions.
- Reheat the onion confit over medium heat. Add shredded cod and half of the fried potatoes. Stir gently to combine and warm through.
- Remove the pan from heat. Wait 15 seconds, then add beaten eggs, stirring constantly to coat ingredients without letting eggs scramble fully. Return to low heat and cook gently, stirring, until eggs reach a creamy texture.
- Stir in the remaining fried potatoes and most of the chopped parsley. Adjust seasoning with salt and pepper if needed.
To serve:
- Transfer to a serving dish. Garnish with remaining parsley and black olives. Serve immediately while warm.
Equipment
frying pan, skillet or sauté pan, small saucepan, kitchen towel or paper towels, mixing bowl, wooden spoon or spatula, knife
Serving suggestions
Serve Bacalhau à Brás warm, accompanied by a fresh green salad and a chilled Portuguese white wine.
Tips
Use pre-packaged batata palha to simplify preparation. Add the fried potatoes in two stages to maintain crispness. Stir eggs continuously off heat to achieve creamy texture without overcooking. Taste the cod before adding salt, as it may already be salty. Freshly ground black pepper enhances aroma and flavor.
Make-ahead & storage
The cod and onion confit can be prepared up to five days in advance and refrigerated separately. Reheat gently before combining with potatoes and eggs.
Local-language keywords — Portuguese
Bacalhau à Brás, batatas palito, lombo de bacalhau salgado, alho, folhas de louro, azeite, cebolas grandes, pimenta preta moída na hora, Portugal
Keywords — English
Bacalhau à Brás, Portuguese cod, shredded cod, matchstick potatoes, scrambled eggs, onion confit, traditional Lisbon, comfort food