Bacalhau Escondido – Portuguese Hidden Codfish Recipe

There are several versions of “Bacalhau Escondido,” or Hidden Codfish. Still, they all follow the same basic concept: shredded cod is “hidden” under a layer of mashed potatoes (or other ingredients) and baked in the oven. It’s absolutely delicious!

It’s a rich and hearty dish, made with several staple ingredients from Portuguese cuisine, and it’s packed with flavor. While it’s not the easiest recipe to prepare—it involves quite a few steps—it’s well worth the effort.

Although this dish is no longer cheap to make, it’s ideal for cooking in large quantities and gathering the whole family around the table. It’s also a great way to use up leftover cooked cod.

This version of Bacalhau Escondido comes from my husband’s paternal grandmother, D. Maria da Conceição, who learned the recipe in Celorico de Basto, in the Minho region. We hope you enjoy it and cook it with love for your family, just like she did.

A rectangular casserole dish of baked Bacalhau Escondido, with a golden crust, sits on a floral tablecloth. A portion has been cut and placed on a white plate, revealing layers of vegetables inside this delicious cod recipe.
Traditional Hidden Codfish Dish

How to Soak Dry Salt Cod

In this recipe, we used frozen pre-soaked cod, which is a quick and practical option. However, if you’re using dry salt cod, you’ll need to soak it first.

For two medium-sized pieces (they don’t need to be from the loin, since the cod will be shredded), soak for about 24 to 32 hours. Ideally, soak it in the fridge or very cold water—especially in the summer—and change the water several times. Place the pieces skin-side up, as the skin prevents water from being absorbed too quickly.

After 24 to 32 hours, the cod should be tender and perfectly desalted, ready to cook.

Three pieces of dried and salted cod (bacalhau) are arranged on a light wooden surface. The pieces of fish have a rough, textured appearance with visible salt crystals and a slightly curled shape, showing the traditional method of preparing cod in Portugal.
Different cuts of dry salt cod | Photo by nataliamylova via Depositphotos

Preparation

  • Prep time: 1 hour and 10 minutes (30 to 40 minutes prep + 40 minutes cooking)
  • Serves: 8 to 10 people
  • Difficulty: Hard

Necessary Utensils

  • Large pot
  • Large, deep baking dish
  • Knife
  • Wooden spoon or spatula
  • Teaspoon and tablespoon
  • Potato ricer or masher
A gray potato masher and a food mill are placed on a blue surface - ideal utensils for preparing the Cod Recipe.
Utensils needed to make mashed potatoes

Ingredients for Hidden Codfish (Bacalhau Escondido)

  • 2 kg (about 4.4 lbs) frozen codfish
  • 8 large red potatoes
  • 1 kg (about 2.2 lbs) carrots
  • 10 eggs + 1 beaten egg (for brushing)
  • 2 kg (about 4.4 lbs) Portuguese cabbage (also known as couve-galega or collard greens)
  • Water, as needed
  • 500 ml (about 2 cups) olive oil
  • 4 garlic cloves
  • 200 ml (a bit under 1 cup) of milk
  • 1 tablespoon butter
  • Salt, to taste
  • Black pepper, to taste
Two pieces of cooked cod with skin and bones lie on a white plate, on a blue and beige surface.
1 cooked piece of cod

Step by Step Instructions

  1. Boil the potatoes, carrots, Portuguese cabbage (also called collard greens), and eggs in plenty of water, enough to fully cover all the ingredients. Place the codfish on top and bring everything to a boil.
A large pot filled with water, sliced ​​potatoes, cod and some whole carrots were boiling on the stove. Small bubbles formed on the surface of the water.
Boiling the potatoes and carrots in a large pot filled with water
  1. As soon as the water starts to boil, let the cod cook for about 10 minutes, until the flesh begins to flake. Remove the cod and let the remaining ingredients continue cooking until tender.
  2. Shred the codfish, removing any bones and skin, and break it into large flakes.
A glass bowl filled with shredded pieces of cooked cod, perfect for a cod recipe.
Shredded codfish ready to assemble the dish – Hidden Codfish Recipe
  1. Meanwhile, grease a large baking dish with olive oil, ensuring it is enough to coat the bottom.
  2. Drain all the ingredients very well. Set aside four boiled potatoes to make the mashed potato topping.
  3. Slice the remaining potatoes and the boiled eggs. Cut the cabbage into medium-sized pieces.
  4. In the baking dish, layer the sliced potatoes first, followed by the sliced eggs and carrots. On top of that, add the shredded codfish, and finally, the chopped cabbage.
