Culinary Explorer

A cooking platform built around craft, culture, and the stories behind what we eat.

Discover Culinary Explorer
Huevos a la Donostiarra

Huevos a la Donostiarra

Created by

Donostia's baked eggs sit beneath a slow, sweet onion and bacalao sauce, with a fine breadcrumb crust browned under the grill. Desalt the cod properly and the rest is straightforward.

Breakfast & Brunch
Spanish
Comfort Food
Special Occasion
Dinner Party
20 min
Active Time
45 min cook49 hr 5 min total
Yield4 main-course servings or 6 starter servings

Huevos a la Donostiarra are Basque, and more precisely from Donostia, the Basque name for San Sebastián. Hard-boiled egg halves are covered with bacalao, sweet onion, and a light besamel, then gratinéed until the breadcrumbs turn gold. It is richer than a stuffed egg and gentler than the tomato-based egg dishes found elsewhere. Here the salt cod provides the backbone, while the onion and milk soften its cured edge.

The method that decides the dish is the onion. Cook it low and patiently until it is very soft, pale gold, and sweet, with no raw bite left. Rush it over high heat and the outside browns before the centre softens, leaving a sharp sauce that makes the remaining salt in the cod seem harsher. Once the onion is right, the besamel is straightforward and the eggs need only a few minutes under the grill.

If dried bacalao is difficult to find, use frozen salt cod sold already desalted. Thaw it in the refrigerator and taste it before seasoning. Salted pollock, abadejo salado, is the honest second choice; it is firmer and a little less deep in flavour, but the method stays the same. Fresh cod lacks the cured taste that makes this Donostiarra dish what it is. My Margin says only this: taste the fish before reaching for the salt. Siempre sale, si lo sigues.

Donostiarra means a person or thing from Donostia, the Basque name for San Sebastián, and the city gives this dish its surname. Basque seafarers and merchants made long-keeping salt cod a foundation of the regional larder, carrying bacalao far beyond the coast where it was landed and traded. Combining it with boiled eggs, sweet onion, and a gratinéed milk sauce belongs to Donostia's generous home and gastronomic-society cooking, where preserved fish could become a dish fit for company.

The technique, the tradition, and the story behind every dish.

Discover Culinary Explorer

Ingredients

thick dried salt cod fillet

Quantity

300g

weighed before soaking and desalted for 36 to 48 hours

large eggs

Quantity

8

onions

Quantity

400g

peeled and thinly sliced

extra virgin olive oil

Quantity

30ml

unsalted butter

Quantity

50g

divided between the sauce, dish, and topping

plain flour

Quantity

35g

whole milk

Quantity

500ml

warmed

ground white pepper

Quantity

0.5g (about 1/4 teaspoon)

freshly grated nutmeg

Quantity

0.25g (about 1/8 teaspoon)

fine dry breadcrumbs

Quantity

25g

flat-leaf parsley (optional)

Quantity

5g

finely chopped

fine salt (optional)

Quantity

only if needed after tasting

Equipment Needed

  • Non-reactive container large enough to soak the cod
  • Medium saucepan
  • Wide frying pan
  • Balloon whisk or firm wooden spoon
  • Shallow 30 by 22cm gratin dish

