If you're looking for a basic cake recipe for beginners, look no further! In this post, you'll learn the only cake recipe you'll ever need and simple ways to adapt it to whatever flavor your heart desires. Be sure to scroll all the way to the bottom for tips and tricks to help you tackle common cake problems like a pro!
For all the new bakers out there overwhelmed by the almost infinite number of cake recipes and variations, I'm going to let you in on a little secret: You only need ONE cake recipe.
That's it.
Just one.
Seriously, just ONE, solid cake recipe is all you need to make almost any flavor your little heart desires.
And you want to know another secret? Today I'm sharing my go-to, (anything but) basic cake recipe and how to adapt it.
So, why a basic cake recipe?
The idea behind this basic cake recipe is to give you a framework you can use to create your own, unique variations.
Although we start with a classic vanilla cake, the four variations we go through (carrot, chocolate, lemon poppy seed and strawberry) should give you a sense of how to adapt your recipe - whether you're adding extracts, fresh fruit, fruit juices, dry ingredients (like baking cocoa) or something else.
We'll also talk about balancing your dry ingredients, wet ingredients and fats so no matter how you switch things up, you'll still get that perfect, fluffy cake texture.
How to make this recipe
First, combine your eggs and sugar in a bowl.
Whip the eggs and sugar until light and fluffy (about 2-3 minutes). Personally, I like to use a stand mixer to do this as it allows me to jump to the next step while the eggs/sugar are being whipped, but a handheld mixer works just fine, too.
Second, whisk together the remaining wet ingredients.
In a separate bowl, whisk together the milk, oil, vanilla extract and sour cream until the mixture is lump free. No matter how you may vary the ingredients later on, you'll always want to whisk together all the wet ingredients (aside from the eggs) during this step.
Vanilla bean variation: If you'd like to make this into a vanilla bean cake, you can add the seeds from one vanilla bean and reduce the vanilla extract by half during this step.
Third, stir together the dry ingredients.
In (yet another) bowl, stir together the dry ingredients (flour, baking powder, baking soda and salt). As in the previous step, you'll always want to stir together all the dry ingredients, no matter how you may vary the recipe.
Fourth, combine all the ingredients.
Now that the eggs and sugar have been whipped and the dry and wet ingredients combined (separately), it's time to put it all together.
Alternating between dry and wet ingredients, add about half of the dry ingredients to the egg/sugar mixture. Mix on low (or by hand) until just combined.
Add all of the wet ingredients and mix on low until just combined.
Add the remaining dry ingredients and mix on low until just combined.
Pro tip: Over mixing your batter can result in a cake that collapses after baking. To avoid this, mix your batter on low only and until the ingredients are just combined.
Finally, bake your cake.
Bake your cakes in greased and parchment paper lined cake pans or lined cupcake pans at 350F. For cupcakes, bake for approximately 16-18 minutes and for three layers of 6" cakes, bake for approximately 30-35 minutes.
Now, you may be wondering, "Why use oil instead of butter?"
Unpopular opinion: Cakes made with oil are better than ones made with butter.
But wait! Before you click away in a butter-filled rage, hear me out.
In general, cakes made with oil tend to be loftier, have a more even crumb and tend to take longer to go stale than their butter-filled counterparts.
So why do so many bakers prefer butter? In a word: Flavor. Butter just tastes better in baked goods than oil does. HOWEVER, if your cake has spices, fruits or other prominent flavors, the flavor difference between the oil and butter is all but negligible.
And because this recipe and each one of its variations already has a robust set of flavors, I prefer the fluffier, finer crumb that comes with using oil in place of butter.
Can I substitute butter for the oil?
Yes, but it will change the texture of your cake. If you'd like to use butter instead, simply substitute it for the oil at a one to one ratio.
Variations
Chocolate Cake
For this variation, add an extra ⅓ cup granulated sugar during step one (this will counteract the bitterness of the chocolate).
During step two, combine the milk and 2 ounces of semi-sweet chocolate chips and microwave for 50 seconds, or until you can stir the mixture smooth. The less you can warm the milk/chocolate, the better. Add the remaining wet ingredients but omit the vanilla extract and sour cream (the sour cream has approximately the same amount of fat as the chocolate, and we don't want the cake to get too dense).
In step three, replace ¾ cup of flour with ¾ cup baking cocoa. Continue the rest of the recipe as instructed above.
A note about red velvet: Red velvet cakes are essentially a vanilla cake with a little chocolate and red food coloring. To make this cake as a red velvet cake, simply follow all the instructions and measurements for the basic cake, but substitute 2 tablespoons of flour for 2 tablespoons of baking cocoa and add a few drops of red food coloring during step four.
Strawberry Cake
For this variation, we're going to start with an extra step. Before doing anything else, puree 1 pound of strawberries, and combine them with ⅓ cup sugar in a medium saucepan. Cook the strawberries, stirring occasionally, until all of liquid has cooked out (the consistency will resemble a really thick jam) and you're left with about ⅔ cup puree. Allow to cool to room temperature before proceeding with the next steps.
During step one, reduce the amount of sugar by ⅓ cup (we already added it straight to the strawberries).
In step two, add the strawberry puree to the wet ingredients along with 1 teaspoon of strawberry emulsion (This is like an extract but even more potent and is available in most craft/hobby stores) in place of the vanilla.
During step four, add a drop of pink food coloring if you want an extra burst of pink color.
A note on other fruit flavors and canned purees: The above process works for most kinds of cakes flavored with fresh berries. Similarly, you could use the same amount of a canned puree, but you'd want to reduce the amount of milk to compensate for the added liquid in the puree (I recommend reducing the milk to ⅔ cup).
Carrot Cake
Before doing anything else, grate/shred ½ pound of carrots ( about 1-2 carrots, depending on size).
During step one, replace ⅔ cup granulated sugar with brown sugar (this will give you equal parts granulated and brown sugar).
In step two, omit the sour cream (the shredded carrots are going to add a lot of weight and moisture to the cake, so you won't need the sour cream) and reduce the vanilla to 1 teaspoon.
During step three, add 1 teaspoon cinnamon, ¼ teaspoon ginger and ¼ teaspoon cloves.
Lemon poppy seed
Begin by grating 1 heaping tablespoon of lemon zest and juicing two lemons for ⅓ cup fresh squeezed lemon juice.
In step two, reduce the vanilla extract to 1 teaspoon, the milk by ⅓ cup, and add the lemon juice and zest to the wet ingredient mixture.
During step three, add 1 tablespoon of poppy seeds.
A note about making cakes with fruit juices: You can add any sort of fruit juice to this recipe, and can adjust the amount of fruit juice to suit your tastes. Just remember to adjust the amount of milk accordingly, and if you reduce the amount of milk you add by a significant amount, you should up the amount of sour cream by a tablespoon or two to compensate for the change in fats.
Flavoring a Cake With Extracts
Changing up your extracts can make for some really fun cake flavors. For the most part, you can substitute the vanilla extract in this basic cake recipe for any one of a number of extracts.
That said, some extracts, like peppermint, are naturally more potent. For these flavors, I'd recommend adding just 1 teaspoon for flavoring. The same would be true for emulsions, which are a more potent form of flavoring.
Fun fact: A funfetti cake is equal parts vanilla and almond extract. Simply add the flavoring during step two and fold the sprinkles in right before filling your pans with batter.
Coffee and Espresso Flavored Cakes
If you want to add a coffee flavor to your cakes, there are two ways to do it: Add strongly brewed coffee in place of part of the milk, or add a few teaspoons to a tablespoon (depending on desired strength) of espresso powder to step two (adding the espresso powder to the wet ingredients will give it a change to dissolve and will keep it from ending up as clumps in your cake).
Frequently asked questions
Yes! This recipe will make 24 cupcakes or three 6" layers of cake. You can scale it up or down as you need, but just remember this may effect bake times.
Some cakes will naturally be denser because of the ingredients they contain. However, this recipe and its variations should produce a light, fluffy cake. If you still end up with a dense cake, over-mixing may be to blame.
Once you add the flour, you'll want to be sure to mix it on low until just combined. Mixing the batter too much causes the flour's gluten to become overdeveloped, which can result in a cake that sinks after baking, making it denser.
Like the dense cake scenario above, some cakes can be naturally drier because of the ingredients they contain. Again, this recipe should produce a light, fluffy cake that's moist but not in a dense sort of way. If your cake is dry, the most likely culprit is over-baking.
For future reference, you can prevent over-baking by testing your cake for doneness. To see if your cake is done, you can use a cake tester (or toothpick) inserted in the center of the cake (it should come out with cake crumbs but no liquid batter) or gently press the surface to see if it springs back.
If the cake is already over-baked and you're hoping to revive it, you can cut away any obviously dark/overly browned parts and brush a simple syrup over the cake layers to add some moisture. The simple syrup should be added right before stacking and frosting your cake.
More often than not, a sunken center happens when a cake is under-baked (the outer edges of the cake have baked through but not the center). If it's not too late to finish baking it, try that. Otherwise, it's safest to simply toss it out.
If the cake is fully baked, another common culprit is too much leavening. This can come in the form of too much of a leavening agent (like baking powder or baking soda) or beating to much air into the batter.
Finally, opening your oven door too often, closing it too quickly or even putting your cake in a drafty location can also cause it to fall in the middle.
The easiest solution: Level the cake with a large bread knife.
The best way to keep a cake moist is to stop all of the moisture from evaporating in the first place. To do this, I wrap my cakes in plastic wrap and stick them in the freezer or refrigerator as soon as the pan is cool enough to handle (about 5-10 minutes after it comes out of the oven).
Doing this locks in all of the moisture that would otherwise evaporate as the cakes cool on your counter.
Another way to moisten your cakes, should they end up on the dry side, is to brush them with a simple syrup right before frosting.
Yes! If you've accidentally over-baked your cake, simply cut away the dark/over-browned parts and brush the cake with a simple syrup. This will help add back some of the moisture that got baked out. The simple syrup should be added right before frosting your cake.
Did you make this recipe? I’d love to hear how it went in the comments below. Better still, snap a photo and tag it on Instagram with #thesimplesweetlife. I love seeing your creations!
PrintRecipe
Anything But Basic Cake
This (anything but) basic cake recipe is the perfect recipe for beginners and seasoned bakers alike. In this post you'll learn how to take this simple recipe and create almost any cake flavor your heart desires.
- Prep Time: 10 minutes
- Cook Time: 35 minutes
- Total Time: 45 minutes
- Yield: One 6" Cake - 16 slices OR 24 cupcakes 1x
- Category: Dessert
- Cuisine: American
Ingredients
- 3 eggs
- 1 ⅓ cup granulated sugar
- ¾ cup vegetable oil
- 1 cup milk
- ⅓ cup sour cream
- 1 tbsp vanilla extract
- 2 cups all purpose flour
- 1 ½ tsp baking powder
- ½ tsp baking soda
- ½ tsp salt
Instructions
- Whip the eggs and sugar until light and fluffy (about 2-3 minutes).
- In a bowl, whisk together the wet ingredients (oil, milk, sour cream, vanilla).
- In another bowl, stir together the dry ingredients (flour, baking powder, baking soda, salt).
- Add half of the dry ingredients to the egg/sugar mixture and mix on low until just incorporated.
- Add the wet ingredients, again mixing on low until just incorporated.
- Add the remaining dry ingredients, mixing until just combined.
- Pour the batter into prepared cake pans or cupcake pans.
- Bake at 350F for 16-18 minutes for cupcakes or 30-35 minutes for three 6" cake pans.
Notes
Chocolate Cake
For this variation, add an extra ⅓ cup granulated sugar during step one (this will counteract the bitterness of the chocolate).
During step two, combine the milk and 2 ounces of semi-sweet chocolate chips and microwave for 50 seconds, or until you can stir the mixture smooth. Add the remaining wet ingredients but omit the vanilla extract and sour cream (the sour cream has approximately the same amount of fat as the chocolate, and we don't want the cake to get too dense).
In step three, replace ¾ cup of flour with ¾ baking cocoa. Continue the rest of the recipe as instructed above.
A note about red velvet: Red velvet cakes are essentially a vanilla cake with a little chocolate and red food coloring. To make this cake as a red velvet cake, simply follow all the instructions and measurements for the vanilla cake, but substitute 2 tablespoons of flour for 2 tablespoons of baking cocoa and add a drop of red food coloring during step four.
Strawberry Cake
For this variation, we're going to start with an extra step. Before doing anything else, puree 1 pound of strawberries, and combine them with ⅓ cup sugar in a medium saucepan. Cook the strawberries, stirring occasionally, until all of liquid has cooked out and you're left with about ⅔ cup puree. Allow to cool to room temperature before proceeding with the next steps.
During step one, reduce the amount of sugar by ⅓ cup (since we already added it to the strawberries).
In step two, add the strawberry puree to the wet ingredients along with 1 teaspoon of strawberry emulsion in place of the vanilla.
During step four, add a drop of pink food coloring if you want an extra burst of pink color.
A note on other fruit flavors and canned purees: The above process would work for most kinds of cakes flavored with fresh berries. Similarly, you could use the same amount of a canned puree, but you'd want to reduce the amount of milk to compensate for the added liquid in the puree (reduce milk to ⅔ cup).
Carrot Cake
Before doing anything else, grate/shred ½ pound of carrots (1-2 carrots depending on size).
During step one, replace ⅔ cup granulated sugar with brown sugar (this will give you equal parts granulated and brown sugar).
In step two, omit the sour cream (the shredded carrots are going to add a lot of weight and moisture to the cake, so you won't need the sour cream) and reduce the vanilla to 1 teaspoon.
During step three, add 1 teaspoon cinnamon, ¼ teaspoon ginger and ¼ teaspoon cloves.
Lemon poppy seed
Begin by grating 1 heaping tablespoon of lemon zest and juicing two lemons for ⅓ cup fresh squeezed lemon juice.
In step two, reduce the vanilla extract to 1 teaspoon, the milk by ⅓ cup, and add the lemon juice and zest to the wet ingredient mixture.
During step three, add 1 tablespoon of poppy seeds.
A note about making cakes with fruit juices: You can add any sort of fruit juice to this recipe, and can adjust the amount of fruit juice to suit your tastes. Just remember to adjust the amount of milk accordingly, and if you reduce the amount of milk you add by a significant amount, you should up the amount of sour cream by a tablespoon or two to compensate for the change in fat.
Flavoring a Cake With Extracts
Changing up your extracts can make for some really fun cake flavors. For the most part, you can substitute the vanilla extract in this basic cake recipe for any one of a number of extracts.
That said, some extracts, like peppermint, are naturally more potent. For these flavors, I'd recommend adding just 1 teaspoon for flavoring. The same would be true for emulsions, which are a more potent form of flavoring.
Fun fact: A funfetti cake is equal parts vanilla and almond extract. Simply add the flavoring during step two and fold the sprinkles in right before filling your pans with batter.
Coffee and Espresso Flavored Cakes
If you want to add a coffee flavor to your cakes, there are two ways to do it: Add strongly brewed coffee in place of part of the milk, or add a few teaspoons to tablespoons (depending on desired strength) of espresso powder to step two (adding the espresso powder to the wet ingredients will give it a change to dissolve and will keep it from ending up as clumps in your cake).
Nutrition
- Serving Size: 1 cupcake
- Calories: 160
- Sugar: 11.7g
- Sodium: 42mg
- Fat: 8.3g
- Saturated Fat: 2.1g
- Carbohydrates: 19.9g
- Fiber: .3g
- Protein: 2.2g
- Cholesterol: 23mg
If you liked this recipe, you might also like...
Paula Montenegro says
Such a wonderful and comprehensive cake post! Love all the variations and the way it's explained. Thanks for sharing!
Veena Azmanov says
Thanks. Superb and very informative. Love all your tips and instructions. All cakes amazing.
Amanda says
I'm totally Team Oil Cake! My biggest complaint about some cakes is they're too dry, but that's never the case with oil cakes. Can't wait to get creative with this recipe!
Pam Greer says
I absolutely love this!! The only cake recipe you need! And, I agree, I love the texture of cakes made with oil!
Kelly Anthony says
This is the best and simplest way I have seen multiple cake recipes in one place. I have always struggled with making cakes but with your tips and tricks, it shouldn't be a problem anymore!
Sue says
There's a whole lot of wonderful going on here! What a great idea... simplify things and getting good at it while having some variety!! The detailed tips, cakes and photographs are amazing. I see several I want to try. Thank you so much for doing the science here for the rest of us.
Paula says
Loved this post, Claire!! So complete, so many variations, for everyone's tastes.I think this would be perfect for any birthday party 🙂
Thank you so much!!
Danielle says
I love it! Having to make only ONE cake recipe makes it really easy to decide next time you need something sweet and delicious 🙂 Great tips on the density - super helpful.
Candice says
This is fantastic! I made the chocolate version, and it was just wonderful. And I love your reasoning to use oil - the negligible flavor of butter is definitely worth switching out for consistency of the oil.
Aline says
Oh wow!! Thanks for all the great info on this post - so comprehensive!! Definitely one to refer to again and again!! Thank you!!
Anina says
Thank you very much Claire.
I am new to the baking game and still take in every piece of information I can lay may hands on and loved how you explain all the steps and reasons for changes in detail.
I dream of decorating cakes like a pro one day.
Thank you very much
Shamyla says
This is the best cake baking post! I'm an avid baker but my husband complains that my cakes have been dense lately! I'm working with a new oven and new ingredients so I'm doing trial and error. So far its just error! I'm so ready to try this recipe and the variations. Will report back soon. Thank you for such helpful tips!
Minnie says
This is such useful info. Thank you for sharing. Is the single portion for 2 or 3 six inch cakes?
Sue says
Hi Claire,
I wanted to make a coconut flavored cake can I use coconut milk instead of the milk in the recipe. I do not have coconut flavor. Any tips.
Claire | The Simple, Sweet Life says
Hi Sue! That's a great question! While I haven't tried that with this recipe specifically, a 1:1 substitution of coconut milk for milk works for most cake/cupcake recipes.
Melanie says
WORST RECIPE I’VE EVER MADE. I have made dozens of cakes over the years and never have I had a cake stay liquid in the middle and cook on the outside!
Nina says
Do you have a good substitute for sour cream in this cake? I was looking for a recipe based in ingredients that I usually have at home and I was wondering if I could just increase the milk a bit to add some of that moisture back?
Claire says
Hi Nina! Yogurt works well as a sour cream substitute, but adding more milk would likely result in a batter that's too runny, which could cause problems during baking.
Laura says
I made the strawberry variation for my daughter's 6th birthday. I was a bit hesitant when I tasted the scraps but it got loads of praise on the day from adults and kids alike, and I had to agree! Lovely, moist, true strawberry taste. I reduced the sugar a bit and used coconut oil instead of vegetable oil, which gave the taste a lovely coconut layer. If you want to use coconut oil, add it first and mix it with each wet ingredient individually (adding the milk last - and mix fast when you do that), otherwise it will harden. Will definitely make it again. Thanks for the recipe!