An orange baking dish filled with sliced ​​boiled eggs and chopped boiled potatoes, arranged in a single layer, resembling a Bacalhau Escondido.
Layering sliced boiled potatoes and eggs
A rectangular clay baking dish filled with sliced ​​hard-boiled eggs, orange carrots and potato chunks, arranged in layers for a delicious recipe for Bacalhau Escondido. The dish sits on a blue patterned surface.
Adding a layer of cooked carrots
A clay baking dish filled with shredded cod atop sliced ​​vegetables, including carrots, sits uncooked on a blue surface.
Next, the shredded codfish goes on top
A rectangular clay dish filled with cabbage lies on a blue surface.
Finally, add the chopped Portuguese cabbage
  1. Drizzle generously with olive oil—about half a liter (2 cups).
A baking sheet filled with cooked cabbage sits on a towel as a hand pours oil over it. A tray with more greens sits in the background.
Pouring plenty of olive oil – Hidden Codfish Recipe
  1. Making the Mashed Potatoes
    • Using the four boiled potatoes you set aside earlier, mash them with a potato ricer or masher until smooth and uniform.
    • Add the milk and gradually mix in the melted butter, stirring well until you get a creamy, but not runny, consistency.
    • Season with salt and pepper to taste, and mix thoroughly.
A red-handled potato masher is used to mash boiled potatoes in a white bowl, perfect for preparing the Cod Recipe. A fork rests inside the bowl as steam escapes from the potatoes.
Ricing the boiled potatoes with a potato ricer
A metal potato masher is pressing cooked potatoes onto a white plate with a yellow and blue border. Perfect for preparing Bacalhau Escondido, the potatoes are partially mashed
Alternatively, you can mash the potatoes with a masher
A white bowl filled with finely mashed potatoes sits on a textured blue surface, ready to be used in a delicious cod recipe.
What the potatoes should look like after ricing
Uma tigela cheia de puré de batatas macio e cremoso e uma colher de pau descansando dentro - perfeita para preparar o Bacalhau Escondido.
Ideal mashed potato consistency
  1. Carefully spread the mashed potatoes over the cabbage and cod mixture, being gentle so you don’t mix the layers underneath.
A clay dish with cooked vegetables is being covered with mashed potatoes using a spatula, creating a hidden cod recipe.
Covering the cabbage with mashed potatoes—be gentle to keep the layers intact
  1. Brush the top of the mashed potatoes evenly with the beaten egg.
  2. Place the baking dish in the oven and bake for about 20 minutes, until golden on top.
A baked rectangular dish of Escondido Cod, topped with mashed yellow potatoes.
Brushing the mashed potatoes with beaten egg—ready to go in the oven!

Serving Suggestions

This is a rich and complete dish, featuring a diverse array of ingredients, including vegetables, greens, eggs, fish, and olive oil. It can be served as-is—there’s no need for any sides.

As for wine, a good dry, crisp white or a fresh Vinho Verde from the Minho region pairs beautifully.

Tips

  • A key step is draining the vegetables thoroughly—if not, the dish will turn out watery and lose its flavor.
  • Don’t be afraid to use plenty of Portuguese olive oil—it’s what gives this dish its moisture and rich taste.
  • Choose a baking dish that fits the amount of ingredients: it should be deep and large enough to hold everything, but not so big that the layers spread out too much.
A rectangular clay dish with a decorative pattern contains a large casserole of Bacalhau Escondido covered in egg yolk, baking in the oven.
Bake the Hidden Codfish in the oven for about 20 minutes, until golden brown.

Storage and Reheating

This dish tastes even better when reheated—the flavors become more intense, and the olive oil makes it even more irresistible. So if you have leftovers, store them in the fridge in an airtight container for 2 to 3 days.

We don’t recommend freezing leftover Bacalhau Escondido. Both the potatoes and the mashed layer tend to develop an odd texture and lose flavor once thawed and reheated.

A baked rectangular casserole dish, Bacalhau Escondido, with a golden brown crust and visible filling of cod, greens and vegetables in an earthenware dish on a floral tablecloth.
This delicious Hidden Codfish dish makes generous portions and reheats beautifully.

Conclusion

Bacalhau Escondido is a traditional Portuguese dish that’s full of flavor. While it’s not the easiest recipe to make—it’s time-consuming and involves several steps—it’s worth it. It’s also a generous recipe, perfect for serving a crowd. So gather your family and surprise them with this delicious dish.

Bom Apetite!

Uma caçarola retangular assada, Bacalhau Escondido, com uma crosta dourada, está sobre uma toalha de mesa floral. Uma porção foi cortada e colocada em um prato branco, revelando camadas de vegetais dentro dessa deliciosa receita de bacalhau.

