Use thick unsweetened pumpkin purée

Pumpkin adds moisture, but watery purée makes cakes heavy. Use plain cooked pumpkin that has been drained and blended, not sweetened pumpkin pie filling.
Ingredients for twelve cupcakes

Use 150 g plain flour, 35 g cocoa, 140 g sugar, two eggs, 150 g pumpkin purée, 80 ml oil, one teaspoon baking powder, half a teaspoon bicarbonate of soda, cinnamon and a pinch of salt.
Mix without overworking the batter

Heat the oven to 180°C, or 160°C fan, and line a 12-hole tin. Whisk eggs, sugar, oil and pumpkin, then fold in sifted dry ingredients only until combined.
Bake until the centres are cooked

Divide evenly and bake for about 18 to 22 minutes. A skewer should show moist crumbs rather than raw batter. Cool briefly in the tin, then transfer to a rack.
Cool before decorating

Decorate only when completely cold. A cocoa buttercream or simple chocolate ganache is more stable than an uncooked cream filling at a busy party.
Choose decorations that are safe

Avoid hard sweets for young children and keep non-edible toppers obvious. Check food colours and decorations for allergies and suitability.
Store for the actual topping

Cupcakes contain egg and gluten, plus milk or soya depending on chocolate and frosting. Refrigerate when the topping requires it and use a tested shelf life.
Frequently asked questions
Why was the source rewritten?
Unsafe, unsupported or technically unreliable claims were corrected while preserving the useful subject.
How should allergens be handled?
Check every current pack, prevent cross-contact and keep accurate ingredient information.
Can storage time be copied from another recipe?
No. Validate it for the actual ingredients, process, hygiene and packaging.
Are nutrition claims automatic?
No. They require the complete formulation, a defined portion and applicable evidence.
Can quantities be changed freely?
Changes to water, fat, sugar or protein can alter texture, safety and setting.
Should manufacturer guidance be followed?
Yes, especially for chocolate tempering, protein powders and specialist ingredients.
