Mexican Corn Cake with Cream Cheese
If you’ve ever tasted Pastel de Elote, you know it’s more than just a cake—it’s a story baked into every slice. Sweet, moist, and rich with the flavor of fresh corn, this 8-ingredient Mexican Corn Cake with Cream Cheese is one of those recipes that will transport you straight to a Mexican kitchen. Whether you serve it warm at a Sunday gathering or packed for a picnic, it never fails to impress.
This post may contain affiliate links. If you purchase through these links, I may earn a small commission at no extra cost to you. Thank you for supporting Love & Harvest!
![]()
This easy corn cake recipe uses just 8 ingredients. Also known as pastel de elote, it’s made with fresh corn, eggs, condensed milk, vanilla extract, cream cheese, flour, baking powder, and a splash of milk. No mixer needed — just a blender.
For a little twist, I added cream cheese to my version. It’s not traditional — the original recipe does not include it — but it gives the cake a richer flavour and smoother texture. Consider it my “jazzed up” pastel de elote.
![]()
Pastel de Elote: Mexico’s Beloved Corn Cake
Pastel de Elote is more than a dessert — it’s a piece of Mexican culinary history. This cake beautifully blends indigenous corn traditions with Spanish colonial influence, resulting in something truly unique: semi-sweet, moist, and unlike any other cake you’ve tried.
Fun Facts About Corn in Mexico
In Mexico, there are more ways to prepare corn than kernels on a cob. That’s no surprise considering the country is the birthplace of maize, believed to have been domesticated in Mesoamerica thousands of years ago.
-
In Mayan mythology, people were said to be created from corn.
-
The region of Oaxaca still has one of the world’s highest diversities of native corn species.
-
Corn is the base of much of the Mexican diet — including desserts like Pastel de Elote.
This corn cake is also an example of the historic merging of Spanish colonial and indigenous cuisines. Corn was plentiful, and villagers often gifted it to monks and nuns, who had access to sugar and eggs. It’s even suspected that a nun may have invented Pastel de Elote, using ingredients readily available at the time.
![]()
Why We Love This Corn Cake Recipe
There’s something magical about how Pastel de Elote balances sweet and savoury. It’s semi-sweet, never overpowering, with a moist, slightly sticky texture that feels like comfort in every bite.
Depending on how it’s prepared, the cake can range from:
-
Moist and dense (especially when using canned corn), to
-
Light and fluffy (when made with fresh kernels).
The colour can also vary depending on the type of corn used, making every cake a little bit unique.
![]()
Ingredients for Mexican Corn Cake
Ingredients
Fresh Corn Kernels
- The star of the dish — fresh corn brings natural sweetness and that unmistakable corn flavour. For a lighter, fluffier cake use fresh kernels from the cob; for a denser, moister result, canned (well-drained) corn works beautifully.
Cream Cheese
- The secret twist that makes this version extra special. Sliced cream cheese is layered in the middle of the batter before baking, creating a rich, luscious pocket that melts into the cake. Use a block-style cream cheese, not whipped. A 9-inch springform pan makes unmolding a breeze.
Sweetened Condensed Milk
- Adds a creamy richness and balanced sweetness that defines the classic pastel de elote flavour. Half a can (about 7 oz) is all you need — don’t substitute with regular milk or sugar.
Eggs
- Give the cake structure and help create a tender crumb. Use room-temperature eggs for a smoother batter that blends evenly.
Vanilla Extract
- Enhances the corn’s natural sweetness with a warm, aromatic note. Don’t skip it — it rounds out the flavour perfectly.
All-Purpose Flour & Baking Powder
- Flour provides body while baking powder gives the cake its gentle rise and soft, fluffy texture. Make sure your baking powder is fresh for the best results. A digital kitchen scale ensures your measurements are spot-on every time.
![]()
How to Make Mexican Corn Cake
This recipe couldn’t be simpler — you just need a blender and a baking pan. Blend everything, pour half the batter, layer the cream cheese, pour the rest, and bake. The hardest part is waiting for it to cool! If you’re planning a full Mexican dessert spread, pair this with our Instant Pot Mexican Menudo for a complete feast, or try our Mexican Slow Cooker Pulled Pork for a savory main. And if you love easy blender cakes, our Dairy-Free Chocolate Cake is another crowd-pleaser.
To make sure your cake bakes evenly, use a good blender to get a silky-smooth batter, and always grease your pan generously.
Frequently Asked Questions
Can I use canned corn instead of fresh?
Yes, absolutely! Canned corn works well in this recipe — just make sure to drain it thoroughly. Fresh corn from the cob will give you a lighter, slightly sweeter result, while canned corn makes the cake a bit denser and moister. Both versions are delicious.
Do I have to include the cream cheese?
The cream cheese is optional but highly recommended! It’s not part of the traditional pastel de elote recipe, but it adds a rich, creamy layer inside the cake that makes it feel extra special. If you prefer the classic version, simply omit it.
How do I know when the cake is done?
Bake at 350°F (175°C) for 50–60 minutes. Insert a toothpick near the edge of the cake (not the center) — it should come out mostly clean. The center, where the cream cheese sits, will stay softer and that’s perfectly normal. The top should be golden brown.
How should I store Mexican Corn Cake?
Store leftovers in an airtight container in the refrigerator for up to 4 days. The cake tastes wonderful served slightly warm — just microwave individual slices for 20–30 seconds. You can also freeze slices (wrapped individually) for up to 2 months.
Can I make this cake gluten-free?
Yes! Substitute the all-purpose flour with a 1:1 gluten-free flour blend. Since corn is naturally gluten-free, this swap works very well in this recipe and the texture stays moist and tender.
Mexican Corn Cake with Cream Cheese
Ingredients
- 2 cups fresh corn kernels (from about 3–4 cobs, or use canned/drained)
- 3 large eggs (room temperature)
- ½ can sweetened condensed milk (7 oz / 200 g)
- 2 tsp vanilla extract
- ½ cup all-purpose flour
- 1½ tsp baking powder
- ¼ cup whole milk
- 100 g cream cheese (cut into thin slices for layering)
Instructions
- 1Heat oven to 350°F (175°C). Grease and flour a 9x9 inch pan or loaf pan.
- 2In a blender, add corn kernels, eggs, condensed milk, vanilla, flour, baking powder, and milk.Blend until smooth and creamy (some small corn bits are fine for texture).
- 3Pour half the batter into the prepared pan. Arrange the cream cheese slices evenly on top of this first layer. Pour the remaining batter on top, covering the cream cheese completely.
- 4Bake for 50–60 minutes, or until golden brown and a toothpick inserted near the edge comes out mostly clean.(Note: The center where the cream cheese sits will remain softer.)
- 5Let the cake cool for at least 20 minutes before slicing, so the cream cheese filling sets slightly.Serve warm or at room temperature, with optional extra condensed milk drizzled on top.
Nutrition per serving
Recipe by Love & Harvest
Made this recipe? Leave a rating
Shop What You'll Need

