Pan de Elote (Mexican Corn Cake)

Published Sept. 10, 2025

Pan de Elote (Mexican Corn Cake)
Christopher Testani for The New York Times. Food Stylist: Yossy Arefi.
Total Time
1 ½ hours, plus 1 hours’ cooling time
Prep Time
10 minutes
Cook Time
About 1 ¼ hours, plus 1 hours’ cooling time
Rating
4(86)
Comments
Read comments

Mexican corn cake — call it budín, panqué or pan de elote — is like cake and cornbread mashed together into a lush, custardy dream, bursting with fresh corn flavor that screams summer. It’s as easy as whirling juicy, sweet corn, eggs, milk, yogurt, melted butter and vanilla in a blender. It bakes in less than one hour, and it’s soft and just sweet enough. You’ll find this dessert, or pan dulce, sold by the slice at mercados and bakeries in nearly every corner of Mexico. Eat as is, warm or at room temperature, or top the cake with whipped cream, ripe fruit or spoonfuls of a fruit compote for a simple, sunny treat.

  • or to save this recipe.

  • Subscriber benefit: Give recipes to anyone

    As a subscriber, you have 10 gift recipes to give each month. Anyone can view them - even nonsubscribers. Learn more.

  • Share this recipe

  • Print this recipe

Advertisement


Ingredients

Yield:8 to 10 servings
  • ½cup/113 grams unsalted butter, melted, plus more for the pan
  • cup/45 grams all-purpose flour, plus more for the pan
  • ½cup/110 grams sugar
  • teaspoons cornstarch
  • teaspoons baking powder
  • ½teaspoon fine sea salt
  • 2large ears of corn, shucked
  • 3large eggs
  • 2large egg yolks
  • ¾cup/180 milliliters whole milk
  • cup/79 milliliters plain whole-milk yogurt
  • ½teaspoon vanilla extract
  • Whipped cream, for serving (optional)
  • Fruit compote (such as strawberry or rhubarb), or sliced fresh fruit, for serving (optional)
Ingredient Substitution Guide
Nutritional analysis per serving (10 servings)

230 calories; 13 grams fat; 7 grams saturated fat; 0 grams trans fat; 4 grams monounsaturated fat; 1 gram polyunsaturated fat; 25 grams carbohydrates; 1 gram dietary fiber; 14 grams sugars; 5 grams protein; 209 milligrams sodium

Note: The information shown is Edamam’s estimate based on available ingredients and preparation. It should not be considered a substitute for a professional nutritionist’s advice.

Powered by

Preparation

  1. Step 1

    Heat the oven to 350 degrees and set a rack in the middle position. Grease a 9-inch cake pan (preferably a metal one) and dust it with flour.

  2. Step 2

    In a small bowl, whisk together the flour, sugar, cornstarch, baking powder and salt.

  3. Step 3

    Using your hands, snap the corn cobs in half. Place one cob, flat-end down, on a cutting board (so the kernels don’t fly out as much), then slice the kernels with a sharp chef’s knife (you’ll have about 2 cups kernels).

  4. Step 4

    In a blender, combine the corn kernels, whole eggs, egg yolks, milk, yogurt, melted butter and vanilla in a blender and blend on medium until smooth.

  5. Step 5

    Pour the puree into a large bowl, then gently whisk in the flour mixture just a few times until no pockets of flour remain. Let the batter rest for 10 minutes.

  6. Step 6

    Transfer batter to the prepared pan and bake until golden and a toothpick inserted into the center comes out clean, 40 to 45 minutes. Let the cake cool on a wire rack for 30 minutes. Run a paring knife around the cake and transfer it to a serving plate to cool for 30 minutes more.

  7. Step 7

    Cut into slices and enjoy as is, or serve with whipped cream, fruit or fruit compote if you’d like. (The cake will keep for 1 day, well wrapped, at room temperature. To store for up to 3 days, cover and refrigerate.)

Private Notes

Leave a Private Comment on this recipe and see it here.

Ratings

4 out of 5
86 user ratings
Your rating

or to rate this recipe.

Have you cooked this?

or to mark this recipe as cooked.

Comments

@RG Dempsey How much rice flour do you add?

The same bread can be made wholly with corn flour, some rice flower, a tablespoon of corn starch, - gluten free. I am gluten -intolerant. I make a version of this 3x week.

@Kevin Raw corn. Get your ear of corn and cut the kernels off. The fresh corn in Mexico is less sweet. When I make this in the US with sweet corn, I generally back the sugar off a little. But it's also taste dependent, I don't like very sweet desserts. It's honestly fine with whatever corn you have on hand.

This is super duper yummy. Followed exactly as written. I was worried because the batter is very moist. It came out delicious! We topped with blackberries and whip cream. We served a party of 8 with it and everyone raved about it. It paired very nicely as a dessert for our carne asada tacos dinner.

It’s very custard-y. I suppose this was written in the description but as the title said cake I was expecting it to be much drier. The flavor is good, but I don’t think I would make it again as I didn’t prefer this texture.

How much frozen corn?

Private comments are only visible to you.

or to save this recipe.