• 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 6, 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 cupcake on a plate

    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 for days thanks to oil 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

    • Flour: cake flour for a lighter crumb or all-purpose flour for a classic texture
    • Unsweetened cocoa powder: natural for classic flavor or Dutch-process for a deeper color
    • Baking soda: helps the cupcakes rise (baking powder works if needed)
    • Salt: balances sweetness and boosts chocolate flavor
    • Vegetable oil: keeps cupcakes moist and soft (canola or grapeseed)
    • Granulated sugar: classic sweetness and structure (brown sugar adds extra moisture)
    • Eggs: room temperature for a smooth batter
    • Vanilla extract: rounds out the chocolate flavor
    • Buttermilk: tender crumb and rich chocolate taste (or milk + vinegar/lemon juice)
    ingredients for chocolate cupcakes in a bowl

    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

    Whisk the dry ingredients together in a small bowl: flour, cocoa powder, baking soda, and salt.

    Mix the oil, sugar, eggs, vanilla, and buttermilk in a large bowl until smooth and fully combined.

    wet ingredients mixed for chocolate cupcake batter

    Add the dry ingredients in two to three additions, mixing gently just until the batter is smooth.

    dry ingredients mixed for chocolate cupcake batter

    Fill the cupcake liners halfway using an ice cream scoop or spoon.

    chocolate cupcake batter in a cupcake pan before baking

    Bake in a preheated oven at 350°F (175°C) for 14–15 minutes, until a toothpick inserted into the center comes out clean.

    Check doneness by inserting a toothpick into the center; it should come out clean or with a few moist crumbs.

    Cool slightly in the pan, then transfer the cupcakes to a wire rack to cool completely.

    chocolate cupcakes after baking in cupcake pan

    Frosting options

    This chocolate cupcake base works with many frostings, depending on the texture and finish you want.

    • Cream cheese frosting – Adds a slight tang that balances the chocolate flavor.
    • Chocolate ganache frosting – Firm, smooth, and easy to pipe for a clean bakery-style look.
    • Whipped chocolate ganache – Lighter and softer, perfect for a creamy chocolate topping.
    • Chocolate buttercream frosting – Classic, stable, and ideal for decorations.
    chocolate cupcake with chocolate ganache frosting

    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.

    chocolate cupcake cut in half showing moist crumb

    More Chocolate Cupcake Recipes

    • Chocolate raspberry cupcakes
    • Nutella cupcakes
    • Kinder cupcakes
    • Marble cupcakes

    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

    4.7 from 6 reviews

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

    Description

    Learn how to make moist chocolate cupcakes with a soft crumb and rich chocolate flavor using a simple, reliable base recipe. These cupcakes are easy to make, perfectly chocolatey, and work with any frosting like chocolate ganache, buttercream, or cream cheese frosting. 


    Ingredients

    Chocolate cupcakes

    • 100 g (¾ cup) cake flour
    • 40 g (½ cup) unsweetened cocoa powder
    • ½ tsp baking soda
    • ¼ tsp salt
    • 150 g (¾ cup) granulated sugar
    • 2 large eggs, room temperature
    • 1 tsp vanilla extract
    • 85 ml (⅓ cup) vegetable oil
    • 125 ml (½ cup) buttermilk

    Instructions

    1. Preheat the oven to 350°F (175°C) and line a cupcake pan with baking cups.
    2. Mix the dry ingredients in a bowl: flour, cocoa powder, baking soda, and salt.
    3. Whisk the oil, sugar, eggs, vanilla, and buttermilk in a large bowl until smooth.
    4. Add the dry ingredients in two to three additions, mixing gently until the batter is smooth and fluid.
    5. Fill the cupcake liners halfway with batter.
    6. Bake for 14–15 minutes, until a toothpick inserted in the center comes out clean.
    7. Cool the cupcakes completely before adding any frosting.

    Equipment

    Airtight container

    Buy Now →

    Cupcakes liners

    Buy Now →

    Hand mixer

    Buy Now →
    ice cream scoop

    Ice cream scoop

    Buy Now →

    Muffin pan

    Buy Now →

    Stand mixer

    Buy Now →

    Notes

    Storage: Store unfrosted chocolate cupcakes in an airtight container at room temperature for up to 3 days or freeze for up to 3 months.

    Tips:

    • Use room temperature eggs and buttermilk for a smoother batter.
    • Sift the cocoa powder to avoid lumps.
    • Do not overmix once the dry ingredients are added.
    • Fill liners only halfway to prevent overflow.
    • Remove cupcakes as soon as they are baked to keep them moist.
    • Prep Time: 10 minutes
    • Cook Time: 15 minutes
    • Category: cupcakes, cake, dessert
    • Cuisine: American

    Did you make this recipe?

    Tag @sweetlycakes on Instagram

    This post may contain affiliate links

    More Cupcakes

    • Carrot Cake Cupcakes with Cream Cheese Frosting
    • Cinnamon Cupcakes
    • Pistachio Cupcakes
    • Dubai Chocolate 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

    • Mini Oreo Cheesecakes
    • Oreo Cream Cheese Frosting
    • Ganache Frosting for Cakes and Cupcakes
    • Graham Cracker Crust

    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