Pastel de Elote (Mexican Corn Cake)

Golden, gently sweet and fragrant with fresh corn, pastel de elote sits somewhere between a soft cake and a baked corn pudding. In Mexico it is commonly served as a dessert, snack or coffee-time cake, valued for its moist crumb and the natural sweetness of sweetcorn enriched with eggs, butter and condensed milk. This version keeps a little corn texture in the blended batter, giving each slice a tender, slightly rustic feel rather than a completely smooth sponge. A dusting of cinnamon finishes it simply, and it can be served warm for a softer set or at room temperature when the cake slices more cleanly.
Cuisine style Mexican home baking
Cooking style Make-ahead friendly • Freezer-friendly
Time commitment Under 1 hour

Why this recipe works

  • Moist, tender texture: Blended fresh corn and condensed milk give the cake a soft crumb with a lightly custardy finish.
  • Rounded sweetness: Sweetcorn, condensed milk and vanilla create a gentle sweetness that is balanced by butter and a little salt.
  • Simple batter method: Most of the mixture is made in a blender, keeping the preparation quick and straightforward.

Get the most out of this recipe

Texture tips

  • Keep a little corn texture: Blend until mostly smooth rather than fully puréed, so the finished cake still has the characteristic texture of sweetcorn.
  • Avoid drying it out: Bake just until the centre is set and a skewer comes out with a few moist crumbs; a completely dry skewer can mean the cake has gone too far.

Timing notes

  • Let it settle before slicing: Rest the cake in the tin for at least 10 minutes after baking so the crumb firms up and slices cleanly.
  • Serve warm or at room temperature: Warm slices are softer and more pudding-like, while room-temperature slices hold their shape more neatly.

Ingredient notes

  • Fresh corn gives the best texture: Corn cut from the cob adds natural sweetness and a subtle bite that helps define pastel de elote.
  • Expect a sweet finish: Sweetened condensed milk is central to the flavour and moisture, so the cake should taste gently rich rather than plain.

Make-ahead tips

  • Make ahead for easy serving: Bake the cake in advance, cool it completely, then keep it covered in the fridge until needed.
  • Reheat gently: Warm slices in a 160°C (320°F) oven until heated through, or serve them at room temperature.
  • Freeze in slices: Wrap cooled slices well and freeze, then defrost overnight in the fridge before reheating or serving.

Equipment you'll need

Ingredients
Instructions
Print
  1. Heat the oven to 180°C (355°F). Melt the butter and use a little to grease a 20 cm cake tin, then set the rest aside to cool slightly.
  2. Cut the kernels from the corn cobs. Add the kernels to a blender with the eggs, sweetened condensed milk, whole milk, caster sugar and vanilla, then blend until mostly smooth with a little texture remaining.
  3. Add the melted butter and blend briefly to combine. Add the plain flour, baking powder and fine sea salt, then pulse just until you have a thick, pourable batter.
  4. Pour the batter into the prepared tin and level the top. Bake for 35 to 40 minutes, until lightly golden and set in the centre; a skewer should come out with a few moist crumbs.
  5. Cool for 10 minutes in the tin, then turn out or serve from the tin. Dust with the ground cinnamon and serve warm or at room temperature.

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

Recipe notes

Tips

  • For the best texture, blend until the mixture is mostly smooth but still has a little corn texture, rather than completely puréeing it.
  • If you are serving it warm, let it stand for at least 10 minutes after baking so it slices cleanly without collapsing.
  • If serving to young children, older adults, or anyone who is pregnant or immunocompromised, ensure the cake is baked until fully set in the centre.

Substitutions

  • Replace whole milk with lactose-free milk for a lactose-reduced version.
  • Replace vanilla extract with madagascar-vanilla-paste for a more intense vanilla flavour.

Storage

  • Refrigerate up to 3 days
  • Cool completely, then store in an airtight container in the fridge. Reheat slices in a 160°C (320°F) oven for 8 to 10 minutes until warmed through, or serve at room temperature. Freeze well-wrapped slices 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.

Pastel de Elote (Mexican Corn Cake)
Image by JustRecipes
Pinterest

Recipe overview

  • Servings: 8 servings
  • Total time: 55min (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.