This easy homemade cake mix from scratch takes just 10 minutes to make with 5 simple ingredients. Use it to bake up a moist, fluffy yellow cake (or cupcakes) with boxed mix convenience but real homemade flavor, and none of the toxic fillers and preservatives contained in store-bought baking mixes.
This is a recipe for homemade yellow cake mix; you can go straight to my homemade yellow cake recipe if you’d rather skip the mix and just make the cake instead. I always used to keep various box mixes on hand for when we wanted an easy treat, or for the kids to make something simple. Anymore, it’s just as easy (and healthier) to keep my own homemade cake mix on hand, as well as homemade pancake mix and homemade biscuit mix.

One full batch of this mix makes enough cake batter to fill a 13×9 pan, or about 2 dozen regular-size cupcakes. To make a cake from this cake mix recipe, you’ll need 1/2 cup milk (or buttermilk), 1/2 cup vegetable oil, 2 eggs, plus 1 1/2 teaspoons vanilla. Plan on about 20-25 minutes to bake at 350ºF.
Why I Think You’ll Love This Recipe
- One bowl: Plus a few measuring utensils, a whisk for mixing the dry ingredients, and an airtight container for long-term storage.
- 5 ingredients: This recipe uses pantry staple ingredients, nothing fancy or hard to find!
- Healthier option: Homemade vanilla cake mix doesn’t contain any of the toxic preservatives and artificial flavors found in store-bought mixes.
- Great for gift giving: It makes a wonderful gift in a jar. Just be sure to include a little note with instructions on how to make the cake!
- Foolproof texture: Yellow cake made from this cake mix always bakes up perfectly soft and ultra-moist, but light and fluffy with a rich, buttery vanilla flavor and beautiful golden color.

Ingredients Notes & Substitutions
- All-Purpose Flour – Or make it gluten-free with a gluten-free all-purpose flour, and a little bit of xanthan gum according to the package directions.
- Pure Cane Sugar – Granulated sugar works too.
- Baking Powder & Baking Soda – A touch of baking soda promotes a golden crust, more lift, and a little extra tenderness, especially if you use buttermilk as your liquid.
- Sea Salt – Table salt works too.
How to Make Homemade Cake Mix From Scratch
DIY cake mix is so easy to make. It only takes 10 minutes from start to finish.
How to Make the Cake Mix
Whisk together the white flour, sugar, baking powder, baking soda and salt in a medium bowl until well combined. That’s it!

Store homemade dry cake mixes in an airtight container or glass jar at room temperature for up to 12 months. You can also store it in the refrigerator or freezer, but it’s not necessary.
Easy Homemade Yellow Cake Recipe From Homemade Cake Mix
Let’s use homemade cake mix to make the best homemade yellow cake or cupcakes. A full batch of dry mix will make 1 large, single layer yellow cake in a 13×9 pan, or 24 regular-size yellow cupcakes instead.

Before getting started, preheat your oven to 350ºF. Grease a 13×9 cake pan with nonstick cooking spray, or line a cupcake pan with cupcake liners.
- Combine one full batch of homemade cake mix with 1/2 cup of whole milk or buttermilk, 1/2 cup vegetable or canola oil, 2 large eggs and 1 1/2 teaspoons of vanilla extract in a large mixing bowl.
- Mix everything together well, but take care not to over-beat your cake batter. Set it on low speed if you’re using an electric stand mixer.
- Pour the batter into your baking pan, or scoop it into your cupcake liners until they’re 2/3 full.
- Bake your cake for 20 to 25 minutes at 350ºF. That’ll be more like 15-20 minutes for cupcakes. You can tell they’re done when a toothpick poked into the center comes out clean.
Some ovens run hotter than others, so I would check it right at 20 minutes (or 15 minutes for the cupcakes) so you don’t risk overcooking it, which will make it dry and crumbly.
How to Serve Homemade Yellow Cake
Let your cake or cupcakes cool completely before frosting and decorating. This milk chocolate buttercream frosting is my favorite for yellow cake. If you’re new to cake decorating, I highly recommend picking up an offset cake decorating spatula, some disposable piping bags and a basic set of frosting tips to get you started.

