Rainbow Cookies

Rainbow Cookies
⏱️ cook time 2 hours 50 minutes
🍽️ servings 24
⚡ Difficulty medium

intro

Vibrant three-layered almond cookies sandwiched with smooth apricot jam and coated in rich dark chocolate, a beloved Italian-American bakery staple for festive cookie platters.

Ingredients

Almond paste 226 grams (8 oz, room temperature)
Unsalted butter 226 grams (1 cup, softened to room temperature)
Granulated sugar 200 grams (1 cup)
Large eggs 4 units, separated, room temperature
All-purpose flour 120 grams (1 cup, sifted)
Fine sea salt 1/4 teaspoon
Pure almond extract 1 teaspoon
Green gel food coloring 1/4 teaspoon
Red gel food coloring 1/4 teaspoon
Seedless apricot jam 180 grams (3/4 cup)
Dark chocolate (70% cacao) 170 grams (6 oz, chopped)
Neutral vegetable oil 1 teaspoon

Steps

1

Make base cookie batter

Preheat oven to 175°C (350°F) with the rack in the middle position. Line a 22x33cm (9x13 inch) rimmed jelly roll pan with parchment paper, leaving a 5cm (2 inch) overhang on the two long sides to easily lift baked layers later. In a dry stand mixer bowl fitted with a paddle attachment, beat 226g room-temperature almond paste, 226g softened unsalted butter, and 200g granulated sugar on medium speed for 4 minutes until completely smooth, pale, and free of almond paste lumps. Add 4 room-temperature egg yolks one at a time, beating 30 seconds after each addition, then stir in 1 tsp almond extract and 1/4 tsp fine sea salt. Turn mixer to low speed, gradually add 120g sifted all-purpose flour, and mix only until no dry flour streaks remain. In a separate grease-free glass bowl, whip 4 egg whites on medium-high speed for 2 minutes until stiff, glossy peaks form, then gently fold into the batter in three even portions to keep the mixture light and airy.

Step 1
step1:Make base cookie batter
2

Bake colored cookie layers

Divide the finished batter evenly into three separate bowls (roughly 320g / 1.3 cups per bowl). Leave one bowl uncolored (pale off-white), stir 1/4 tsp green gel food coloring into the second bowl until evenly tinted a soft pastel green, and stir 1/4 tsp red gel food coloring into the third bowl until evenly tinted a soft pastel red. Wash and dry the parchment-lined pan between each layer: spread the green batter in an ultra-thin, even layer across the entire pan bottom, bake for 8-9 minutes until the top is just set and edges are lightly golden, then lift out using the parchment overhang and transfer to a wire rack to cool completely. Repeat the baking process with the uncolored white batter, then the red batter, baking each layer 8-9 minutes at 175°C (350°F) and cooling fully on racks for 20 minutes before assembly.

Step 2
step2:Bake colored cookie layers
3

Assemble layered cookie stack

Once all three cookie layers are fully cooled, heat 180g seedless apricot jam in a small saucepan over low heat for 2 minutes until runny, then pour through a fine-mesh sieve to remove any fruit lumps. Place the cooled green cookie layer on a flat cutting board, spread half of the warm strained jam evenly across the entire surface using a small offset spatula, leaving a 3mm (1/8 inch) border from the edge. Carefully align the white cookie layer directly on top of the jam-coated green layer, press gently to adhere, then spread the remaining half of the apricot jam evenly across the top of the white layer. Top with the red cookie layer, press gently to create a tight, even stack, then wrap the entire stack tightly in plastic wrap. Place a second 22x33cm (9x13 inch) pan on top of the wrapped stack, set two 450g (1 lb) canned goods or baking weights on the upper pan, and chill in the refrigerator for 1 hour to set the layers and fuse them together.

Step 3
step3:Assemble layered cookie stack
4

Melt chocolate coating

After the cookie stack has chilled for 1 hour and set, unwrap the plastic and trim any uneven edges from the stack with a sharp serrated knife to create a perfect, even rectangle. Place 170g chopped 70% dark chocolate and 1 tsp neutral vegetable oil in a dry heatproof bowl set over a small saucepan of gently simmering water (double boiler, ensure the bowl does not touch the water surface). Stir continuously over medium-low heat for 3-4 minutes until the chocolate is completely smooth and melted, reaching a temperature of 32°C (90°F) on a candy thermometer, then remove the bowl from the heat.

Step 4
step4:Melt chocolate coating
5

