# Chocolate cake with no eggs, milk or butter

URL: https://www.tryhomebites.com/journal/egg-free-dairy-free-chocolate-cake
Published: 2026-09-28 · Everyday baking

> A moist one-bowl chocolate cake made without eggs or dairy: for the friend with allergies, or a kitchen with no eggs in it.

## The short version

- This chocolate cake has no eggs, milk or butter: baking soda and vinegar give it lift, and oil keeps it moist.
- It mixes in one bowl in about 10 minutes and bakes in an 8 × 8 inch pan at 350°F (175°C) for 30 to 35 minutes.
- Swap the water for cold coffee for a deeper chocolate flavor.
- It's made without egg, dairy or nut ingredients, but contains wheat; if you're baking for an allergy, check the labels on the cocoa, chocolate and dairy-free butter for cross-contact.

Sooner or later someone at the party can't have eggs or dairy, and they end up with a fruit plate. This cake is for them, and it's good enough that nobody else will notice what's missing. It's an old idea, sometimes called wacky cake: the chemistry of baking soda and vinegar does the job eggs usually do.
Baking for an allergy? Wash every bowl, whisk and pan first, and keep the butter and eggs off the counter while you work. Cross-contact is the usual problem, not the recipe.

## Recipe

Makes: One 8 × 8 inch cake, 9 to 12 squares · Time: 1 hr 40 min, 15 min hands-on

### Ingredients

- 1½ cups (190 g) all-purpose flour
- 1 cup (200 g) granulated sugar
- ¼ cup (25 g) unsweetened cocoa powder
- 1 tsp baking soda
- ½ tsp fine salt
- 1 cup (240 ml) water or cold brewed coffee
- ⅓ cup (80 ml) neutral oil, like canola or sunflower
- 1 tbsp white or apple cider vinegar
- 1 tsp vanilla extract
- For the frosting: ½ cup (115 g) dairy-free butter, softened
- 2 cups (240 g) powdered sugar
- ⅓ cup (30 g) unsweetened cocoa powder
- 2 to 3 tbsp oat or soy milk

### Method

1. Heat the oven to 350°F (175°C). Grease an 8 × 8 inch pan and line it with parchment.
2. Whisk the flour, sugar, cocoa, baking soda and salt in a large bowl, breaking up any lumps of cocoa.
3. Add the water, oil, vinegar and vanilla and whisk until smooth. The batter will be thin; that's right.
4. Pour it into the pan straight away and bake 30 to 35 minutes, until the top springs back and a toothpick comes out clean. Cool completely in the pan.
5. For the frosting, beat the dairy-free butter until creamy, then beat in the powdered sugar and cocoa, adding the milk a spoonful at a time until smooth and spreadable. Spread it over the cooled cake.

### A few notes

- The vinegar reacts with the baking soda to lift the cake, standing in for eggs. You won't taste it.
- Coffee instead of water deepens the chocolate without tasting of coffee.
- Made without eggs, milk, butter or nuts, but check every label: some cocoa, chocolate and dairy-free butters are made alongside milk or nuts.
- Selling it as allergy-friendly? List every ingredient and how it was made. On HomeBites, allergens are listed on every item.

### Substitutions

- Instead of 1 cup (240 ml) water or cold brewed coffee: Oat or soy milk, for a slightly richer crumb.
- Instead of ⅓ cup (80 ml) neutral oil, like canola or sunflower: Melted coconut oil, or melted dairy-free butter.
- Instead of 1 tbsp white or apple cider vinegar: Lemon juice, 1:1.
- Instead of For the frosting: ½ cup (115 g) dairy-free butter, softened: Vegetable shortening, for a stiffer frosting; or skip the frosting and dust the cake with powdered sugar.

## Questions people ask

### How does a cake rise without eggs?

Baking soda reacts with the vinegar the moment they meet, filling the batter with bubbles that set in the oven. That's why it should go in the oven soon after mixing.

### Is this cake vegan?

Yes, as long as your sugar, chocolate and dairy-free butter are. Some white sugar is filtered with bone char, so check the label if that matters to you.

### Is it safe for someone with a dairy or egg allergy?

The recipe uses no egg or dairy ingredients, but cross-contact is the risk. Check that the cocoa and dairy-free butter aren't made alongside milk, wash everything that touched butter or eggs, and when in doubt, ask the person with the allergy.

### Can I make cupcakes with it?

Yes: about 12, filled two-thirds full, baked at 350°F (175°C) for 18 to 22 minutes.
