These sweet pumpkin cupcakes pair a moist, warmly spiced crumb with a tangy espresso cream cheese frosting, and the combination works because the two halves balance each other. The pumpkin keeps the cake tender and slightly sweet, while the cream cheese frosting cuts through the richness and a teaspoon of instant espresso adds a subtle roasted, bitter edge that stops the whole thing from tasting flat. They bake in about 20 minutes and are forgiving enough for a first attempt, but there are a few small details — squeezing the pumpkin, not overmixing, and chilling the frosting — that separate a good cupcake from a soggy or sunken one.
Ingredients
- 1 1/2 cups (190 g) all-purpose flour
- 1 teaspoon baking powder
- 1/2 teaspoon baking soda
- 1/2 teaspoon fine salt
- 1 1/2 teaspoons ground cinnamon
- 1/2 teaspoon ground ginger
- 1/4 teaspoon ground nutmeg
- 1/4 teaspoon ground cloves
- 1/2 cup (100 g) granulated sugar
- 1/2 cup (100 g) packed light brown sugar
- 1/2 cup (120 ml) neutral oil, such as canola or vegetable
- 2 large eggs, at room temperature
- 1 cup (240 g) pumpkin purée (not pumpkin pie filling)
- 1 teaspoon vanilla extract
- 1/4 cup (60 ml) buttermilk or whole milk
For the frosting:
- 8 oz (225 g) full-fat cream cheese, softened to room temperature
- 1/2 cup (115 g) unsalted butter, softened to room temperature
- 3 cups (360 g) powdered sugar, sifted
- 2 teaspoons instant espresso powder, dissolved in 1 tablespoon hot water and cooled
- 1/2 teaspoon vanilla extract
- Pinch of fine salt
Instructions
- Preheat the oven to 350°F (175°C). Line a 12-cup muffin tin with paper liners.
- Whisk the flour, baking powder, baking soda, salt, cinnamon, ginger, nutmeg, and cloves together in a medium bowl and set aside.
- In a large bowl, whisk the granulated sugar, brown sugar, and oil until smooth and no dry sugar remains. Add the eggs one at a time, whisking well after each.
- Whisk in the pumpkin purée and vanilla until fully combined. If the purée looks watery, blot it with paper towels or let it drain in a fine sieve for 10 minutes first; excess liquid makes the cupcakes gummy.
- Add the dry ingredients to the wet in three additions, alternating with the buttermilk in two, starting and ending with the dry. Fold gently with a spatula until just combined — a few small lumps are fine, and a smooth, glossy batter means you have overmixed.
- Divide the batter among the 12 liners, filling each about three-quarters full. An ice cream scoop keeps the portions even.
- Bake for 18 to 22 minutes, until a toothpick inserted in the center comes out clean or with a crumb or two. Rotate the pan halfway through if your oven bakes unevenly.
- Cool the cupcakes in the pan for 5 minutes, then transfer them to a wire rack and cool completely, about 45 minutes. Frosting warm cupcakes will melt the butter in the frosting.
- For the frosting, beat the cream cheese and butter together on medium speed for 2 to 3 minutes, until smooth with no lumps. Scrape down the bowl.
- Add the powdered sugar, one cup at a time, on low speed, then beat in the cooled espresso mixture, vanilla, and salt. Once combined, raise the speed to medium-high and beat for 1 minute to lighten it. Taste and add a tablespoon more sugar if you want it sweeter.
- Chill the frosting for 15 to 20 minutes to firm it up, then pipe or spread it over the cooled cupcakes. For a generous swirl, allow about 3 tablespoons per cupcake.
Tips
- Use purée, not pie filling. Pumpkin pie filling is sweetened and spiced already, so it throws off both the sugar and the seasoning. Check the label for the word "100% pumpkin."
- Room temperature really matters for the frosting. Cold cream cheese and butter will stay lumpy no matter how long you beat them, and overbeating cold cream cheese can make the frosting runny instead of fluffy.
- Don't skip the sifting. Powdered sugar is prone to clumps, and a single lump piped into the swirl is unpleasant. Sift it before it goes anywhere near the bowl.
- Watch the espresso strength. Two teaspoons of instant powder is a detectable but gentle coffee note. More than that can taste harsh alongside the warm spices, so add it in small increments if you want a stronger flavor.
Serving Suggestions
These cupcakes are best eaten at cool room temperature, when the frosting is soft but still holds its shape. They suit a fall table alongside spiced cider, hot chocolate, or a plain cup of black coffee — the coffee notes in the frosting echo a hot drink nicely. If you are serving them after a heavier meal, keep the portions modest and let the cupcakes sit out for 15 minutes so the crumb softens back up. For a dessert table, pair them with something neutral like shortbread or plain vanilla ice cream so the spice doesn't dominate everything.
Variations
- Maple version: Replace the brown sugar with 1/2 cup maple sugar, or add 1 teaspoon maple extract to the batter, and finish with a light drizzle of maple syrup over the frosted tops.
- Chocolate chip: Fold 1/2 cup mini chocolate chips into the batter at the very end. Mini chips distribute better than standard ones and won't sink as much.
- No espresso: Swap the espresso mixture for 2 teaspoons vanilla and add 1/2 teaspoon extra cinnamon for a straight pumpkin spice frosting.
- Lighter frosting: Reduce the powdered sugar to 2 1/4 cups for a softer, more tangy cream cheese flavor; the frosting will spread rather than pipe.
- Mini cupcakes: Bake mini liners at 350°F for 10 to 12 minutes. The recipe makes about 36 minis.
Storage and Reheating
Unfrosted cupcakes keep well in an airtight container at room temperature for up to 2 days, or in the refrigerator for up to 4 days. Frosted cupcakes should be refrigerated because of the cream cheese and butter; keep them in a sealed container for up to 3 days. Let them sit at room temperature for about 20 minutes before serving so the frosting softens. For longer storage, freeze unfrosted cupcakes wrapped individually in plastic wrap and then in a bag for up to 2 months; thaw at room temperature for 1 to 2 hours. The frosting freezes separately for up to 1 month in a sealed container, and it should be thawed overnight in the refrigerator and re-whipped briefly. There is no need to reheat these cupcakes — a microwave will make them rubbery and melt the frosting — though a 10-second warm-up is fine if you want them slightly soft.
Frequently Asked Questions
Can I use canned pumpkin pie mix instead of purée?
No, not directly. Pie mix is pre-sweetened and spiced, so using it makes the batter too wet and too sweet. Stick to plain pumpkin purée and add the sugar and spices yourself.
Why did my cupcakes sink in the middle?
Underbaking is the most common cause. If the center was still liquid at testing time, the structure collapses as it cools. Pull them when a toothpick comes out with just a few moist crumbs, not wet batter, and don't open the oven early.
Can I make the frosting ahead of time?
Yes. Make it up to 3 days ahead, store it covered in the refrigerator, and let it sit at room temperature for 20 to 30 minutes before re-whipping briefly. A long chill makes it firm, so don't try to pipe it straight from the fridge.
Why is my cream cheese frosting runny?
Usually the cream cheese or butter was too warm, or the frosting was beaten too long at high speed after the sugar went in. Stop beating once it's smooth, and refrigerate for 15 to 20 minutes before piping.
Can I use fresh pumpkin instead of canned?
Yes, but you need to roast and purée it and then drain it well. Fresh pumpkin holds far more water than canned, so let it sit in a fine sieve for at least 30 minutes before measuring.
How full should the liners be?
About three-quarters full. Fuller than that and the cupcakes mushroom over the edge; less than that and they bake up small and dry with a flat top.