When was the last time I shared a cupcake recipe? It’s been a while, I’ll admit. I mean, layer cakes are my thing, and it’s what I love to bake and decorate the most. But cupcakes are pretty special, too. They’re so little and cute and perfectly sized, with that generous swirl of frosting on top for a frosting-to-cake ratio that’s much more equal than what you generally get with a slice of cake. Not to mention, cupcakes are quick and fun to decorate, easy to serve, and who doesn’t love a cupcake? A rich, moist chocolate cupcake is always a crowd-pleaser, so it’s about time I share my recipe for perfect high altitude chocolate cupcakes.
It’s not always easy to make cupcakes or cake from scratch that tastes as good as what you can get from a box mix, but trust me that these high altitude chocolate cupcakes are so much better than cake from a box. The batter is quick and easy to mix up with a bowl and whisk, and the recipe is pretty much impossible to mess up.
Looking for more cupcake recipes? You’ll love these chocolate coconut cupcakes, cookies and cream cupcakes, red velvet cupcakes, and the best vanilla cupcakes.

This site contains affiliate links. As an Amazon associate, I earn from qualifying purchases. This means that I may make a small commission if you purchase a product using those links. This in no way affects my opinion of those products and services. All opinions expressed on this site are my own.
Baking Cupcakes at High Altitude
One of the most frequently asked questions about cake recipes is, can this be made into cupcakes? The answer isn’t always straightforward, because some cake batters simply bake better in cake pans than they do in individual cupcakes. It might depend on how thick or thin the batter is, and I’ve had cake batter that bakes beautifully in cake pans, but is a disaster as cupcakes. And for high-altitude bakers, the answer can be even more uncertain. With a cupcake, you want a batter that rises into a gentle dome, not spilling over the edges into a muffin top, and definitely not collapsing with the dreaded sunken center.
So to answer this question about my favorite Chocolate Sour Cream Birthday Cake, I baked it into cupcakes. And just as I thought, the batter baked into the most beautiful, perfect chocolate cupcakes that were just as fantastic as the original cake.
One of the best things about these cupcakes is how moist they are, which means they can be made a day or two in advance, if needed, without fear of them drying out. Whole milk, sour cream and vegetable oil add moisture and richness, and the result is a beautiful cupcake with a tender crumb that stays soft for days.

Ingredients
Cocoa Powder.
A good chocolate cupcake depends on good cocoa powder, and I’ve been through several brands lately, but am currently using Rodelle Dutched Cocoa Powder. It’s not quite as dark as Hershey’s Special Dark (old formula, not the new formula, which is why I stopped using it), but the flavor is rich and deliciously chocolatey.
Flour.
I like to use cake flour in white cakes, but all-purpose flour works great in chocolate cakes. It’s still a very light and fluffy cake with a beautiful crumb.
Sugar.
Granulated sugar sweetens and moistens the cake.
Baking Powder, Baking Soda, & Salt.
I use both baking powder and baking soda to leaven this cake. And of course, every cake needs salt to balance the sweetness and enhance the flavor of the chocolate. I use coarse Kosher salt in all my cooking and baking.
You’ll also note that I include a couple teaspoons of espresso powder in the ingredients for this recipe – it doesn’t make the chocolate cupcakes taste like coffee, but the espresso powder simply enhances the chocolate, making it richer and more flavorful.
Eggs.
Eggs give the cake its structure, and add richness.
Whole Milk + Sour Cream.
A combination of milk and sour cream gives this cake flavor and moisture. Sour cream is just fantastic in cakes.
Vegetable Oil.
Most cake recipes contain either butter or oil. Butter, of course, has a superior flavor, but oil is known for making an incredibly moist and light cake.
Vanilla.
Just about every cake needs vanilla extract for flavor!

