If you’re on the lookout for a delightful treat that caters to both dietary restrictions and flavor lovers alike, this Dairy-Free Gluten-Free Vanilla Cake is the answer to your sweet cravings. With its moist texture and rich vanilla flavor, it’s perfect for birthdays, celebrations, or even just a cozy afternoon snack. This cake is easy to make and is sure to impress your family and friends, whether they have dietary restrictions or not!
Why This Recipe Belongs in Your Rotation

This Dairy-Free Gluten-Free Vanilla Cake deserves a spot in your recipe collection for several reasons. First, it’s incredibly versatile; you can dress it up with various frostings and toppings or enjoy it plain with a cup of tea. Second, it’s made with simple ingredients that you likely have on hand or can easily find in any grocery store. Finally, it’s a crowd-pleaser! Even those who aren’t gluten-free or dairy-free will love this cake for its fluffy texture and delicious taste.
What We’re Using
To whip up this fabulous cake, you will need the following ingredients:
- 2 cups (320g) gluten-free all-purpose flour – Make sure to use a blend that includes xanthan gum for better texture.
- 1 cup (330g) granulated sugar – Sweetness is key, and granulated sugar works perfectly here.
- 1 tsp sea salt – Enhances the flavors of the cake.
- 2 tsp baking powder – Helps the cake rise beautifully.
- 1/4 tsp baking soda – A little boost for the cake’s leavening.
- 3/4 cup (175ml) avocado oil – Keeps the cake moist and adds healthy fats.
- 1 cup (225ml) full-fat canned coconut milk – Provides creaminess without dairy.
- 3 large eggs – Binds the ingredients together.
- 1 tbsp pure vanilla extract – Adds that lovely vanilla flavor.
- 2 sticks (1 cup, 230g) vegan butter – For a rich frosting that is dairy-free.
- 4 to 6 cups (480-600g) powdered sugar – Sweetens the frosting.
- 6 to 8 tbsp (80-100ml) full-fat canned coconut milk, as needed – Adjusts the frosting’s consistency.
- 1 tsp pure vanilla extract – For the frosting, of course!
- Pinch sea salt – Balances the sweetness of the frosting.
Essential Tools for Success
Before you start baking, gather these essential tools:
- Mixing bowls – For combining your dry and wet ingredients.
- Measuring cups and spoons – Accurate measurements are key to a perfect cake.
- Electric mixer – Makes mixing the batter and frosting a breeze.
- Cake pans – Two 9-inch round pans work best for this recipe.
- Spatula – Ideal for scraping down the sides of your bowls and smoothing frosting.
- Cooling rack – To cool the cakes before frosting them.
From Start to Finish: Dairy-Free Gluten-Free Vanilla Cake