Instructions

  1. 1

    Desalt the bacalao

    Rinse the salt crystals from the cod under cold running water. Put it skin-side up in a non-reactive container, cover with at least 5cm of cold water, and refrigerate for 36 to 48 hours. Change the water every 8 to 12 hours. At the final change, pull a small flake from the thickest part, cook it for one minute in simmering water, and taste it. It should remain pleasantly seasoned but not aggressively salty.

    Keep the cod refrigerated throughout the soak. Warm water speeds the process unevenly and leaves the fish soft outside while the centre stays salty.
  2. 2

    Boil the eggs

    Put the eggs in a saucepan and cover them by 3cm with cold water. Bring to a boil, lower the heat, and simmer for 9 minutes. Transfer them immediately to cold water and leave for 10 minutes. Peel carefully, cut each egg lengthwise, and arrange the 16 halves cut-side up in a buttered 30 by 22cm gratin dish.

  3. 3

    Sweeten the onion

    Warm the olive oil with 30g of the butter in a wide frying pan over low heat. Add the sliced onions without salt and cook for 25 to 30 minutes, stirring every few minutes, until collapsed, pale gold, and sweet. They must soften all the way through without crisp edges. If they begin catching before they are tender, add 15ml water and lower the heat. This slow cooking is what mellows the salt cod later.

  4. 4

    Add the bacalao

    Drain the cod and pat it thoroughly dry. Remove the skin and every bone, then break the flesh into flakes about 2cm wide. Fold the cod into the onion and cook gently for 3 minutes, just until the flakes become opaque. Do not fry it hard or it will tighten and turn woolly.

  5. 5

    Build the besamel

    Sprinkle the flour evenly over the onion and cod. Stir over low heat for 2 minutes so the flour loses its raw taste. Add the warm milk in four additions, stirring well after each one. Simmer gently for 5 to 7 minutes, stirring along the base of the pan, until the sauce is smooth and thick enough to coat the eggs without running straight to the bottom of the dish. Season with the white pepper and nutmeg. Taste before adding any salt; properly desalted bacalao usually supplies enough.

  6. 6

    Cover the eggs

    Spoon the onion and bacalao sauce over the egg halves, making sure each receives several flakes of fish. Spread the remaining sauce between them in an even layer. Mix the breadcrumbs with the remaining 15g butter, rubbing them together with your fingertips, and scatter the mixture lightly over the top.

  7. 7

    Gratinate until golden

    Heat the grill to high and set the dish 12 to 15cm below it. Grill for 3 to 5 minutes, watching continuously, until the breadcrumbs are golden in patches and the sauce bubbles around the edges. The eggs are already cooked, so leave them only long enough to colour the surface. Rest for 5 minutes, scatter with parsley if using, and serve from the baking dish.

Chef Tips

  • Buy salt cod in one thick, pale fillet with firm flesh and a clean sea smell. Thin tail pieces desalt much faster and can become fibrous during the long soak.
  • Ready-desalted frozen bacalao is a sound choice when dried salt cod is hard to find. Thaw it overnight in the refrigerator, pat it dry, and begin at the egg step. Salted pollock also works, though its flesh is firmer and its cured flavour milder.
  • Do not season the onion automatically. The salt remaining in the bacalao moves into the milk sauce as it cooks, so taste the finished besamel first. Pésalo, no lo adivines, and taste it as well.
  • The breadcrumb layer should be fine and light. A heavy crust hides the soft eggs and delicate sauce. Cheese is unnecessary here; bacalao and sweet onion already give the dish its character.
  • Serve with crusty bread and a sharply dressed green salad. A cold, lightly spritzy Getariako Txakolina suits the salt cod and clears the richness of the eggs.
  • Refrigerate leftovers within 2 hours and eat them within 2 days. Reheat covered at 180°C until hot through, then uncover briefly to restore the golden surface.

Advance Preparation

  • Begin soaking thick salt cod 36 to 48 hours before cooking, changing the cold water every 8 to 12 hours. Keep it refrigerated throughout.
  • The eggs can be boiled, peeled, and refrigerated in a covered container up to 24 hours ahead.
  • The onion and bacalao besamel can be cooked one day ahead. Cool it promptly, cover, and refrigerate separately from the eggs. Rewarm gently with 30ml milk before assembling if it has set too firmly.
  • The complete dish can be assembled and refrigerated for up to 6 hours. Let it stand at room temperature for 20 minutes before placing it under the grill, then allow an extra minute or two for the centre to heat.

Frequently Asked Questions

Nutrition Information

1 serving (about 440g)

Calories
675 calories
Total Fat
33 g
Saturated Fat
13 g
Trans Fat
1 g
Unsaturated Fat
17 g
Cholesterol
525 mg
Sodium
875 mg
Total Carbohydrates
27 g
Dietary Fiber
2 g
Sugars
11 g
Protein
64 g

Note: Chef personas and recipes are created with AI assistance. Cook with care: follow safe food-handling practices, check doneness with a thermometer when needed, and adapt for allergies and your kitchen.

Where cooking meets culture.

Culinary guides, cultural storytelling, and the editorial depth that makes cooking meaningful.

Discover Culinary Explorer

More from Huevos, Tortillas & Meatless Mains

Browse the full collection