A jar of homemade cake mix on the pantry shelf means a from-scratch cake is never more than ten minutes from the oven. Scoop out the mix, add butter, eggs and water, and bake. No trip to the store, no long list of things you cannot pronounce.
This homemade cake mix first ran on Chickens in the Road back in 2009, and readers have baked with it ever since. Here are both versions, yellow and white, with exact amounts, bake times for every pan, a guide for using it in recipes that call for a boxed mix, and easy chocolate, spice and lemon variations.
Homemade cake mix at a glance
Why make your own cake mix?

- Pantry staples only. Flour, sugar, baking powder and dry milk. You probably have them now.
- Real butter and real eggs. The cake tastes like a scratch cake because it is one.
- No extras. Boxed mixes often add oils, emulsifiers, colors and preservatives. This has none.
- Fast. Measure once, bake many times. Mix up four or five jars on a rainy afternoon.
- Works in old favorite recipes. Dump cakes, cake mix cookies and bars all work with it.
Yellow or white?
Yellow vs. white homemade cake mix
| Yellow cake | White cake | |
|---|---|---|
| Eggs | 3 whole eggs | 4 egg whites only |
| Fat | Butter | Shortening, lard or butter |
| Flavor | Rich and buttery | Light, sweet and clean |
| Color and crumb | Golden, tender, a bit denser | Snowy white, soft and fine |
| Best for | Birthday cakes with chocolate frosting, sheet cakes, bars | Wedding-style layer cakes, coconut cake, confetti cake |
Saving yolks from the white cake? Freeze them for custard, homemade noodles or lemon curd.
About the ingredients

- All-purpose flour. Spoon it into the cup and level it off with a knife. Scooping straight from the bag packs in extra flour and makes a dry, heavy cake. A cup of flour should weigh about 120 grams.
- Cake flour (optional). For an even softer white cake, use 2 3/4 cups cake flour in place of the 2 1/2 cups all-purpose flour.
- Granulated sugar. Plain white sugar keeps the crumb light and the white cake white.
- Baking powder. It must be fresh. Stir 1/2 teaspoon into a little hot water. If it fizzes hard, it is good.
- Nonfat dry milk. It adds richness and helps the cake brown. Powdered buttermilk works in the white mix too. No dry milk? See the note in each recipe card.
- Salt. A little salt brings out the flavor. Use 1/2 teaspoon in each batch.
How to make the mix

Step 1
Measure
Spoon and level the flour into a large bowl. Add the sugar, baking powder, dry milk and salt (and the baking soda for the white mix).
Step 2
Whisk well
Whisk for a full minute, or sift everything together twice. The leavening must be spread evenly, or the cake will rise unevenly.

Step 3
Jar and label
Pour into a quart jar or a zip-top bag. Label it with the kind of mix, the date, and the add-ins: water, butter or shortening, eggs and vanilla.
Making several batches? Mix each batch in its own bowl, or mix a big batch and measure out the right amount per cake (see the box below). Always whisk a big batch again before measuring, because the heavy sugar settles.
Which size to make
Homemade cake mix sizes
| Mix | What it is for | Mix amount |
|---|---|---|
| Yellow, standard size | Swap for a boxed mix in other recipes: dump cakes, cookies, bars | 2 cups flour, 1 1/2 cups sugar, 1 Tbsp baking powder, 1/2 cup dry milk, 1/2 tsp salt |
| Yellow, large size | A full stand-alone yellow cake (two 9 inch layers or one 13 x 9) | 3 cups flour, 2 cups sugar, 1 Tbsp baking powder, 1/2 cup dry milk, 1/2 tsp salt |
| White | A full stand-alone white cake | 2 1/2 cups flour, 2 cups sugar, 1 tsp baking powder, 1/2 tsp baking soda, 1/2 cup dry milk, 1/2 tsp salt |
From a big batch, measure about 5 cups of white mix per cake, or about 5 1/4 cups of large yellow mix.
Using it in place of a boxed mix
The standard yellow batch was built to replace the old 18.25 ounce boxed mix. Many recipes for dump cakes, cake mix cookies and bars were written for that size.
- Add vanilla. Boxed mixes have flavor built in. Add 1 teaspoon vanilla to the recipe along with the homemade mix.
- Newer, smaller boxes. Many boxes today hold about 13 to 15 ounces. If a recipe was written for a smaller box, weigh out about 430 grams (15 ounces) of mix and save the rest.
- Pudding-in-the-mix recipes. Some recipes count on the extra moisture in a boxed mix. If yours seems dry, add 2 tablespoons more liquid or oil.
- Dump cakes and cobblers. Use the standard batch dry, sprinkled over the fruit, just like a box.
Yellow cake mix recipe

