Dinners

Online Cake Recipes from Scratch

Updated · By Patriot Kitchen

Total timeprep + cook
50 min
Prep
20 min
hands-on
Cook
30 min
oven or stovetop
Serves
8
as written

Jump to recipe Save

Rich, moist cakes made entirely from scratch offer a rewarding baking experience, delivering a superior flavor and texture compared to store-bought alternatives. These recipes focus on fundamental techniques, allowing you to master the art of cake baking at home, perfect for birthdays, celebrations, or simply indulging in a homemade treat. Following these steps will yield a beautifully textured cake with a delicate crumb and a deeply satisfying flavor. This recipe provides a solid foundation for understanding cake baking principles, adaptable to countless flavor combinations and decorative styles.

Ingredients

  • 2 cups (450g) all-purpose flour
  • 2 teaspoons baking powder
  • 1/2 teaspoon baking soda
  • 1/2 teaspoon salt
  • 1 cup (240ml) whole milk
  • 1/2 cup (120ml) vegetable oil
  • 2 large eggs
  • 2 teaspoons vanilla extract
  • 1 cup (200g) granulated sugar
  • 1/2 cup (115g) unsweetened cocoa powder (for chocolate cake)
  • 1/2 cup (115g) sour cream (for added moisture)

Instructions

  1. Preheat oven to 350°F (175°C). Grease and flour a 9-inch round cake pan. Alternatively, line the bottom with parchment paper for easier removal. Using a non-stick spray with a silicone coating is also a good option.
  2. In a large bowl, whisk together the flour, baking powder, baking soda, and salt. Whisking incorporates air and ensures even distribution of the leavening agents.
  3. In a separate bowl, whisk together the milk, oil, eggs, and vanilla extract. Ensure the eggs are fully incorporated – they should be pale and slightly thickened.
  4. Gradually add the wet ingredients to the dry ingredients, mixing until just combined. Do not overmix. Overmixing develops gluten, resulting in a tough cake. Use a spatula to gently fold the mixture, scraping down the sides of the bowl frequently.
  5. If making chocolate cake, gently fold in the cocoa powder until evenly distributed. Cocoa powder can clump, so folding is crucial for uniform color and flavor.
  6. Pour the batter into the prepared cake pan and spread evenly. A rubber spatula helps achieve an even layer.
  7. Bake for 30-35 minutes, or until a toothpick inserted into the center comes out clean. Baking times vary depending on oven performance. Start checking at 30 minutes and adjust accordingly.
  8. Let the cake cool in the pan for 10 minutes before inverting it onto a wire rack to cool completely. Cooling in the pan prevents the cake from breaking.

Frosting (Optional)

A simple buttercream frosting complements this cake beautifully. Combine 1/2 cup (115g) softened unsalted butter with 3-4 cups (375-500g) powdered sugar, 1/4 cup (60ml) milk, and 1 teaspoon vanilla extract. Beat until smooth and fluffy. Adjust the amount of milk to achieve your desired consistency. Room temperature butter is essential for a smooth frosting.

Serving Suggestions

Slice and serve this cake with fresh berries, whipped cream, or a scoop of vanilla ice cream. It’s a delightful dessert for birthdays, afternoon tea, or any special occasion. Pair it with a cup of coffee or tea for a classic combination. Consider a drizzle of melted dark chocolate for added richness.

Storage

Store the cooled cake in an airtight container at room temperature for up to 3 days. For longer storage, refrigerate for up to 5 days. You can also freeze the cake (unfrosted) for up to 3 months. Thaw completely before frosting. Wrap the cake tightly in plastic wrap and then in aluminum foil for freezer protection. Freezing preserves the cake’s texture and flavor.

Scaling

Batch Size Flour (cups) Sugar (cups) Eggs
Half Batch 1 cup (225g) 1/2 cup (100g) 1 egg
Double Batch 4 cups (900g) 2 cups (400g) 4 eggs

Variations

  • Lemon Cake: Add the zest of 2 lemons and 1/4 cup (60ml) lemon juice to the wet ingredients.
  • Spice Cake: Add 1 teaspoon cinnamon, 1/2 teaspoon nutmeg, and 1/4 teaspoon cloves to the dry ingredients.
  • Chocolate Chip Cake: Fold in 1/2 cup (85g) chocolate chips into the batter before baking.
  • Red Velvet Cake: Substitute 1 tablespoon of cocoa powder with 2 tablespoons of red food coloring.

Cake Texture and Troubleshooting

A tender cake relies on a balance of ingredients and proper technique. Overmixing develops gluten, leading to a tough texture. Underbaking results in a gummy center. Using cold ingredients can slow down gluten development, creating a more tender crumb. For a lighter cake, separate the eggs, whisking the whites to stiff peaks and folding them into the batter at the end. A slightly sunken center is normal and can be rectified by covering the cake with frosting or a warm sauce.

Checking Doneness – Beyond the Toothpick

While a toothpick test is a reliable indicator, it’s not the only method. Gently press the center of the cake with your finger. A fully baked cake will spring back to the touch. Also, observe the edges of the cake. They should be lightly golden brown, while the center should be set but still slightly moist. A slight wobble is acceptable; it will firm up as it cools.

Ingredient Quality and Impact

The quality of your ingredients significantly impacts the final product. Use fresh baking powder and baking soda – their potency diminishes over time. High-quality vanilla extract provides a richer flavor than imitation vanilla. Using cake flour (lower in protein) results in a more tender crumb compared to all-purpose flour. Milk fat content also influences the cake’s richness and moisture. Whole milk provides more fat than skim milk.

Cooling and Crumb Formation

Allowing the cake to cool completely before frosting is crucial. Frosting a warm cake will cause it to melt and slide off. The initial cooling period allows the cake to set and the crumb to stabilize. The first few minutes of cooling are particularly important for crumb formation – the cake will shrink slightly, creating a more defined crumb structure. Don’t rush this step!

Questions People Ask

  1. Can I use melted butter instead of oil? Yes, but the cake will be slightly denser.
  2. Can I add fruit to the batter? Absolutely! Berries, chopped apples, or peaches work well.
  3. How do I prevent the cake from drying out? Use a generous amount of oil and milk, and wrap it tightly after cooling.
  4. Can I make this cake gluten-free? Yes, use a gluten-free all-purpose flour blend.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).