Patriotic Rice Krispies Treats

Featured in: Seasonal & Holiday Recipes

This colorful, layered treat features vibrant red, white, and blue hues created using gel food coloring. Soft marshmallows are melted and combined with crispy cereal to form distinct chewy layers. Each layer is carefully pressed in a pan and cooled to set, resulting in easy-to-handle squares bursting with sweet, buttery flavor. Ideal for summer festivities, this simple dessert highlights classic American colors and a delightful texture perfect for gatherings.

Updated on Fri, 06 Mar 2026 14:20:00 GMT
Patriotic red, white, and blue Rice Krispies treats layered in a festive pan, perfect for Fourth of July parties. Pin It
Patriotic red, white, and blue Rice Krispies treats layered in a festive pan, perfect for Fourth of July parties. | pecanpan.com

The Fourth of July always meant my kitchen smelled like butter and marshmallows by mid-morning, and honestly, I wouldn't have it any other way. A friend once challenged me to make something patriotic that didn't involve food coloring disasters, and these layered Rice Krispies treats became my answer—simple enough that even my kids could help press the layers, yet festive enough to steal the show at any cookout. There's something satisfying about building dessert in stripes, watching the red, white, and blue come together like edible flags on a plate.

I'll never forget the year my nephew asked if we could make "the flag treats" again—except he'd misremembered and thought I'd baked them from scratch, which made me laugh so hard I nearly dropped the pan. That's when I realized these weren't just candy; they'd become the thing people actually asked for, the dessert that somehow meant summer and fireworks and being together in our kitchen surrounded by confetti.

Ingredients

  • Rice Krispies cereal: Use exactly 6 cups and measure by pressing lightly into the measuring cup without compacting, or your layers will be dense instead of airy.
  • Mini marshmallows: One 10 oz bag divided into thirds—buy a fresh bag rather than using old ones from the pantry, as they'll melt more smoothly.
  • Unsalted butter: Keep this divided into three 1 tablespoon portions so each layer melts at the same pace without burning.
  • Vanilla extract: This goes only in the white layer for subtle flavor, so don't skip it even if you think it's an odd choice.
  • Red and blue gel food coloring: Gel is non-negotiable here—liquid coloring will make your mixture weepy and ruin the texture.
  • Red, white, and blue sprinkles: These are optional but turn "cute treat" into "show-stopper dessert" in seconds.

Tired of Takeout? 🥡

Get 10 meals you can make faster than delivery arrives. Seriously.

One email. No spam. Unsubscribe anytime.

Instructions

Prep your pan like you mean it:
Line a 9x9-inch baking pan with parchment paper, letting it hang slightly over two opposite sides so you can lift the whole thing out later without wrestling. Lightly grease the parchment—this small step saves your sanity when you're ready to slice.
Divide everything into three equal portions:
Measure out three piles of about 3 1/3 cups marshmallows and set aside 1 tablespoon of butter for each layer, along with 2 cups Rice Krispies per layer. This organization prevents the chaos of trying to eyeball portions mid-marshmallow-melt.
Make the red layer:
Melt 1 tablespoon butter in a large saucepan over low heat, then add the first portion of marshmallows, stirring constantly until they're completely smooth and glossy. Stir in a few drops of red gel coloring—start with less than you think and keep stirring; the color deepens as it distributes, and you can always add more but you can't take it back.
Toast in the Rice Krispies:
Pour in 2 cups of cereal and fold gently until every piece is coated and the mixture pulls away from the pan sides. Transfer this to your prepared pan and press it firmly but gently into an even layer, using a greased spatula or your greased hands so nothing sticks.
Build the white layer:
Wipe your saucepan clean with a paper towel, then repeat the melting process with the second portion of butter and marshmallows. Stir in 1/2 teaspoon vanilla extract right before folding in the second 2 cups of cereal, which will give this middle layer a whisper of flavor.
Layer with care:
Gently press the white mixture over the red layer using the same technique—firm enough to hold its shape, gentle enough not to squish the layer below. The parchment paper makes this easier since your first layer is trapped underneath and won't slide around.
Finish with the blue:
Wipe the pan again, melt the last tablespoon of butter with the remaining marshmallows, and add blue gel coloring using the same caution as the red. Fold in the final 2 cups of cereal and press this blue layer on top, creating your patriotic sandwich.
Crown with sprinkles if you're feeling festive:
If using sprinkles, scatter them over the top while the blue layer is still slightly warm so they'll stick. Let everything cool undisturbed for a full hour before even thinking about cutting—patience here makes clean, beautiful squares.
Chewy, colorful Rice Krispies squares in red, white, and blue, topped with festive sprinkles for Independence Day celebrations. Pin It
Chewy, colorful Rice Krispies squares in red, white, and blue, topped with festive sprinkles for Independence Day celebrations. | pecanpan.com

There was a moment last summer when I watched my grandmother eat one of these treats, and she got this quiet smile like she'd just tasted the whole season at once. That's when I understood—this recipe isn't complicated on purpose, it's simple on purpose, so the focus stays on the people around the table, not the kitchen stress.

Why Gel Coloring Changes Everything

The first time I made these with liquid food coloring, I learned an expensive lesson about texture in about thirty seconds. The mixture became sticky and impossible to layer, and I ended up with what looked like a swamp instead of stripes, which my family was tactful enough not to mention out loud. Gel coloring is thicker and doesn't add liquid to your marshmallows, so your treats stay chewy rather than gummy—a difference that separates something actually delicious from something technically edible.