Coat stack in chocolate

Pour half of the melted dark chocolate evenly over the top of the chilled red cookie layer, spread into a thin, even coat with an offset spatula, covering the entire top surface. Return the chocolate-topped stack to the refrigerator for 15 minutes until the top chocolate layer is fully firm to the touch. Remove from the fridge, flip the entire stack over so the uncoated green layer is facing up, pour the remaining melted chocolate over the surface, spread into a thin even coat, then use the tines of a fork to create light, wavy decorative lines across the wet chocolate if desired. Chill for another 20 minutes until the second chocolate layer is completely set.

Step 5
step5:Coat stack in chocolate
6

Cut into individual cookies

Once both chocolate layers are fully set, remove the stack from the refrigerator and let it rest at room temperature for 10 minutes to prevent the chocolate from cracking when cutting. Use a sharp, thin-bladed knife warmed under hot running water and dried between cuts to slice the stack into 5cm (2 inch) wide strips, then cut each strip crosswise into 5cm (2 inch) square cookies, wiping the knife clean after every 2-3 cuts for sharp, clean edges. Arrange finished cookies on a serving platter, or store in an airtight container in the fridge for up to 1 week.

Step 6
step6:Cut into individual cookies

Tips

1.Use gel food coloring instead of liquid food coloring, as liquid coloring thins the delicate batter and leads to thin, tear-prone cookie layers that are hard to stack.
2.Gently fold beaten egg whites into the batter rather than stirring vigorously, to preserve trapped air and keep baked layers soft and light instead of dense and tough.
3.Always warm your knife under hot water and dry it between cuts when portioning set cookies to prevent the hard chocolate shell from cracking or pulling away from the cookie layers.

✨ You May Also Like

Desserts & Baking
🍜 Italy

Creamy, coffee-kissed classic Northern Italian no-bake dessert, with layers of rum-spiked mascarpone cream, soft ladyfingers, and a rich cocoa dusting.

⏱️ 4 hours 3Desserts & Baking ★ 4.8
Desserts & Baking
🍜 France

Flaky, shatteringly crisp, buttery French croissants with golden exteriors and soft, airy layered interiors, perfect for pairing with coffee for a special morning treat.

⏱️ 12 hours Desserts & Baking ★ 4.7
Desserts & Baking
🍜 United States

Warm, spiced baked apples topped with a fluffy golden biscuit crust, this cozy dessert pairs perfectly with vanilla ice cream for cool-weather comfort.

⏱️ 55 minuteDesserts & Baking ★ 4.7
Desserts & Baking
🍜 United States

A star-spangled classic American blueberry pie with buttery flaky crust and bright sweet-tart filling, perfect for summer patriotic gatherings.

⏱️ 1 hour 25Desserts & Baking ★ 4.8
Desserts & Baking
🍜 United States

A beloved no-bake regional Maine candy with a chewy coconut-potato center coated in rich dark chocolate, a New England holiday staple since the 1870s.

⏱️ 2 hours 3Desserts & Baking ★ 4.9
Desserts & Baking
🍜 France

Luxuriously creamy, floral frozen custard made with aromatic Tahitian vanilla beans, boasting a smooth, rich texture that melts slowly on the tongue.

⏱️ 3 hours 3Desserts & Baking ★ 4.6

Rainbow Cookies:Frequently Asked Questions

