Hummingbird Vanilla Cupcake Recipe
A hummingbird vanilla cupcake is a small vanilla cake with crushed pineapple, mashed banana, and chopped pecans, topped with cream cheese frosting. The vanilla here is the anchor: it rounds out the fruit's acidity and keeps the banana from taking over. The crumb is soft and moist from the pineapple and banana, so the cupcakes suit a potluck, a lunchbox, or a weekend bake.
The recipe below makes 12 standard cupcakes. The key ratio is 1 cup (125 g) all-purpose flour to 1 cup (240 g) total fruit (crushed pineapple plus mashed banana), which keeps the batter from turning gummy. Use a standard 12-cup muffin pan with paper liners.
Ingredients
- 1 1/2 cups (188 g) all-purpose flour
- 1 teaspoon baking powder
- 1/2 teaspoon baking soda
- 1/2 teaspoon salt
- 1/2 cup (113 g) unsalted butter, softened
- 3/4 cup (150 g) granulated sugar
- 2 large eggs, room temperature
- 2 teaspoons vanilla extract
- 1/2 cup (120 g) crushed pineapple, drained
- 1/2 cup (120 g) mashed ripe banana (about 1 medium banana)
- 1/4 cup (60 ml) whole milk
- 1/2 cup (60 g) chopped pecans
For the cream cheese frosting:
- 8 oz (226 g) cream cheese, softened
- 1/2 cup (113 g) unsalted butter, softened
- 3 cups (360 g) powdered sugar
- 1 teaspoon vanilla extract
- Pinch of salt
Serves 12 · Prep 25 min · Cook 20 min · Total 1 hr 15 min
Instructions
- Heat the oven to 350°F (175°C). Line a 12-cup muffin pan with paper liners.
- In a medium bowl, whisk the flour, baking powder, baking soda, and salt.
- In a large bowl, beat the softened butter and sugar with an electric mixer on medium speed for 2-3 minutes, until pale and fluffy.
- Add the eggs one at a time, beating well after each. Beat in the vanilla.
- In a small bowl, stir the drained crushed pineapple, mashed banana, and milk.
- Add the dry ingredients to the butter mixture in three additions, alternating with the fruit mixture, beginning and ending with the dry ingredients. Mix on low speed just until combined; a few streaks of flour are fine. Fold in the chopped pecans.
- Divide the batter among the 12 liners, filling each about two-thirds full.
- Bake at 350°F (175°C) for 18-22 minutes, until a toothpick inserted in the center comes out clean and the tops spring back when lightly pressed. The cupcakes are done when the internal temperature reads 200-205°F (93-96°C) on an instant-read thermometer, though the toothpick test is standard.
- Cool the cupcakes in the pan for 5 minutes, then transfer to a wire rack to cool completely, about 30 minutes.
- For the frosting, beat the cream cheese and butter on medium speed until smooth, about 1 minute. Add the powdered sugar, vanilla, and salt; beat on low until combined, then on medium for 1-2 minutes, until fluffy.
- Frost the cooled cupcakes with a knife or piping bag. Refrigerate the frosted cupcakes until serving.
Mixing and Baking Notes
Drain the crushed pineapple well; press it in a fine-mesh strainer to remove excess liquid. If the pineapple is too wet, the batter will be loose and the cupcakes may sink. Mash the banana with a fork until mostly smooth; small lumps are fine. The batter will be thick and slightly lumpy from the fruit and nuts.
Do not overmix after adding the flour. Overmixing develops gluten and makes the cupcakes tough. Stop as soon as the flour disappears. If you want a domed top, fill the liners only two-thirds full; overfilling causes the tops to spread and crack.
Oven temperatures vary. Check the cupcakes at 18 minutes; if the tops are golden and a toothpick comes out clean, they are done. If the toothpick has wet batter, bake 2 more minutes and check again. Let the cupcakes cool completely before frosting; warm cupcakes will melt the cream cheese frosting.
Frosting and Finishing
The cream cheese frosting is soft. If it is too loose to pipe, refrigerate it for 15-20 minutes, then beat briefly. For a firmer frosting, use 3 1/2 cups (420 g) powdered sugar. Frost each cupcake with about 2 tablespoons (30 g) of frosting. Top with a few extra chopped pecans if you like.
For a vanilla-forward flavor, use clear vanilla extract in the frosting if you want a whiter color; dark vanilla will tint the frosting ivory. The frosting can be made up to 2 days ahead and refrigerated; bring it to room temperature and beat briefly before using.
Variations
Pineapple-coconut: Replace the chopped pecans with 1/2 cup (40 g) sweetened shredded coconut. The coconut adds chew and a tropical note; reduce the milk to 2 tablespoons (30 ml) because coconut absorbs moisture.
Banana-vanilla without pineapple: Use 1 cup (240 g) mashed banana in place of the crushed pineapple. The cupcakes will be denser and more banana-forward; add 1/4 teaspoon baking soda to help them rise.
Nut-free: Omit the pecans and add 2 tablespoons (15 g) all-purpose flour to the dry ingredients to compensate for the bulk. Check that the frosting and any add-ins are free of nut traces if serving to someone with an allergy.
Storage
Store unfrosted cupcakes in an airtight container at room temperature for up to 2 days, or refrigerate for up to 4 days. Frosted cupcakes must be refrigerated; keep them in a single layer or in a container with a lid for up to 3 days. Bring to room temperature before serving for the best texture.
To freeze, wrap unfrosted cupcakes individually in plastic wrap and freeze for up to 2 months. Thaw at room temperature for 1-2 hours before frosting. The cream cheese frosting does not freeze well; make it fresh.
Discard any cupcakes that have been left at room temperature for more than 2 hours if they are frosted with cream cheese. The same 2-hour limit applies to the frosting itself.
What Can Go Wrong
Soggy bottoms: The pineapple was not drained enough or the cupcakes were left in the pan too long. Drain the fruit well and cool in the pan only 5 minutes.
Sunken centers: The batter was overmixed or the oven temperature was too low. Use an oven thermometer to check that the oven is at 350°F (175°C).
Dry cupcakes: Overbaking. Start checking at 18 minutes. The toothpick should come out with a few moist crumbs, not dry crumbs.
Runny frosting: The cream cheese or butter was too warm. Chill the frosting for 15 minutes and beat again. If it stays loose, add 1/4 cup (30 g) more powdered sugar.
Serving and Pairing
Serve these cupcakes at room temperature with coffee, tea, or a glass of milk. They fit a brunch table alongside scrambled eggs and fruit, or a potluck dessert table. For a lunchbox, pack an unfrosted cupcake; it travels better and stays moist. If you frost them, keep them chilled until serving.
A simple vanilla glaze (1 cup / 120 g powdered sugar mixed with 1-2 tablespoons / 15-30 ml milk) is an alternative to cream cheese frosting if the cupcakes will sit out. The glaze sets firm and does not need refrigeration after it dries.