The Parchment Paper Trick

Using parchment paper with overhang isn't just convenient; it's the difference between cleanly lifting your entire creation out of the pan and accidentally creating a marshmallow mess while wrestling with a metal spatula. Once everything is cooled and set, simply grab those paper edges and lift the whole slab onto a cutting board, which gives you a stable surface for slicing neat squares. This technique also saves you from having to grease the pan sides, which would otherwise stick to your knife as you cut.

Storage and Make-Ahead Magic

These treats last up to three days in an airtight container at room temperature, making them perfect for preparing the morning of your celebration or even a day ahead. The longer they sit, the slightly more they firm up, which actually helps them hold their shape when moved around or placed on serving platters. Here's what I've learned through trial and error about keeping them at their best:

  • Store in an airtight container or cover tightly with plastic wrap to prevent them from drying out or absorbing kitchen odors.
  • Keep them away from direct sunlight and heat, as the colored layers can fade and the texture will become weepy.
  • Cut only the pieces you plan to serve, and leave the rest as one block until you need it, since cut edges dry faster than intact surfaces.
Vibrant, marshmallowy Rice Krispies treats in patriotic colors, layered and ready to serve at your 4th of July gathering. Pin It
Vibrant, marshmallowy Rice Krispies treats in patriotic colors, layered and ready to serve at your 4th of July gathering. | pecanpan.com

These treats have become my Fourth of July signature, the dessert that shows up year after year because the magic isn't in complexity—it's in the satisfaction of building something beautiful with people you actually want to spend time with. Make these once, and you'll understand why they've earned their permanent spot on summer tables.

Questions & Answers

How do I achieve vibrant color layers?

Use gel food coloring rather than liquid to maintain the mixture’s consistency and achieve more vibrant hues.

Can I prepare these treats ahead of time?

Yes, they can be stored in an airtight container for up to 3 days without losing freshness.

What is the best way to prevent sticking while pressing layers?

Lightly grease your hands or spatula to press the mixture evenly without it sticking.

Are there any common allergens in this dish?

Contains milk from butter and gelatin from marshmallows; check your cereal for gluten content if needed.

How long should the layers cool before slicing?

Allow at least one hour for the treat to cool and set fully before lifting and slicing.

20-Minute Dinner Pack — Free Download 📥

10 recipes, 1 shopping list. Everything you need for a week of easy dinners.

Instant access. No signup hassle.

Patriotic Rice Krispies Treats

Chewy layers of red, white, and blue Rice Krispies blended for a festive celebration.

Prep Time
20 minutes
Time to Cook
10 minutes
Overall Time
30 minutes
Created by Anthony Hughes


Skill Level Easy

Cuisine American

Makes 16 Portions

Dietary Details Vegetarian-Friendly

What You Need

Main

01 6 cups Rice Krispies cereal
02 10 oz mini marshmallows
03 3 tablespoons unsalted butter, divided
04 1/2 teaspoon vanilla extract

Coloring

01 Red gel food coloring
02 Blue gel food coloring

Decoration

01 Red, white, and blue sprinkles, optional

How-To

Step 01

Prepare pan: Line a 9x9-inch baking pan with parchment paper and lightly grease it.

Step 02

Divide ingredients: Divide the marshmallows and butter into three equal portions, approximately 3 1/3 cups marshmallows and 1 tablespoon butter for each color layer.

Step 03

Create red layer: In a large saucepan, melt 1 tablespoon butter over low heat. Add 3 1/3 cups marshmallows and stir until completely melted. Stir in a few drops of red gel food coloring until desired shade is reached. Add 2 cups Rice Krispies cereal and mix until evenly coated. Press firmly and evenly into the bottom of the prepared pan.

Step 04

Create white layer: Wipe the saucepan clean, then melt 1 tablespoon butter over low heat. Add 3 1/3 cups marshmallows and stir until melted. Stir in vanilla extract. Add 2 cups Rice Krispies cereal and mix until coated. Gently press over the red layer.

Step 05

Create blue layer: Wipe the saucepan clean, then melt remaining 1 tablespoon butter over low heat. Add remaining marshmallows and stir until melted. Stir in a few drops of blue gel food coloring. Add remaining 2 cups Rice Krispies cereal and mix until coated. Gently press over the white layer.

Step 06

Add decoration: If desired, sprinkle the top with red, white, and blue sprinkles while the mixture is still slightly warm.

Step 07

Cool and serve: Allow treats to cool and set for at least 1 hour. Lift from the pan using the parchment paper, slice into 16 squares, and serve.

Tools You Need

  • Large saucepan
  • 9x9-inch baking pan
  • Mixing spoon or spatula
  • Parchment paper
  • Knife

Allergy Notice

Review each ingredient, check for allergens, and talk to a professional if needed.
  • Contains milk (butter)
  • May contain gluten if using non-certified gluten-free cereal
  • Marshmallows may contain gelatin (not suitable for vegans)

Nutrition Details (each serving)

Nutritional info is for reference and isn’t medical guidance.
  • Kcal: 120
  • Fats: 2.5 g
  • Carbohydrates: 24 g
  • Proteins: 1 g

Cooking Shouldn't Be Hard ❤️

Get a free recipe pack that makes weeknight dinners effortless. Real food, real fast.

Free forever. Unsubscribe anytime.