Desserts
This authentic Mexican sweet corn cake brings the vibrant flavors of Mexico’s street markets into your kitchen. 🌟 Inspired by pan de elote—the beloved grilled corn cake sold by vendors—this recipe captures the perfect balance of sweet, buttery richness with earthy corn and warm cinnamon. What sets it apart is the texture: crispy on the outside, tender and moist inside, just like the street version. The secret lies in fresh corn, mashed just enough to hold the cake’s structure while keeping that signature corn flavor intact. A touch of vanilla and a sprinkle of cinnamon add depth, while a hint of lime zest brightens every bite. Unlike store-bought versions, this recipe uses real Mexican panela (unrefined cane sugar) for authentic sweetness, though brown sugar works in a pinch. By the time it emerges from the oven, golden and fragrant, you’ll have a cake that’s as visually stunning as it is delicious. Serve it warm with a dusting of powdered sugar or a drizzle of Mexican chocolate for the full experience. This isn’t just dessert—it’s a taste of Mexico’s streets, brought to life in your kitchen. Perfect for brunch, dessert, or even breakfast, this cake pairs beautifully with Mexican coffee or horchata. Let’s get baking!
Ingredients for authentic mexican sweet corn cake
Fresh corn, warm spices, and a touch of lime—this is your street-market-inspired baking lineup.
| Ingredient | Amount | Notes |
|---|---|---|
| Fresh Corn Kernels 🌽 | 4 cups | From 4 ears of corn, kernels cut off |
| Unsalted Butter 🧈 | ½ cup | Melted, full-fat preferred |
| Panela or Brown Sugar 🍯 | 1 cup | Panela for authentic sweetness |
| All-Purpose Flour 🌾 | 1 ½ cups | Sifted for light texture |
| Baking Powder 🧂 | 1 ½ tsp | Aluminum-free preferred |
| Ground Cinnamon 🌿 | 1 tsp | Freshly ground for warmth |
| Pure Vanilla Extract 🌸 | 1 tsp | Mexican vanilla if available |
| Lime Zest 🍋 | 1 tsp | Brightens the flavor |
| Large Eggs 🥚 | 2 whole | Room temperature preferred |
| Milk 🥛 | ½ cup | Whole milk for richness |
| Powdered Sugar 🍬 | ¼ cup | For dusting, optional |
| Vegetable Oil 🫒 | 2 tbsp | For greasing pan |
The corn is the heart of this cake, so pick ripe, plump ears—the kernels should be bright yellow and juicy. If you can't find fresh corn, frozen corn works in a pinch, but thaw and drain it well first. For the sugar, panela (unrefined cane sugar) is ideal—it caramelizes beautifully and gives that authentic Mexican flavor. You'll find it at Latin markets or online, but light brown sugar is a solid backup. The butter? Full-fat is non-negotiable here—it keeps the cake moist and rich. Melt it first for easy mixing, but don't overheat or it'll lose flavor.
No panela? Light brown sugar plus a pinch of molasses mimics the depth. Short on lime zest? Lemon zest works too, but lime's bright citrus is key. The vanilla can be imitation, but Mexican vanilla extract (like from La Cocina brand) adds a smoky depth. For the eggs, room temperature makes a difference—whisk them until frothy for a lighter texture. The milk? Whole milk is best, but any milk works if that's what you've got. And if you're worried about the cake being too sweet, trust the process—the corn balances it perfectly.
This cake is best served fresh, but leftovers keep well for 2 days in an airtight container at room temperature. For longer storage, wrap it tightly in plastic and refrigerate for up to 5 days. To reheat, warm in a 350°F oven for 5-10 minutes until fragrant again. The texture changes slightly when reheated—it gets a bit softer, but that's part of the charm. If you make extra, freeze slices wrapped in plastic for up to 3 months. Just thaw at room temperature before serving.
Why You'll Love This Recipe
- No-Fuss Freshness: I just blend corn right off the cob—no peeling, no fuss. That raw sweetness? It’s the star here, and it takes zero extra work.
- Panela Magic: Between us, panela (or brown sugar) gives this cake a deep, caramelized warmth that store-bought sugar can’t match. It’s the secret behind that addictive, slow-sweetness.
- Picnic-Proof Perfection: Between the crumbly texture and the buttery richness, these slices hold up amazingly in a basket or wrapped in foil. My go-to for birthday parties, potlucks, or even a lazy Sunday brunch.
- Budget Breakfast Win: Five ingredients, zero specialty items—this cake costs me pennies to make. And honestly? It’s the kind of treat that feels indulgent but won’t break the bank.
Step-by-step instructions for authentic Mexican sweet corn cake
Here's how to create this beloved street treat with perfect texture and authentic flavor.
👨🍳 Step 1: Prepare the Fresh Corn Base
Start by cutting the kernels off 4 fresh ears of corn - you'll need exactly 4 cups of kernels. I like to use a sharp knife and cut them right off the cob for that perfect street-food texture. If using pre-cut kernels, make sure they're fresh and not canned.
In a large mixing bowl, combine the 4 cups fresh corn kernels with the 0.5 cup melted unsalted butter. Let this mixture cool slightly while you prepare the rest of the ingredients. The butter will help create that signature tender yet slightly crispy texture we're after. Here's the thing - don't skip the fresh corn. Canned kernels won't give you that authentic, slightly chewy bite.
👨🍳 Step 2: Mix Wet Ingredients for Perfect Texture
In a separate bowl, whisk together the 1 cup panela or brown sugar, 2 whole large eggs, 0.5 cup milk, 1 tsp pure vanilla extract, and 1 tsp lime zest. The panela gives that authentic Mexican sweetness that brown sugar can't quite match. I always use room temperature eggs - they mix better and create a lighter batter.
Add the egg mixture to the corn and butter, stirring gently until just combined. You want to maintain some texture in the corn kernels - don't overmix. The batter should be thick but pourable. If it's too thick, add 1-2 tablespoons of milk to reach the right consistency. This step is crucial for that perfect street-food texture that's neither too dense nor too cakey.
👨🍳 Step 3: Combine Dry Ingredients for Lightness
In another bowl, sift together the 1.5 cups all-purpose flour and 1.5 tsp baking powder. The sifting creates air pockets that help the cake rise properly. Then add the 1 tsp ground cinnamon and mix gently with a whisk.
Gradually fold the dry ingredients into the wet corn mixture using a spatula, mixing just until combined. Be careful not to overmix - you should still see some flour streaks. The goal is to create a batter that holds its shape when spooned but still has that rustic texture. Here's the trick: fold from the bottom up to maintain air pockets in the batter.
🔥 Step 4: Bake for Perfect Texture and Flavor
Preheat your oven to 350°F and grease an 8-inch round cake pan with 2 tbsp vegetable oil. Pour the batter into the prepared pan and smooth the top with a spatula. Bake for 35-40 minutes until a toothpick inserted in the center comes out clean and the top is golden brown.
I know it seems like a long time, but patience is key here. The cake needs time to develop that perfect balance of tender crumb and slightly crispy edges. If you take it out too soon, it'll be dense and undercooked. The edges should pull away slightly from the pan when done, but still maintain that rustic texture we want.
🍽️ Step 5: Finish and Serve Traditionally
Remove the cake from the oven and let it cool in the pan for 10 minutes. Then transfer it to a wire rack to cool completely. While it's still warm, dust the top generously with 0.25 cup powdered sugar for that classic presentation.
For the most authentic experience, serve this cake warm or at room temperature. In Mexico, it's often enjoyed with a cup of hot chocolate or café de olla. The contrast of warm cake with warm drink is pure magic. You can also slice it and serve with a dollop of Mexican cream or a scoop of vanilla ice cream for a decadent treat.
Pro Tips For Making Authentic Mexican Sweet Corn Cake
- Cook Kernels First: Boil the fresh corn kernels for 5-7 minutes until tender—don’t skip this. Overcooking turns them mushy, but undercooking leaves them gritty and unpleasantly chewy. Drain well and let them cool slightly before mixing, or your batter will turn into glue.
- Whisk Dry Ingredients: Sift the flour and baking powder together, then whisk them in the dry measuring cup before adding to the wet ingredients. I learned this the hard way—lumps in the batter mean dense, uneven cake. A quick 10-second whisk makes all the difference.
- Don’t Overmix the Batter: Stir just until the flour disappears—maybe 15-20 strokes max. Overmixing develops gluten and turns your tender corn cake into a tough, bread-like brick. Fold in the corn gently with a spatula after the dry ingredients are combined.
- Test for Doneness Early: This cake rises fast and falls flat if left too long. Check at 25 minutes with a toothpick—it should come out clean but slightly crumbly. If the edges brown too quickly, tent loosely with foil to keep the center moist. Better to pull it out early than risk a dry, heavy center.
Wine and beer pairings for this dish
Mexican Coffee Pairing
A steaming cup of café de olla—Mexican coffee brewed with cinnamon sticks and piloncillo (unrefined cane sugar)—is the perfect companion to this sweet corn cake. 🌟 The warm spices in the coffee mirror the cinnamon in the cake, creating a harmonious flavor bridge. For an extra touch, add a splash of Mexican brandy like Don Julio or Patrón to the coffee for a boozy twist that pairs beautifully with the cake's buttery richness.
Horchata Harmony
If you prefer something creamy and refreshing, horchata—made from rice, cinnamon, and vanilla—cuts through the cake's sweetness with its subtle sweetness and floral notes. Look for Mexican horchata brands like La Costeña or make your own with Mexican cinnamon and vanilla extract. The contrast of warm cake with cool horchata is a classic Mexican dessert combination that feels like a hug in a glass.
Mexican Lager Balance
For beer lovers, a crisp Mexican lager like Modelo Especial or Pacífico cleanses the palate between bites. The light, effervescent quality of these beers balances the cake's richness without overpowering it. If you want something with a bit more body, try a Mexican amber ale like Negra Modelo—its caramel and toasty notes complement the corn and cinnamon beautifully.
Spiced Rum Elevation
For a boozy pairing, serve slices of cake with a shot of spiced rum like Don Q Cristal or Flor de Caña. The rum's warmth and subtle spices enhance the cake's cinnamon and vanilla, making it feel like a cozy dessert for special occasions. Drizzle a little rum over the cake just before serving for an extra layer of flavor.
Mexican Hot Chocolate
No Mexican dessert is complete without Mexican hot chocolate, thickened with masa harina and sweetened with piloncillo. The deep, earthy flavors of the chocolate contrast the cake's sweetness while adding a layer of complexity. For an elevated version, use Abuelita or Chocolatería Mexicana hot chocolate mix, and top with whipped cream for the ultimate indulgence.
Nutrition facts
Frequently asked questions
Can I use canned corn instead of fresh?
The recipe calls for fresh corn to capture that authentic, slightly chewy texture and vibrant flavor. If you absolutely must use canned corn, drain it thoroughly and pat it dry with a paper towel to remove excess moisture. For best results, use frozen corn kernels that have been thawed and drained well, but know the texture will be slightly different from fresh.
What's the difference between panela and brown sugar?
Panela is unrefined cane sugar with a deeper caramel flavor and moist texture, giving this cake its authentic Mexican sweetness. Light brown sugar can substitute in a pinch, but add 1-2 teaspoons of molasses per cup to mimic panela's depth. The cake will still be delicious, but the flavor profile won't be quite as traditional.
Why does my cake turn out dense instead of tender?
Overmixing the batter is the most common cause of a dense cake. Mix just until combined—you should still see visible flour streaks. Also, ensure your baking powder is fresh (test it by mixing with water—it should bubble) and don't overbake. The cake should pull away slightly from the pan edges when done, but still be moist inside.
Can I make this cake gluten-free?
Yes! Replace the 1.5 cups all-purpose flour with a 1:1 gluten-free baking flour blend like Bob's Red Mill. Add 1 extra teaspoon of baking powder to help with rise, and consider adding 1 tablespoon of cornstarch to improve texture. The cake will be slightly denser but still delicious when served warm.
How do I store leftovers for best texture?
Store in an airtight container at room temperature for up to 2 days—this preserves the cake's moist texture. For longer storage, refrigerate for up to 5 days or freeze slices wrapped tightly for 3 months. To reheat, warm at 350°F for 5-10 minutes until fragrant again. The texture will soften slightly but remains delicious.
