Worried your gluten free cake recipe will come out dry and crumbly? Swap a measure-for-measure gluten-free flour into a simple oil-based vanilla cake, mix gently, and you get a tender, moist crumb.
If you would rather buy a slice than bake one, the guide to gluten free bakeries Centennial CO is a good place to start.
| Item | Value |
|---|---|
| Hands-on time | 10 mins |
| Bake time | 30 to 35 mins |
| Total time | 1 hr |
| Yield | one 8″ square cake or 9″ round cake |
| Gluten-free flour | 2 cups (240g) |
| Vegetable oil | 1/2 cup (99g) |
These figures come from King Arthur Baking’s gluten-free vanilla cake pan cake recipe, whose page was updated on August 26, 2026. Recipe details can change, so check the source before you rely on them.
Why a simple flour swap works for vanilla cake
Cake is a friendly place to start with gluten-free baking, because a tender crumb is the goal. King Arthur’s blog explains that cake and pancakes are best with as little gluten development as possible, since they benefit from a tender, rather than chewy, texture (blog post dated September 20, 2021).
The same post describes a gluten-free golden vanilla cake with a finer, more even crumb. It also rises higher than the all-purpose flour version and has a flat top instead of a dome.
The easiest route is a 1:1 swap. King Arthur’s gluten-free baking guide says to substitute its Measure for Measure flour for the all-purpose flour in your recipe, as long as the recipe is non-yeasted.
That rule stops at yeast, and the same guide sends bread and pizza bakers to a separate section. For a loaf, follow the gluten free bread recipe instead.
The dairy-free pan cake and its ingredients
The pan cake from the King Arthur test kitchen is a stir-together cake with neither milk nor butter in the cake itself. The frosting can use non-dairy butter, so the whole cake can suit a dairy-free diet as well as a gluten-free one (recipe page).
| Ingredient | Amount |
|---|---|
| Gluten-free Measure for Measure flour | 2 cups (240g) |
| Table salt | 3/4 teaspoon |
| Baking powder | 1 1/2 teaspoons |
| Baking soda | 1/2 teaspoon |
| Water | 3/4 cup plus 2 tablespoons (198g) |
| Vegetable oil | 1/2 cup (99g) |
| Egg | 1 large egg |
| Granulated sugar | 3/4 cup (149g) |
| Cider vinegar or white vinegar | 4 1/2 teaspoons (21g) |
| Vanilla extract | 1 tablespoon (14g) |
Amounts are from the King Arthur pan cake recipe, and the page lists more items than this table, so read the full recipe and method there before you start. The page gives grams beside cups, which makes it easy to weigh the flour (240g) and sugar (149g).
How to keep a gluten free cake moist
Start with the fat. King Arthur’s quick and easy vanilla cake says melted butter adds rich flavor, oil helps the cake retain its moisture, and cornstarch ensures tenderness in every bite. That recipe pairs 1 1/2 cups (180g) of flour, which can be the gluten-free blend, with 1/4 cup (28g) cornstarch.
A few habits protect that moisture, using the source recipes as a guide:
- Mix gently. King Arthur’s cake guide, in its butter cake section, says to add flour in portions, fold it in gently and avoid over-mixing.
- Use room-temperature eggs. Both the quick vanilla cake and the classic birthday cake list eggs at room temperature.
- Weigh your ingredients. Use a scale where the recipe gives grams, so the batter stays consistent from bake to bake.
- Check early. Bake time is a window, so look at the shorter end first.
- Keep the pan as written. A different pan changes the depth of the batter and the timing.
Be realistic about the starting point. The pan cake page shows 3.8 out of 5 stars from 37 reviews on its recipe page, so treat it as a simple base you can tweak rather than a guaranteed showstopper.

Bake times and yields compared
Moisture also depends on not overbaking, and recipes differ a lot. Here are two other King Arthur vanilla cakes that accept a gluten-free flour.
| Recipe | Bake time | Yield |
|---|---|---|
| Quick and easy vanilla cake | 34 to 38 mins | one 8″ cake |
| Gluten-free classic birthday cake | 36 to 52 mins | one 8″ or 9″ two-layer cake |
Figures come from the quick and easy vanilla cake and classic birthday cake pages; check them before you plan your bake.
If dairy is not a concern, the quick vanilla cake uses 1 cup (227g) milk and 4 tablespoons (57g) unsalted butter, as listed on its recipe page. The pan cake skips both, which is the trade-off between butter flavor and a dairy-free cake.
Where to go from here
For a celebration, the test kitchen describes its gluten-free birthday cake as a tender, moist, chocolate-and-vanilla layer cake that suits friends and family following a gluten-free diet (recipe page).
For a smaller bake to follow the cake, try these gluten free chocolate chip cookies.
Frequently asked questions
Can I turn any cake recipe gluten-free?
Show answer
Not every recipe, but many. King Arthur’s guide covers recipes without yeast and says its Measure for Measure blend goes in for the all-purpose flour with no other changes. Other flour blends behave differently, so follow their packaging.
Is the vanilla pan cake dairy-free?
Show answer
The cake itself has no milk or butter. Choose non-dairy butter if you make the frosting, and read the ingredient labels on everything you buy.
Which recipe gives the most butter flavor?
Show answer
Pick the quick and easy vanilla cake. Its melted butter carries the flavor while the oil keeps the crumb soft.
How long will the cake keep?
Show answer
The pages used for this guide do not give storage times, so follow the notes on the recipe you choose rather than a guess.
