Codfish Cake Recipe: Flaky Lattice Crust With Savory Cod Magic

Appetizers

Codfish Cake Recipe: Flaky Lattice Crust With Savory Cod Magic

This codfish cake recipe delivers a crispy, flaky lattice crust that encases tender, savory cod in a way that feels both nostalgic and refined—perfect for elevating any gathering.

The secret lies in the delicate balance of dry cod, perfectly seasoned dough, and the signature diamond-cut lattice pattern that creates golden, shatteringly crisp edges while keeping the filling moist.

I first discovered this recipe while researching traditional Portuguese pastéis de bacalhau, though my version simplifies the process without sacrificing authenticity.

The magic happens in the dough, where a touch of baking powder ensures that flaky layers form as it bakes, while the cod absorbs the flavors of onion, parsley, and a hint of paprika.

Unlike dense fish cakes, this recipe achieves a light, almost airy texture thanks to the lattice crust—think of it as a cross between a quiche and a savory tart. The result is a dish that’s impressive enough for dinner parties but simple enough for a weeknight supper.

By the time it emerges from the oven, you’ll have a golden, lattice-topped cake with crisp edges and a tender, savory center that melts in your mouth. The aroma alone—warm cod, toasted crust, and fresh herbs—will have everyone at the table reaching for seconds.

Serve with lemon wedges to brighten the richness or a simple arugula salad for contrast. This is comfort food with sophistication.

For those looking to adapt, gluten-free flour blends work well for the crust, and plant-based fish substitutes can mimic the texture when properly drained. The lattice technique remains the same, ensuring that even modern twists stay true to the dish’s elegant roots. Let’s get baking!

👨‍🍳
Difficulty
Medium
🐟
Diet
Seafood
🔥
Calories
Med Cal

Ingredients for codfish cake

This codfish cake recipe transforms simple pantry staples into a restaurant-worthy lattice-topped masterpiece.

Ingredient Amount Notes
Salted Codfish 🐟 12 oz Soaked overnight, drained well
All-Purpose Flour 🌾 2 cups Sifted for light texture
Unsalted Butter 🧈 ½ cup Cold, cubed for pastry
Yellow Onion 🧅 1 medium Finely diced, about 1 cup
Fresh Parsley 🌿 ¼ cup Chopped, stems removed
Sweet Paprika 🌶️ 1 tsp Smoked for depth
Ground Black Pepper 🌶️ ½ tsp Freshly cracked
Baking Powder 🍞 1 tsp Light, not aluminum-free
Large Eggs 🥚 1 whole Room temperature
Ice Water 💧 ¼ cup For dough elasticity
Lemon Zest 🍋 1 tbsp Freshly grated
Salt 🧂 ½ tsp Fine sea salt
Extra-Virgin Olive Oil 🫒 1 tbsp For brushing crust

The codfish is the foundation—salted cod from a Portuguese market delivers that authentic, tender bite. Soak it overnight, changing the water twice to remove excess salt. Whole Foods or specialty seafood markets carry the best quality, but any reputable fishmonger will have it. For the dough, King Arthur flour is my go-to for that signature flaky texture, though any high-quality all-purpose works. The butter must be cold—take it straight from the fridge and cut it into cubes. Fresh herbs are non-negotiable here; Trader Joe's sells pre-washed parsley that saves time without sacrificing flavor.

No salted cod? Fresh cod or haddock works in a pinch, but it won't have the same texture—pat it very dry first. Running short on butter? Vegetable shortening mimics the flakiness, though the flavor won't be as rich. The paprika can be swapped for smoked paprika if you prefer a deeper, smokier note. For gluten-free adaptations, King Arthur GF flour blend works beautifully, though the texture will be slightly denser. The lattice technique is what makes this dish special—don't skip it! If cutting diamonds feels intimidating, use a pizza cutter for clean lines.

This cake keeps beautifully for 3 days in the fridge, wrapped tightly in foil. For longer storage, freeze portions for up to 3 months—just thaw overnight in the fridge. The aroma alone will have your kitchen smelling like a Portuguese bakery. Serve at room temperature for the best texture, and always pair with lemon wedges to cut through the richness. Leftovers reheat perfectly in a 350°F oven for 10 minutes, restoring that golden crust.

❤️

