Skip to content
← Back to recipes

Dairy-Free Birthday Cake

A classic dairy-free yellow birthday cake with tender vanilla layers, dairy-free milk, dairy-free butter, a little oil for moisture, and fluffy dairy-free vanilla buttercream. It is built like a real celebration cake, just without the dairy.

Recipe by Non Dairy Dude

Dude Note

Nobody should have to pass on birthday cake. This is a real funfetti celebration cake first and a dairy-free cake second: tender layers, fluffy vanilla buttercream, and plenty of sprinkles. Make it for someone who is tired of being handed the fruit plate while everyone else gets cake.

Prep 55 min
Cook 32 min
Total 87 min
Servings 12
Difficulty medium
Dairy-Free Birthday Cake
Servings
12

Ingredients

Cake

  • 1 cupUnsweetened oat milk or soy milk, room temperature
  • 1 tbspApple cider vinegar or lemon juice

Dry Ingredients

  • 2½ cupsAll-purpose flour
  • ¼ cupCornstarch
  • 2½ tspBaking powder
  • ¼ tspBaking soda
  • 1 tspFine salt

Batter

  • ½ cupDairy-free butter sticks, softened
  • ¼ cupNeutral oil
  • 1½ cupsGranulated sugar
  • 3 largeLarge eggs, room temperature
  • 1 largeLarge egg yolk, room temperature
  • 1 tbspVanilla extract

Assembly

  • 1½ batchesDairy-free vanilla buttercream frosting
  • ½ cupDairy-free rainbow sprinkles, plus more for decorating

Instructions

  1. 1

    Heat the oven to 350 F. Grease two 8-inch round cake pans, line the bottoms with parchment, and lightly flour the sides or use dairy-free baking spray.

  2. 2

    Stir together the dairy-free milk and vinegar or lemon juice. Let stand for 5 minutes while you measure the dry ingredients.

  3. 3

    In a medium bowl, whisk together the flour, cornstarch, baking powder, baking soda, and salt.

  4. 4

    In a large bowl or stand mixer, beat the dairy-free butter, oil, and sugar on medium speed for 3 minutes, until fluffy and lighter. Scrape down the bowl.

  5. 5

    Beat in the eggs and egg yolk one at a time, mixing well after each addition. Beat in the vanilla.

  6. 6

    Add one-third of the dry ingredients and mix on low just until combined. Add half of the dairy-free milk mixture, then another third of the dry ingredients, the remaining milk mixture, and the remaining dry ingredients. Mix only until the batter is smooth.

  7. 7

    Fold in the sprinkles gently with a spatula, using as few strokes as possible so the colors do not bleed through the batter.

  8. 8

    Divide the batter evenly between the prepared pans and smooth the tops. Bake for 28 to 32 minutes, until the cakes spring back lightly and a toothpick inserted in the center comes out clean or with a few moist crumbs.

  9. 9

    Cool the cakes in the pans for 15 minutes, then turn out onto a rack, remove the parchment, and cool completely before frosting.

  10. 10

    Place one cake layer on a plate or cake stand. Spread a generous layer of dairy-free vanilla buttercream over the top. Add the second layer, then frost the top and sides with the remaining buttercream.

  11. 11

    Decorate with more sprinkles. For cleaner slices, chill the frosted cake for 20 to 30 minutes before cutting, then let slices sit at room temperature for a few minutes before serving.

Dairy Substitutions Used

Classic birthday cake usually relies on milk, butter, and dairy-based frosting. This dairy-free version uses unsweetened oat milk or soy milk soured with vinegar for tenderness, dairy-free butter sticks for vanilla cake flavor, a small amount of neutral oil for moisture, and dairy-free vanilla buttercream for the frosted finish.

Tips & Variations

Use room-temperature ingredients: Dairy-free butter, eggs, and dairy-free milk mix more evenly when they are not cold. This helps the cake bake with a finer, softer crumb.

Oat milk or soy milk work best: Both have enough body for cake batter. Thin almond milk can work, but the cake may be slightly less tender.

Why both butter and oil: Dairy-free butter gives classic birthday-cake flavor, while oil keeps the crumb moist. Using only dairy-free butter can make the cake firmer after chilling.

Cornstarch softens the crumb: It mimics some of the tenderness of cake flour while keeping the ingredient list pantry-friendly.

Check the sprinkles: Most sprinkles are dairy-free, but some specialty blends contain confectioner's glaze, milk-derived ingredients, or shared-line warnings. Use what fits your needs.

Fold sprinkles gently: Overmixing after adding sprinkles can streak the batter and muddy the colors.

Cool completely before frosting: Even slightly warm cake will melt dairy-free buttercream faster than dairy buttercream. Patience saves the frosting job.

Frosting amount: One and a half batches of dairy-free vanilla buttercream gives enough for filling, sides, top, and a few decorative swirls. Use one batch for a thinner, more casual frosting layer.

Make ahead: Bake the cake layers 1 day ahead, wrap well, and keep at room temperature. Frost the day you plan to serve.

Get new dairy-free comfort food recipes

New recipes, substitution tips, and classic dishes rebuilt without dairy.