• Skip to main content
  • Skip to primary sidebar
Mamá Maggie's Kitchen
menu icon
go to homepage
  • Recipe Index
  • By Category
    • Mexican Basics
    • Agua Frescas
    • Appetizers
    • Beef
    • Breakfast
    • Chicken
    • Dessert
    • Drinks
    • Pork
    • Salsa Recipes
    • Seafood
    • Side Dishes
    • Soup
    • Tamales
    • Vegetarian
    • Learn
    • Mexican
  • Contact
  • About
  • Cookbooks
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
    • YouTube
  • search icon
    Homepage link
    • Recipe Index
    • By Category
      • Mexican Basics
      • Agua Frescas
      • Appetizers
      • Beef
      • Breakfast
      • Chicken
      • Dessert
      • Drinks
      • Pork
      • Salsa Recipes
      • Seafood
      • Side Dishes
      • Soup
      • Tamales
      • Vegetarian
      • Learn
      • Mexican
    • Contact
    • About
    • Cookbooks
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
    • YouTube
  • ×

    Home » All Recipes » Dessert

    Pan de Elote (Mexican Sweet Corn Cake)

    Published: Feb 19, 2019 · Updated: Jun 27, 2026 by Maggie Unzueta

    There’s no wrong way to eat Pan de Elote, or Mexican Sweet Corn Cake. As a treat with your morning coffee or for dessert, every bite is absolutely delicious.
    Jump to Recipe Add us as a Google trusted source

    This post may include affiliate links. As an Amazon Associate I earn from qualifying purchases.

    A round pan of golden Pan de Elote with a wedge cut out and butter spread on top; below, two pieces of Pan de Elote stacked, also topped with butter. Text reads: "yummy treat - PAN DE ELOTE - InMamaMaggiesKitchen.com.
    Three thick, golden cornbread squares—reminiscent of pan de elote—are stacked on a white plate, with a pat of melting butter on top. The texture looks moist and crumbly, and a baking pan is blurred in the background.

    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

    • 1. 🌽 Ingredients
    • 2. ✏️ Notes
    • 3. 👩🏼‍🍳 Instructions
    • 4. 🫙 Storing Instructions
    • 5. 🙋🏻‍♀️ FAQs – Frequently Asked Questions
    • 6. 🍰 More Mexican Desserts
    • 7. 😋 Hungry for More?
    • 8. Pan de Elote (Mexican Sweet Corn Cake)
      • 8.1. Ingredients
      • 8.2. Instructions
      • 8.3. Notes
      • 8.4. Nutrition

    🌽 Ingredients

    Various baking ingredients displayed on a wooden surface, including eggs, butter, baking powder, evaporated milk, sweetened condensed milk, flour, corn kernels, vanilla extract, a whisk, and a measuring spoon.
    • 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

    1. Many people refer to it as “pastel,” or “cake.” You will also hear it referred to as “Pastel de Elote.”
    2. I used only 1 tablespoon of baking powder in the pictures. The recipe calls for 2 tablespoons since most people like it thicker.
    3. 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

    Four-step collage: greasing a baking pan with butter, dusting it with flour, slicing corn kernels off a cob, and blending corn, eggs, vanilla, and other ingredients in a blender.
    • 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.
    A four-step collage shows making cornbread: mixing corn into flour, stirring batter, pouring batter into a pan, and testing the baked cornbread with a toothpick on a cooling rack.
    • 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.
    A skillet of golden pan de elote, partly sliced into squares. One square has butter melting on top, with a butter knife resting beside it. A striped cloth is visible at the edge of the skillet.

    🫙 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

    Is Pan de Elote the same as cornbread?

    No. Pan de Elote is sweeter, softer, and more cake-like than traditional cornbread.

    Can I use canned or frozen corn?

    Yes. Frozen or canned corn can work if fresh corn is unavailable.

    Why is my Pan de Elote dense?

    Overmixing the batter or blending the corn too much can create a denser texture.

    How to make it in a skillet?

    Reduce the baking powder to 1 tablespoon and follow the rest of the instructions and ingredients.

    A stack of three golden, crumbly cornbread squares, reminiscent of pan de elote, sits on a white plate with a pat of melted butter on top. In the background, a pan of more cornbread is softly blurred.

    🍰 More Mexican Desserts

    • Ensalada de Frutas
    • Conchas
    • Jericalla
    • Marranitos
    • Mexican Flan
    • Cortadillos

    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 stacked on a white plate and topped with a dab of butter.

    Pan de Elote (Mexican Sweet Corn Cake)

    There’s no wrong way to eat Pan de Elote, or Mexican Sweet Corn Cake. As a treat with your morning coffee or for dessert, every bite is absolutely delicious.
    4.93 from 51 votes
    Print Pin Rate
    Course: Dessert
    Cuisine: Mexican
    Prep Time: 20 minutes minutes
    Cook Time: 45 minutes minutes
    Total Time: 1 hour hour 5 minutes minutes
    Servings: 8
    Calories: 264kcal
    Author: Maggie Unzueta
    Prevent your screen from going dark

    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.  
    Pan de Elote freezes extremely well. Place in a sealable freezer bag. Remove as much as possible. Store for up to 6 months. 
    In the fridge, pan de elote only last up to 7 days. 

    Nutrition

    Calories: 264kcal | Carbohydrates: 45g | Protein: 11g | Fat: 6g | Saturated Fat: 2g | Cholesterol: 107mg | Sodium: 77mg | Potassium: 712mg | Fiber: 3g | Sugar: 9g | Vitamin A: 390IU | Vitamin C: 8mg | Calcium: 196mg | Iron: 3mg
    Tried this recipe?Mention @MamaMaggiesKitchen or tag #MamaMaggiesKitchen!
    Frozen Corn
    Ingredients for Pan de Elote
    Pan de elote stacked on a white plate and topped with a dab of butter.
    Pieces of Pan de Elote, or Mexican Sweet Corn Cake, stacked on top of a white plate and topped with a tab of butter.

    More Mexican Desserts

    • Two Mascarpone Ice Cream Sandwiches with graham crackers sit on a white plate next to a pink checkered cloth. More sandwiches rest on parchment paper above, with a bowl of chocolate chips on the wooden table nearby.
      Mascarpone Ice Cream Sandwiches
    • Easy Frozen Banana Snickers Bites: Sliced bananas topped with caramel, chopped nuts, and drizzled with chocolate, all arranged beautifully on a glass plate.
      Frozen Banana Snickers Bites
    • A plate of round cookies coated in pink sugar, each topped with a heart-shaped piece of chocolate in the center, arranged neatly on a white plate.
      Valentine’s Day Peanut Butter Blossoms
    • Peppermint Oreos dipped in chocolate and white chocolate are topped with crushed peppermint candies and arranged on a wooden surface, with whole peppermint candies nearby.
      Peppermint Oreos

    About Maggie Unzueta

    Maggie Unzueta is the face behind In Mama Maggie's Kitchen. She has been publishing Mexican recipes and creating delicious recipes since 2010. From family recipes to her extensive travels throughout Mexico, she brings traditional Mexican flavors from South of the Border and into your kitchen. Maggie has been featured in notable culinary websites and other media outlets. For more details, check out her About page.

    Reader Interactions

    Comments

      4.93 from 51 votes (22 ratings without comment)

      Leave a Reply Cancel reply

      Your email address will not be published. Required fields are marked *

      Recipe Rating




    1. Sue

      October 26, 2020 at 4:24 am

      5 stars
      I’ve never heard of sweet corn cake – this is something I must try!

      Reply
      • Maggie U

        October 26, 2020 at 4:30 pm

        Please do! You will love it.

        Reply
    2. Jessica

      April 08, 2020 at 11:12 pm

      Hi Maggie:

      The picture of ingredients has vanilla in it but you don’t list it as an ingredient in the recipe. If I add vanilla, how much do you suggest I add to it?

      Thank you, this recipe looks great!

      Reply
      • Maggie Unzueta

        April 09, 2020 at 9:50 am

        You’re the first to point it out to me. I went back and checked my recipe notebook. You only need 1 tablespoon vanilla. I’ll adjust the recipe. THANK YOU!

        Reply
        • Jessica

          April 11, 2020 at 4:33 pm

          Thank you so much! I am making it for my mom tonight! I can’t wait to try your recipe!

        • Maggie U

          July 16, 2020 at 3:37 pm

          Hope you and your mom like it!

    3. Instant_Justice

      March 25, 2020 at 11:25 am

      I found some Pan De Elote in a small supermarket the other day and thought it was regular cornbread. Only when I got home and cut into it did I realize, this is something different. Warmed it up in the micro, the added a dab of butter, and drizzled it with honey. OMG, I fell in love with it!

      Going to try your recipe out soon. From the pics, yours looks like it’ll be fantastic as well. Thank you for sharing your recipe!

      Reply
      • Maggie U

        July 16, 2020 at 4:29 pm

        It’s delicious . Hope you try this recipe I think you will love it!

        Reply
    4. Lourdes Valencia

      March 10, 2019 at 4:12 am

      Hi Maggie, so I plan on making this pan de elote with frozen corn. Do I thaw and rinse or straight out of the freezer ??

      Reply
      • Maggie Unzueta

        March 11, 2019 at 3:35 pm

        Hi Lourdes. I’m sorry. Just saw this now. I made it with frozen corn. I didn’t thaw. I didn’t rinse. What did you end up using? How did it turn out?

        Reply
        • Lourdes Valencia

          March 15, 2019 at 6:12 pm

          So I just made right now and it turned out delicious. I ended up just using frozen corn straight out of the freezer. I was afraid it was too much baking powder and I thought maybe it was a typo, but decided to just follow directions ? glad I did, it was just right ?. I definitely will make it again. You are 2-0. I first made your birria de res and continue to make it, turns out delicious and now this is another one I will continue to make. Thanks for sharing your delicious recipes ?.

    5. Catherine

      February 10, 2019 at 11:09 am

      5 stars
      I’ve never had cornbread like this but this looks absolutely delicious and sounds so good!

      Reply
    6. matthew

      February 09, 2019 at 4:07 am

      5 stars
      Humm this looks yummy and tasty. I never tasted any Mexican meal, would love to try this

      Reply
    7. Kara

      February 09, 2019 at 2:30 am

      That looks like a really tasty cake – would love to try it

      Reply
    8. Nikki

      February 08, 2019 at 11:07 pm

      This sounds sooooo good! I’ve never seen anyone make elote cake before but this has me interested!

      Reply
    9. twinspirational

      February 08, 2019 at 10:53 pm

      5 stars
      Yum this recipe looks so good. We love Mexican food.

      Reply
    10. Preet

      February 08, 2019 at 9:46 pm

      Wow, I have never tried to this recipe looks really delicious and easy. I will try to make this for my kids, thanks for sharing!

      Reply
    11. Sara Welch

      February 08, 2019 at 2:09 pm

      5 stars
      I’ve made corn bread, but not this version! Looks amazing; I’m going to give it a try!

      Reply
    12. John Mulindi

      February 08, 2019 at 10:45 am

      This one looks so new to me, but one that I can make over the weekend. Thanks for sharing with us.

      Reply
    13. Joanna

      February 08, 2019 at 7:41 am

      5 stars
      I have recently made a Mexican cake which was called tres leches, and it turned out so delicious! So now I’m hooked on Mexican desserts. This sweet corn cake sounds so good, I might make it next.

      Reply
    14. Elizabeth Weitz

      February 08, 2019 at 6:49 am

      5 stars
      Ohhh YUM! Mexican Sweet Corn Cake sounds so good! Can’t wait to try it!

      Reply
    15. Yeah Lifestyle

      February 08, 2019 at 3:29 am

      5 stars
      I’ve never tried this before but it looks and sounds so good! I’ll definitely have to give it a go, just to try it for myself.

      Reply
    16. Elaine

      February 07, 2019 at 5:00 pm

      One of my ex boyfriends was Mexican and his mom made the best pan de elote! I miss it so much!

      Reply
    17. Becca Talbot

      February 07, 2019 at 4:16 pm

      This recipe sounds amazing – and really easy to follow too! I will have to give it a whirl x

      Reply
    18. Chad

      February 07, 2019 at 2:18 pm

      5 stars
      This cake killed me!!! OMG sooooo delicious! I am definitely trying it this weekend. Thank you so so much.

      Chad
      http://www.mosaicslab.com

      Reply
      • Maggie Unzueta

        February 07, 2019 at 2:19 pm

        Lol. Glad you like it. Pan de Elote is SOOOO good! Enjoy.

        Reply
    19. Stacie

      February 07, 2019 at 1:50 pm

      5 stars
      Oh wow. I’ve never heard of this before. It’s almost like a sweet bread!

      Reply
      • Maggie Unzueta

        February 07, 2019 at 2:20 pm

        Pan de Elote is very sweet. In the morning with some coffee, it’s perfect for breakfast.

        Reply
    20. Windy

      February 07, 2019 at 1:48 pm

      Hhhmmm I’ve never had a mexican dessert before. Maybe I’ll try this one cause it does look good.

      Reply
      • Maggie Unzueta

        February 07, 2019 at 2:20 pm

        Really?! Well, then you should definitely try this recipe for Pan de Elote.

        Reply
    Newer Comments »

    Primary Sidebar

    A picture of Maggie Unzueta in her kitchen holding a coffee cup.

    iBienvenidos! I'm Maggie. Welcome to my blog! My passion is authentic Mexican food and traveling throughout Mexico to bring you the very BEST in culture and cuisine.

    More about me →

    Popular

    • A rustic brown bowl filled with shredded beef birria in red broth, made using a slow cooker birria recipe, is topped with chopped onion and cilantro, and sits on a colorful embroidered cloth with fresh herbs and a jalapeño in the background.
      Slow Cooker Birria Recipe (Birria de Res)
    • Camarones a la Diabla served next to white rice and lime wedges.
      Camarones a la Diabla [VIDEO]
    • Menudo, or Pancita, is Mexican comfort food at its best. Served for Sunday brunch and shared with lots of love. By Mama Maggie’s Kitchen
      Mexican Menudo Recipe + VIDEO
    • Instant Pot Pork Tamales stacked and ready to cook. Surrounded by cilantro and decorative Mexican kitchenware.
      Instant Pot Pork Tamales [VIDEO]
    • Caldo de Camarón, or Mexican Shrimp Soup in a white bowl with a rich, guajillo sauce. Spoon lifting shrimp and avocado. Cilantro and lime on a dark brown table.
      Caldo de Camarón – Mexican Shrimp Soup + VIDEO
    • Carne En Su Jugo in a white bowl topped with cilantro beans bacon
      Carne En Su Jugo + VIDEO

    FEATURED IN


    Online publications Mama Maggie's Kitchen has been feature in.

    Footer

    ↑ back to top

    Info

    • Privacy Policy
    • Cookie Policy
    • Accessibility Policy

    Subscribe

    • Sign Up! for emails and start cooking Mexican food today!

    Contact

    • About Maggie
    • Contact

    © 2010-2025 · Mama Maggie's Kitchen ·

    Rate This Recipe

    Your vote:




    A rating is required
    A name is required
    An email is required

    Recipe Ratings without Comment

    Something went wrong. Please try again.