Instructions
- Preheat the oven to 350, and line your cupcake/muffin pans with 30 paper liners. (If you only have one pan, you can bake 12 cupcakes at a time, while letting the remainder of the batter rest in the bowl. Without stirring the batter up after resting, gently scoop the batter and re-fill the pan to bake the remaining cupcakes.)
- In a large bowl, sift together the flour, sugar, cocoa powder, baking powder, baking soda, salt and espresso powder.
- In a separate bowl, whisk together the eggs, milk, sour cream, oil and vanilla. Add the wet ingredients to the dry and whisk until well combined, about 1 minute.
- Use an ice cream scoop to evenly portion the batter into the pan, filling the cups about 3/4 full. Bake the cupcakes on the center rack for about 19-20 minutes, until a toothpick comes out clean. Cool several minutes in the pan, then carefully transfer to a wire rack to cool completely before frosting.
Making the Buttercream
You can frost these high altitude chocolate cupcakes with absolutely any flavor of buttercream that you like! I’ve written a comprehensive guide on buttercream in my Perfect American Buttercream post, that has many tips and recipe variations. If you struggle with your buttercream, this post will help, I promise you!
I decided to go with chocolate buttercream today, though. It’s light and fluffy, not too sweet, and simply irresistible. This recipe makes a generous amount of buttercream for piping it onto the cupcakes as shown. But if you like less frosting on your chocolate cupcakes, you can certainly cut the recipe in half.
- In the bowl of your stand mixer fitted with the whisk attachment, beat the butter for 1 minute on medium speed until smooth.
- With the mixer on low, gradually add the powdered sugar, cocoa powder, meringue powder, salt and vanilla. Increase speed to medium-high and whip for 4-5 minutes, scraping the bowl occasionally, until very light and fluffy, adding the milk as needed for desired piping consistency.
- Pipe the buttercream onto the cooled cupcakes and garnish with sprinkles.