Why You'll Love This Recipe

  • I swear by this shortcut: just shred that salted codfish dry (no extra soaking!) and mix it right into the batter. The flour and butter handle the moisture like magic—no soggy mess, just tender bites every time.
  • No-Soaking Needed: I swear by this shortcut: just shred that salted codfish dry (no extra soaking!) and mix it right into the batter. The flour and butter handle the moisture like magic—no soggy mess, just tender bites every time.
  • Umami Bomb: That salty-sweet codfish? It’s the star. The onions caramelize just enough to deepen the flavor, while the parsley brightens it all up—like a hug for your taste buds. Honestly, I’ve made it for people who “don’t like fish,” and they still ask for seconds.
  • Lunchbox Hero: Between us, these cakes reheat perfectly—crispy outside, fluffy inside—so I pack them for work or school lunches. My kid’s teacher even texts me to say they’re “the best thing she’s ever brought.” (Yes, even on a Tuesday.)

Step-by-step instructions for codfish cake

Here's the method to achieve that signature flaky crust and moist, flavorful filling.

1

Prepare the Codfish Filling

Begin by flaking the 12 oz salted codfish into fine, even shreds using two forks. Transfer the flakes to a mixing bowl and set aside. In the same bowl, add the finely diced 1 medium yellow onion, 1 tbsp lemon zest, 1 tsp sweet paprika, 0.5 tsp ground black pepper, and 0.5 tsp salt. Mix gently to combine, ensuring the onion is evenly distributed throughout the codfish flakes.

The lemon zest brightens the salty codfish, while the paprika adds a subtle smokiness. Don't overmix—just enough to distribute the flavors evenly. This mixture will form the heart of your cake, so take your time to ensure all the ingredients are well incorporated.

2

Make the Flaky Lattice Dough

In a separate large bowl, combine the 2 cups all-purpose flour, 1 tsp baking powder, and 0.5 tsp salt. Whisk these dry ingredients together until fully blended. Cut in the 0.5 cup cold unsalted butter using a pastry cutter or your fingers, working until the mixture resembles coarse crumbs with pea-sized butter pieces remaining. This texture is crucial for achieving that signature flaky crust.

Add the 1 whole large egg and 0.25 cup ice water to the bowl. Mix gently with a fork or wooden spoon until the dough just comes together. The dough should be cool to the touch and hold its shape when pressed lightly. If it feels too sticky, add 1 tablespoon ice water at a time until it forms a smooth, pliable dough. Wrap the dough in plastic wrap and refrigerate for 30 minutes to firm up.

3

Assemble and Shape the Cake

Preheat your oven to 375°F. Grease a 9-inch round cake pan with 1 tbsp extra-virgin olive oil and line the bottom with parchment paper. Divide the chilled dough in half. Roll one half out on a lightly floured surface to fit the bottom of your pan, about 1/8-inch thick. Press it gently into the pan, trimming any excess dough that hangs over the edges.

Spread the prepared codfish mixture evenly over the dough, leaving a 1/2-inch border around the edges. Roll out the remaining dough to create a lattice top. Cut the dough into strips about 1/2-inch wide, then weave them over the filling in a classic lattice pattern. Brush the top with a little extra olive oil for added crispness.

4

Bake to Golden Perfection

Bake the codfish cake in the preheated oven for 40-45 minutes, or until the crust is deep golden brown and the filling is set. The edges should pull away slightly from the pan, and the lattice should look crisp and well-browned. If the top browns too quickly, tent it loosely with aluminum foil to prevent over-browning while the center finishes cooking.

Here's the thing—this cake is done when the internal temperature reaches 200°F at the center. If you're unsure, insert a toothpick into the center; it should come out clean. Let the cake cool in the pan for 10 minutes, then transfer it to a wire rack to cool completely before slicing. The crust will firm up as it cools, becoming even more flaky and delicious.

👨‍🍳

Pro Tips For Making Codfish Cake

  • Soak the Codfish Overnight: I learned this the hard way—rushing the soaking turns your codfish cake into a dense, salty brick. Use a bowl of cold water with a splash of vinegar (or lemon juice) and let it sit for at least 12 hours, changing the water twice. This removes excess salt and makes the fish tender enough to shred properly.
  • Sauté Onions Until Golden: Skip the soft, mushy onions—they’ll make your cake taste flat. Cook the yellow onion in butter over medium heat until it’s deep golden, almost caramelized, with a few crispy edges. This adds sweetness and depth that raw or barely cooked onions can’t match.
  • Don’t Overmix the Batter: The moment you start stirring the shredded codfish, flour, and butter like you’re making pancakes, you’re ruining the texture. Mix just until combined—lumpy is fine. Overworking it turns the cake into a gluey mess, and nobody wants that.
  • Pan-Fry in Small Batches: Crowding the pan? Your codfish cakes will steam instead of brown, and they’ll come out greasy and uneven. Use about 2 tablespoons of butter per batch and keep the heat steady—medium, not high. This guarantees a crispy crust without burning the outside while the inside stays tender.