You can also serve this delicious cake with sliced strawberries and whipped cream. You can also top it off with homemade blueberry sauce, or use this cake mix to make raspberry poke cake, orange Jello poke cake or even a strawberry poke cake. YUM!!!
Expert Tips and Recipe FAQ’s
This is usually a result of overcooking the cake, which dries it out. Because ovens can vary in temperature, I’d recommend checking the cake right at the 20-minute mark (or 15 minutes for cupcakes) next time. It’ll be done baking when a toothpick poked into the center comes out clean.
This can be caused by the type of flour used, as well as over-mixing or beating the batter. King Arthur all-purpose flour has always given me the best results, but you can always make this recipe with a good quality cake flour if it’s a persistent issue. It’s also important not to over-mix your cake batter; mix it gently at a low speed, taking care not to beat it, until everything is well combined.
The difference is that yellow cake uses whole eggs (with the yolk) and all-purpose flour for a richer flavor and golden hue. In contrast, a white cake uses only the egg whites for a white color and cake flour (often bleached) for a more delicate crumb and a softer texture. Both yellow cake and white cake are variations of vanilla cake, so since this recipe makes a yellow cake mix, it’s also a homemade vanilla cake mix.
Store your homemade cake mix in an airtight container or glass jar. It’ll last up to 12 months in a dark, cool pantry at room temperature.
Yes, you can freeze homemade cake mix. That said, it’s really not necessary because it’ll last up to 12 months at room temperature.
Recipe Variations
Looking for ways to make your homemade vanilla cake just a little bit more interesting? Here are some ideas…
- Add cocoa powder to make it a homemade chocolate cake mix. I haven’t tested it yet, but I would add 1/2-cup to 3/4-cup cocoa powder plus 2 extra tablespoons milk for extra moisture.
- Add a splash of lemon juice and fresh lemon zest to make it a lemon cake mix. You can even use it to make my favorite lemon Jello poke cake recipe!
- Make it a funfetti cake by stirring rainbow sprinkles into the batter just before baking.
- Convert this recipe to make a white cake mix by separating and using only the egg whites, and then swapping the all-purpose flour for cake flour instead.
- Spice it up by whisking cinnamon, nutmeg, ginger, cloves and allspice into the dry mix to make it a homemade spice cake mix.
- Bake your cake in a bundt pan to make it a homemade yellow bundt cake.
- Double or triple the recipe and make a yellow layer cake, with creamy chocolate frosting in between each and every layer!

More Cake Recipes You’ll Enjoy
Looking for more cake recipes? Here are some of my favorites…
- Moist Yellow Cake Recipe From Scratch
- Lemon Blueberry Cake with a Lemon Cream Cheese Frosting
- Chocolate Texas Sheet Cake
- Easy Chocolate Zucchini Cake
- Gluten-Free Vanilla Cupcakes
- Homemade Red Velvet Cupcakes
If you try this recipe, why not leave a star rating in the recipe card right below and/or a review in the comment section further down the page? I always appreciate your feedback. You can also follow me on Pinterest, Facebook, YouTube, and Instagram. And subscribe to my email list too!

Homemade Cake Mix
Ingredients
- 1 1/4 cups all-purpose flour
- 3/4 cups cane sugar
- 1 1/4 teaspoons baking powder
- 1/2 teaspoon baking soda
- 1/2 teaspoon sea salt
Instructions
How to Mix Up the Cake Mix
- To mix up the homemade cake mix, whisk together the white flour, sugar, baking powder, baking soda and salt in a medium mixing bowl until well combined. That's it!
- Transfer your dry cake mix into an airtight container or mason jar and store at room temperature for up to 12 months.
How to Make Homemade Yellow Cake with Homemade Cake Mix
- Before getting started, preheat your oven to 350ºF and grease up a 13×9 cake pan with nonstick cooking spray. Keep in mind that one full batch of cake mix will make 1 single layer yellow cake.
- In a large mixing bowl, combine one full batch of homemade cake mix with 1/2 cup of milk or buttermilk, 1/2 cup vegetable or canola oil, 2 large eggs and 1 1/2 teaspoons of vanilla extract.*
- Pour the batter into the 13×9 baking pan that you greased up in the first step and bake at 350ºF for 20-25 minutes, or until a toothpick or cake tester inserted into the center comes out clean.
- After baking, be sure to let the cake cool completely before frosting and decorating.
How to Make Homemade Yellow Cupcakes with Homemade Cake Mix
- Preheat your oven to 350ºF and line a cupcake pan with cupcake liners. One full batch of homemade cake mix will yield 24 cupcakes total, so you'll need 24 cupcake liners total.
- In a large mixing bowl, combine one full batch of homemade cake mix with 1/2 cup of milk or buttermilk, 1/2 cup vegetable or canola oil, 2 large eggs and 1 1/2 teaspoons of vanilla extract.*
- Divide the cake batter into the cupcake liners that you prepared in the first step, and bake at 350ºF for 15-20 minutes, or until a toothpick or cake tester inserted into the center of the cupcakes comes out clean.
- After baking, be sure to let the cupcakes cool completely before frosting and decorating.


This homemade cake mix is such a convenient and delicious idea for easy baking! I love having a simple pantry-friendly mix ready to turn into a fresh, homemade cake whenever a sweet craving hits. A great recipe for busy bakers who want homemade flavor with less preparation.
Made for my God Daughter it was amazing thanks
I decided to try making cupcakes and wanted to try a scratch recipe to find out why everyone makes such a big deal about cakes from scratch. These were soo good. I obviously had to try one right away, which immediately became two. I tried another one a hour later to see if it was because of the freshness. The hour old cupcake was the second best cupcake I ever ate, and I didn’t even frost them.
I’ll be honest, I followed everything perfectly but something wasn’t right. Only mixed enough to wet the dry, it came out pretty soupy, I baked for 15. Removed them immediately from the pans (I did cupcakes) because I just KNEW. They were overdone. The flavor wasn’t there, either. I did vanilla and strawberry extracts. I’m not sure if I’ll try again, maybe. But any time I try a homemade cake that requires both baking soda AND baking powder, this happens every time.