1.Why are these called Italian-American rainbow cookies if I never see them in Italian bakeries in Italy?
Great question! These are a classic Italian-American invention, created by Northeast U.S. immigrant bakers in the early 1900s to echo the red, white, and green of the Italian flag. The “rainbow” nickname caught on as a more festive, approachable name for the tri-color treat that’s been a holiday bakery staple for generations of Italian-American families.
2.Can I substitute marzipan for almond paste if that’s what I already have in my pantry?
I don’t recommend it for authentic flavor and texture, since marzipan has a much higher sugar content and milder nuttiness than dense, rich almond paste. If you have to swap, cut the recipe’s granulated sugar by 2 tablespoons per 8 ounces of marzipan to avoid overly sweet cookies that lack that signature deep almond bite.
3.Why do my baked cookie layers turn out dense and tough instead of light and tender?
The most common culprit is overmixing the batter once you add flour, which develops excess gluten and creates tough layers. You’ll also want to use fully room-temperature butter and eggs (not ice-cold straight from the fridge) so the batter emulsifies smoothly, baking up to that perfect soft, moist crumb.
4.Do I have to use apricot jam between the layers, or can I swap it for another flavor?
Apricot jam is traditional because its bright, tart-sweet profile cuts through rich almond and chocolate, but you absolutely can swap it. Seedless raspberry jam is a beloved, common alternative—just make sure any jam you use is seedless and warmed slightly so it spreads thin without tearing your delicate baked layers.
5.How do I get perfectly even, straight layers instead of lopsided, uneven cookies?
The pro trick is to weigh your finished batter with a kitchen scale before dividing it between three bowls for coloring, so each color gets exactly the same amount. Spread each layer evenly with an offset spatula, then tap the pan firmly on the counter a few times before baking to pop air bubbles and level the surface.
6.What type of food coloring works best for vibrant, bakery-style red and green layers?
Skip generic liquid food coloring, which adds excess moisture to the batter and creates muted, dull colors. Gel food coloring is your best pick: you only need a tiny drop to get saturated, bright hues without thinning the almond batter, and it won’t alter the tender, moist crumb of your baked layers.
7.Why do recipes tell you to weigh down the stacked cookie layers before adding chocolate?
Weighing the stack is the secret to preventing gaps between jam and cookie layers, so your slices hold together cleanly instead of sliding apart when cut. After stacking jam-smeared layers, wrap the block tightly in plastic, set a second pan on top, and weigh it down with canned goods for 4 to 6 hours in the fridge.
8.What kind of dark chocolate works best for the smooth outer coating?
Reach for 60-70% cacao dark chocolate, ideally couverture if you have it, for that perfect snappy, not-too-sweet shell. Skip unsweetened baking chocolate, which is overly bitter, and avoid standard chocolate chips—they have added stabilizers that make the coating dull and less smooth than chopped bar chocolate.
9.Can I adapt this recipe to be gluten-free for friends with dietary restrictions?
Absolutely! Swap the all-purpose flour for a 1:1 gluten-free all-purpose baking blend that contains xanthan gum, and double-check that your almond paste is certified gluten-free (some brands have hidden wheat cross-contamination). The final cookies will have nearly the same moist, dense almond crumb as the traditional version.
10.How long do I need to let the chocolate set before slicing the cookies?
After coating both sides of the chilled cookie block with chocolate, let it set in the fridge for 20 to 30 minutes, until the chocolate is firm but not rock-hard. If you chill it longer than an hour, the chocolate will become too brittle and crack when sliced, leaving messy, uneven edges instead of clean cuts.
11.What’s the best way to cut the cookies without cracking the chocolate coating?
Grab a sharp, thin-bladed chef’s knife, run it under very hot water for 10 seconds, then wipe it completely dry before every single cut. The warm knife glides cleanly through the chocolate and dense almond layers without cracking the shell or squishing jam, giving you neat, bakery-perfect 1-inch square bites.
12.Can I make these cookies ahead of time for a holiday party or cookie swap?
These actually taste better when made ahead! The flavors meld beautifully and layers firm up perfectly when stored in an airtight container in the fridge for 2 to 3 days before serving. Let them sit at room temperature for 10 to 15 minutes before serving so the rich almond flavor comes through fully.
13.My almond paste always has hard lumps when I mix it into batter—how do I fix that?
Almond paste dries out quickly once opened, leading to stubborn lumps. Before mixing, break the paste into small chunks and beat it with softened butter and sugar on medium speed for 3 to 4 minutes, until completely smooth, before adding eggs. For extra ease, you can grate cold almond paste on a box grater first to break it up fast.
14.Do I need a special baking pan for these, or will a standard 9x13 pan work?
A standard rimmed 9x13 inch quarter-sheet pan works perfectly—no fancy specialty equipment required. Just be sure to line it completely with parchment paper with a 2-inch overhang on the long sides, so you can easily lift baked layers out of the pan without tearing them when it’s time to stack.
15.Why do my cookie layers stick to the pan even when I use parchment paper?
This usually happens if you don’t lightly grease the pan under the parchment, or if you spread batter too thin in spots. Give the pan a quick spritz of nonstick spray before laying down parchment to hold it in place and prevent seepage, and spread each batter layer evenly to the edges to avoid fragile, sticking thin spots.
16.Is it okay to add a white chocolate drizzle on top for extra festive decoration?
Totally! A thin white chocolate drizzle is a fun, pretty twist for holiday cookie platters, and it pairs beautifully with the almond and apricot flavors. Just wait until the dark chocolate coating is fully set, then drizzle melted white chocolate over the top with a fork, and chill 10 minutes before slicing so the drizzle doesn’t smudge.
17.How should I store leftover rainbow cookies, and how long do they stay fresh?
Store leftovers in an airtight container, separated by layers of parchment paper to prevent sticking, in the fridge for up to 1 week. You can also freeze them for up to 3 months: just thaw in the fridge overnight, then let them sit at room temperature for 10 minutes before serving, and they’ll taste just as fresh as baking day.
18.My chocolate coating looks streaky and dull instead of shiny—what went wrong?
That’s chocolate bloom, which happens when chocolate gets too hot while melting, or if condensation hits the chocolate as it sets. Melt chocolate slowly in 30-second microwave bursts, stirring between each, to avoid overheating, and make sure your chilled cookie block is dry before coating to prevent water droplets from causing streaks.
19.Is it normal for the individual colored cookie layers to be really thin after baking?
Yes! Traditional Italian-American rainbow cookies have thin, dense, moist layers, not thick, cake-like slabs. Each color layer should bake to roughly ¼-inch thick, so the stacked, jam-filled, chocolate-coated block is about 1 inch tall before slicing into bite-sized squares. Thicker layers lead to bulky, unbalanced cookies that don’t match the classic bakery profile.
20.Can I add mix-ins like chopped nuts or sprinkles to the cookie batter?
I recommend keeping the batter completely smooth for that classic tender, even bakery texture, as chunky mix-ins make it hard to spread thin, uniform layers and cause jam to spread unevenly when stacking. If you want extra crunch or color, add finely toasted almonds or festive sprinkles to the top of the wet chocolate coating before it sets.