Bacalhau Escondido – Hidden Codfish

Jorge Bastos
There are several variations of the dish Bacalhau Escondido. Still, they all follow the same principle: shredded cod is “hidden” under a layer of mashed potatoes or other ingredients, and then baked in the oven. It’s absolutely delicious!
Prep Time 40 minutes
Cook Time 40 minutes

Equipment

  • Large pot
  • Large, deep baking dish
  • Knife
  • Wooden spoon or spatula
  • Teaspoon and tablespoon
  • Potato ricer or masher

Ingredients
  

  • 2 kg Frozen codfish
  • 8 Large red potatoes
  • 1 kg Carrots
  • 11 eggs
  • 2 kg Portuguese cabbage (also known as collard greens)
  • 0,5 l Olive oil
  • Water
  • 4 Garlic cloves
  • 200 ml milk
  • 1 tpsp Butter
  • Salt to taste
  • Black pepper to taste

Instructions
 

How to Make Bacalhau Escondido (Hidden Codfish)

  • Boil the potatoes, carrots, Portuguese cabbage (also known as collard greens), and eggs in plenty of water, enough to fully cover everything. Place the codfish on top and bring to a boil.
    Uma panela grande cheia de água, batatas fatiadas, bacalhau e algumas cenouras inteiras a ferver no fogão. Pequenas bolhas se formaram na superfície da água.
  • Once it starts boiling, let the cod cook for about 10 minutes, until the flesh begins to flake apart. Remove the cod and let the remaining ingredients continue cooking until they’re soft and tender.
  • Shred the codfish, removing any bones and skin, and break it into large flakes.
    Uma tigela de vidro cheia de pedaços desfiados de bacalhau cozido, perfeito para uma receita de bacalhau.
  • Meanwhile, grease a large baking dish with olive oil, making sure the bottom is well-coated.
  • Drain all the ingredients very well. Set aside 4 of the boiled potatoes to make the mashed potatoes later.
  • Slice the remaining potatoes and the boiled eggs into rounds. Cut the cabbage into medium-sized pieces.
    Uma assadeira de barro cheia de bacalhau desfiado sobre legumes fatiados, incluindo cenouras, repousa crua em uma superfície azul.
  • In the baking dish, layer the sliced potatoes first, followed by the eggs and carrots. Then, spread the shredded codfish on top, and finish with the cabbage.
    Um prato retangular de barro cheio de couves está sobre uma superfície azul.
  • Drizzle generously with olive oil—about half a liter (2 cups).
    Uma assadeira cheia de couve cozida está sobre uma toalha enquanto uma mão derrama azeite sobre elas. Uma bandeja com mais verduras está ao fundo.
  • Carefully spread the mashed potatoes you prepared over the top, without mixing the layers underneath.
    Um prato de barro com legumes cozidos está a ser coberto com puré de batatas usando uma espátula, criando uma receita de bacalhau escondido.
  • Brush the top of the mashed potatoes evenly with the beaten egg.
    Um prato retangular assado de Bacalhau Escondido, coberto com puré de batatas amarelas.
  • Bake in the oven for about 20 minutes, until golden on top.
    Um prato retangular de barro com um padrão decorativo contém uma grande caçarola de Bacalhau Escondido coberta com gema de ovo, assando no forno.

How to Make the Mashed Potatoes

  • Using the four boiled potatoes you set aside earlier, mash them using a ricer or a masher until smooth and uniform.
    Um espremedor de batatas de metal está a pressionar as batatas cozidas num prato branco com uma borda amarela e azul. Perfeito para preparar o Bacalhau Escondido, as batatas estão parcialmente amassadas
  • Add the milk, then gradually mix in the melted butter, stirring well until you have a creamy mash—but not too runny.
    Uma tigela branca cheia de batatas finamente amassadas fica em uma superfície azul texturizada, pronta para ser usada em uma deliciosa receita de bacalhau.
  • Season with salt and pepper to taste, and mix everything thoroughly.
    Uma tigela cheia de puré de batatas macio e cremoso e uma colher de pau descansando dentro - perfeita para preparar o Bacalhau Escondido.

Pin now, try later!

Portuguses hidden codfish
Portuguese hidden codfish

Sharing is caring!

???????? Get Ready for Your Portugal Adventure

Check out our top hotel, flight, and car rental picks to plan your perfect trip. When you book through us, you help keep Portugal Things free — with no extra cost to you.

Explore Our Recommendations

Leave a Comment