Pastel de Elote (Mexican Sweetcorn Cake)

In Mexican cooking, pastel de elote sits somewhere between a soft cake and a baked corn pudding, using sweetcorn as the main flavour rather than just an addition. Blended kernels give the crumb its natural sweetness and gentle texture, while milk, eggs and butter make it rich, tender and slightly custardy in the centre. A small amount of flour and baking powder helps it hold together without losing that moist, spoonable quality. Best served warm, it works as a simple dessert, an afternoon treat or a lightly sweet finish to a Mexican meal.
Cuisine style Mexican home baking
Flavor profile Sweet • Creamy • Buttery
Techniques Blending • Baking
Key equipment Blender • Cake tin • Oven
Time commitment Under 2 hours
Cooking style Make-ahead friendly • Crowd-friendly

Why this recipe works

  • Custardy corn crumb: Blending the sweetcorn with milk creates a naturally creamy base while keeping enough texture for a recognisable corn bite.
  • Simple structure: A small amount of flour and baking powder gives the cake enough lift without making it dry or bready.
  • Best served warm: Serving the cake slightly warm brings out the butter, vanilla and sweetcorn flavour, and keeps the centre soft.

Get the most out of this recipe

Texture tips

  • For a finer crumb: Blend the corn a little longer if you prefer a smoother cake, but avoid turning it completely thin and watery.
  • Keep the centre tender: Bake until the centre is just set with a slight wobble; a completely dry skewer can mean the cake has gone too far.

Ingredient notes

  • Sweetcorn matters: Use naturally sweet corn kernels for the best flavour, as the corn is the main character rather than just a background ingredient.
  • For extra richness: Whole milk keeps the crumb soft, while evaporated milk gives a richer, more traditional-style finish.

Timing notes

  • Let it settle briefly: Cooling the cake in the tin for 10 minutes helps the custardy crumb firm enough to slice without losing its warmth.
  • Serve warm when possible: The texture is at its softest when warm; if serving later, reheat slices briefly before eating.

Make-ahead tips

  • Bake ahead: The cake can be baked in advance, cooled completely, covered and refrigerated until needed.
  • Reheat gently: Warm slices in a 160°C (320°F) oven until heated through, which restores the softer texture without drying the edges.
  • Freeze in slices: Freeze well-wrapped slices, then defrost overnight in the fridge before reheating.

Equipment you'll need

Ingredients
Instructions
Print
  1. Heat the oven to 180°C (355°F). Grease a 20 cm cake tin with a little of the unsalted butter.
  2. Melt the remaining unsalted butter and set aside to cool slightly. In a small bowl, whisk together the plain flour, baking powder and fine sea salt.
  3. Add the sweet corn kernels and whole milk to a blender and blend until mostly smooth, with a little texture left. Tip into a mixing bowl.
  4. Whisk in the eggs, caster sugar, vanilla extract and the melted butter until well combined. Fold in the flour mixture just until you no longer see dry flour.
  5. Pour the batter into the prepared tin and bake for 45 to 55 minutes, until the top is lightly golden and the centre is just set with a slight wobble. A skewer should come out with a few moist crumbs rather than wet batter.
  6. Leave to cool in the tin for 10 minutes, then slice and serve warm for the soft, custardy crumb. If serving later, warm slices briefly before eating.

Made this recipe? Rate it — a comment is optional.

Recipe notes

Tips

  • For the most tender texture, stop blending the corn while it still has a little bite rather than making it completely smooth.
  • If the top is browning too quickly, loosely cover with foil for the final 10 to 15 minutes of baking.
  • If you are serving to pregnant people, young children, older adults, or anyone immunocompromised, ensure the cake is baked until fully set throughout.

Substitutions

  • Replace caster sugar with light brown sugar for a deeper, caramel-like sweetness.
  • Replace vanilla extract with vanilla bean paste for a more pronounced vanilla flavour.
  • Replace whole milk with evaporated milk for a richer, more traditional-style crumb.

Storage

  • Refrigerate up to 3 days
  • Cool completely, then cover and refrigerate. Reheat slices in a 160°C (320°F) oven for 8 to 10 minutes until warmed through; freeze slices well wrapped for up to 2 months and defrost overnight in the fridge before reheating.

Ratings & reviews

Liked this recipe? Share your feedback to support our cooking community.

Tried this recipe?

Choose 1–5 stars. A comment is optional.

If you leave a comment, use 10–500 characters.

Stay inspired

Discover new recipes, seasonal favourites and cooking inspiration every day. Follow JustRecipes on Pinterest and Spillt.

Recipe overview

  • Servings: 8 servings
  • Total time: 1h 15min (15min active)
  • Difficulty: Easy
  • Cuisine: Mexican
  • Allergens:
    Eggs Gluten Milk Wheat
Beginner friendly Freezer friendly Kid friendly

Plan your meals and get a complete grocery list automatically.

Add to meal planner

Equipment you'll need

Advertisement

Recommended tools for this recipe

Best overall

KitchenAid Stainless Steel Mixing Bowls

Non-slip steel set
  • Non-slip base
  • Stainless steel
  • Not microwave safe

Got ingredients left?

Find recipes using ingredients from this recipe or what you already have at home.

Find recipes with these ingredients →

Make this recipe easier next time

Advertisement

These tools help you get better results with less effort.

Best overall

KitchenAid Stainless Steel Mixing Bowls

Non-slip steel set
  • Non-slip base
  • Stainless steel
  • Not microwave safe
Best value

Pyrex Glass Mixing Bowls with Lids

Microwave-safe glass
  • Microwave safe
  • BPA-free lids
  • Glass is heavier
Top quality

OXO Good Grips Stainless Mixing Bowl Set

Insulated grip bowls
  • Non-slip base
  • Comfort grip
  • Higher price

Browse alphabetically

Looking for a specific recipe? Choose a letter below to jump directly to recipes starting with that letter or number.

Enjoy cooking with JustRecipes?

Add JustRecipes as one of your preferred Google sources to discover our recipes more easily across Google Search.

Add JustRecipes to Google

Every recipe on JustRecipes follows the same structured editorial process. Learn how recipes are created, validated, translated, illustrated, and continuously improved across the platform. How we create recipes.