Chocolate Pecan Sheet Cupcakes are my go-to when I want that rich chocolate sheet cake feeling, but in easy little portions. They’re soft, moist, and finished with a cocoa buttercream that has just enough pecan crunch.
The batter uses buttermilk and a splash of hot coffee, so the chocolate flavor comes through deep and familiar. I like the toasted pecans in both the cake and the frosting because it makes them taste more like a bakery-style Texas sheet cake—just in cupcake form.
These are especially good for potlucks, holiday trays, and birthday tables where you want something chocolatey that travels well. I usually finish them simply with a pecan half and a little chocolate shaving when I want them to look a bit more dressed up.

Why You’ll Love This Recipe
Sheet cake vibes: You get that classic chocolate sheet cake taste and texture, but in neat little cupcakes that are easy to serve.
Deep chocolate flavor: The cocoa and hot coffee make the chocolate taste fuller and less flat, even though you won’t taste “coffee” in the end.
Pecan in every bite: Chopped toasted pecans in the cupcakes and frosting add crunch and that slightly buttery, nutty flavor I really want with chocolate.
Frosting that’s actually easy: This buttercream is straightforward, spreads smoothly, and also pipes nicely if you want a swirled top.
Good for parties: They hold up well on a dessert table and don’t need plates and forks the way a sheet cake does.
Ingredients You’ll Need
Cupcakes
- All-purpose flour: I use regular flour here. It gives the cupcakes enough structure so they don’t crumble once you add the pecans.
- Unsweetened cocoa powder: Any unsweetened cocoa works. If yours is very dark, the cupcakes will look extra rich and the chocolate flavor will taste a little deeper.
- Granulated sugar: This is the classic sheet-cake sweetness. It also helps keep the crumb soft.
- Baking powder: Gives the cupcakes a little lift so they don’t bake up too dense.
- Baking soda: Works with the buttermilk for a tender crumb. Don’t skip it if you want that soft sheet-cake texture.
- Fine salt: Just enough to keep the chocolate from tasting one-note.
- Eggs: Use large eggs. They help the batter come together and bake up evenly.
- Vegetable oil: This is what keeps these cupcakes moist even the next day. A neutral oil is best.
- Unsalted butter: I like using a little melted butter along with the oil for a more classic cake flavor.
- Vanilla extract: Regular vanilla is perfect here. It rounds out the cocoa and makes the frosting taste less sharp.
- Buttermilk: This gives you that slightly tangy, tender cake crumb. If you don’t keep buttermilk around, the quick milk-and-lemon version works fine.
- Hot brewed coffee or hot water: Coffee makes the chocolate taste stronger. Hot water works too, but I reach for coffee when I can.
- Pecans: Toast them if you have a few extra minutes. The flavor is better and the crunch holds up in the cupcakes.
- Mini chocolate chips: Totally optional, but fun if you want extra little pockets of chocolate. Mini chips stay more evenly scattered than regular-size chips.
Chocolate Pecan Frosting
- Unsalted butter: Softened butter is key so the frosting doesn’t end up lumpy. If it’s too cold, it won’t whip up smooth.
- Powdered sugar: Sift it if yours is very clumpy. It helps the frosting feel less gritty.
- Unsweetened cocoa powder: This is where most of the chocolate flavor comes from in the frosting, so use one you like the taste of.
- Vanilla extract: A little vanilla makes cocoa frosting taste more balanced.
- Heavy cream: This helps the frosting whip up fluffy and easy to spread. You can add a splash more if it feels too stiff.
- Salt: Just a pinch makes a big difference in chocolate frosting, especially with sweet toppings.
- Pecans: I like them chopped fairly small for frosting so it’s easy to spread (or pipe) without tearing the cupcake tops.
Garnish
- Pecan halves: Optional, but they make the cupcakes look finished with basically no effort.
- Chocolate shavings: Also optional. I use them when I’m serving these for a holiday tray or party table.

Recipe Instructions
- Preheat the oven: Heat the oven to 350°F and line 24 muffin cups with paper liners.
- Mix the dry ingredients: Whisk the flour, cocoa powder, baking powder, baking soda, and salt together until evenly combined.
- Mix the wet ingredients: Beat the sugar, eggs, vegetable oil, melted butter, and vanilla until smooth.
- Add the dry ingredients: Mix the dry ingredients in 2 additions, alternating with the buttermilk, mixing just until you don’t see dry streaks.
- Add the coffee: Slowly pour in the hot coffee (or hot water) and mix on low until the batter is smooth and thin.
- Fold in the add-ins: Fold in the chopped pecans and mini chocolate chips if you’re using them.
- Fill the cups: Divide the batter between the liners, filling each about two-thirds full.
- Bake: Bake for about 18 to 20 minutes, until a toothpick comes out with a few moist crumbs.
- Cool: Cool in the pan for 5 minutes, then transfer to a rack and cool completely before frosting.
- Beat the butter: For the frosting, beat the softened butter until creamy.
- Add the sugar and cocoa: Add the powdered sugar, cocoa powder, and pinch of salt, then beat until combined.
- Add the cream: Add the vanilla and heavy cream and beat until fluffy, adding a little more cream if needed for spreading or piping.
- Stir in pecans: Stir in the toasted chopped pecans.
- Frost: Frost the cooled cupcakes, then finish with pecan halves and/or chocolate shavings if you like.

