Bring a tender vanilla cake to the table, cut a slice, and find little pockets of chocolate throughout. This recipe for a cake with chocolate chips is made from scratch in one round pan and needs only a light dusting of powdered sugar to look festive. It is a friendly choice for a birthday, afternoon gathering, or any day that calls for cake.
Chocolate chip cake recipe: prepare the pan
This chocolate chip cake recipe makes one 9-inch round cake, about 8 to 10 slices. Grease the bottom and sides of the pan, line the bottom with parchment, and dust the sides lightly with flour. The parchment helps the cake release cleanly, while a light coating on the sides gives the batter a surface to rise against.
Bring the butter, eggs, and milk to room temperature before mixing. Soft butter should yield to a gentle press without looking shiny or melted. Ingredients at similar temperatures blend more evenly, which helps produce a smooth batter.
Ingredients
- 1 1/2 cups all-purpose flour, about 180 grams, plus 1 teaspoon for the chips
- 1 1/2 teaspoons baking powder
- 1/4 teaspoon fine salt
- 1/2 cup unsalted butter, softened
- 3/4 cup granulated sugar
- 2 large eggs
- 2 teaspoons vanilla extract
- 1/2 cup whole milk
- 3/4 cup mini semisweet chocolate chips
- Powdered sugar for serving, optional
Mini chips are a good choice because they are lighter and distribute readily through the batter. Tossing them with a teaspoon of flour can help separate pieces that cling together, though the batter’s thickness and the size of the chips also matter. Reserve a small spoonful to scatter on top if you like seeing chocolate on the finished cake.
This version contains dairy and eggs. For a vegan gathering, choose a cake formula developed with plant-based fat, milk, and an egg alternative, and use dairy-free chocolate chips. Products vary in moisture and fat, so a tested plant-based recipe is a better starting point than replacing every ingredient at once.
Mix the batter from scratch
- Heat the oven to 350°F. Prepare the 9-inch pan and set it aside.
- Whisk the 1 1/2 cups flour, baking powder, and salt together in a medium bowl. Toss the chocolate chips with the remaining teaspoon of flour in a small bowl.
- In a large bowl, beat the softened butter and sugar for about 2 to 3 minutes, until lighter and creamy. Scrape the bowl so the mixture is evenly combined.
- Beat in the eggs one at a time, then add the vanilla. If the mixture looks slightly curdled, continue with the flour; it can come together as the batter is mixed.
- Add the dry ingredients in three additions, alternating with the milk in two additions. Mix on low speed just until the flour disappears after each addition. Fold in the chips gently with a spatula.
- Spread the batter evenly in the pan. It should be thick enough to hold soft folds, not as thin as pouring cream. Scatter the reserved chips over the top if using.
A recipe for a vanilla cake with chocolate chips benefits from a gentle hand once the flour goes in. Overmixing can make the crumb tougher, while vigorous stirring at the end can push the chips down through the batter. Fold just until they are distributed and scrape the bottom of the bowl for any hidden flour.
Bake and cool
Bake for 30 to 38 minutes, beginning to check at 30 minutes. The top should be lightly golden and spring back when touched. Insert a toothpick into the cake near the center; it should come out clean or with a few moist crumbs. If it hits a melted chip, test again in a different spot so chocolate is not mistaken for raw batter.
Cool in the pan on a rack for 10 to 15 minutes. Run a thin spatula around the edge, turn the cake onto a rack, remove the parchment, and turn it right side up. Let it cool completely before dusting with sugar or adding frosting. A warm cake can melt a topping and is more fragile when moved.
Making a chocolate chip cake from scratch gives you control over the size and flavor of the chips. If using larger ones, be aware that they are heavier and may settle more readily. Mini chips and a batter that holds its shape are a good combination for an even distribution, though a few pieces may still gather lower in the cake.
Serve and store
For an easy finish, dust the cooled top with powdered sugar just before serving. Fresh berries on the side add color, or you can spread a thin layer of vanilla frosting over the top for a birthday. Use a sharp knife and wipe it between cuts if the chocolate is still soft.
Keep the plain cake covered at room temperature for up to 2 days, or freeze slices in a sealed container for up to 2 months. If you add a perishable frosting or fresh fruit, refrigerate according to the topping’s needs. Bring chilled slices toward room temperature before serving for the softest texture.
This recipe for cake dotted with chocolate chips also works nicely as a simple centerpiece: set the whole cake on a plate, add a candle, and slice it at the table. If you need to transport it, use a flat board and a box tall enough to protect any frosting. Keep the box level and avoid leaving it in a hot car.
A homemade recipe for chocolate-chip cake is easiest to judge after the first slice has cooled. If the chips have settled into a dense layer, use mini chips next time and check that the batter was thick enough to hold soft folds. If the center is wet while the edges are golden, cover the top loosely with foil and bake a few minutes longer, testing a spot without melted chocolate.