Italian Rainbow Cookies: A Step-by-Step Guide for Beginners
With their green, white, and red stripes, rainbow cookies are meant to look like little Italian flags. The multicolored layers are flavored with almond paste and stacked together between thin layers of jam, then topped with rich dark chocolate.
To be honest, the rainbow cookie isn’t really a cookie. Technically it’s a thin slice of a dense, almond-paste-enriched, three-layer spongecake smeared with sweet jam and finished with a snappy chocolate coating. Also, it doesn’t even really resemble a rainbow, which, the last time I looked, had seven colors, none of them white. Some bakeries call the rainbow cookie a seven-layer cookie, granting "layer" status to the two thin coats of jam between the sponge and the chocolate icing on top and bottom, but that's a stretch.
Even if the rainbow cookie is not accurately named, it's still one of the more popular Italian-American bakery confections. And to be clear, the rainbow cookie is a decidedly Italian-American—not Italian—bakery creation. There is no direct counterpart to rainbow cookies in Italy, though some think that they were inspired by Sicily's tri-colored gelato di campagna, a nougat with the same red, white, and green layers that resemble the Italian flag (maybe the inaccurate naming of the rainbow cookie also stems from the gelato di campagna, which, it's worth pointing out, is not gelato at all).
In the Italian-American neighborhood of South Philly where I grew up, rainbow cookies were a common sight in bakery display cases (my favorites are from Isgro’s, and are worth braving the line that wraps around the block at Christmas time). In fact, if South Philly had a flag, I picture it red, white, and green, with narrow bands of chocolate brown on the top. It would, indeed, look like a rainbow cookie.
Today, you're just as likely to spot a container of rainbow cookies at a local supermarket or deli, yet the vast majority of these mass-produced versions really disappoint. The factory-made ones may look perfect but don’t taste quite right, often taking cheap shortcuts like using artificial almond extract flavoring instead of real-deal almond paste—bleh! Which means that unless you live close by to a great Italian-American bakery where they're still made from-scratch, your best chance of getting great ones is to make them at home.
My recipe below is a straightforward, streamlined version of what can be a tricky dessert to make at home. You start with a fairly basic cake recipe that’s enhanced with ample almond paste to create the cookie’s signature nutty flavor and dense texture. The batter is divided into thirds; one portion left white, the second dyed green, and the last dyed red, spread into a paper thin cake layer then each is baked, cooled, then stacked and layered with a thin smear of raspberry or apricot jam in between. Once assembled, it’s topped with a chocolate coating that hardens into a snappy shell, and sliced into petit-fort-sized cookies that do indeed resemble the Italian flag, and not a rainbow. Read below for a few tips for how to perfect this bakery-worthy confection at home.
Key Steps for Making Bakery-Worthy Rainbow Cookies at Home
Use almond paste, not extract. The best product to use to create the cake’s signature almond flavor is almond paste. The natural oils in almond paste contributes to a denser, moister, more tender cake crumb with a noticeable almond flavor. I have seen store-bought versions of the cookies that rely on almond extract or even marzipan, but the final cookies don’t have the right balance of flavors when made with these products. The almond extract tastes one-note and artificial, while the marzipan is too sweet and lacks nutty flavor.
It can be easy to confuse almond paste and marzipan, but almond paste has about twice the amount of almond in it than marzipan does, and is a coarser, less sweet mixture. Marzipan is a smooth, very sweet confectionary paste with much more sugar than almond paste—all of which would have negative impacts on the batter for rainbow cookies. Almond paste is typically available in cans, cartons, or tubs in the baking aisle of most grocery stores.
Cream the almond paste with the butter, and sugar well. Adequately creaming butter and sugar is an essential step in many cake batters. Creaming traps air bubbles in the batter; and as the cake bakes in the oven, these bubbles expand, helping the cake rise. Without those air bubbles, the butter and sugar would form an ultra-dense paste that would give a cake the texture of a wet brick. It’s an essential baking technique that is used in this batter.
It’s also the best technique for incorporating the almond paste into the batter. The almond paste often comes out of its packaging crumbly and fairly solid. It’s necessary to soften it and break it down to a sandy texture so it incorporates evenly into the batter. The most common and best way to do this is by first mixing the almond paste thoroughly with the sugar, then creaming it with the butter. This helps break it up and distribute it evenly. Note, though, that the mixture never fully turns as “light and fluffy” as when creaming sugar and butter alone. The creamed almond paste mixture has a sandy texture with a few small lumps of the almond paste remaining, but there is still plenty of air trapped in the mixture to ensure the thin cakes rise properly.
Don’t be stingy with the food dye. If you want your cookies to really resemble the Italian flag, you’ll need to make sure the dyed portions of the batter are vibrant and deep before baking. Once the batter bakes, the cooked cake’s color will be more muted than when it was when raw. So to compensate for this, the dyed batters need to have a rich, saturated color. I call for 1/4 teaspoon of gel food dye here, but not all food dyes are created equal, and different brands can have varied potency; you may need to add more.
The recipe will also work with liquid food dye, but will likely require even more. So depending on the brand and style of food dye you use, you might need to adjust the dye amount accordingly to reach the visual cue. Keep the food dye handy and continue to add more, a few drops at a time until you’ve reached your desired shade of red and green.
Alternatively, if you'd rather avoid large amounts of food dye in your rainbow cookies, do the opposite and be as stingy as you like, or leave it out entirely, but know that the finished rainbow cookie won't have the same visual impact.
Gently compress the assembled cake before topping with chocolate. Once the batter is prepared, it’s divided in thirds, then dyed accordingly and baked into three very thin cakes. Once cooled, the cake layers are carefully stacked with a thin layer of jam in between each cake layer. This assembled cake is pretty fragile at this stage, and if you were to top it with chocolate, then cut into it right away, the cake would tear.
Refrigerating the cake for at least two hours, with a sheet pan centered over top to gently weigh it down and compress the layers transforms the confection from a delicate layer cake, to a sliceable, denser cookie texture.
Cut with confidence. Once the cake is assembled, chilled, and topped with its chocolate coating, it’s time to cut it into individual cookies. But the alternating layers of a soft delicate cake and spreadable jam topped with a hardened chocolate shell topping can present a problem when it comes time to slice it, and while a smushed and crushed rainbow cookie will still be delicious, a lot of its visual impact will be lost if not cut properly.
Calm confidence is the secret to neatly portioning each individual cookie. You’ll need to use a very sharp serrated knife, as its many teeth will make easy work of sawing through the many layers of delicate cake without compressing them down into the jam below and triggering a full-blown structural collapse.
You may lose a few top chocolate shards along the way, but if you use long slicing strokes, this shouldn’t happen. Make sure to slide the serrated knife back and forth where you want to cut while using your free hand to stabilize the cookie; it's important not to press down hard as you slice, or you risk squishing it or shredding the chocolate. For the cleanest cuts, dip your knife in hot water and wipe it dry between each portioning each slice.
Adjust oven rack to middle position and heat oven to 350℉ (175℃). Grease 13 by 9-inch baking pan with nonstick cooking spray. Make parchment paper sling by folding 1 long sheet of parchment 13 inches wide and laying across width of pan, with extra parchment hanging over edges of pan. Push parchment into corners and up sides of pan, smoothing parchment flush to pan. Grease parchment with nonstick cooking spray.
In a bowl, whisk flour, baking powder, and salt until well combined; set aside. In a stand mixer fitted with the paddle attachment, beat together sugar and almond paste on medium speed until well blended and sandy in texture, about 3 minutes; if some small bits of almond paste may remain that is OK.
Add butter to the sugar mixture in the stand mixer bowl and beat together on medium speed until well combined and lightened, about 6 minutes; the mixture will be slightly dry and crumbly compared to butter creamed with sugar alone. Add eggs,1 at a time, beating well after each addition, followed by the vanilla. Slowly add flour mixture until just combined, scraping down sides of mixer bowl as needed to incorporate all the flour.
Transfer 1/3 of batter (380g) to prepared pan and spread in even layer with a small offset spatula (it will be a very thin layer of batter). Bake until top is set and edges are just starting to brown, 10 to 12 minutes. Let cool 10 minutes in pan. Using parchment overhang, carefully lift cake out of pan and transfer to wire rack. Let cake and pan cool, about 15 minutes.
Divide remaining batter between 2 medium bowls (380g batter per bowl). Stir red food coloring into first bowl and green food coloring into second bowl. Batter should be intense red and green at this stage; if needed, add more food dye to achieve this.
Working with one colored batter at a time, make a new parchment sling following directions above for the now-empty pan, grease lightly, and repeat baking, letting pan cool after each batch.
Once cake layers are all completely cooled, center a parchment paper–lined rimmed baking sheet over the red cake layer, invert red cake layer onto sheet, and gently remove top parchment. Spread 1/3 cup jam evenly over top. Using two hands, carefully and quickly invert plain cake layer onto red layer and gently remove top parchment. Spread remaining 1/3 cup jam evenly over top. Invert green layer onto plain layer and gently remove parchment.
Cover with plastic wrap and weight with a large baking pan centered on top. Refrigerate for at least 2 hours or up to 8 hours.
Remove top sheet pan and plastic wrap. In a bowl, microwave chocolate at 50 percent power, stirring occasionally, until melted, 2 to 7 minutes. Spread chocolate evenly over top layer (it’s OK if some spills over the edges, they will be trimmed off layer). Let set for 2 minutes, then, using a fork, make a wavy decorative pattern in the chocolate. Let cool at room temperature until chocolate has set, 30 to 60 minutes.
Using a very sharp serrated knife or very sharp long slicing knife, trim away edges. Cut lengthwise into 5 equal strips (about 1 1/2 inches wide) and then crosswise into 12 equal strips (about 1 inch wide). (For cleaner cuts, run knife under warm water and dry knife with a clean kitchen towel before portioning each slice.) Serve.
Special Equipment
Stand mixer with paddle attachment, parchment paper, nonstick cooking spray, sharp serrated knife
Notes
To achieve a bright red and green color, you may need to adjust the amount of food dye you use. Add a few additional drops at a time as needed.
Make-Ahead and Storage
Store cookies layered between sheets of wax paper or parchment, in an airtight container at room temperature for up to 1 week. Cookies can also be frozen for up to 1 month. Thaw at room temperature before serving.