Patriotic Rice Krispie Treats for 4th of July Celebrations

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.

Festive 4th of July treats topped with edible cornflower petals.

⭐️⭐️⭐️⭐️⭐️
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

ingredients to make rice krispie treats

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

Adding marshmallows into a large pot.
stirring rice krispies to the pot
Red, white and blue cornflower petals.
pressing parchment paper down on rice Krispie treat to get an even layer.

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.
Naturally dyed 4th of July Rice Krispie treats with red, white, and blue petals.

Frequently Asked Questions

Why do my Rice Krispie Treats get hard?

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.

How long do 4th of July Rice Krispie Treats last?

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.

Do I have to use 12 ounces of Rice Krispies cereal?

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.

What else can I add to 4th of July Rice Krispie Treats?

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.

What are cornflower petals?

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.

Do you have to refrigerate Rice Krispie treats?

No. Refrigeration can dry and harden them. Room temperature storage in an airtight container is best.

More 4th of July desserts

Strawberry Rice Krispie Treats.

Recipes

Strawberry Rice Krispie Treats

overhead photo of American flag made out of cupcakes

Holidays

Easy Flag Cupcake Cake

Easy deviled strawberries with whipped cheesecake.

Snacks & Appetizers

Deviled Strawberries

Angel food cake with 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!

one rice Krispie treat with red, white and blue cornflowers

4th of July Rice Krispie Treats

By:
Eden
These treats are made with brown butter, vanilla, and red, white, and blue cornflowers. No artificial dye—they stay fresh for several days so you can enjoy them all week.
Prep:
15 mins
Cook:
0 mins
1 hr
Total:
1 hr 15 mins
Servings:
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

Calories: 197 kcal, Carbohydrates: 31 g, Protein: 1 g, Fat: 8 g, Sugar: 15 g

Nutrition information is an approximation.

Like this? Leave a comment below!