01 -
Preheat the oven to 350°F (175°C).
02 -
In a medium bowl, whisk together the flour, cocoa powder, baking powder, baking soda, cinnamon, nutmeg, and salt until evenly mixed.
03 -
In a large bowl, beat together the sugar and eggs until the mixture is light and fluffy.
04 -
Mix in the vegetable oil and vanilla extract until fully incorporated.
05 -
Gradually add the dry ingredients and pumpkin puree to the wet mixture, folding gently until just combined to avoid overmixing.
06 -
Line a muffin tin with cupcake liners and fill each liner approximately two-thirds full with the batter.
07 -
Bake in the preheated oven for 18 to 20 minutes, or until a toothpick inserted into the center comes out clean. Remove and cool before frosting.