Rainbow Cookies

title 1
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.7
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.5
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.6
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.7
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.8
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.5

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 (15)

2 days ago

OMG these taste exactly like the rainbow cookies my grandma used to bring home from the Italian bakery in Queens every Christmas! I was so intimidated because I thought they’d be too fussy, but the step-by-step instructions made it totally doable. Took the full almost 3 hours but so worth it — brought them to my office potluck and everyone begged for the recipe. 10/10!

yesterday

So glad these brought back such sweet family memories, Gina! Nothing beats that classic bakery flavor right at home — happy your office loved them too!

3 days ago

Made these with my 10 year old daughter over the weekend for her soccer team snack. We messed up the first red layer a little because we overmixed the almond paste, but no one even noticed! The chocolate coating on top is *chef’s kiss*. My kids went back for seconds before we even left the house. SO good.

2 days ago

Wait I made these for my son’s team too! The kids went nuts for them, way better than the usual granola bars lol

2 days ago

Love that you made this a fun weekend activity with your daughter! A slightly lumpy almond paste layer never ruins the final taste — that homemade charm makes them even better.

1 week ago

Okay, full transparency: I’m a total beginner and these were a little trickier than I expected, especially getting the layers even! The flavor was amazing though, my roommates devoured the whole batch in 2 days. Next time I’ll make sure to let each layer cool completely before adding the jam, mine oozed a little out the sides. Still a 4/5 for me!

5 days ago

So proud of you for giving these a shot as a newer baker! The even layers take a little practice, and letting them chill fully before slicing helps stop the jam oozing too — you’ll nail it next time for sure!

yesterday

Game changer. I’ve been searching for a solid rainbow cookie recipe for YEARS after my local Italian bakery closed down, and this is it. The almond flavor is perfectly balanced, not too overpowering, and the apricot jam between layers is exactly the right ratio. Brought these to a friend’s dinner party last night and three people asked if I bought them from a fancy bakery. Will be making these for every holiday from now on.

5 days ago

Made these for a post-hike picnic last weekend and they held up way better than I thought they would! I stored them in an airtight container in the cooler and they didn’t get soggy at all. I used seedless raspberry jam instead of apricot because that’s what I had in the fridge, and it still worked perfectly. Pro tip: dust a tiny bit of powdered sugar on your knife when slicing so the chocolate doesn’t crack!

3 days ago

The powdered sugar knife trick is genius! I fought with cracked chocolate last time I made these, definitely trying that next batch

2 days ago

Love that raspberry jam swap! So many people customize these with their favorite jam and it works beautifully, and that knife tip is spot on — thanks for sharing it with everyone!

2 weeks ago

Took me the full 2 hours 50 minutes start to finish, no shortcuts, and let me tell you — worth every single minute. I’ve had rainbow cookies from half the bakeries on Taylor Street and these hold their own. My only note is I’d add a tiny pinch of salt to the chocolate topping next time to cut the sweetness a little, personal preference though.

1 week ago

Great call on the pinch of salt! It’s such a small addition but really elevates the chocolate layer and balances the sweet almond and jam — thanks for the pro tip for other bakers!

30 minutes ago

Wait has anyone tried making these with gluten free all purpose flour? My niece has celiac and I want to make these for her birthday party next month, they look so good!

5 minutes ago

Hi Gabby! A few readers have tested this with a 1:1 gluten free all purpose baking flour (the kind with xanthan gum) and had great results! Just make sure you don’t overmix the batter to keep the layers tender.

1 week ago

I’ve been making these cookies for my family for over 40 years, and I tried this recipe last Sunday when my grandson asked for ‘the rainbow cookies’ for his graduation party. The method is a little different than my old handwritten recipe, but they came out perfect! The whole family raved, even my picky great-grandson ate three. Bellissimo!

2 hours ago

These are PERFECT for meal prep! I made a double batch on Sunday, sliced them up, and stored them in the fridge for grab-and-go treats all week. They actually taste better on day 2 and 3 after the flavors meld together, who knew? 10/10, will be adding this to my regular rotation.

30 minutes ago

Wait how long do they stay good in the fridge? I want to make a batch for my work break room but don’t want them to go bad before people eat them

5 minutes ago

Great to hear these work for your meal prep rotation! They’ll stay fresh in an airtight container in the fridge for up to a week, so they’re perfect for making ahead for work snacks or gatherings.

2 days ago

Tried these for our annual family Italian night dinner, and they were the star of the show! I will say, make sure you line your pan with enough parchment paper — I skimped on the sides and my green layer stuck a little, so I had to patch it up. You couldn’t tell once we added the jam and chocolate though, crisis averted!

5 minutes ago

Okay y’all, I was skeptical because medium difficulty recipes usually stress me out, but these were way more straightforward than I thought! The food coloring amount was perfect, not that neon fake look that some recipes have. My partner said these are better than the ones we got at the Italian festival last summer. Win!

just now

So glad the difficulty felt manageable for you! That soft, pastel rainbow look is exactly what we’re going for — so happy you two loved them more than the festival version!

3 days ago

Made these for my book club meeting and the ladies went wild! We ate them while discussing our latest novel and no one even wanted the store-bought cookies I almost brought instead. The only change I made was adding a thin layer of dark chocolate on the bottom too, like my mom used to do. Absolute perfection.

2 days ago

Wait I was at that book club!! These were insane, I ate three before I even realized it. Can you send me the recipe link??

yesterday

Sending it to you right now! The dark chocolate on the bottom is non-negotiable if you ask me, don’t skip it next time you make them

1 week ago

First time making rainbow cookies ever and I’m so proud of how they turned out! I used a mix of red and green food coloring for the layers to make them Christmas themed, and they were a hit at my neighbor’s holiday cookie swap. Someone even offered to pay me to make them a batch for their kid’s school bake sale! Wild.

5 days ago

Wait I was at that swap! Your cookies were the first ones gone, I was so mad I only got one before the plate was empty

3 days ago

That is such a fun win! Holiday cookie swaps are the perfect place to show these off — you might have a new side hustle making these if you’re not careful!

just now

Wait, quick question — can I make the layers a day ahead and assemble them the next day? I’m hosting a big dinner party and want to get as much prep done ahead of time as possible so I’m not stuck in the kitchen the whole time guests are over.

just now

Absolutely! You can bake the colored cake layers, wrap them tightly in plastic wrap, and store them in the fridge for up to 2 days before assembling with jam and chocolate. It makes the process way less stressful for party days!

2 weeks ago

SO good. I’ve been intimidated to make rainbow cookies for years because I thought you needed fancy bakery equipment, but I just used my regular hand mixer and 9x13 pan and they came out flawless. The almond paste really makes the flavor, don’t skimp on the good stuff! My roommate said these are the best thing I’ve ever baked. High praise coming from someone who eats cereal for dinner 90% of the time.