Some of my tips!
This is the part that really makes a difference. If you only read one section, make it this one because this is where I share the little trick that helps the recipe turn out so well.
Recipe Tips & Tricks
Toast the pecans first. You get a deeper, nuttier flavor and they stay crunchier in the cupcakes and frosting. Let them cool before adding them so they don’t melt the chocolate chips or soften the frosting.
Don’t overmix once the flour goes in. Mix just until you stop seeing dry flour. Overmixing can make chocolate cupcakes bake up a little tougher.
Use hot coffee, not warm. The heat helps the cocoa bloom and the batter smooth out. Coffee intensifies the chocolate flavor and won’t make the cupcakes taste like coffee.
Pull them when you see moist crumbs. A totally clean toothpick usually means they’re already a bit overbaked. I take them out when there are a few moist crumbs on the tester.
Adjust frosting thickness with cream. If it feels too stiff to spread, add a teaspoon at a time. If it gets too loose, add a little more powdered sugar and beat again.
Make some touches!
There are plenty of easy ways to serve this depending on the occasion. Keep it simple, or add a few small touches to make it feel a little more special.
Serving Suggestions
- Milk: A cold glass of milk is simple and classic with these. It’s especially good if you go a little heavy on the frosting.
- Coffee or espresso: These are great with coffee, even though the cupcakes don’t taste like it. I like a latte or an iced coffee alongside them.
- Ice cream: Serve a cupcake with a small scoop of vanilla ice cream if you want it to feel more like a plated dessert. A drizzle of chocolate sauce is nice too.
- Fruit: Fresh berries make a nice side dish for something this chocolatey. Strawberries and raspberries are my favorites here.
Save it for later
This section covers how to store leftovers and what parts of the recipe you can prepare ahead of time.
Storage and Make Ahead
Store frosted cupcakes airtight at room temperature for up to 2 days. If your kitchen runs warm, I’d move them to the fridge so the frosting stays in good shape.
Refrigerate for up to 5 days in an airtight container. Bring them back to room temperature before serving so the cake softens and the frosting isn’t too firm.
You can make the cupcakes a day ahead and frost them the next day. I usually keep the cupcakes covered at room temp and keep the frosting covered in the fridge, then let the frosting soften before spreading.
If you want to get farther ahead, you can freeze the unfrosted cupcakes in a freezer-safe container. Thaw at room temperature, then frost right before serving.

A few quick answers
This section covers a few extra details that may help before you head to the recipe card.
Recipe FAQs
Do these taste like coffee?
No. The coffee just makes the chocolate taste stronger and a little darker. If you’re sensitive to coffee flavor, you can use hot water instead.
Can I use a buttermilk substitute?
Yes. Mix 1 cup milk with 1 tablespoon lemon juice, then let it sit for about 5 minutes before using. I’ve done this plenty of times when I’m out of buttermilk.
How do I know when the cupcakes are done?
I use a toothpick in the center of a cupcake in the middle of the pan. You want a few moist crumbs, not wet batter, and not totally clean.
Can I make this as a sheet cake instead of cupcakes?
You can, since the flavor is very “sheet cake,” but the bake time will change depending on the pan size. Keep the oven temperature the same and start checking early, then bake until a toothpick comes out with moist crumbs.
Can I leave out the pecans?
Yes. The cupcakes will still be soft and chocolatey, and the frosting will be smooth without the crunch. If you want a little texture, you can add mini chocolate chips to the batter instead.
You might also like
Before you go, take a look at a few other recipes below the recipe card. They use similar ingredients in a different way and are worth saving too.

Chocolate Pecan Sheet Cupcakes
INGREDIENTS
Cupcakes
- 1.75 cups all purpose flour
- ¾ cup unsweetened cocoa powder
- 2 cups granulated sugar
- 1.5 tsp baking powder
- 1.5 tsp baking soda
- ¾ tsp fine salt
- 2 large eggs
- ½ cup vegetable oil
- ¼ cup unsalted butter melted and cooled
- 2 tsp vanilla extract
- 1 cup buttermilk
- 1 cup hot brewed coffee or hot water
- ¾ cup chopped pecans lightly toasted
- ½ cup mini chocolate chips optional.
Chocolate Pecan Frosting
- ¾ cup unsalted butter softened
- 3 cups powdered sugar
- ½ cup unsweetened cocoa powder
- 1.5 tsp vanilla extract
- ¼ cup heavy cream plus more as needed
- pinch of salt
- ½ cup chopped pecans toasted.
Garnish
- pecan halves optional
- chocolate shavings optional.
INSTRUCTIONS
Bake Cupcakes
- Heat oven to 350 F and line 24 muffin cups
- whisk flour cocoa baking powder baking soda and salt until evenly combined
- beat sugar eggs oil melted butter and vanilla until smooth
- mix in dry ingredients in 2 additions alternating with buttermilk then mix just until no dry streaks
- slowly pour in hot coffee and mix on low until batter is smooth and thin
- fold in chopped pecans and chocolate chips if using
- fill cups about 0.67 full and bake until a toothpick comes out with a few moist crumbs about 18 to 20 minutes
- cool in pan 5 minutes then transfer to a rack to cool completely.
Make Frosting And Finish
- Beat butter until creamy
- add powdered sugar cocoa and salt and beat until combined
- add vanilla and heavy cream and beat until fluffy adding a little more cream if needed for spreading or piping
- stir in toasted pecans
- frost cooled cupcakes and add optional garnishes.
