Use one balanced base batter

One tested vanilla batter divided into two portions gives more consistent layers than making two unrelated recipes with different fat and raising-agent ratios.
Ingredients for twelve cupcakes

Use 180 g plain flour, 150 g sugar, 120 g butter, two eggs, 120 ml milk, baking powder, vanilla and 20 g cocoa plus a little extra milk.
Divide and flavour accurately

Mix the vanilla batter only until smooth, weigh it into two equal portions, then fold cocoa and the extra milk into one portion.
Fill the cases without muddying colours

Spoon vanilla and chocolate batter into twelve cases in alternating halves or layers. Fill each case no more than two-thirds full.
Bake the centres evenly

Bake at 180°C, or 160°C fan, for about 18 to 22 minutes until the centres spring back and a skewer has no wet batter.
Cool before decorating

Cool on a rack before adding buttercream or ganache. Declare milk, egg, gluten and possible soya, and avoid leaving perishable icing warm.
Frequently asked questions
Why was the source rewritten?
Unsafe, unsupported or technically unreliable instructions 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, hygiene, process and packaging.
Can quantities be changed freely?
Changes to water, fat, sugar, alcohol or acid can alter texture, safety and storage.
Are nutrition or health claims automatic?
No. They require the complete formulation, a defined portion and applicable evidence.
What should be recorded during testing?
Record exact weights, temperatures, times, yield, storage and the result of each controlled trial.