Comments (16)

2 days ago

OMG these taste exactly like the rainbow cookies my Italian grandma used to bring to every Sunday family dinner! I was so intimidated because I thought they’d be super fussy, but the step-by-step instructions made it totally doable. My kids devoured half the pan before I even had a chance to drizzle the chocolate on top 😂

yesterday

Right?! I’ve tried so many copycat recipes and none of them hit that nostalgic almond paste flavor until this one! I brought a batch to my office potluck last week and people were begging for the recipe.

yesterday

That makes my day to hear! The almond paste ratio is really key to nailing that classic old-school bakery flavor—so glad it worked out for your family!

1 week ago

Game changer. I’ve never made a layered cookie before, and I was sure I’d mess up the food coloring for the red and green layers, but they came out perfectly vibrant. Brought these to my neighbor’s Christmas party and everyone thought I bought them from a fancy Italian bakery in Dallas. 10/10 will make again.

5 days ago

So glad the layering tips worked for you! A quick pro tip if you make them again: chill each layer for 10 minutes before adding the next one to get those super clean, sharp edges everyone loves.

3 days ago

Made these gluten free by swapping in a 1:1 GF almond flour blend, and they were SO good! The texture was almost identical to the regular version, even my husband who hates GF baked goods went back for thirds. Only note is I added a tiny extra splash of almond extract to amp up the flavor.

5 days ago

Wait, hold up—2 hours 50 minutes total time? I spent almost 4 hours on these because I kept having to wait for layers to set, and my chocolate seize up when I was melting it. They tasted fine, but definitely more labor intensive than I expected for a home baker.

3 days ago

Oh no, the chocolate seizing is the worst! I had that happen my first time too—turns out I got a drop of water in my melting bowl. Now I use a double boiler on super low heat and it works like a charm every time!

3 days ago

So sorry the timing felt off for you! The listed cook time includes chill time for the layers, but if your kitchen runs warm, you might need a little extra chill time to get the layers firm. For the chocolate, make sure your bowl and utensils are completely dry before melting to avoid seizing—hope that helps for next time!

2 days ago

Made these for my kid’s end-of-season soccer team potluck and they were the first dessert gone! All the moms were asking where I got the recipe, and a couple of the kids said they looked like ‘edible rainbow bricks’ in the best way possible. The apricot jam layer is *chef’s kiss*

yesterday

I made these for my son’s baseball potluck too! I added a little sprinkle of nonpareils on the chocolate top for a fun pop and the kids went crazy for them.

2 weeks ago

These are perfect with a strong espresso in the morning, no cap. I cut mine into tiny bite-sized squares so I don’t feel guilty grabbing a couple with my coffee on my way out to work. The only tweak I made was using semi-sweet chocolate instead of dark for the coating, since I prefer a sweeter finish.

