
Pan de Elote is a sweet Mexican corn cake that’s soft, moist, and full of fresh corn flavor.
This traditional dessert is popular throughout Mexico and is often enjoyed with cafe de olla or as an afternoon treat.
The texture is somewhere between cornbread and cake, making it comforting, rich, and completely delicious.
Table of Contents
🌽 Ingredients

- Butter
- All purpose flour
- Eggs
- Sweetened condensed milk
- Evaporated milk
- Vanilla extract
- 6 cups of corn kernels – either fresh or frozen
- Baking powder
- Salt
- Cinnamon
✏️ Notes
- Many people refer to it as “pastel,” or “cake.” You will also hear it referred to as “Pastel de Elote.”
- I used only 1 tablespoon of baking powder in the pictures. The recipe calls for 2 tablespoons since most people like it thicker.
- The beauty of this recipe is that it uses pantry ingredients. However, if you don’t have any evaporated milk, substitute for regular milk. Half and half is ok, but I would not recommend using heavy whipping cream.
👩🏼🍳 Instructions

- Preheat the oven and prepare the baking pan by greasing it with butter and lightly coating it with flour. Or use parchment paper.
- Add butter, eggs, sweetened condensed milk, evaporated milk, vanilla, and half of the corn to a blender or food processor.
- Blend until smooth and creamy.
- Add the remaining corn and blend again until you reach your desired texture. Blend less for a chunkier texture or longer for a smoother cake.

- In a large bowl, combine the flour, baking powder, salt, and cinnamon.
- Stir the dry ingredients together until evenly mixed.
- Pour the corn mixture into the bowl with the dry ingredients.
- Fold until everything is fully combined and no dry flour remains.
- Pour the batter into the prepared baking dish.
- Bake until golden brown and a toothpick inserted in the center comes out clean.
- Let the cake cool slightly before slicing and serving.

🫙 Storing Instructions
Store leftovers covered in the refrigerator for up to 7 days in an airtight container. To freeze, place slices in a freezer-safe bag and remove as much air as possible. Freeze for up to 6 months. Thaw overnight in the refrigerator before serving.
🙋🏻♀️ FAQs – Frequently Asked Questions
No. Pan de Elote is sweeter, softer, and more cake-like than traditional cornbread.
Yes. Frozen or canned corn can work if fresh corn is unavailable.
Overmixing the batter or blending the corn too much can create a denser texture.
Reduce the baking powder to 1 tablespoon and follow the rest of the instructions and ingredients.

🍰 More Mexican Desserts
The sweet corn flavor and soft texture make it perfect for breakfast, dessert, or an afternoon snack. Serve pan de elote warm with coffee or champurrado. You can enjoy it chilled straight from the fridge for an easy homemade treat.
😋 Hungry for More?
Be sure to subscribe to my newsletter and follow along on Facebook, Instagram, Pinterest for my latest recipes and videos.
Did you make this recipe? Please rate the recipe below!

Pan de Elote (Mexican Sweet Corn Cake)
Ingredients
- 1 stick butter divided
- 1¾ cups of flour + 2 tablespoons flour divided
- 5 eggs
- 1 14-oz can sweetened condensed milk
- ½ cup evaporated milk
- 1 tablespoon vanilla
- 6 cups corn (or 8 ears of corn, kernels removed)
- 2 tablespoon baking powder
- pinch salt
- 1 teaspoon cinnamon
Instructions
- Preheat oven to 350 degrees F.
- Butter the pan.
- Flour the pan using 2 tablespoons flour.
- Add remaining butter, eggs, sweetened condensed milk, evaporated milk, vanilla, and half the corn to a blender.
- Blend until smooth.
- Add the remaining corn and blend.
- For more corn texture, blend slightly.
- For less corn texture, blend until smooth.
- In a bowl, add 1¾ cups of flour, baking powder, salt, and cinnamon.
- Stir to combine.
- Mix the corn mixture with the dry ingredients.
- Stir until well combined.
- Pour the batter into the pan.
- Bake for 45 minutes, or until a toothpick comes out clean.
Notes
- For a 9 x 13 pan, bake at 350°F (175°C) for 30 to 35 minutes.
- For a 8 x 8 pan, bake 350°F (175°C) for 25 to 35 minutes.
Nutrition










I loved every bite. It was so good that my entire family asked me to make it again, and I did! Thank you Maggie for the recipe.
You just made my day. I love hearing when people make my recipes and love it so much that they make it twice. Thank you!
I used 2 tablespoons of baking powder as recommended, but I wonder if that was too much. The cake has been baking for over an hour and still isn’t done. It’s a lot thicker than I thought it would be as well. Smells delicious though!
If you use 2 tablespoons, it turns out thicker than what you see in the pictures. I mention this in the post. In the pictures, I used a cast iron skillet. But 45 minutes in the oven should’ve baked the cake through. Did you open the oven? Was there anything else in the oven also baking? Hope it turned out ok.
How much of the butter actually goes into the recipe?
It’s one stick of butter. Use some of it to butter the pan. The rest of it goes into the blender.