Bolo Formigueiro: Brazil's Chocolate Sprinkle 'Anthill' Cake
Explore Bolo formigueiro with Brazilian context, ingredient guidance, practical preparation, serving suggestions and safe storage tips.

Bolo formigueiro is a Brazilian cake with a playful appearance: chocolate sprinkles scattered through a pale crumb, creating little dark marks in every slice. Its name translates roughly as “anthill cake,” a reference to that speckled interior rather than an ingredient or elaborate decoration.
This is an approachable cake for afternoon coffee, a family snack, or a simple dessert. It needs no layers, filling, or careful piping. The main challenge is choosing sprinkles that remain recognizable in the batter, then baking the cake until the center is set without drying the edges.
Below is a practical guide to its ingredients, preparation, and serving, followed by a home-adapted recipe. This adaptation requires review in your own kitchen; pan dimensions, sprinkle formulations, and oven behavior can affect the result.
What makes a cake bolo formigueiro?
The defining feature is chocolate sprinkles mixed into a light-colored cake batter. Brazilian recipes vary: some use butter, others oil; some include grated coconut; and toppings range from a simple chocolate sauce to a thicker chocolate covering. An unglazed cake is also a reasonable choice.
There is no need to assign the cake a single regional identity. It belongs comfortably among Brazil’s everyday homemade cakes, with household variations rather than one universally fixed formula.
The sprinkles matter more than the topping. They should create small, distributed chocolate marks throughout the crumb. A cake covered with sprinkles but plain inside misses that defining feature.
Bolo formigueiro also differs from a marble cake. Marble cake uses contrasting batters, typically swirled together. Here, one pale batter carries many small chocolate pieces. The result should still taste primarily like a simple butter or vanilla cake, with chocolate appearing in little accents.
Choosing ingredients and finding Brazilian sprinkles
Chocolate sprinkles
Look for chocolate granulado, often sold in Brazilian grocery stores, international supermarkets, and baking shops. For this cake, choose small, rod-shaped chocolate sprinkles rather than large decorations, sugar pearls, or rainbow nonpareils.
Products vary considerably. Some contain cocoa butter or other fats, while others are mostly sugar with cocoa. Either type may work, but they can produce different-looking specks. Very soft chocolate decorations may melt into streaks; heavily colored sprinkles can tint the surrounding batter.
Check that the product is suitable for baking if the packaging provides that information. Avoid assuming that an expensive finishing sprinkle will necessarily hold its shape better in an oven.
The same ingredient is familiar from brigadeiro, where sprinkles usually coat the outside of the sweets. In bolo formigueiro, most of them go inside the batter instead.
Flour, dairy, and eggs
Plain all-purpose wheat flour is suitable. Self-raising flour is not a direct replacement because this recipe measures baking powder separately.
Use commercially pasteurized whole milk and butter. Eggs, milk, and butter should be cool to room temperature when mixed, rather than refrigerator-cold, to help the batter combine evenly. Take them out only shortly before baking, not for an extended period.
Unsweetened desiccated coconut is an optional variation, not a requirement. The base recipe below leaves it out so the sprinkle pattern and vanilla-butter flavor remain central.
Bolo formigueiro recipe
This version uses a square pan for easy cutting and a modest chocolate topping that can be omitted.
Yield: 12 pieces
Active time: About 25 minutes
Baking time: Approximately 35–45 minutes
Total time: About 2 hours, including cooling
Pan: One 23 cm / 9-inch square cake pan, at least 5 cm / 2 inches deep
Oven: 180°C / 350°F conventional, or 160°C / 320°F fan
Cup measurements below use a 240 ml cup. Weights are preferable, particularly for flour and sprinkles.
Ingredients
For the cake
150 g unsalted butter, softened but not melted, plus a little for greasing; about ⅔ cup
200 g granulated sugar; about 1 cup
3 large eggs, approximately 150 g without shells
5 ml vanilla extract; 1 teaspoon
250 g all-purpose flour; about 2 cups, spooned and leveled
12 g baking powder; about 1 tablespoon
1.5 g fine salt; about ¼ teaspoon
180 ml commercially pasteurized whole milk; ¾ cup
80 g small chocolate sprinkles; approximately ½ cup, depending on the product
Optional chocolate topping
100 g semisweet chocolate, finely chopped
120 ml commercially pasteurized whipping cream; ½ cup
15–20 g chocolate sprinkles, for finishing
Equipment
Square cake pan as specified above
Baking parchment
Digital scales and measuring spoons
Electric hand mixer or stand mixer
Two mixing bowls
Flexible spatula
Small saucepan or microwave-safe jug
Skewer or thin cake tester
Wire cooling rack
Method
Prepare the oven and pan.
Heat the oven to the temperature above, with a rack near the center. Lightly grease the pan. Line its base with parchment, leaving two opposite sides long enough to help lift the cooled cake. Grease any exposed sides lightly.Combine the dry ingredients.
Set aside 1 tablespoon of the measured flour for the sprinkles. Whisk the remaining flour with the baking powder and salt until evenly distributed. Breaking up any baking powder lumps now helps avoid bitter pockets later.Cream the butter and sugar.
Beat the softened butter and sugar for approximately 3–4 minutes at medium speed, scraping the bowl as needed. The mixture should look paler and fluffier, although the sugar will not dissolve completely. Butter that looks shiny and oily is too warm; briefly cool the bowl before continuing.Add the eggs gradually.
Beat in the eggs one at a time, mixing until each is incorporated before adding the next. Add the vanilla. If the mixture looks slightly curdled, proceed with the flour additions rather than beating indefinitely.Finish the batter gently.
On low speed, add the flour mixture in three additions, alternating with the milk in two additions. Begin and end with flour. Stop as soon as the batter is mostly combined, then use a spatula to scrape the bottom and sides. The batter should be thick but spreadable.Fold in the sprinkles.
Toss the sprinkles with the reserved tablespoon of flour, then fold them into the batter with a few broad strokes. This light coating can help separate them, but it is not a guarantee against sinking. Avoid prolonged mixing, which may smear chocolate through the batter.Bake until the center is set.
Transfer the batter to the pan and level the surface. Bake for approximately 35–45 minutes, checking near the earlier end of the range. The top should be lightly golden, the center should spring back gently, and a skewer inserted into cake crumb should emerge without wet batter. A chocolate mark from a sprinkle is not the same as uncooked batter.Cool before topping.
Leave the cake in its pan for 15 minutes, then lift it carefully onto a rack using the parchment. Support the base if necessary. Let it cool fully before adding the topping; warm cake can absorb the topping unevenly and become fragile.Make the optional topping.
Place the chopped chocolate in a heatproof bowl. Heat the cream until steaming, without a vigorous boil, then pour it over the chocolate. Leave for 2 minutes and stir gently until smooth. Cool until slightly thickened, spread over the cake, and finish with the remaining sprinkles.
Clearly labeled substitutions and variations
Salted butter: Use the same weight and omit the added salt. Salt levels vary between brands, so the flavor may differ slightly.
Milk alternative: An unsweetened plant-based drink can replace the milk by volume. This does not make the cake dairy-free if butter, dairy-containing sprinkles, or the cream topping remain.
Coconut variation: Add 30 g unsweetened desiccated coconut and an additional 30 ml milk. Expect a different crumb texture. Sweetened shredded coconut is not an exact substitute because its moisture and sugar content vary.
No topping: Leave the cake plain. This makes the chocolate-speckled crumb the main attraction and avoids adding another sweet layer.
Chocolate pieces instead of sprinkles: Finely chopped chocolate produces a different cake, with less regular chocolate pockets. It is an alternative, not a direct equivalent to the characteristic granulado texture.
Gluten-free flour: A formulated baking blend may be an option, but a straight replacement cannot be assumed to behave identically. Flour blends differ in absorbency and structure; use a recipe developed for your particular blend if dependable gluten-free preparation is essential.
Allergen notes
The base cake contains wheat, eggs, and milk. Chocolate and sprinkles may also contain soy, milk, or traces of nuts, depending on the manufacturer. Check every package, including decorative toppings. Substituting one ingredient does not remove allergens present elsewhere in the recipe or prevent cross-contact.
Troubleshooting the most common problems
The sprinkles sank to the bottom
Possible causes include a batter that became too warm or thin, unusually heavy sprinkles, or a long delay before baking. Measure the milk carefully, use softened rather than melted butter, and put the filled pan into the preheated oven promptly.
The flour coating is only a supporting step. It cannot compensate for a very loose batter or oversized chocolate pieces.
The crumb turned gray or streaky
The sprinkles may have softened quickly or released color during mixing. Fold them in last and handle the batter minimally afterward. On a future bake, try a different small baking sprinkle rather than reducing the cake’s cooking time.
The cake is dense
Check the baking powder’s date, the flour measurement, and the mixing method. Scooping flour firmly into a cup can add substantially more than intended. Insufficient creaming and heavy mixing after adding flour can also reduce lightness.
The middle is wet but the edges are brown
The oven may be too hot, or the pan may be smaller or deeper than specified. Loosely shield the surface with foil if necessary and continue baking until the center is set. Do not remove the cake solely because the edges look finished.
The cake is dry or crumbly
Overbaking and excess flour are common causes. Begin checking before the upper baking-time estimate, and let the cake cool before slicing. Cutting while hot can make an otherwise sound crumb break apart.
Serving bolo formigueiro
Serve in squares with coffee, tea, or milk. The cake needs little accompaniment; fresh strawberries or another mildly tart fruit can balance the optional chocolate topping.
For a Brazilian-inspired afternoon spread, pair it with a savory bake such as pão de queijo. The contrast makes more sense than surrounding the cake with several equally rich chocolate desserts.
Use a sharp knife for neat pieces, wiping the blade between cuts if the topping sticks. Refrigerated cake tastes less firm after a short period at room temperature, but bring out only what you plan to serve.
Make-ahead, storage, and food safety
Bake the cake a day ahead if convenient. Cool it before wrapping so trapped steam does not make the surface damp. Add the topping once the cake is fully cool, either that day or before serving.
For straightforward home storage, refrigerate this cake, especially when topped with the cream-based chocolate mixture. Keep it covered at 4°C / 40°F or below and eat within 3–4 days, or freeze individual portions for longer storage. Untopped pieces are easier to wrap and freeze without damaging the surface.
Refrigerate perishable topped cake within 2 hours, or within 1 hour when the surrounding temperature exceeds 32°C / 90°F. Use shallow containers rather than leaving a covered, warm cake to cool slowly. General refrigeration guidance is available in the FoodSafety.gov cold food storage charts.
Thaw frozen portions in the refrigerator while wrapped. Reheating is unnecessary; serve cold or let a portion stand briefly before eating. Do not taste raw batter, because both uncooked flour and eggs can carry harmful microorganisms.
Frequently asked questions
Does bolo formigueiro always contain coconut?
No. Coconut appears in some versions, but chocolate sprinkles dispersed through a pale cake are the key feature. The plain version is a useful starting point.
Can I bake it in a ring pan?
Yes, but the pan’s usable capacity and depth matter more than its diameter alone. Keep batter below roughly two-thirds of the pan’s height, and expect the baking time to change. Use the center’s doneness cues rather than the clock alone.
Can I use rainbow sprinkles?
They create a colorful sprinkle cake rather than the usual chocolate-speckled bolo formigueiro. Some also bleed heavily during baking. Chocolate granulado is the closer choice for this dish.
Is the chocolate topping essential?
No. A plain slice still has the defining sprinkle-filled crumb. The topping is an optional addition, not what gives the cake its identity.
A simple cake with a distinctive crumb
Bolo formigueiro is best approached as an everyday cake: modest ingredients, small chocolate sprinkles, and careful mixing. Choose suitable granulado, measure the flour accurately, and judge doneness at the center. Whether served plain or lightly topped with chocolate, its appeal is in the speckled slice.