This is the large-size mix and the batter that turns it into a two-layer yellow cake. The card scales up or down.

Homemade Yellow Cake Mix
Ingredients
Equipment
Method
- Whisk the flour, sugar, baking powder, dry milk and salt together for a full minute, or sift twice.
- Store in an airtight jar or bag, labeled with the date and the add-ins. Keeps up to 6 months in the pantry.
- Heat the oven to 350°F. Grease and flour two 9 inch round pans.
- Put the mix in a large bowl. Add the water, softened butter, eggs and vanilla.
- Beat on low until blended, then on medium for 2 minutes until smooth and fluffy.
- Divide the batter between the pans and smooth the tops.
- Bake 25 to 30 minutes, until a toothpick in the center comes out with a few moist crumbs. Do not overbake.
- Cool in the pans 10 minutes, then turn out onto a rack to cool completely before frosting.
Notes
White cake mix recipe

Four egg whites and shortening keep this cake tall and snowy white. Butter works too, with a slightly richer taste and a creamy color.

Homemade White Cake Mix
Ingredients
Equipment
Method
- Whisk the flour, sugar, dry milk, baking powder, baking soda and salt together for a full minute, or sift twice.
- Store in an airtight jar or bag, labeled with the date and the add-ins. Keeps up to 6 months in the pantry.
- Heat the oven to 350°F. Grease and flour two 9 inch round pans.
- Put the mix in a large bowl. Add the water, shortening, egg whites and vanilla.
- Beat on low until blended, then on high for 2 minutes until light and fluffy.
- Divide the batter between the pans and smooth the tops.
- Bake 25 to 30 minutes, until a toothpick in the center comes out with a few moist crumbs. Do not overbake.
- Cool in the pans 10 minutes, then turn out onto a rack to cool completely before frosting.
Notes
Bake times by pan

Bake times at 350°F (large yellow or white batch)
| Pan | Time | Notes |
|---|---|---|
| Two 8 inch rounds | 25 to 30 minutes | Slightly taller layers |
| Two 9 inch rounds | 25 to 30 minutes | Classic layer cake |
| One 13 x 9 inch pan | 35 to 45 minutes | Sheet cake; check at 35 |
| 24 cupcakes | 15 to 20 minutes | Fill liners 2/3 full |
| 10 inch bundt or tube pan | 45 to 50 minutes | Grease and flour well |
| Standard yellow batch, 9 inch rounds | 20 to 25 minutes | Thinner layers |
Start checking 5 minutes early. The cake is done when a toothpick in the center comes out with a few moist crumbs and the top springs back. Overbaking is the number one cause of a dry cake.
Chocolate, spice and lemon

Easy variations (for a large batch)
| Variation | Change the mix | Change the batter |
|---|---|---|
| Chocolate | Replace 1/2 cup flour with 1/2 cup unsweetened cocoa; add 1/4 tsp baking soda | Add 2 extra tablespoons water |
| Spice | Add 2 tsp cinnamon, 1 tsp ginger, 1/2 tsp nutmeg and 1/4 tsp cloves | Use brown sugar in place of half the white sugar, if you like |
| Lemon | No change | Add the zest of 2 lemons; use 1/4 cup lemon juice in place of 1/4 cup water |
| Confetti (white mix) | No change | Fold in 1/3 cup rainbow jimmies at the end |
| Almond (white mix) | No change | Use 1/2 tsp almond extract with the vanilla |
Cake mix in a jar for gifts

