National Dish El Salvador: Sweetcorn Cake (Recipe)

In this article
Meet Pastel de Elote, El Salvador’s much-loved sweetcorn cake, where the natural sweetness of fresh corn meets a soft, moist crumb. This homely bake straddles the line between dessert and savoury treat, carrying the sunny flavours of Central America in every slice. Whether it graces a festive table or rounds off an everyday meal, it is enjoyed by young and old alike — and it is often shared by hand, in the warm, sociable spirit of a Salvadoran gathering.
About Sweetcorn Cake
Pastel de Elote is a traditional dish from El Salvador made with fresh corn. This delicious sweetcorn cake brings together sweet and savoury notes in a moist, tender bake that works equally well as a dessert or a snack. Its unique texture and rich, inviting aroma make it a genuine delicacy, one that captures the flavours of El Salvador. Served at festivities or enjoyed on an ordinary day, Pastel de Elote is popular with everyone and is often passed round by hand to encourage friendly, shared company.
Ingredients (serves 1–2)
- 2 cups fresh corn (or 1 tin of suitable sweetcorn)
- 1/2 cup sugar
- 1/2 cup milk (or plant-based milk)
- 2 eggs
- 1/4 cup butter (or margarine)
- 1 cup cornmeal
- 1 tsp baking powder
- A pinch of salt
Shopping for the ingredients
When shopping for the ingredients for Pastel de Elote, pay attention to the quality of the corn. Fresh, sweet corn is the key to a particularly moist cake. Look for good-quality eggs and a nice butter, or a suitable alternative if you prefer a plant-based version. The remaining ingredients such as sugar and baking powder should be available in any supermarket and are often already sitting in the store cupboard as everyday basics.
Preparing the dish
Preparing Pastel de Elote is straightforward and takes only a few steps. Make sure all your ingredients are to hand and measure everything out in advance. If you are using fresh corn, husk and cut it first, then blitz it to a purée. This gives you a creamy base that lends the cake its fine texture. A little groundwork means the baking itself runs smoothly from start to finish.
Step-by-step instructions
- Preheat the oven to 180 degrees Celsius.
- Blend the fresh corn in a mixer until it reaches a creamy consistency.
- In a large bowl, cream together the butter and sugar until light.
- Add the eggs one at a time, mixing each in well.
- Stir in the puréed corn and the milk, combining everything thoroughly.
- In a separate bowl, mix the cornmeal, baking powder and salt.
- Add the dry ingredients to the wet mixture and stir until well combined.
- Pour the batter into a greased cake tin and bake for around 25–30 minutes.
- Check with a cocktail stick that the cake is done, then leave it to cool before serving.
Gluten-free / lactose-free version
To make Pastel de Elote gluten-free, replace the regular cornmeal with a certified gluten-free flour blend. Remember to choose lactose-free versions of the other ingredients too, such as the baking powder and butter. For the lactose-free milk you can use almond drink, oat milk or coconut milk. These adjustments mean everyone can enjoy the delicious experience of Pastel de Elote, whatever their gluten or lactose intolerance.
Tips for vegans and vegetarians
Vegans can enjoy Pastel de Elote just as much by swapping a few ingredients. As an egg replacement, use apple purée or chia seeds soaked in water. For the butter, reach for coconut oil or a vegan margarine. Be sure to use plant-based milk to deepen the flavour. These simple changes guarantee that even vegan friends can tuck into this delicious dessert, much like a slice of Torta de Chocolate.
More tips and tricks
A few simple tips can take your Pastel de Elote even further. You might add a little vanilla extract to give the cake an extra layer of flavour. If you want a crisp top, bake it slightly longer, but be careful not to overbake it. Let the cake cool completely after baking, as this improves both the texture and the taste considerably. With these tricks you will get the very best from your bake.
Adapting the recipe to your taste
Pastel de Elote adapts beautifully to different preferences. Fond of nuts? Add some toasted almonds or walnuts for an extra bit of crunch. If you like it creamier, stir in a little more milk, or even a pinch of cinnamon for a warming kick. With these tweaks you can shape the cake exactly to your own liking and make it even tastier. It sits happily alongside a comforting bowl of Atol de Elote for a full corn-inspired spread.
Ingredient substitutions
In the kitchen there is always room to improvise, and Pastel de Elote is no exception. If you have no cornmeal to hand, you can use ground almonds or coconut flour instead. In place of sugar, try honey or a natural sweetener for a slightly healthier version. These alternatives can give the cake a fresh and interesting character all of its own.
Drink pairing ideas
Pastel de Elote goes wonderfully with a range of drinks. To balance the cake’s sweetness, an unsweetened tea or a freshly squeezed lime juice works nicely. A classic coffee or a mild drink such as chai can also complement the flavour notes perfectly. Experiment with different combinations to find your own ideal partner — a chilled glass of Horchata is a fitting choice.
Serving and presentation ideas
You can present Pastel de Elote beautifully for your guests. A simple yet elegant option is to serve the cake in slices on a decorative plate, garnished with fresh fruit or a dollop of cream. A light dusting of icing sugar on top can also look appealing. Do not forget the table setting either, as it helps create a warm and inviting atmosphere.
A bit of history
Pastel de Elote has deep roots in Salvadoran cooking and has been handed down from generation to generation. This dish reflects the agricultural traditions of El Salvador, which are shaped strongly by the cultivation of corn. In recent years the cake has also gained popularity internationally, as people come to appreciate its unique flavours and simple preparation. By joining tradition with modern kitchen ideas, Pastel de Elote remains a timeless treat and a fine example of Salvadoran cuisine.
More recipe ideas
Summary: Sweetcorn Cake
In short, Pastel de Elote is a real highlight of Salvadoran cooking. With its blend of sweet and savoury flavours, it is perfect as a dessert or a snack. Thanks to its simple preparation and the ease with which the recipe can be adapted to different tastes, it is an ideal dish for any occasion. Let the flavours of El Salvador inspire you and enjoy this delicious piece of culture right in your own home.