Frequently Asked Questions
How long do these cupcakes stay moist?
These cupcakes can be baked 1 day in advance, and stored in an airtight container in the refrigerator, and they will taste moist and fresh. Bring to room temperature before serving. Keep them refrigerated for up to 3 days.
What piping tip did you use?
I used tip 2D. The buttercream recipe yields a generous amount of frosting for piping onto the cupcakes. If you like to use less, you can certainly cut the recipe in half.
Will this recipe work at low altitudes, too?
This is a high altitude recipe, so you will likely need to make a few minor adjustments for low altitude, such as reducing the flour a little and increasing the leavening. This article provides good guidance on specific adjustments.
You Might Also Like
Favorite Products
Did you love today’s recipe? Please rate the recipe and let me know in the comments what you thought! Also, be sure to follow Curly Girl Kitchen on Instagram, and tag me when you try one of my recipes so I can see all your delicious creations!
High Altitude Chocolate Cupcakes with Chocolate Buttercream
All recipes on Curly Girl Kitchen are developed for high altitude at 5,280 feet.
Equipment
- Stand Mixer
Ingredients
Cupcakes
- 2 cups all-purpose flour, spooned and leveled
- 1 ¾ cups granulated sugar
- ¾ cup unsweetened Dutch-processed cocoa powder
- ½ tsp baking powder
- 1 ¼ tsp baking soda
- 1 tsp coarse Kosher salt (if using table salt, use half the amount)
- 2 tsp espresso powder, optional
- 4 large eggs
- 1 cup whole milk
- 1 cup sour cream
- 1 cup vegetable oil
- 2 tsp vanilla extract
Buttercream
- 2 cups unsalted butter, softened to room temperature
- 3 cups powdered sugar
- 1 cup unsweetened Dutch-processed cocoa powder
- 1 tbsp meringue powder, optional
- ¼ tsp coarse Kosher salt (if using table salt, use half the amount)
- 2 tsp vanilla
- 2-4 tbsp milk or cream, if needed
Instructions
Cupcakes
- Preheat the oven to 350, and line your cupcake/muffin pans with 30 paper liners. (If you only have one pan, you can bake 12 cupcakes at a time, while letting the remainder of the batter rest in the bowl. Without stirring the batter up after resting, gently scoop the batter and re-fill the pan to bake the remaining cupcakes.)
- In a large bowl, sift together the flour, sugar, cocoa powder, baking powder, baking soda, salt and espresso powder.
- In a separate bowl, whisk together the eggs, milk, sour cream, oil and vanilla. Add the wet ingredients to the dry and whisk until well combined, about 1 minute.
- Use an ice cream scoop to evenly portion the batter into the pan, filling the cups about 3/4 full. Bake the cupcakes on the center rack for about 19-20 minutes, until a toothpick comes out clean. Cool several minutes in the pan, then carefully transfer to a wire rack to cool completely before frosting.
Buttercream
- In the bowl of your stand mixer fitted with the whisk attachment, beat the butter for 1 minute on medium speed until smooth.
- With the mixer on low, gradually add the powdered sugar, cocoa powder, meringue powder, salt and vanilla. Increase speed to medium-high and whip for 4-5 minutes, scraping the bowl occasionally, until very light and fluffy, adding the milk as needed for desired piping consistency.
- Pipe the buttercream onto the cooled cupcakes and garnish with sprinkles.
Notes
- These cupcakes can be baked 1 day in advance, and stored in an airtight container in the refrigerator, and they will taste moist and fresh. Bring to room temperature before serving.
- The buttercream recipe yields a generous amount of frosting for piping onto the cupcakes. If you like to use less, you can certainly cut the recipe in half.
Hi I live at 6500 feet so I decreased the baking soda to 1/2 teaspoon and the cupcakes turned out perfect!!!!! So moist, perfectly shaped and delicious!
Question… Can I safely cut this recipe in half to make 15 cupcakes? I live at 6100ft. I’ve never baked a cake at this altitude before.
Yes, I often halve this recipe for smaller batches. The recipe should work well at your altitude, but since you’re a thousand feet higher than me, I’d probably reduce the baking soda from 1 1/4 tsp to 1 tsp.
I never comment on recipes or blogs, but this high altitude cupcake recipe was amazing! Same with your pumpkin bread recipe! It’s so nice to not have to make any adjustments for my recipes now 🙂 Thanks for sharing!
I’m so glad to hear that, thank you so much for taking the time to leave a review. 🙂
Where do you live in Colorado? I’m in Aurora about 5800-6000 feet I think.
I’m also in Aurora! According to Google, the altitude here is 5400 feet. 🙂
Hello from Boulder! I don’t know why I didn’t think to specifically search for high altitude recipes until now – I have lived here for 8 years – but I am so stoked I found you, Heather! Looking forward to trying your chocolate cupcakes for my twins’ birthday this weekend.
I’m so glad you found my site! 🙂
Hello! This recipe turned out better than I had hoped (mostly because I don’t bake…). I am in Central AZ at over 5100 ft. I prepaid for cupcakes at a local bakery for my daughter’s baby shower on Sept 5th, but they have had an emergency and are not able to fulfill the order (I will be refunded). So I had to make my own! These turned out perfect! Thank you. Do you think I can keep them in the fridge until I frost or should I wrap individually and freeze until I frost?
Five days is a long time for the cupcakes to sit in the fridge, and they’ll probably get dry. Definitely freeze them until you’re ready to frost them!
I live in Prescott, AZ and our altitude is 5,600 ft. I have had so many misses in creating baked goods in the 6 years I’ve been here. I made these exactly as written, except I had no choice but to use Hershey’s cocoa, and they came out very nicely! They are rich in flavor and are the perfect texture. I piped out the frosting and came up short on the frosting and have 5 bare cupcakes. Next time I won’t pipe them and will make a traditional smooth top. I am extremely happy with this recipe and defintely recommend it!!! Thank you.
Hi,
I’m trying out high altitude cupcakes for my daughter’s graduation party. We live north of Taos about 7800ft. Keep the recipe the same? Add more of something? I’m not a big baker AT ALL, but found your site and want to try!
Angie, you might be able to make the recipe as is, but I’d probably recommend increasing the flour by 1-2 tablespoons, and decreasing the baking soda from 1 1/4 teaspoons to 3/4 teaspoon. Happy baking!
Thank you so much!