Mexican Sweet Corn Cake (Pastel De Elote)

Ever heard of pastel de elote? It’s this super delicious Mexican sweet corn cake. And if you’re like me, you probably think “cake” means it’s super complicated.

Guess what? It’s not.

Seriously, this recipe is a total game-changer. It’s ridiculously easy, but the result? It’s this moist, custardy, and sweet cake that’s almost impossible to mess up. I’ve even added some pro tips and tricks I’ve picked up over the years to make sure your first try is a total success.

A little background on the cake: in Mexico, it’s a big deal. You’ll see it everywhere—at fancy restaurants, at home, you name it. And the best part? People eat it for dessert AND as a savory side dish. It’s crazy versatile.

Ready to get started? Let’s do it.

Mexican Sweet Corn Cake

Recipe at a Glance: Your Cheat Sheet

You’re probably wondering how much time this will take. Here’s a quick breakdown.

TaskTime
Prep10 minutes
Cook50-60 minutes
Total~1 hour
  • Serving Size: This recipe makes a good 8 servings, which is perfect for a family dinner. You can double it for a bigger group. Just use a bigger pan (like a 9×13-inch one) and bake it for 10-15 minutes longer.
  • Difficulty: This is a breeze. Seriously. No crazy techniques. The hardest part is the water bath, and I’ll walk you through that step-by-step.

The Tools You’ll Need

Don’t have a food processor? No problem! Most of these can be swapped out for something else you probably have in your kitchen already.

  • Large Bowl: To mix the batter.
  • Medium Bowl: For your dry ingredients.
  • Whisk: A fork works just as well.
  • Food Processor: A blender is a great substitute.
  • 8×8″ Baking Pan: For the main dish.
  • 9×13″ Baking Dish: For the water bath.

The Ingredients: What You’ll Need

This cake is all about the simple, quality ingredients. Here’s the list and a little bit about each one.

  • 1/2 cup Unsalted Butter, softened: Softened is key here. It should be squishy, but not melted. This makes the batter super smooth.
  • 1 1/2 cups Corn: You can use fresh, frozen, or canned. I personally love fresh corn sliced right off the cob. If you’re using canned, make sure you drain it well. If you’re using frozen, you can just toss it right in the food processor—no need to thaw.
  • 1/3 cup Masa Harina: This is the secret ingredient that gives the cake its authentic flavor and moist, dense texture. Don’t mix it up with cornmeal! You can usually find it in the international foods aisle.
  • 1/4 cup Cornmeal: This adds a little bit of rustic texture to the cake.
  • 1/3 cup Sugar: Just enough to bring out the natural sweetness of the corn.
  • 2 tablespoons Milk: Any milk you have will work here.
  • 1/4 cup Water: This helps activate the masa harina and gets you that custardy texture we want.
  • 1/2 teaspoon Baking Powder: This is what makes the cake rise and gives it a tender crumb.
  • 1/4 teaspoon Salt: Salt brings out all the other flavors and keeps the cake from being too sweet.

Let’s Bake It! Your Step-by-Step Guide

Ready? Grab your apron. Let’s make this happen.

Get Your Pan and Oven Ready. First, preheat your oven to 350°F (175°C). Then, get your 8×8-inch baking pan. You don’t really need to grease it because the cake is so dense it won’t stick, but hey, better safe than sorry, right? Now, take your bigger 9×13-inch dish and fill it with an inch or two of water. This is your water bath. The steam from it keeps the cake from drying out and cracking, giving it that perfect, custardy texture.

Make the Butter Base. In a large bowl, beat the softened butter until it’s light and creamy. It should look like frosting. Now, beat in the masa harina and water. It’s okay if it’s a little lumpy. This mixture is the foundation of our cake.

Prepare Mexican Sweet Corn Cake

Process the Corn. Time for the star of the show. Pop your corn into a food processor. Pro tip: Don’t turn it into a puree. You want to pulse it just enough to break up the kernels and get some of that starchy liquid out, but leave some chunks. This gives the cake a great rustic texture. Once you’re done, stir the corn directly into your butter mixture.

Combine the Dry Ingredients. In a separate medium bowl, whisk together the cornmeal, sugar, baking powder, and salt. Make sure to whisk well to evenly distribute the baking powder. Then, add the milk and stir until you have a smooth, thin paste.

Bring It All Together. Now, gently fold the cornmeal mixture into the butter-corn mixture. Just mix until it’s all combined. It’s okay if there are still a few lumps. The worst thing you can do is over-mix—that will give you a tough cake. We want tender and delicate. The batter should be thick, but still easy to spoon.

