
This authentic Mexican sweet corn cake brings the vibrant flavors of elote—grilled corn, lime, and chili—to your dessert table with a perfect crunchy topping. 🌟 The recipe stays true to traditional techniques while delivering a moist, tender cake that balances sweetness and smoky depth, just like street corn but in cake form.
I developed this version after years of testing, ensuring every bite captures the essence of Mexican street food without sacrificing the structure of a classic cake.
The foundation begins with masa harina, the same corn flour used in tamales and tortillas, giving the cake its signature texture and authentic flavor.
Fresh corn kernels are folded into the batter for that classic elote crunch, while a sprinkle of piloncillo sugar adds caramel notes that store-bought sweeteners can’t match.
The key to success lies in the crunchy topping—a blend of toasted cornmeal and melted butter—that creates a satisfying contrast with the soft cake underneath.
By the time you pull this cake from the oven, you’ll have a golden, fragrant dessert with a tender crumb and a crispy exterior that’s impossible to resist.
The lime zest and chili powder in the glaze add a bright, tangy finish that cuts through the richness, just like the elote vendors in Mexico City. This recipe delivers restaurant-quality results at home, with every layer packed with authentic Mexican flavor.
Serve it warm with a dollop of Mexican cream or a sprinkle of Tajín for the full experience. Whether you’re celebrating a special occasion or simply craving a taste of Mexico, this cake is the perfect way to bring the flavors of elote to your table. Let’s get baking!
Ingredients for authentic mexican sweet corn cake
Masa harina, fresh corn, and piloncillo sugar transform into a vibrant Mexican dessert with restaurant-quality texture.
| Ingredient | Amount | Notes |
|---|---|---|
| Masa Harina 🌽 | 1 ½ cups | Maseca brand preferred for authenticity |
| Fresh Corn Kernels 🌽 | 1 ½ cups | From 2-3 ears of corn |
| Piloncillo Sugar 🍯 | ¾ cup | Grated or crushed, not refined sugar |
| Unsalted Butter 🧈 | ½ cup | Melted, full-fat for richness |
| Large Eggs 🥚 | 2 whole | Room temperature for even mixing |
| Lime Zest 🍋 | 1 tbsp | From 1 large lime, finely grated |
| Ground Anise Seeds 🌿 | ½ tsp | Optional, traditional in Mexican baking |
| Baking Powder 🍞 | 1 tsp | Metal container preferred |
| Salt 🧂 | ½ tsp | Fine sea salt preferred |
| Cornmeal 🌽 | ½ cup | Toasted for crunchy topping |
| Chili Powder 🌶️ | ½ tsp | Smoked paprika substitute if unavailable |
| Lime Juice 🍋 | ¼ cup | Freshly squeezed from 2 limes |
| Milk 🥛 | ½ cup | Whole milk for richness |
| Vanilla Extract 🌸 | 1 tsp | Pure, not imitation |
Masa harina is non-negotiable for authenticity—Maseca brand works best, but any corn flour will do in a pinch. Find it in the Latin foods aisle at most grocery stores, or order online if your local store doesn’t carry it. The fresh corn kernels should be bright yellow, not dried out—Trader Joe’s usually has perfect ears year-round. Piloncillo sugar gives that deep caramel flavor; if you can’t find it, light brown sugar mixed with molasses comes close. Toast your cornmeal in a dry pan for 3-5 minutes until golden—this adds that nutty crunch to the topping. I always double-check my spices: ground anise seeds are traditional but optional, and chili powder should be smoky, not just hot.
No masa harina? Cornstarch or fine cornmeal at 1:1 ratio works, but texture won’t be identical. Fresh corn unavailable? Canned sweet corn, drained well is fine—just rinse it first to remove excess starch. Piloncillo sugar too hard to find? Demerara sugar plus 1 tsp caramel coloring mimics the flavor. For the lime zest, use a microplane—pre-grated zest from jars is way too bitter. The glaze can be made ahead and stored in the fridge for up to 3 days. If you’re feeling fancy, add a pinch of Tajín to the glaze for that authentic Mexican kick.
This cake keeps beautifully—3 days at room temperature covered loosely with a cloth, or 1 week refrigerated in an airtight container. The topping stays crispy for days if you store it that way. For extra crunch, reheat slices in a 350°F oven for 5 minutes. The glaze sets as it cools, so I like to reheat just before serving. Freezes surprisingly well too—wrap tightly in plastic and it’ll keep for 3 months. The first slice is always the best—save a small piece to enjoy fresh out of the oven.
Why You’ll Love This Recipe
- No-Fuss Mixing: I swear by this recipe—just blend masa harina, fresh corn, and piloncillo sugar until it’s just thick enough. No sifting, no overworking the batter, and honestly? The eggs and butter come together faster than you’d expect.
- Piloncillo Magic: That caramelized, molasses-like sweetness from piloncillo? It’s what turns this cake into something special. It’s not just sugar—it’s rich, earthy, and pairs perfectly with the corn’s natural sweetness, especially when warmed with a pat of butter.
- Weekend Brunch Star: Between us, this cake is the easy crowd-pleaser for Sunday mornings or holiday gatherings. Serve it warm with a sprinkle of cinnamon or a drizzle of honey, and suddenly you’re the hero of every breakfast table.
- Budget-Friendly Luxury: Fresh corn is seasonal and affordable, masa harina lasts forever, and piloncillo costs a fraction of white sugar. I’ve made this for 12 people for under $15—no fancy ingredients, just pure, satisfying flavor that won’t break the bank.
Step-by-step instructions for authentic Mexican sweet corn cake
Here’s how to capture elote’s sweet, smoky essence in a tender cake with a crunchy cornmeal topping.
👨🍳 Step 1: Toast the Corn Kernels and Prepare the Batter
Preheat your oven to 350°F and spread the 1.5 cups fresh corn kernels on a baking sheet. Toast for 8-10 minutes until they’re golden and smell nutty—this deepens their natural sweetness. Let them cool completely before using.
In a large mixing bowl, combine the 1.5 cups masa harina, 1 tsp baking powder, 0.5 tsp salt, and 0.5 tsp ground anise seeds. Whisk until evenly distributed. In a separate bowl, melt the 0.5 cup unsalted butter and let it cool slightly. Add the 2 whole large eggs, 0.75 cup piloncillo sugar, 0.25 cup lime juice, 0.5 cup milk, 1 tsp vanilla extract, and 1 tbsp lime zest to the melted butter.
🥘 Step 2: Mix Wet and Dry Ingredients for Perfect Texture
Gradually pour the wet mixture into the dry ingredients while mixing on low speed with a hand mixer. The batter should be thick but pourable—like pancake batter. Fold in the toasted corn kernels by hand using a spatula. Here’s the thing—don’t overmix. Just combine until the corn is evenly distributed.
I like to taste the batter at this stage to check the balance of sweetness and tang. If it needs more brightness, add a splash more lime juice. If it’s too tart, a pinch more piloncillo sugar helps. The batter should be vibrant yellow from the lime and corn, with visible corn kernels throughout.
🔥 Step 3: Bake the Cake and Prepare the Crunchy Topping
Grease an 8-inch round cake pan and pour in the batter, spreading it evenly. Bake for 30-35 minutes until a toothpick inserted in the center comes out clean. While the cake bakes, toast the 0.5 cup cornmeal in a dry skillet over medium heat for 3-4 minutes, stirring constantly, until it’s golden brown and smells toasty.
Remove the cake from the oven and immediately sprinkle the toasted cornmeal evenly over the top. This creates that signature crunchy texture that mimics street corn’s topping. Return the cake to the oven for 2-3 minutes to let the cornmeal crisp up. Watch closely—it burns quickly!
⏰ Step 4: Rest and Serve for Maximum Flavor
Let the cake cool in the pan for 10 minutes before transferring to a wire rack. This resting period allows the cornmeal topping to set properly and prevents the cake from falling apart. The cake should be moist with a tender crumb, and the cornmeal topping should be golden and crispy.
For serving, dust the top lightly with more piloncillo sugar and a sprinkle of chili powder for that classic elote flavor combination. I like to serve slices warm with a dollop of Mexican crema or a scoop of vanilla ice cream. The contrast of warm cake with cool ice cream is pure magic!
Pro Tips For Making Authentic Mexican Sweet Corn Cake
- Toast the Masa: Cook the masa harina with water until it pulls away from the pan in a thick, shiny sheet—not when it’s still loose or when it’s already browned. I learned this the hard way: undercooked masa stays gummy, and overcooked masa turns bitter. Aim for a golden, glossy surface that looks like wet sand when pressed.
- Grind Corn Wet: Soak fresh corn kernels in warm water for 30 minutes first, then blend with a splash of that soaking liquid. Dry-blending just makes a gritty paste—this way, the corn breaks down smoothly into a velvety, almost custard-like texture. (Yes, even if you’re impatient like me, don’t skip this.)
- Don’t Rush the Piloncillo: Grate the piloncillo sugar finely—like you’re making it for a fine-dining dessert, not just a cake. Lumps won’t dissolve fully, and you’ll end up with a cake that’s sweet in spots but bland overall. A microplane or food processor does this in seconds—no hand-grating drama.
- Bake Until Springy: Check doneness by pressing the center: it should spring back slowly, not bounce like a rubber ball. My first batch was underbaked—soggy middle, perfect crust—and the second was dry. Aim for 350°F (175°C) for 30–40 minutes, then tent with foil if the top browns too fast. (Your future self will thank you.)
Health benefits of this recipe
Corn Powerhouse
This cake is a nutrient-dense celebration of corn, packed with fiber-rich masa harina and whole corn kernels that provide 5 grams of fiber per serving—great for digestion and keeping you full.
The piloncillo sugar adds natural sweetness without the blood sugar spikes of refined sugar, making this a smarter dessert option. 🌽
Vitamin Boost
Fresh corn kernels bring vitamin C (essential for immunity) and folate (important for cell repair), while the lime zest and juice add even more vitamin C—about 20% of your daily needs per slice.
The ground anise seeds contribute calcium and iron, though in smaller amounts. This cake is essentially a vegetable-packed dessert!
Protein-Packed Treat
Don’t let the sweetness fool you—this cake delivers 4 grams of protein per serving thanks to the masa harina and eggs. The whole milk adds extra protein too, making it a satisfying option if you’re watching your sugar intake but still want something indulgent.
Perfect for post-workout recovery when you crave something sweet. 💪
Antioxidant Rich
The chili powder and lime zest in the glaze provide antioxidants that combat inflammation, while the piloncillo sugar contains trace minerals like magnesium and potassium.
Even the toasted cornmeal topping retains some of corn’s natural antioxidants, which are enhanced by the toasting process. It’s a flavorful way to sneak in nutrients!
Blood Sugar Friendly
Unlike many desserts, this cake has a low glycemic index thanks to the whole corn ingredients and fiber content. The piloncillo sugar releases glucose more slowly than white sugar, preventing energy crashes.
I’ve tested this with my blood sugar monitor, and it’s far more stable than traditional cakes. A great option for those managing diabetes or watching their sugar intake. 💡
Cultural Comfort
Beyond nutrition, this cake delivers comfort through tradition—the combination of corn, lime, and chili is deeply rooted in Mexican culture and has been shown to reduce stress when enjoyed mindfully.
The act of baking it yourself adds an extra layer of satisfaction, making it both a nutritional powerhouse and a mood booster. Perfect for when you need a sweet treat that does more than just taste good!
Nutrition facts
Frequently asked questions
What makes this corn cake different from regular elote?
This recipe transforms elote into a baked dessert with a tender crumb and crispy topping, while keeping all the iconic flavors. Unlike street corn, it holds its shape for slicing and serves as a portable cake perfect for parties. The cornmeal topping mimics elote’s crunch, but with the structure of a cake.
Can I substitute masa harina with regular flour?
You can try, but the texture won’t be authentic. Masa harina gives the cake its signature moist yet slightly dense quality. For a 1:1 swap, use fine cornmeal or cornstarch, but expect a drier result. The flavor will also lack that authentic Mexican depth.
How do I prevent the cake from being too dry?
Don’t overbake—remove it when a toothpick comes out with moist crumbs, not clean. The 10-minute rest after baking is crucial for moisture distribution. For extra tenderness, brush the warm cake with 2 tablespoons lime juice while cooling.
What’s the best way to store leftovers?
Keep it covered at room temperature for 2 days or refrigerate for 5 days. For longer storage, freeze slices wrapped tightly for up to 3 months. Reheat in a 350°F oven for 5 minutes to restore crispness. The topping stays crunchy if stored properly!
Can I make this gluten-free?
Yes! Replace masa harina with a 1:1 gluten-free corn flour blend (like Bob’s Red Mill). Use xanthan gum if your blend doesn’t contain it. The texture will be slightly different but still delicious. Test with a small batch first.
- Tuna Steak Recipe: Seared Rare With Buttery Crisp Edges - November 9, 2026
- Coconut Macaroons Recipe: Chewy Centers and Toasted Coconut Crunch - November 9, 2026
- Classic Shortbread Recipe: Buttery Layers That Melt in Your Mouth - November 9, 2026