• 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. Deborah

      June 24, 2026 at 3:27 am

      5 stars
      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.

      Reply
      • Maggie

        June 30, 2026 at 12:16 am

        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!

        Reply
    2. Mallory

      November 25, 2025 at 5:33 am

      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!

      Reply
      • Maggie Unzueta

        November 29, 2025 at 5:47 pm

        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.

        Reply
    3. Darcey

      May 06, 2024 at 9:37 am

      How much of the butter actually goes into the recipe?

      Reply
      • Maggie Unzueta

        June 01, 2026 at 3:58 pm

        It’s one stick of butter. Use some of it to butter the pan. The rest of it goes into the blender.

        Reply
    « Older 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.