Bake It to Perfection. Pour the batter into your 8×8-inch pan. Then, carefully place that pan inside the larger dish with the water bath. Cover the corn cake with a piece of foil to keep the top from browning too fast. Pop the whole thing on the middle rack of your preheated oven. Bake for 50-60 minutes, or until a toothpick comes out clean. The cake should be firm and a beautiful golden-brown.

Assemble Mexican Sweet Corn Cake

Variations & Customization

This is where you can have some fun. The beauty of this cake is how versatile it is.

  • For some heat: Finely mince a habanero or jalapeño and stir it into the batter. The spicy kick is an amazing contrast to the sweetness of the corn.
  • For a savory spin: If you’re using this as a side dish, just reduce the sugar to a tablespoon or two. You can also stir in some shredded Monterey Jack or cotija cheese and a sprinkle of cumin.
  • For a vegan cake: Easy! Use your favorite plant-based butter and milk. It will be just as moist and delicious.
  • For seasonal flavors: In the fall, try adding a half teaspoon of cinnamon or a dash of nutmeg to the dry ingredients for a cozy, spiced version.
  • To make it fancy: For an everyday dessert, just dust it with some powdered sugar. For a more elegant look, drizzle with honey and add a dollop of crème fraîche or sour cream and some fresh berries.
Serve Mexican Sweet Corn Cake

Serving & Storage

You’ve made a masterpiece. Now, let’s talk about how to enjoy it.

How to serve it: This cake is best served warm. Use an ice cream scoop for a perfect, rustic serving. It goes great with:

  • A dollop of sour cream or Mexican crema.
  • A scoop of vanilla ice cream.
  • Fresh berries or a drizzle of honey.

How to store it: If you have any leftovers (and that’s a big if!), they’ll keep just fine. You can store the cake in an airtight container at room temperature for up to two days, or in the fridge for up to five days.

How to reheat and freeze: To reheat a slice, just pop it in the microwave for 30-45 seconds. You can also warm it in the oven at 300°F for about 10 minutes. This cake freezes beautifully. Wrap individual slices in plastic wrap, then foil, and put them in a freezer-safe bag. They’ll be good for up to three months. When you want a slice, just thaw it on the counter or reheat it in the oven straight from frozen.

That’s it! You’ve just made a perfect pastel de elote. Now go on, take a bite and enjoy it. You deserve it.

Print

Mexican Sweet Corn Cake (Pastel De Elote)

5 Stars 4 Stars 3 Stars 2 Stars 1 Star

No reviews

Pastel de elote, or Mexican sweet corn cake, is a custardy, moist cake with a surprisingly dense texture and rich corn flavor. It’s a simple recipe that tastes anything but simple.

  • Author: Jose
  • Prep Time: 10 mins
  • Cook Time: 50-60 mins
  • Total Time: 1 hr 10 mins
  • Yield: 8 1x
  • Category: Dessert
  • Cuisine: Mexican

Ingredients

Scale
  • 1/2 cup unsalted butter, softened
  • 1 1/2 cups corn (fresh, frozen, or canned)
  • 1/3 cup masa harina
  • 1/4 cup cornmeal
  • 1/3 cup sugar
  • 2 tablespoons milk
  • 1/4 cup water
  • 1/2 teaspoon baking powder
  • 1/4 teaspoon salt

Instructions

  1. Prep: Preheat your oven to 350°F (175°C). Fill a large baking dish (like a 9×13-inch) with about an inch of water. This is your water bath.
  2. Combine Wet Ingredients: In a large bowl, beat the softened butter until creamy. Beat in the masa harina and water until combined.
  3. Process Corn: Pulse the corn in a food processor until it’s broken up, but still has some texture. Stir the corn into the butter mixture.
  4. Combine Dry Ingredients: In a separate medium bowl, whisk together the cornmeal, sugar, baking powder, and salt. Add the milk and stir until it forms a thin paste.
  5. Mix Everything: Gently fold the cornmeal mixture into the butter-corn mixture until just combined. Don’t overmix.
  6. Bake: Pour the batter into an 8×8-inch baking pan. Place this pan inside the larger dish with the water bath. Cover with foil and bake for 50-60 minutes, or until a toothpick comes out clean.

Notes

  • Serving: Serve warm with a scoop of vanilla ice cream, a dollop of sour cream or Mexican crema, and some fresh berries. It’s also delicious on its own with a simple dusting of powdered sugar.
  • Tips & Tricks: The water bath is crucial for that signature custardy texture. Don’t skip this step! For a little kick, add a finely minced jalapeño to the batter.
  • Storage: Store leftovers in an airtight container at room temperature for up to two days, or in the fridge for up to five days. It also freezes well.

Did you make this recipe?

Share a photo and tag us — we can’t wait to see what you’ve made!

Leave a Comment

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

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

Scroll to Top