The 4th is almost here, and these 4th of July Rice Krispie Treats are my go-to 4th of July dessert. They’re made with browned butter, contain no artificial dyes, and are finished with natural red, white, and blue cornflower petals for a festive touch.

⭐️⭐️⭐️⭐️⭐️
What a difference those cornflower petals make! These are the prettiest Rice Krispie Treats—thick and gooey, just how we like them!Kristyn
Why You’ll Love These
Tried-and-true – A recipe I’ve used for years: buttery, gooey, and reliably delicious.
Bakery-style – Thick, soft, and chewy—perfectly indulgent and impressive at a party.
One-pot wonder – Everything comes together in a single pot for easy cleanup.
Naturally festive – No artificial dyes. I use red, white, and blue cornflower petals to decorate, making them ideal for a 4th of July celebration.
4th of July Rice Krispie Treat Ingredients

Rice Krispies Cereal: The classic choice, or any similar puffed rice cereal.
Unsalted Butter: I prefer unsalted so I can control seasoning. Browning the butter adds a toasty, nutty flavor that elevates the treats.
Marshmallows: Mini or large both work—use 20 ounces of mini or 10 ounces of large (weigh if needed) so the ratio stays gooey.
Vanilla Extract: A teaspoon brightens the flavor—don’t skip it.
Red, White & Blue Cornflower Petals: Edible petals that look like confetti. If you don’t have them, use patriotic sprinkles or small pieces of freeze-dried berries.
How to Make 4th of July Rice Krispies




Melt the butter in a large pot over low heat. For a richer taste, continue cooking until the butter turns golden brown and gives off a nutty aroma.
Add the marshmallows and stir until fully melted and smooth.
Remove from heat, stir in the vanilla, then fold in the Rice Krispies until every piece is well coated. Gently fold in the cornflower petals at the end.
Grease a 9×13 pan and transfer the mixture. Use parchment paper to press the top flat—this prevents sticky hands and creates an even surface.
Let the treats cool for 30 minutes to an hour before cutting and serving.
These are simple to make and are always a hit at summer gatherings.
Recipe Tips
- Store finished treats in an airtight container at room temperature to keep them soft and fresh.
- If you want colored treats, add a few drops of food coloring to the melted marshmallow and stir until evenly combined.
- For extra sweetness, drizzle melted white chocolate over the top or add other mix-ins like sprinkles or mini chocolate chips.

Frequently Asked Questions
Treats can harden if stored in the refrigerator, left uncovered so they dry out, or made with old, stale marshmallows. Store at room temperature in an airtight container for best texture.
Stored in an airtight container at room temperature, they stay fresh for several days. For longer storage, freeze for up to two months and thaw before serving.
No—you can adjust the cereal amount for thicker or thinner bars. If you change the cereal amount, adjust the marshmallows accordingly to keep the right texture.
Customize with patriotic sprinkles, red and blue M&Ms, mini chocolate chips, star sprinkles, or chopped freeze-dried berries. Be creative—most small mix-ins work well.
Cornflower petals are small, edible flower petals used to decorate food. They add a delicate visual element and a subtle flavor; you can usually find them in specialty spice or baking sections.
No. Refrigeration can dry and harden them. Room temperature storage in an airtight container is best.
More 4th of July desserts

Recipes
Strawberry Rice Krispie Treats

Holidays
Easy Flag Cupcake Cake

Snacks & Appetizers
Deviled Strawberries

Holidays
Strawberry Angel Food Cake Trifle
I hope you enjoy these homemade Rice Krispie treats. They’re an easy 4th of July dessert and perfect for parties. If you have questions or tips, leave them in the comments. Thanks for reading!
4th of July Rice Krispie Treats
Eden
15 mins
0 mins
1 hr 15 mins
24 treats
Ingredients
- 8 ounces unsalted butter
- 12 ounces Rice Krispies (1 box)
- 20 ounces mini marshmallows (large are fine too)
- 1 tsp vanilla extract
- 1/2 cup cornflower petals
Instructions
- Spray a 9×13 baking pan with cooking spray or butter it well.
- Melt the butter in a large pot over low heat. For a rich, nutty flavor, continue cooking until it turns golden brown.
- Add the marshmallows and stir until smooth.
- Remove from heat and stir in the vanilla. Add the Rice Krispies and fold until evenly coated. Gently stir in the cornflower petals.
- Transfer to the greased 9×13 pan and press down using parchment paper for a smooth top.
- Allow to cool for 30 minutes to 1 hour before cutting and serving.
Notes
Tips for Making 4th of July Rice Krispie Treats
These treats are quick to make and don’t require refrigeration. Keep them in an airtight container at room temperature to stay soft for several days.
You can color the marshmallow mixture with food coloring to create bright red or blue layers, or drizzle melted white chocolate on top for extra sweetness.
Customize with sprinkles, mini chocolate chips, or chopped freeze-dried berries to suit your celebration.
Nutrition
Nutrition information is an approximation.