How to Make Sunshine Cake – Bright Citrus Cake Recipe
Bake a Sunshine Cake in about 1 hour 15 minutes using a simple batter and a standard 9‑inch (23 cm) round pan. You’ll need basic pantry staples, fresh citrus, and a few kitchen tools. The cake stays moist for several days when stored properly.
Equipment
- 9‑inch (23 cm) round cake pan or two 8‑inch (20 cm) round pans
- Electric mixer or large bowl and whisk
- Measuring cups and spoons
- Kitchen scale (optional but helpful for flour accuracy)
- Sieve for dry ingredients
- Rubber spatula
- Cooling rack
- Oven thermometer (optional for confirming oven temperature)
Ingredients
- 2 ½ cups (315 g) all‑purpose flour
- 1 ½ tsp (6 g) baking powder
- ½ tsp (2 g) baking soda
- ¼ tsp (1 g) salt
- 1 cup (200 g) granulated sugar
- ½ cup (115 g) unsalted butter, softened
- 3 large eggs, at room temperature (use pasteurised eggs if you plan to taste raw batter)
- ½ cup (120 ml) whole milk, warmed to about 110°F (43°C)
- Zest of 2 lemons (about 2 tbsp/30 ml)
- ¼ cup (60 ml) fresh lemon juice
- 1 tbsp (15 ml) vanilla extract
- ¼ cup (60 ml) vegetable oil (helps keep the crumb extra tender)
- Optional: ¼ cup (30 g) finely shredded white chocolate for extra sunshine
Serves 8 · Prep 20 min · Cook 35 min · Total 1 hr 15 min
Instructions
- Preheat the oven to 350°F (177°C). Place the rack in the middle of the oven and let the oven fully heat before inserting the pan.
- Grease the cake pan with a thin layer of butter or oil, then dust with a tablespoon of flour, tapping out the excess. This prevents sticking.
- In a medium bowl, sift together the flour, baking powder, baking soda, and salt. Sifting aerates the flour and removes lumps, which leads to a lighter crumb.
- In a large bowl, cream the softened butter and granulated sugar with an electric mixer on medium speed for 3–4 minutes, until the mixture is pale and fluffy. This incorporates air that helps the cake rise.
- Add the eggs one at a time, beating well after each addition. The batter should look smooth and slightly glossy. If you are using pasteurised eggs, treat them the same way.
- Mix the vanilla extract, lemon zest, and lemon juice into the wet mixture. The zest provides aromatic oils; the juice adds bright acidity.
- With the mixer on low, alternately add the dry flour mixture and the warmed milk, beginning and ending with the dry ingredients. Stir just until incorporated; over‑mixing can develop gluten and make the cake dense.
- Stir in the vegetable oil and, if using, the shredded white chocolate. The oil stays liquid during baking, giving the crumb a moist, tender texture.
- Pour the batter into the prepared pan, smoothing the top with a spatula. Tap the pan lightly on the counter to release any large air bubbles.
- Bake for 30–35 minutes, or until a toothpick inserted into the centre comes out clean and the top is golden‑brown. The interior will have reached at least 160°F (71°C), the USDA FSIS safe minimum for egg‑based dishes.
- Remove the cake from the oven and let it sit in the pan for 10 minutes. Then run a thin knife around the edge, invert onto a cooling rack, and peel off the parchment if used. Cool completely before frosting or serving.
Baking Notes
The bright colour of a Sunshine Cake comes from the combination of lemon zest, juice, and white chocolate (if added). If you prefer a more orange hue, substitute half of the lemon juice with fresh orange juice and add orange zest.
Because the batter contains raw eggs, keep all utensils that touch the batter away from other foods until they have been washed with hot, soapy water. Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid tasting raw batter.
For a fluffier texture, you can separate the eggs, whisk the whites to soft peaks, and fold them into the batter at step 8. This adds extra air without changing the ingredient list.
If your oven runs hot, use an oven thermometer and reduce the temperature by 10–15°F (5–8°C) to avoid a browned top with an undercooked centre.
Flavor Options
Swap the lemon components for other citrus: use lime zest and juice for a tangy twist, or combine orange zest with a splash of almond extract for a nutty‑citrus version. Adding ¼ cup (60 ml) of pineapple juice instead of half the milk gives a tropical sunshine flavor.
For a richer cake, replace the milk with buttermilk and add ½ tsp (2 g) cream of tartar to the dry mix. The acidity reacts with the baking soda, creating extra lift.
To make a vegan version, substitute the butter with equal‑weight coconut oil, use a flax‑egg (1 tbsp ground flaxseed + 3 tbsp water, set 5 min) instead of eggs, and replace milk with almond or oat milk. The cake will be slightly denser but still bright.
Storage
Allow the cake to cool completely, then wrap it tightly in plastic wrap or store it in an airtight container. Refrigerate for up to 4 days; the moisture stays locked in, preserving the soft crumb.
If you need longer storage, freeze the cake un‑frosted. Wrap each layer in a double layer of foil, then place in a freezer bag. It keeps well for about 2 months. Thaw in the refrigerator overnight before frosting.
Common Issues
Dry crumb: This usually means the cake was over‑baked or the flour was measured incorrectly. Use a kitchen scale for accuracy and check the cake at the 30‑minute mark with a toothpick.
Sunken centre: A sudden drop in oven temperature can cause this. Ensure the oven is fully preheated and avoid opening the door during the first 20 minutes of baking.
Flat cake: Insufficient leavening or over‑mixing the batter can prevent rise. Verify that the baking powder and soda are fresh (within 6 months) and mix only until ingredients are just combined.
Sticky pan: Grease and flour the pan thoroughly, and consider lining the bottom with parchment paper. This makes removal easier and preserves the decorative edges.
If the cake sticks after cooling, run a thin, flexible spatula around the edge while the cake is still warm (about 10 minutes after removal). The cake will release more easily.