• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Sweetly Cakes
  • Home
  • Recipe index
  • Cakes
  • Frosting & filling
  • Cupcakes
  • Cake basics
  • Brownies
  • Cookies
  • About
  • Contact
  • Français
menu icon
go to homepage
subscribe
search icon
Homepage link
  • Home
  • Recipe index
  • Cakes
  • Frosting & filling
  • Cupcakes
  • Cake basics
  • Brownies
  • Cookies
  • About
  • Contact
  • Français
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
    • YouTube
  • ×
    Home / Desserts / Cupcakes

    Chocolate Cupcakes

    Updated Jan 22, 2026 · Published Mar 22, 2022 by Fadela

    Chocolate cupcakes with a soft, moist crumb and rich chocolate flavor, made as a reliable base that works with any frosting or filling.

    chocolate cupcakes on a table

    I use this chocolate cupcake base all year long for birthdays, bake sales, and everyday treats because it’s reliable, moist, and easy to customize.

    Tested in my home kitchen and used in many of my cupcake recipes, this simple batter delivers a rich chocolate flavor with a soft crumb and consistent rise.

    Why you'll love this recipe

    • Moist, tender crumb – Stays soft thanks to butter and buttermilk
    • Deep chocolate flavor - Works with natural cocoa or Dutch-process cocoa
    • Perfect base for any topping - Great with buttercream, ganache, cream cheese frosting, or simple glaze

    Ingredients you need

    • Butter: unsalted, softened to room temperature
    • Granulated sugar: for structure and sweetness
    • Eggs: room temperature, for a smooth batter
    • Vanilla & salt: pure vanilla extract and fine salt
    • Cake flour: for a lighter, softer crumb
    • Unsweetened cocoa powder: natural for classic flavor or Dutch-process for a deeper color
    • Baking powder & baking soda: for proper rise and balance
    • Buttermilk: adds moisture and enhances the chocolate flavor (or milk mixed with vinegar or lemon juice)
    ingredients for chocolate cupcakes in bowls

    Tips before you start

    • Use room temperature eggs and buttermilk for a smoother batter and even baking.
    • Sift the cocoa powder to avoid lumps and get a finer crumb.
    • Don’t overmix once the flour is added, mix just until combined.
    • Fill liners about halfway for a nice dome and even rise.
    • Bake until a toothpick comes out with a few moist crumbs, not totally dry.

    How to make chocolate cupcakes

    Cream the butter and sugar, then add the eggs and vanilla and mix until smooth.

    mixing butter sugar eggs and vanilla for chocolate cupcake batter

    Add the sifted dry ingredients alternately with the buttermilk, mixing gently with a spatula.

    chocolate cupcake batter with dry ingredients added

    Divide the chocolate cupcake batter evenly into the lined cupcake pan, filling each liner about three-quarters full.

    unbaked chocolate cupcake batter in lined muffin pan

    Bake at 350°F (180°C) for 18–22 minutes, until the chocolate cupcakes are set and a toothpick inserted in the center comes out with a few moist crumbs.

    baked chocolate cupcakes in a muffin pan

    Best frosting options for chocolate cupcakes

    This chocolate cupcake base pairs well with different frostings, depending on the texture and finish you’re looking for.

    • Cream cheese frosting – Adds a light tang that balances the rich chocolate flavor.
    • Chocolate ganache frosting – Smooth and firm, ideal for a clean, bakery-style finish.
    • Whipped chocolate ganache – Lighter and creamier, perfect for a softer chocolate topping.
    • Chocolate buttercream frosting – Classic and stable, great for piping and decorating.

    Chocolate buttercream frosting is my go-to choice when I want a reliable frosting that holds its shape and works for decorated chocolate cupcakes.

    chocolate cupcakes with chocolate buttercream on a table

    Storage

    Store unfrosted chocolate cupcakes in an airtight container at room temperature for up to 3 days.

    They can also be frozen for up to 3 months, then thawed at room temperature before frosting.

    Recipe variations

    • Mini chocolate cupcakes – Reduce baking time by a few minutes.
    • Chocolate chip cupcakes – Fold chocolate chips into the batter.
    • Espresso chocolate cupcakes – Add a small amount of strong coffee to enhance the chocolate flavor.
    • Dairy-free option – Use plant-based milk with vinegar instead of buttermilk.
    • Gluten-free option – Use a 1:1 gluten-free flour blend.

    If you’re looking for a larger version of this recipe, this chocolate cupcake base also works perfectly as inspiration for my chocolate cake.

    Recipe Questions

    What cocoa powder works best?

    Both natural and Dutch-process cocoa work well. Natural cocoa gives a classic chocolate flavor, while Dutch-process adds a deeper color.

    Can I make these cupcakes ahead of time?

    Yes, bake them a day ahead and store unfrosted in an airtight container.

    Why are my cupcakes dry?

    Overbaking is the most common cause. Remove them as soon as a toothpick comes out with a few moist crumbs.

    Can I use this recipe for layer cakes?

    This batter is designed for cupcakes. For cakes, use a dedicated chocolate cake recipe for best results.

    bitten chocolate cupcake showing soft chocolate crumb

    More Chocolate Cupcake Recipes

    • Chocolate raspberry cupcakes
    • Birthday chocolate cupcakes
    • Nutella cupcakes
    • Kinder cupcakes
    • Chocolate cupcakes with oil

    I hope you’ll love this recipe! If you try this recipe, feel free to leave a comment. It always helps. Happy baking!

    Print
    clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon

    Chocolate Cupcakes


    5 Stars 4 Stars 3 Stars 2 Stars 1 Star

    No reviews

    • Author: Fadela
    • Total Time: 30 minutes
    • Yield: 12 cupcakes
    Print Recipe
    Save Recipe Recipe Saved

    Description

    Soft and moist chocolate cupcakes made with butter for a rich flavor and a tender crumb. A classic bakery-style base that works with many frostings. (Makes 12 - 13 cupcakes)


    Ingredients

    • 115 g (½ cup) unsalted butter, softened
    • 170 g (¾ cup + 2 tbsp) granulated sugar
    • 2 large eggs, room temperature
    • 1 tsp vanilla extract
    • 120 g (1 cup) cake flour
    • 50 g (½ cup) unsweetened cocoa powder
    • ½ tsp baking powder
    • ½ tsp baking soda
    • 1 pinch salt
    • 140 ml (½ cup + 1 tbsp) buttermilk, room temperature

    Instructions

    1. Preheat the oven to 350°F (175°C) and line a cupcake pan with paper liners.
    2. In a large bowl, beat the softened butter and granulated sugar using an electric mixer (hand mixer or stand mixer with the paddle attachment) for about 2–3 minutes, until the mixture is light and creamy.
    3. Add the eggs one at a time, beating well after each addition, then mix in the vanilla extract until smooth and fully combined.
    4. In a separate bowl, sift together the cake flour, cocoa powder, baking powder, baking soda, and salt.
    5. Using a spatula, add the dry ingredients alternately with the buttermilk, mixing gently between each addition just until the batter is smooth. Do not overmix.
    6. Divide the batter evenly into the cupcake liners, filling each about three-quarters full.
    7. Bake for 18–22 minutes, until the cupcakes are set and a toothpick inserted in the center comes out with a few moist crumbs.
    8. Remove from the oven and let the cupcakes cool in the pan for a few minutes, then transfer to a wire rack to cool completely before frosting.

    Equipment

    Stand mixer

    Buy Now →
    Image of Muffins tin

    Muffins tin

    Buy Now →

    Hand mixer

    Buy Now →

    Airtight container

    Buy Now →

    Notes

    Storage: Store unfrosted cupcakes in an airtight container at room temperature for up to 2 days, or refrigerate frosted cupcakes for 3–4 days.

    Tips:

    • Use room-temperature ingredients for a smooth batter.
    • Sift the cocoa powder to avoid lumps.
    • Do not overmix once the dry ingredients are added.
    • Fill liners about three-quarters full for even cupcakes.
    • Prep Time: 10 minutes
    • Cook Time: 20 minutes
    • Category: cupcakes
    • Method: baking
    • Cuisine: American

    Did you make this recipe?

    Tag @sweetlycakes on Instagram

    This post may contain affiliate links

    More Cupcakes

    • Red Velvet Cupcakes
    • Chocolate Cupcakes With Oil
    • Birthday Chocolate Cupcakes
    • Birthday Cupcakes

    Reader Interactions

    Comments

    1. eva

      January 30, 2023 at 3:45 am

      They looked and tasted good although it was more of a muffin texture.

      Reply
    2. Wattoote

      January 21, 2024 at 6:48 pm

      simply beautiful and so good

      Reply
    3. Lindsay

      January 21, 2024 at 6:49 pm

      A real treat! Cupcakes made with chantilly-mascarpone cream. Thanks a million!

      Reply
    4. Cathy MARQUANT

      January 21, 2024 at 6:50 pm

      Superb recipe, I validate.
      The cupcakes are super moist even after 3 days.
      Thanks

      Reply
    5. Aisha

      January 21, 2024 at 6:51 pm

      Made with a raspberry compote filling and cream cheese frosting, they were simply fabulous!

      Reply
    6. christianne Huynen

      January 21, 2024 at 6:51 pm

      Hello, I can't find the quantities of the ingredients. What should I do? Thank you

      Reply
    7. Barrila

      January 21, 2024 at 6:52 pm

      just perfect.
      The texture is like a cloud and the taste is wonderful.

      Reply

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

    Primary Sidebar

    Hello and welcome to my blog! Fully addicted to cakes, blogging, and beautiful pictures! I share with you on this blog some tips and my favorite baking recipes which I hope will help you to enjoy your loved ones!

    More about me →

     Popular Posts

    • Fudgy Brownies
    • Caramel Whipped Cream Frosting
    • Vanilla Cake
    • Soft Sugar Cookies

    Follow us

    Search on the blog

    Footer

    ↑ back to top

    About

    • Privacy Policy
    • About me
    • Recipes

    Newsletter

    • Sign Up! for emails and updates

    Contact

    • Contact
    • Work with me
    • Français

    As an Amazon Associate, I earn from qualifying purchases.

    Copyright © 2023 SWEETLYCAKES