Creative variations of this dish

Portuguese Pastéis Style

For an authentic Portuguese twist, replace the paprika with 1 tsp ground coriander and add ½ tsp ground cumin to the codfish filling. Use 1 tbsp white wine in place of lemon zest to brighten the flavors.

The lattice crust should be slightly thinner—roll it to ⅛-inch thickness—and brush with egg wash instead of olive oil before baking. Serve with a side of vinho verde for that classic Portuguese pairing. 🍷

Caribbean Spiced Version

Transform this into a Caribbean-inspired codfish cake by adding 1 tsp ground allspice and ½ tsp Scotch bonnet pepper (adjust to taste) to the cod mixture. Swap the paprika for 1 tsp smoked paprika and fold in 2 tbsp chopped scallions.

Top the lattice with a sprinkle of crushed pineapple before baking for a sweet-savory contrast. Serve with a mango-habanero salsa for dipping. 🌶️

Gluten-Free Adaptation

Use a 1:1 gluten-free flour blend (like King Arthur Measure for Measure) and reduce the baking powder to ½ tsp to avoid over-rising. For the dough, add 1 tbsp xanthan gum to improve elasticity.

The lattice will be slightly denser, so brush it generously with melted butter for extra crispness. Pair with a lemon-dill yogurt dip to balance the texture. 🌱

Vegan Twist with Chickpea

Replace the cod with 1 can (15 oz) chickpeas, drained and mashed into a paste. Mix with 1 tbsp nutritional yeast, 1 tsp smoked paprika, and ½ tsp garlic powder.

Use a vegan butter (like Miyoko’s) for the dough and brush the lattice with olive oil. The result is a hearty, protein-rich version that still delivers that flaky magic. 💛

Herb-Infused Lattice

Elevate the crust by folding 1 tbsp chopped chives and 1 tbsp chopped dill into the dough before rolling it out. For extra flavor, infuse the olive oil with 1 tsp dried thyme before brushing it on the lattice.

This adds a fragrant herbal note that pairs beautifully with the cod. Garnish with fresh herbs before serving. ✨

Sweet & Savory Fusion

For a dessert-worthy twist, fold ¼ cup raisins and 1 tsp cinnamon into the codfish mixture. Top the lattice with a honey glaze (mix 2 tbsp honey with 1 tbsp water) after baking. Serve warm with vanilla ice cream for a surprising yet delicious fusion. 🍯

Nutrition facts

Servings 4
Amount Per Serving
Calories 480kcal
% Daily Value *
Total Fat 28g36%
Saturated Fat 17g85%
Cholesterol 120mg40%
Sodium 1200mg52%
Total Carbohydrate 35g12%
Dietary Fiber 2g8%
Sugars 3g
Protein 28g56%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Frequently asked questions

1

Why does the codfish need to be soaked overnight?

Soaking removes excess salt and creates a tender texture. Salted codfish is preserved with high sodium, so soaking in cold water (changed twice) for 8-12 hours ensures a mild, flaky bite. Skipping this step can make the cake taste overly salty or result in a tough texture.

2

Can I make the lattice crust ahead of time?

Assemble the unbaked cake, wrap tightly in plastic, and refrigerate for up to 24 hours. This helps the dough relax, making it easier to roll and cut clean lattice strips. Bake straight from the fridge for even cooking.

3

What if my lattice looks messy?

No stress—imperfect lattices still taste amazing! Use a pizza cutter for clean lines or freehand it. Brush the top with extra olive oil before baking to enhance crispiness. The filling will still be delicious even if the crust isn't perfect.

4

How do I store leftovers?

Wrap cooled slices in foil and refrigerate for 3 days or freeze for 3 months. Reheat in a 350°F oven for 10 minutes to restore crispness. The flavor actually improves overnight!

5

What's the secret to a crispy crust?

Cold butter in the dough and brushing with olive oil before baking create that signature crunch. Chill the dough for 30 minutes and preheat the oven to 375°F for maximum flakiness. The lattice pattern also helps trap heat for even browning.

★★★★★5.0(13 reviews)
Categories Appetizers