Layer the mix in a pretty quart jar, add a square of fabric under the ring and tie on a tag. A good tag says:
Homemade Yellow Cake Mix
Empty jar into a bowl. Add 1 1/4 cups water, 1/2 cup soft butter, 3 eggs and 1 1/2 tsp vanilla. Beat 2 minutes. Pour into two greased and floured 9 inch pans. Bake at 350°F for 25 to 30 minutes. Use within 6 months.
Storing homemade cake mix
How long homemade cake mix keeps
| Where | How long | Tips |
|---|---|---|
| Pantry, airtight jar | Up to 6 months | Cool, dark and dry; baking powder slowly loses strength |
| Freezer, zip-top bag | Up to 1 year | Let it come to room temperature before baking |
| Baked cake, covered, at room temperature | 2 to 3 days | Refrigerate if the frosting has cream cheese or whipped cream |
| Baked layers, wrapped, frozen | Up to 3 months | Thaw wrapped so they stay moist |
If the mix smells stale or the cake does not rise well, the baking powder or dry milk has gone off. Make a fresh batch.
High-altitude baking
Above about 3,000 feet, cakes rise faster and can fall. Try these small changes, then adjust to your kitchen:
- Use about one-fourth less baking powder.
- Add 1 to 2 tablespoons more water for every cup of liquid.
- Raise the oven to 365 or 375°F and bake a few minutes less.
- Above 5,000 feet, also take out 1 to 2 tablespoons of sugar per cup.
Troubleshooting
Homemade cake mix problems and fixes
| Problem | Likely cause | Fix |
|---|---|---|
| Cake is dry | Overbaked, or flour scooped and packed | Check early; spoon and level the flour |
| Cake is dense or flat | Old baking powder, or mix not whisked well | Test the baking powder; whisk the mix well before using |
| Cake sank in the middle | Underbaked, oven door opened early, or high altitude | Bake until the center springs back; see the altitude tips |
| White cake turned out ivory | Butter or yellow vanilla | Use shortening and clear vanilla for a pure white cake |
| Domed, cracked top | Oven too hot or pan too full | Check the oven temperature; fill pans no more than 2/3 full |
| Box-mix recipe came out dry | Homemade mix has less fat than a box | Add 2 tablespoons oil or liquid |

Frequently asked questions
Can I use homemade cake mix in any recipe that calls for a boxed mix?
In most of them, yes. Use the standard yellow batch and add 1 teaspoon vanilla. For recipes written for today’s smaller 13 to 15 ounce boxes, use about 430 grams of mix.
Can I make it without powdered milk?
Yes. Leave the dry milk out of the mix. When you bake, use milk in place of the water. For the white cake, use 1 1/3 cups milk or buttermilk.
Can I use oil instead of butter?
Yes. Use 1/2 cup vegetable oil in place of the butter. The cake will be very moist but less buttery.
Can I make a gluten-free version?
You can try a measure-for-measure gluten-free flour blend that contains xanthan gum in place of the all-purpose flour. It has not been tested in this mix, so expect a slightly different texture.
How do I make cupcakes with homemade cake mix?
Make the large batch batter, fill 24 lined cups about two-thirds full and bake at 350°F for 15 to 20 minutes.
Can I make the mix with less sugar?
You can cut up to 1/4 cup sugar from the large batch. More than that changes the texture, because sugar keeps cake tender and moist.
Why does the white cake use egg whites only?
Yolks add fat and a yellow color. Whites alone give the white cake its light, snowy crumb.
How much mix is in a batch?
The large yellow batch makes about 5 1/4 cups of mix. The white batch makes about 5 cups. The standard yellow batch makes about 3 3/4 cups.
A Cake on the Shelf: Homemade Cake Mix for Every Occasion
Homemade cake mix is one of the handiest jars in a scratch kitchen. Whisk up a few batches of yellow and white, label them with the add-ins, and you are always ten minutes from a real butter-and-egg cake. Use it for birthday layers, sheet cakes and cupcakes, or in your favorite dump cake and cookie recipes.
For breakfast, try Homemade Pancake Mix. Find more pantry staples in Homemade Mixes & Staples and Scratch Kitchen.


