Best Dairy Free Cake Recipe: Moist Vanilla Cake
A dependable dairy-free cake recipe uses neutral oil and unsweetened plant milk instead of butter and cow's milk for a tender vanilla crumb. This two-layer cake includes eggs, so it is dairy-free but not vegan. Choose a plant beverage and frosting whose labels fit your needs, especially if you avoid milk because of an allergy rather than lactose intolerance.
Written and medically reviewed by Dr. Onikepe Adegbola, MD, PhD, physician-scientist and founder of Casa de Sante. Last updated November 27, 2026.
For dairy-free pantry ideas, browse the Casa de Sante dairy-free collection and review Casa de Sante Pantry Standards for the ingredient rules used in each pantry. You can also see Casa de Sante's guides to gluten-free carrot cake and dairy-free cookies. Casa de Sante offers physician-formulated supplements (protein powders, digestive enzymes, gentle motility support, and multivitamins) alongside an ingredient-vetted pantry for Low-FODMAP, GLP-1, SIBO, GERD, gastroparesis, and low-histamine diets.
Key Takeaways
- Dairy-free baking replaces milk, butter, and other milk ingredients; it does not automatically remove eggs, wheat, or soy.
- Neutral oil and unsweetened plant milk make a simple vanilla cake without butter or cow's milk.
- Lactose-free cow's milk still contains milk proteins, so it is not appropriate for a milk-free or milk-allergy recipe.
- Packaged frosting, chocolate, sprinkles, and plant beverages need ingredient-label checks because recipes and brands vary.
- A dairy-free cake is not automatically vegan, gluten-free, low FODMAP, or safe from bakery cross-contact.
What makes a cake dairy-free, and is that different from lactose-free?
A dairy-free cake contains no milk or milk-derived ingredients such as butter, cream, whey, casein, or milk powder. A lactose-free cake may still contain cow's milk or other dairy ingredients with lactose removed or reduced, so it is not milk-free. The distinction matters most when you are avoiding milk proteins or baking for someone with a milk allergy.
Lactose intolerance involves digestive symptoms after consuming lactose, the natural sugar in milk, while milk allergy involves an immune response to milk proteins. A 2018 review on lactose intolerance and dairy avoidance explains that lactose-related symptoms can be confused with other food intolerances or functional gastrointestinal disorders. A dairy-free recipe is one option, but lactose intolerance alone does not mean every person must avoid all dairy.
Read packaged ingredient lists and “Contains” statements. NIDDK's 2018 lactose-intolerance guidance lists milk, whey, curds, and milk solids as signs of lactose. Lactose-free cow's milk still contains milk proteins and is not a milk-free ingredient.
What is the best dairy-free cake recipe?
A dairy-free vanilla cake uses plant milk and oil for moisture, plus eggs for structure. This recipe makes two 8-inch round layers. Choose unsweetened, unflavored plant milk that fits your needs. Serve the cake plain or top it with a simple dairy-free glaze.
Ingredients
- 2 1/2 cups all-purpose flour, about 300 g
- 1 1/2 cups granulated sugar
- 2 teaspoons baking powder
- 1/2 teaspoon baking soda
- 1/2 teaspoon fine salt
- 2 large eggs, brought to room temperature
- 1 cup unsweetened, unflavored plant milk
- 3/4 cup neutral oil, such as canola or grapeseed
- 1 tablespoon white or apple cider vinegar
- 2 teaspoons vanilla extract
Directions
- Heat the oven to 350°F. Grease two 8-inch round cake pans and line the bottoms with parchment paper.
- Whisk the flour, sugar, baking powder, baking soda, and salt in a large bowl until evenly combined.
- In a second bowl, whisk the eggs, plant milk, oil, vinegar, and vanilla until smooth.
- Pour the wet ingredients into the dry ingredients. Whisk just until no dry flour remains; stop before the batter is overmixed.
- Divide the batter evenly between the pans. Bake for 25 to 30 minutes, until the tops spring back lightly and a toothpick inserted in the center comes out clean or with a few crumbs.
- Cool the cakes in the pans for 10 minutes, then turn them onto a rack. Let the layers cool completely before adding frosting or glaze.
For a quick glaze, whisk 1 1/2 cups powdered sugar with 2 to 3 tablespoons plant milk and 1/2 teaspoon vanilla. Add the milk gradually until the glaze is pourable. Check the powdered sugar, vanilla, and plant milk labels if you are avoiding specific allergens; packaged ingredients can vary by manufacturer.
Which milk substitute works best in dairy-free cake?
Unsweetened, unflavored plant milk with a mild taste works in this vanilla cake. Oat, soy, or some almond beverages can work, but their flavor, thickness, and ingredients differ. Soy and nuts are allergens for some people, so use a beverage that fits your needs.
Do not substitute lactose-free cow's milk when the cake must be dairy-free for a milk allergy. Lactose-free dairy still contains milk proteins. If you are baking for someone else, ask which plant beverage is acceptable, and check the carton for milk ingredients and advisory statements before mixing the batter.
| Traditional cake ingredient | Dairy-free option | What to check |
|---|---|---|
| Butter | Neutral oil in this recipe | Measure oil carefully; it is not a one-to-one swap in every cake formula |
| Cow's milk | Unsweetened plant milk | Check for milk ingredients and allergens such as soy or nuts |
| Buttermilk | Plant milk mixed with vinegar or lemon juice | Use only in recipes designed for an acidic milk substitute |
| Buttercream | Label-checked dairy-free spread or a plant-milk glaze | Some margarines and frostings contain milk ingredients |
| Chocolate chips or sprinkles | Packaged versions labeled for your needs | Read the ingredients and allergen statement every time |
How do I keep dairy-free cake moist and fluffy?
Measure flour accurately, mix the batter only until combined, and avoid baking the layers longer than needed. Oil stays liquid at room temperature, which helps this cake feel moist after cooling. Plant milk supplies liquid, while eggs and leavening help the crumb set and rise. Oven times vary, so check the center near the early end of the range.
Use room-temperature eggs and plant milk so the oil does not chill or thicken when you combine the wet ingredients. If the batter looks slightly lumpy, stir only until the flour disappears rather than beating it smooth for a long time. Overmixing can make a cake firm, especially when the flour is worked after adding liquid.
Allow the cake to cool completely before covering it. Warm cake can trap steam and make the surface sticky; uncovered cake left out too long can dry. If you are preparing the cake ahead, wrap cooled layers tightly and frost them closer to serving time.
How can I frost and store a dairy-free cake?
For a dairy-free finish, use a simple powdered-sugar glaze or a packaged frosting whose ingredient list contains no milk ingredients. Do not assume that a product is milk-free because its front label says “plant-based” or “non-dairy.” Check the full ingredient list and allergen statement, particularly for milk, whey, casein, or butter.
For milk allergy, check bakery handling as well as ingredients. FDA's 2026 food-allergy guidance identifies milk as a major allergen and notes that most unpackaged bakery foods are not covered by packaged-food label requirements. Ask about shared mixers, pans, utensils, and work surfaces.
Cover the cake once fully cool. If the topping is perishable, follow its package storage directions. Refrigeration can firm the crumb, so bring slices to room temperature before serving for a softer texture.
Is dairy-free cake suitable for lactose intolerance or milk allergy?
A cake made without milk ingredients avoids lactose from dairy in the recipe, but a dairy-free label alone cannot rule out cross-contact. For lactose intolerance, some people tolerate limited lactose, while a milk allergy requires avoiding milk proteins. A 2020 review on lactose intolerance and food labeling notes that milk-derived ingredients can appear in baked goods and other processed foods.
FDA requires major allergens such as milk to be declared on most packaged foods, but bakery cross-contact still matters. According to Dr. Onikepe Adegbola, MD, PhD, ingredient checks should match the reason for avoidance: lactose intolerance, milk allergy, or cross-contact. For a milk allergy, follow the person's clinician-set safety plan for ingredients and equipment.
Dairy-free does not mean vegan, gluten-free, or low FODMAP. This cake contains eggs and wheat flour. If you have several restrictions, check every ingredient and package label against each one.
Can Casa de Sante FODMAP Digestive Enzymes help with dairy-free cake?
Casa de Sante FODMAP Digestive Enzymes are a digestive supplement, not a baking ingredient and not a way to make a cake dairy-free. The 18-enzyme capsule may help reduce the digestive load from selected meal components, such as GOS foods, lactose, sucrose, fat, protein, and starch, when taken with the first bite of a meal that usually causes fullness, gas, or bloating.
The label lists milk, soy, and wheat from fermentation, so the product is not dairy-free. It is not a treatment for any disease or food allergy.
When should you see a doctor about dairy-related symptoms?
Speak with a clinician about repeated digestive symptoms after dairy, especially if you are unsure whether they reflect lactose intolerance, milk allergy, or another condition. Seek emergency care for signs of a severe allergic reaction, such as trouble breathing, swelling of the tongue or throat, faintness, or rapidly worsening symptoms. A milk allergy can be serious, so do not test suspected allergens without medical guidance.
If you avoid dairy long term, ask a clinician or dietitian how to meet your calcium and vitamin D needs. NIDDK notes that eliminating all milk and milk products may reduce these nutrients unless you replace them with suitable foods. A dietitian can help match substitutions to your symptoms, allergy status, and overall nutrition.
Frequently Asked Questions
Can I use oat milk in a dairy-free cake?
Yes, unsweetened oat milk can replace cow's milk in this vanilla cake, provided you tolerate oats and the product fits your dietary needs. Choose an unflavored beverage to avoid changing the cake's taste. If baking for someone with allergies, read the carton and check for manufacturer statements about cross-contact.
Is lactose-free milk dairy-free?
No. Lactose-free milk is still made from cow's milk and still contains milk proteins, even though its lactose has been removed or broken down. It may help some people with lactose intolerance, but it is not a dairy-free ingredient and is not suitable for a milk allergy.
Does dairy-free cake have eggs?
Dairy-free cake can contain eggs because dairy-free means the recipe excludes milk and milk-derived ingredients, not all animal products. This recipe uses eggs for structure, so it is dairy-free but not vegan or egg-free. Choose an egg-free formula if you also need to avoid eggs.
Can I make this cake ahead of time?
Yes. Bake the layers, cool them fully, then wrap each layer tightly and store it before frosting. Add glaze or frosting closer to serving so the surface stays neat. Follow the storage instructions for any perishable topping, and check packaged ingredients for milk if serving someone with a milk allergy.
Browse the Casa de Sante dairy-free collection for more ingredient-screened options. If meal-related gas or bloating is a separate concern, review the directions and milk-containing label for Casa de Sante FODMAP Digestive Enzymes with your clinician; the product is not dairy-free.
Medical disclaimer: This article is for general education and is not medical advice. Talk with your clinician before starting supplements, especially if you take prescription medicines, are pregnant, or have a diagnosed condition.

























