Ube cupcakes are soft, vanilla-scented cakes flavored with ube, the purple yam used in many Filipino desserts, and often colored a vivid violet with ube extract. This version uses ube halaya (sweet purple-yam jam) in the batter and a coconut-kissed ube buttercream on top, for a balanced cupcake that stays tender without relying on color alone.
Ingredients
- 1½ cups (188 g) all-purpose flour, spooned into the measuring cup and leveled
- 1½ teaspoons (6 g) baking powder
- ½ teaspoon (3 g) fine salt
- ½ cup (113 g) unsalted butter, softened
- ¾ cup (150 g) granulated sugar
- 2 large eggs (about 100 g without shells), at room temperature
- ½ cup (150 g) ube halaya (ube jam), stirred smooth
- ¼ cup (60 ml) neutral oil, such as canola or sunflower
- ½ cup (120 ml) whole milk, at room temperature
- 1 teaspoon (5 ml) vanilla extract
- 1 teaspoon (5 ml) ube extract, or more for a deeper color if desired
- ¾ cup (170 g) unsalted butter, softened, for the frosting
- 2½ cups (300 g) powdered sugar, sifted if lumpy
- ⅓ cup (100 g) ube halaya, stirred smooth, for the frosting
- 1–2 tablespoons (15–30 ml) coconut cream, as needed
- ⅛ teaspoon (about 0.7 g) fine salt, for the frosting
- ½ teaspoon (2.5 ml) ube extract, optional, for the frosting
Instructions
- Prepare the pan and ingredients. Heat the oven to 350°F (177°C). Line a standard 12-cup muffin pan with paper liners. Let the butter, eggs, and milk come to room temperature; this helps the batter combine evenly. Stir the ube halaya until smooth so there are no dense lumps in the cupcakes.
- Mix the dry ingredients. In a medium bowl, whisk together the flour, baking powder, and ½ teaspoon salt. Set the bowl beside the mixer. Measure the milk and stir in the vanilla and 1 teaspoon ube extract.
- Cream the butter and sugar. In a large bowl, beat the ½ cup softened butter and granulated sugar with a hand mixer or stand mixer on medium speed for about 2–3 minutes, until pale and fluffy. Scrape down the sides of the bowl. Add the eggs one at a time, beating just until each is incorporated. If the mixture looks slightly curdled after the eggs, it will come together when you add the flour.
- Add the ube and oil. Beat in the ½ cup ube halaya and neutral oil until the mixture is mostly smooth. It may look streaky at first; scrape the bowl and mix briefly rather than beating for a long time. Add the flour mixture in three additions, alternating with the milk mixture in two additions. Start and finish with flour, mixing on low speed only until the last dry streaks disappear. Fold the bottom of the bowl once with a spatula to catch any unmixed flour. Avoid overmixing, which can make cupcakes firm.
- Fill and bake. Divide the batter evenly among the liners, filling each about two-thirds full; a level ¼-cup scoop is a useful guide. Bake for about 20 minutes, rotating the pan once if your oven browns unevenly. The tops should spring back lightly, and a toothpick should come out with a few moist crumbs but no wet batter. Check that the center of a cupcake reaches at least 160°F (71°C) with a food thermometer; USDA FSIS lists this as the safe minimum temperature for egg dishes. If needed, return the pan to the oven for a few minutes and check again.
- Cool completely. Leave the cupcakes in the pan for 10 minutes, then move them to a wire rack for about 35 minutes. They need to be fully cool before frosting, or the buttercream can soften and slide. While they cool, make the frosting.
- Make the buttercream. Beat the ¾ cup softened butter on medium speed until creamy, about 2 minutes. Add the powdered sugar in two or three additions, starting on low speed to keep it from puffing out of the bowl. Beat in the ⅓ cup ube halaya, frosting salt, and optional ½ teaspoon ube extract. Add coconut cream 1 tablespoon at a time until the frosting is smooth and pipeable. If it becomes too soft, beat in a little more powdered sugar or chill it for 10 minutes.
- Frost and serve. Spread the buttercream over the cooled cupcakes with a small offset spatula, or pipe it on with a large star tip. Use the frosting soon after making it for the easiest piping. A small dab of extra ube halaya or a light sprinkle of toasted coconut makes a simple finish.
Tips
- Choose the right ube products. Ube halaya gives the cakes their yam flavor and a little extra moisture; ube extract boosts the aroma and color. Look for them in Filipino or other Southeast Asian grocery stores, or in well-stocked international sections. Taro paste is not the same as ube and will change the flavor. If you cannot find halaya, use a thick, smooth purple-yam paste and adjust the sweetness to taste; an unsweetened paste may make the cupcakes less sweet and slightly less moist.
- Measure flour gently. Scooping directly from the bag can pack in too much flour and create dry cupcakes. Fluff the flour, spoon it into the cup, and level it, or weigh the 188 g amount.
- Keep the batter mixing brief. Once the flour goes in, use low speed and stop when it is just combined. A few small lumps are better than a long mixing session that develops excess gluten.
- Adjust the frosting texture gradually. Ube halaya varies in thickness and sweetness. Add coconut cream by the tablespoon, not all at once. If your jam is loose, start with less cream; if the frosting is too soft to pipe, chill it briefly or add powdered sugar a spoonful at a time.
Serving Suggestions
Serve these cupcakes at room temperature so the cake is soft and the buttercream is creamy. They fit well on a dessert table with fresh fruit, coffee, or tea, and their purple color makes them especially attractive on a simple white platter. For a little contrast, top each one with toasted coconut flakes, finely chopped roasted nuts, or a small spoonful of ube halaya just before serving. Keep toppings light so they do not overpower the yam flavor.
If you are serving them after a meal, bring only the number you need to the table and keep the rest chilled. For neat portions at a party, use a small knife to make a shallow cut through the frosting before serving; it keeps the topping from pulling away when guests bite into the cupcake.
Variations
Make them dairy-free: Use a plant-based butter stick suitable for baking and unsweetened soy or oat milk in the batter. Choose a dairy-free coconut cream for the frosting. The flavor will be a little different, and some plant-based spreads are softer than butter, so add the cream slowly and chill the frosting if needed.
Add coconut to the cake: Replace 2 tablespoons (16 g) of the flour with 2 tablespoons (10 g) finely shredded unsweetened coconut. The crumb will be slightly more textured. You can also use toasted coconut as a topping instead, which adds crunch without changing the batter.
Make a simpler topping: If you prefer less frosting, make half the buttercream recipe and spread a thin layer on each cupcake. You can also serve them plain or dust them lightly with powdered sugar once fully cool, though the flavor will be less rich than with the coconut-ube frosting.
Use a different extract: If you do not have ube extract, leave it out and rely on the halaya for flavor. The cupcakes will likely be a softer lavender or muted purple rather than a vivid violet. Avoid adding lots of extra jam to force the color, since that can make the batter too wet.
Storage and Reheating
Because the cupcakes are topped with buttercream made with ube halaya, refrigerate them within 2 hours. Store in a covered container for 3–4 days. The frosting firms up in the refrigerator, so set a cupcake out for about 30–45 minutes before serving for a softer texture. Do not leave them sitting out for an extended period; return uneaten cupcakes to the refrigerator within 2 hours.
To freeze, arrange unfrosted, completely cooled cupcakes in a freezer-safe container and freeze for up to 2 months. Thaw them covered in the refrigerator overnight or at room temperature for about 1–2 hours, then frost. The buttercream can also be frozen separately for up to 1 month; thaw it in the refrigerator, then beat briefly to restore a spreadable texture. These cupcakes do not need reheating. If you want them less chilled, let them stand at room temperature rather than warming them in an oven or microwave, which can melt the frosting and dry the cake.
Frequently Asked Questions
What does ube taste like?
Ube has a gently sweet, earthy flavor that is often described as nutty or vanilla-like. In these cupcakes, the halaya brings the yam flavor while vanilla and coconut round it out. Ube extract makes the aroma and color more pronounced, but it is optional.
Can I use ube powder instead of ube halaya?
Not as a direct one-for-one replacement. Ube powder needs to be rehydrated according to its package directions, and it does not contain the sugar and moisture of halaya. A thick rehydrated paste can work, but the cupcakes may be less sweet and may need a little extra liquid. For the closest result, use halaya in the recipe.
Can I make the cupcakes ahead?
Yes. Bake and cool them a day ahead, then store them covered in the refrigerator or freeze them unfrosted for longer storage. You can make the frosting a day ahead as well; refrigerate it in a covered container and beat it briefly after it softens enough to spread. Frost the cupcakes the day you plan to serve them for the neatest finish.
Why did my cupcakes turn out dense?
Common causes are too much flour, overmixing after adding flour, or butter and eggs that were too cold to combine smoothly. Spoon and level the flour, mix only until the dry ingredients disappear, and use room-temperature ingredients. Also check that your baking powder is fresh and that the oven is fully heated before the pan goes in.
Can I bake this batter as a cake?
Yes. Pour it into one greased and parchment-lined 8-inch (20 cm) round pan, but expect a longer bake than cupcakes. Begin checking around 28 minutes and continue until the center springs back and a tester has no wet batter; check the center temperature is at least 160°F (71°C) for the egg-based cake. Cool it completely before frosting, and note that the final bake time depends on the pan and oven.
Related
- Substitution for Ricotta Cheese: Best Easy Replacements
- Substitution for Honey in Cooking: What Works
- Substitution for Mascarpone Cheese: Easy Homemade Mix
More recipes to cook
Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes
Spotted an error? Tell us and we will correct it (corrections policy).