A light, tender crumb with a soft rise and a mildly sweet vanilla flavor defines this dairy-free cake. Baked from scratch without milk, it relies on oil and water for moisture, making it accessible for dairy-free diets while keeping the texture consistent with classic layer cakes. This method suits weeknight baking or holiday desserts where dairy must be avoided.
Ingredients
- 2 cups (250 g) all-purpose flour
- 1 ½ cups (300 g) granulated sugar
- 2 tsp baking powder
- ½ tsp baking soda
- ½ tsp salt
- 1 cup (240 ml) water
- ½ cup (120 ml) neutral oil (canola, vegetable, or grapeseed)
- 2 large eggs, room temperature
- 2 tsp vanilla extract
- 1 tbsp white vinegar or apple cider vinegar
Instructions
- Preheat oven to 350°F (177°C). Grease and flour a 9-inch (23 cm) round cake pan or line with parchment paper.
- In a large bowl, whisk together flour, sugar, baking powder, baking soda, and salt until evenly combined.
- In a separate bowl, mix water, oil, eggs, vanilla extract, and vinegar until smooth and slightly emulsified.
- Pour wet ingredients into dry ingredients. Stir with a whisk or spatula until just combined; do not overmix. Batter should be smooth with no dry pockets, but small lumps are acceptable.
- Immediately pour batter into prepared pan. Tap pan gently on counter to release air bubbles.
- Bake at 350°F (177°C) for 28–32 minutes, until a toothpick inserted into the center comes out clean and cake springs back when lightly pressed.
- Let cake cool in pan for 10 minutes. Then invert onto a wire rack, remove pan, and cool completely before slicing or frosting (about 1 hour).
How to Scale the Recipe
Adjust batch size using this reference table. Mix times remain the same; baking times vary slightly.
| Batch | Flour | Sugar | Water | Oil | Eggs | Baking Time |
|---|---|---|---|---|---|---|
| Half | 1 cup (125 g) | ¾ cup (150 g) | ½ cup (120 ml) | ¼ cup (60 ml) | 1 | 22–26 min |
| Full | 2 cups (250 g) | 1 ½ cups (300 g) | 1 cup (240 ml) | ½ cup (120 ml) | 2 | 28–32 min |
| Double | 4 cups (500 g) | 3 cups (600 g) | 2 cups (480 ml) | 1 cup (240 ml) | 4 | 32–36 min |
When the Cake Is Done Baking
Check doneness at the earliest time listed. The cake is ready when the center springs back under light pressure and a toothpick or cake tester inserted into the middle comes out clean. Overbaking leads to dryness, especially in smaller or convection ovens. If the top browns too quickly, cover loosely with aluminum foil after 20 minutes.
Serving and Pairing Ideas
This cake pairs well with fresh berries or a dairy-free frosting made from powdered sugar and plant-based milk. Serve at room temperature. For holiday meals, layer with dairy-free whipped topping and sliced strawberries. It fits in lunchboxes if unfrosted and wrapped tightly. Avoid serving with perishable fillings (like custard or cream) unless consumed within 2 hours at room temperature.
Storing the Cake
Wrap unfrosted cake tightly in plastic wrap or store in an airtight container at room temperature for up to 2 days. Refrigerate for up to 5 days. If frosted with a dairy-free buttercream, refrigerate and consume within 5 days. Do not leave cake with eggs or perishable frosting at room temperature longer than 2 hours (1 hour if ambient temperature is above 90°F/32°C).
Substitutions and Their Effects
Use oat, almond, or soy milk in place of water for a slightly richer flavor; results vary by brand and fat content. Replace oil with melted dairy-free margarine for a butter-like texture, but avoid olive oil due to its strong flavor. For egg-free: substitute each egg with ¼ cup (60 g) unsweetened applesauce or commercial egg replacer, but expect a denser crumb. Vanilla extract can be replaced with almond extract (use 1 tsp) for a different profile. Do not omit vinegar—it reacts with baking soda to lift the cake.
Why This Recipe Works Without Milk
Milk contributes moisture and tenderness, but water and oil replicate those functions in dairy-free baking. The vinegar activates baking soda, creating lift and softening the crumb. Eggs provide structure and binding. This balance maintains cake texture without dairy. For a richer alternative, replace water with full-fat canned coconut milk (not ‘light’), which increases moisture and slight coconut flavor.
Cake Troubleshooting
If the cake sinks in the center, it may be underbaked or overmixed. Overmixing develops gluten, leading to toughness. A dry texture often results from overbaking or too much flour; spoon flour into the measuring cup and level off—do not pack. If the cake sticks, ensure pan is well-greased and consider using parchment. A dense crumb can stem from expired leavening agents—check baking powder and soda for activity by mixing ½ tsp with hot water; it should bubble immediately.
Cake for High Altitudes and Humidity
At elevations above 3,000 ft (900 m), reduce baking powder to 1 tsp and sugar to 1 ⅓ cups (265 g). Increase oven temperature to 365°F (185°C) and bake for 25–29 minutes. In humid conditions, store flour in an airtight container for at least 24 hours before use to reduce moisture absorption, which can lead to a gummy texture.
Related
- Langos Recipe From Scratch: Crispy Hungarian Fried Bread
- Handmade Penne Pasta from Scratch
- Turtle Cake Recipe From Scratch, Step by Step
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).