Instant Pot Duo 7-in-1
Used in our chili, menudo, and black garlic recipes.

Cuisinart Ice Cream Maker
Behind our strawberry and chocolate fudge ice creams.

Mandoline Slicer (6-in-1)
Paper-thin veggies for our Thai chicken salad and pickled red onions.
* As an Amazon Associate I earn from qualifying purchases.
Nutritional information is estimated and may not be accurate. It is for informational purposes only. Consult a registered dietitian for personalised dietary advice.
Allergen notice: Recipes may contain common allergens including gluten, dairy, eggs, nuts, soy, sesame, or shellfish. Always verify ingredient labels if you have food allergies.

Recipe by
Samantha Chow
Recipe Developer
Canadian designer cooking her way through Mexico. Three kids, one kitchen, a world of flavours. Read Sam's full story →
Free Download
Get 7 Quick 30-Minute Family Dinners — Free
Sam's most-requested weeknight dinners, on the table in 30 minutes. For families who want to eat well even on crazy nights.
By subscribing you agree to our Privacy Policy. Unsubscribe anytime.
Try These Next
asian recipesEasy Healthy Scallion Pancakes
An asian recipe the whole family will love.
Get the Recipe →
asian recipesFluffy Naan Bread
I still remember the first time I pulled a piece of freshly made naan off a cast iron pan — that slightly charred, impossibly soft bread that fills the kitchen with the most intoxicating yeasty aroma. This recipe has become a weekly staple in our home, and once you taste it warm with a brush []
Get the Recipe →
bread recipesSourdough English Muffins
There is something deeply satisfying about pulling a batch of homemade sourdough English muffins off a cast iron skillet — golden, nook-filled discs that toast up perfectly every single time. This recipe uses your active sourdough starter to deliver a subtle tang and incredible texture you simply cannot get from a store-bought bag. This post []
Get the Recipe →