2 hours ago

First time ever making any kind of fancy baked good and I was so nervous about messing this up, but it came out amazing! I did accidentally use too much red food coloring so my red layer was a little neon, but no one at my Friendsgiving cared at all. So proud of myself!

30 minutes ago

That’s the spirit! Baking is all about having fun with it, neon red layers and all. So proud of you for giving this a shot—bet it tasted incredible regardless of the color!

1 week ago

I’ve been making these cookies for 40+ years for Christmas, and I have to say this recipe is almost identical to the one my own mother passed down! The only difference is I always add a thin layer of raspberry jam alongside the apricot for a little extra tang. Tried that this time with this recipe and it worked beautifully.

5 days ago

Oh the raspberry and apricot combo sounds insane! I’ve only used apricot before, I’m definitely trying that swap next batch. Does it make the layers too soggy if you use both?

3 days ago

Not at all! Just make sure you spread the jam super thin and blot it a little with a paper towel if it’s extra runny. You get that perfect sweet-tart kick without soggy layers, promise!

3 days ago

These hold up so well in the fridge for meal prep! I made a batch on Sunday and cut them into individual squares, stored them in an airtight container, and they were still perfectly moist all week for my mid-afternoon snack. Way better than grabbing a candy bar from the vending machine at work.

2 days ago

Great tip! These actually taste even better the second day after the flavors have had time to meld together, so they’re perfect for making ahead for gatherings or weekly snacks.

5 minutes ago

Took these to a holiday cookie swap and I swear three people asked me to start selling them. The almond flavor is so rich, and the chocolate coating cracks perfectly when you bite into it just like the bakery versions. Worth every minute of prep time, trust me.

just now

Y’all, I messed up so bad. I forgot to line my baking pan with parchment paper, so the pink layer stuck completely to the bottom when I tried to take it out. I ended up making a cookie crumble trifle with the broken pieces, jam, and chocolate, and it was still fire, but next time I’m definitely not skipping the parchment 😭

just now

LMAO that trifle hack is genius! I once burned the bottom layer of these and did the same thing, no one at my party even knew it was a mistake. They just thought it was a fancy layered dessert.

just now

Oh no, that stuck layer is such a bummer, but your trifle save is next level! Parchment paper is non-negotiable here for easy removal, but I love that you rolled with it and made something delicious anyway.

2 weeks ago

I grew up eating these at every Italian wedding and bakery in the suburbs, and this recipe is dead on. The balance of almond, jam, and chocolate is exactly what I remember from when I was a kid. I’ve been searching for a solid recipe for years, so glad I finally found this one.

1 week ago

Fellow Chicago suburbanite here! I feel like every bakery around here has their own version, but most of them are too dry these days. Can’t wait to try this to see if it beats my favorite spot in Oak Park.

2 days ago

I was a little worried the almond paste would be too strong for my southern family who’s used to super sweet desserts, but they went crazy for these! I added a tiny bit of vanilla extract to mellow the almond just a touch, and it was the perfect adjustment for our taste buds. Even my picky teen asked for seconds.

2 hours ago

Has anyone tried making these with less sugar? I’m trying to cut back on added sugars but I’ve been craving these like crazy since I saw the recipe. Wondering if cutting the sugar in the cake layers by 1/3 would ruin the texture?

30 minutes ago

I tried cutting the sugar by 1/4 last time I made them and it worked great! I wouldn’t go much more than that though, because the sugar helps keep the layers tender and moist. The dark chocolate coating and jam add plenty of sweetness anyway.

5 minutes ago

Great question! I’ve tested this with a 1/3 sugar reduction before and it works, just note that the texture will be a tiny bit denser than the original. You can also use no-sugar-added apricot jam to cut down on extra sugar without sacrificing that fruity layer!

1 week ago

These are now my go-to holiday cookie for every gathering! I made them for Christmas, made a red/white/blue version for Fourth of July, and even pastels for Easter by switching up the food coloring. The recipe is so versatile, you can match the colors to any holiday or event.

5 days ago

I love that color swap idea! The pastel Easter version sounds absolutely adorable—might have to steal that for my own family’s Easter dinner this year.

yesterday

Made these in my tiny dorm kitchen with a hand mixer and a couple of cheap baking pans, and they turned out way better than I expected! My roommates and I ate almost the whole pan while we were studying for finals last week. 10/10, even for people with minimal kitchen equipment.