← Back to recipes
Bacalhau Espiritual
Portugal · Portuguese

Bacalhau Espiritual

Portuguese Cod Gratin

A creamy, comforting Portuguese cod gratin featuring tender salted cod flakes blended with sautéed onions and carrots, enriched with soaked bread and béchamel sauce, topped with melted golden cheese and baked to a luscious, bubbling finish.

Bacalhau Espiritual

History

Bacalhau Espiritual is a traditional Portuguese dish known nationwide, often served at family meals and festive occasions like Easter. Its name refers to the gratinated cod preparation, combining emblematic Portuguese salted cod with béchamel sauce, vegetables, and cheese. The dish reflects Portugal's rich bacalhau culinary heritage and regional variations.

Servings
4
Prep time
60 min
Cook time
30 min
Total time
1 hr 45 min
Active time
40 min
Resting time
15 min
Difficulty
medium
Course
main
Cuisine
Portuguese
Cooking method
baking, sautéing, boiling
Diet
contains dairy, fish, gluten
Allergens
fish, dairy, gluten

Ingredients

For the cod and vegetable mixture:

  • 1 lb (450 g) salted cod, soaked and desalted
  • 4 cups (950 ml) water for boiling cod
  • 1 medium onion, chopped (about 150 g)
  • 3/4 cup (90 g) carrots, sliced or grated
  • 3 slices bread, crusts removed
  • 1 cup (240 ml) milk for soaking bread
  • 2 tbsp (30 ml) olive oil
  • 2 tbsp (30 g) butter
  • 1/2 tsp (2.5 ml) salt, or to taste
  • 1/4 tsp (1.25 ml) black pepper
  • 1/2 tsp (2.5 ml) grated nutmeg

For the béchamel sauce:

  • 2 tbsp (30 g) butter
  • 1/2 cup (60 g) all-purpose flour
  • 1 cup (240 ml) milk
  • 1/2 tsp (2.5 ml) salt
  • 1/4 tsp (1.25 ml) black pepper
  • 1/2 tsp (2.5 ml) grated nutmeg

For assembly and topping:

  • 1 cup (100 g) shredded cheese (such as mozzarella or mild cheese)
  • 1/2 cup (120 ml) fresh cream (optional, see notes)

Preparation

Prepare the cod and vegetable mixture:

  1. Soak the salted cod in cold water for 12 to 48 hours, changing the water three times every 4 to 6 hours to desalinate. Drain.
  2. Place the cod in a pot with 4 cups (950 ml) water, add 1 bay leaf if available, and bring to a gentle boil. Cook for about 3 to 5 minutes until just cooked through. Remove cod, reserving cooking water if desired.
  3. When cool enough to handle, remove skin and bones from the cod and flake or finely mince the flesh.
  4. Soak the bread slices in 1 cup (240 ml) warm milk until softened, about 15 minutes, then drain well and crumble.
  5. Heat 2 tbsp (30 ml) olive oil and 2 tbsp (30 g) butter in a frying pan over medium heat. Add the chopped onion and sliced or grated carrots and sauté until softened, about 5 to 7 minutes.
  6. Add the crumbled soaked bread and minced cod to the pan. Season with salt, pepper, and nutmeg. Cook together for 5 minutes, stirring gently to combine and develop flavor. Remove from heat.

Prepare the béchamel sauce:

  1. In a saucepan, melt 2 tbsp (30 g) butter over medium heat.
  2. Whisk in 1/2 cup (60 g) flour and cook for 1 to 2 minutes without browning to form a roux.
  3. Gradually whisk in 1 cup (240 ml) milk, stirring constantly to avoid lumps.
  4. Continue cooking and stirring until the sauce thickens and coats the back of a spoon, about 5 to 7 minutes.
  5. Season with salt, pepper, and nutmeg to taste. Remove from heat.

Assemble and bake:

  1. Preheat the oven to 350°F (180°C).
  2. Combine half of the béchamel sauce with the cod and vegetable mixture, stirring gently to blend.
  3. Spread this mixture evenly in a greased baking dish.
  4. Pour the remaining béchamel sauce evenly over the top.
  5. Optionally, drizzle fresh cream evenly over the béchamel layer.
  6. Sprinkle 1 cup (100 g) shredded cheese evenly on top.
  7. Bake in the preheated oven for 25 to 30 minutes until the cheese is melted, golden, and bubbling.
  8. Let rest for 5 to 10 minutes before serving.

Equipment

pot, frying pan, baking dish, oven

Serving suggestions

Serve hot, ideally with a fresh green salad.

Tips

Use mild cheese like mozzarella or a Portuguese cheese for topping. Fresh cream is optional but adds richness. For a crisp texture variation, some recipes add a layer of thin fried potatoes beneath or on top before baking.

Make-ahead & storage

Can be refrigerated for up to 2 days and reheated before serving.

Local-language keywords — Portuguese

Bacalhau Espiritual, queijo ralado, bacalhau salgado, cebola média, cenouras, pão, leite para molhar o pão, Portugal

Keywords — English

bacalhau, Portuguese, cod, gratin, béchamel, cheese, comfort food, baked