Now that you have everything you need, let’s dive into the step-by-step process of creating this delicious Dairy-Free Gluten-Free Vanilla Cake.
Step 1: Preheat Your Oven
Preheat your oven to 350°F (175°C). This ensures that your cake bakes evenly.
Step 2: Prepare the Cake Pans
Grease your two 9-inch round cake pans with a little avocado oil or vegan butter and lightly dust with gluten-free flour, tapping out any excess.
Step 3: Mix Dry Ingredients
In a large mixing bowl, combine the gluten-free all-purpose flour, granulated sugar, sea salt, baking powder, and baking soda. Whisk them together until well blended.
Step 4: Combine Wet Ingredients
In another bowl, whisk together the avocado oil, coconut milk, eggs, and vanilla extract until smooth.
Step 5: Combine Wet and Dry Ingredients
Pour the wet mixture into the dry ingredients. Mix with an electric mixer on medium speed for about 2 minutes until the batter is smooth and well combined.
Step 6: Bake the Cakes
Pour the batter evenly into the prepared cake pans. Bake in the preheated oven for 25-30 minutes, or until a toothpick inserted in the center comes out clean.
Step 7: Cool the Cakes
Once baked, remove the cakes from the oven and let them cool in the pans for about 10 minutes. Then transfer them to a cooling rack to cool completely.
Step 8: Prepare the Frosting
In a bowl, beat together the vegan butter and powdered sugar using an electric mixer. Add the coconut milk as needed to achieve your desired frosting consistency. Mix in the vanilla extract and a pinch of sea salt for flavor.
Step 9: Frost the Cakes
Once the cakes are completely cool, place one layer on a serving plate. Spread a generous amount of frosting on top. Place the second layer on top and frost the top and sides of the cake.
Step 10: Serve and Enjoy!
Slice your Dairy-Free Gluten-Free Vanilla Cake and enjoy! It pairs wonderfully with a cup of coffee or tea.
Low-Carb/Keto Alternatives
If you’re looking to make a low-carb or keto-friendly version of this cake, consider these alternatives:
- Use almond flour or coconut flour – These flours are lower in carbs compared to gluten-free all-purpose flour.
- Replace granulated sugar with erythritol or monk fruit sweetener – These sugar alternatives provide sweetness without the carbs.
- Skip the eggs – Use flax eggs (1 tbsp ground flaxseed mixed with 2.5 tbsp water per egg) for a vegan option.
- Adjust the frosting – Use a low-carb sweetener and coconut cream instead of coconut milk for a keto-friendly frosting.
Method to the Madness
Making a Dairy-Free Gluten-Free Vanilla Cake is not just about mixing ingredients; it’s about enjoying the process. Here are some tips to ensure your cake turns out perfectly:
- Always measure your ingredients accurately, especially flour, as too much can lead to a dense cake.
- Let your eggs and coconut milk come to room temperature before mixing for a smoother batter.
- Use a toothpick to check for doneness. It should come out clean or with just a few crumbs.
- Don’t rush the cooling process; a warm cake can cause the frosting to melt.
Save It for Later
This Dairy-Free Gluten-Free Vanilla Cake is perfect for making ahead of time. You can store it in an airtight container at room temperature for up to three days. For longer storage, wrap the cake layers in plastic wrap and freeze them for up to 3 months. When ready to serve, simply thaw and frost!
Your Top Questions
Can I use another type of flour?
Yes, you can experiment with other gluten-free flours, but make sure they are suitable for baking. A blend that includes xanthan gum usually yields the best results.
How do I know when the cake is done baking?
Insert a toothpick into the center of the cake; if it comes out clean or with a few moist crumbs, it’s ready. If it has wet batter on it, bake for a few more minutes and check again.
Can I make this cake vegan?
Absolutely! You can substitute the eggs with flax eggs or applesauce, and ensure that all your ingredients (like the vegan butter) are plant-based.
What can I add to the cake for flavor variations?
You can add citrus zest, cocoa powder for a chocolate version, or even mix in some berries for a fruity twist. For a seasonal treat, try my Pumpkin Spice Cupcakes!
Desserts to Finish
If you’re looking to satisfy your sweet tooth further, check out these delightful desserts:
- Chocolate Lava Mug Cake – A quick and indulgent treat.
- Apple Cider Doughnut Cake – Perfect for autumn gatherings.
Time to Try It
Now that you have all the details, it’s the perfect time to roll up your sleeves and make this scrumptious Dairy-Free Gluten-Free Vanilla Cake. Whether it’s for a special occasion or just because, this recipe is sure to become a favorite in your kitchen. Happy baking!

Dairy-Free Gluten-Free Vanilla Cake
Ingredients
For the Cake:
- 2 cups gluten-free all-purpose flour Make sure to use a blend that includes xanthan gum for better texture.
- 1 cup granulated sugar Sweetness is key.
- 1 tsp sea salt Enhances the flavors.
- 2 tsp baking powder Helps the cake rise beautifully.
- 1/4 tsp baking soda A little boost for leavening.
- 3/4 cup avocado oil Keeps the cake moist.
- 1 cup full-fat canned coconut milk Provides creaminess without dairy.
- 3 large eggs Binds the ingredients together.
- 1 tbsp pure vanilla extract Adds vanilla flavor.
For the Frosting:
- 2 sticks vegan butter For a rich frosting.
- 4 to 6 cups powdered sugar Sweetens the frosting.
- 6 to 8 tbsp full-fat canned coconut milk Adjusts frosting consistency.
- 1 tsp pure vanilla extract For frosting.
- pinch sea salt Balances the sweetness.
Instructions
Baking Instructions:
- Step 1: Preheat your oven to 350°F (175°C) to ensure even baking.
- Step 2: Grease two 9-inch round cake pans with avocado oil or vegan butter and dust with gluten-free flour.
- Step 3: In a large mixing bowl, combine gluten-free all-purpose flour, granulated sugar, sea salt, baking powder, and baking soda. Whisk to blend.
- Step 4: In another bowl, whisk together avocado oil, coconut milk, eggs, and vanilla extract until smooth.
- Step 5: Pour the wet mixture into the dry ingredients and mix with an electric mixer on medium speed for about 2 minutes until smooth.
- Step 6: Pour batter evenly into prepared pans and bake for 25-30 minutes, or until a toothpick inserted in the center comes out clean.
- Step 7: Let cakes cool in the pans for 10 minutes, then transfer to a cooling rack to cool completely.
- Step 8: Beat together vegan butter and powdered sugar until creamy. Add coconut milk as needed for consistency, followed by vanilla extract and a pinch of sea salt.
- Step 9: Once cakes are cool, place one layer on a serving plate, frost the top, and then place the second layer on top and frost the top and sides.
- Step 10: Slice and enjoy your Dairy-Free Gluten-Free Vanilla Cake with coffee or tea!
Equipment
- Mixing bowls
- Measuring cups and spoons
- Electric Mixer
- Cake Pans
- Spatula
- Cooling rack
Notes
- Measure ingredients accurately to avoid a dense cake.
- Use room temperature eggs and coconut milk for a smoother batter.
- Check doneness with a toothpick; it should come out clean or with a few crumbs.
- Allow cakes to cool completely before frosting to prevent melting.
