This post may contain affiliate links. Please read our disclosure policy.

Delicious, simple and quick 4th of July Rice Krispie Treats are always a hit, and are festive for any patriotic occasion.

When we are looking for a fun and festive treat for Independence Day, we also like to make our 4th of July Cookies and American Flag Cake.

4th of July Rice Krispie Treats on a white plate

Patriotic Rice Krispie treats

Whenever we need to make a last-minute treat, we always opt for Rice Krispie Treats, because:

  • I always have the ingredients on hand and
  • They are SO easy and yummy!!

I used some red and blue food coloring to create these patriotic layers, and I love how these 4th of July rice krispie treats turned out!

Process shots of layering blue, white, and red rice krispie mixtures in a glass pan

How to Make

  1. PREP. Separating your cereal and marshmallows into three (2 cups of rice krispies, and about 2 cups of marshmallows). You’re going to make one layer at a time.
  2. MARSHMALLOWS. Put the marshmallows in microwave safe bowls, and add 1 Tbsp margarine to each. Microwave one at a time for a few minutes until the marshmallows start to expand. Make sure they don’t overflow!
  3. DYE. In one bowl, mix in blue food coloring, and mix red in another (food coloring gel will be more vibrant). Add 2 cups of rice krispies to each bowl and stir with a rubber spatula until all the cereal is well coated.
  4. ASSEMBLE. Layer the cereal in a glass baking dish in whatever order you like (we started with blue, white, then red). To press the layers in evenly, you can use a sheet of wax paper on top of the marshmallow covered cereal, and then press with your hands. That way your hands don’t get so messy and the rice krispies won’t stick to you.
  5. COOL. Let all the layers cool before cutting into squares. Enjoy!
Red, white and blue rice krispie treat layers in a glass pan

Tips + variations

  • Mini Marshmallows: Use normal sized or mini marshmallows as long as you have the amount the recipe calls for in each separate bowl.
  • Pan Size: I use an 8×8 or a 9×9 glass pan. You can use 9×13, but the treats will be thinner. You can also double the recipe and use a 9×13 pan for more thick rice krispie treats.
  • Shapes: Once the layers are cooled, use cookie cutters once the layers are cooled to cut out different shapes. I think stars would be fun for the 4th of July!
  • To cook the marshmallows, I prefer the ease of microwaving the marshmallows, but if you would rather use the stove, by all means, you can! I would still recommend doing the three layers separately, that way you ensure each layer has the same amount of marshmallow coating.
Fourth of July Rice Krispie Treats stacked on a plate

SToring Info

STORE Fourth of July Rice Krispie treats in an airtight container, but only for about 2-3 days. Try and keep them in a container that will fit all of them just right, without much excess air. The more open space, the more likely they are to dry out.

Store them at room temperature and not in the fridge. Sticking a piece of sandwich bread into the container will help keep the rice krispie treats soft.

For more patriotic treats, check out:

Save This Recipe!
Just enter your email and get it sent to your inbox! Plus you’ll get new recipes from us every week!
5 from 16 votes

4th of July Rice Krispies Treats

By: Lil’ Luna
Delicious, simple and quick 4th of July Rice Krispie Treats are always a hit, and are festive for any patriotic occasion.
Servings: 12
Prep: 8 minutes
Cook: 2 minutes
Total: 10 minutes


  • 6 cups Rice Krispies Cereal (divided)
  • 16 oz marshmallows (divided)
  • 3 tbsp margarine or butter (divided)
  • Food Coloring (red and blue/turquoise – I like Betty Crocker Gel Food Colors because the colors are brighter)
Save This Recipe!
Just enter your email and get it sent to your inbox! Plus you’ll get new recipes from us every week!


  • Gather your supplies and divide the Rice Krispies and marshmallows in three for the three layers (2 cups Rice Krispies and about 2 cups marshmallows).
  • Add marshmallows to a microwave safe bowl along with the margarine (1 TB) for a few minutes or until they start to get big and almost touch the top of the microwave. Take them out, stir well and add the food coloring. (We started with the blue, then no food coloring and then the red).
  • Then add 2 cups of Rice Krispies and stir well. Press into well greased 9×9 pan (a 9×13 works but makes thinner treats).
  • Repeat with no food coloring and then the red food coloring layer. Let set and ENJOY!


Calories: 198kcal, Carbohydrates: 42g, Protein: 1g, Fat: 3g, Sodium: 137mg, Potassium: 17mg, Sugar: 23g, Vitamin A: 1055IU, Vitamin C: 8.8mg, Calcium: 2mg, Iron: 4.3mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Additional Info

Course: Dessert
Cuisine: American
Making this recipe? Tag us!
Share it with us on Instagram using the hashtag #lilluna, so we can see what you’re creating in the kitchen!

About Kristyn

My name is Kristyn and I’m the mom of SIX stinkin’ cute kids and the wife to my smokin’ hot hubby, Lo. My mom’s maiden name is Luna, and I’m one of the many crafty “Lil’ Lunas” in the fam. On this site I like to share all things creative - from recipes to home decor to gifts and home decor ideas. Welcome!

So Easy & So Yummy

Get my cookbook!

My new cookbook is the ultimate resource for feeding your friends and family with 200+ simple recipes including videos, tips & more!

5 from 16 votes (5 ratings without comment)

Leave a comment

Your email address will not be published. Required fields are marked *

Recipe Rating


  1. Printable Calendar says:

    5 stars
    These treats look colorful and yummy! I love festive treats!

    1. Kristyn Merkley says:

      Me too! Thank you!

  2. Linda Stupke says:

    5 stars
    I have tried the Fourth of July Rice Krispies Treats. Great!
    Just one thing, searching is a zoo to find recipes.

  3. Sabrina says:

    nice layers, love the colors baked in! Very patriotic, thank you!

    1. Lil' Luna says:

      Thank you & thanks for stopping by!

  4. martha says:

    Microwaving the marshmallows ruined 2 of my bowls and 2 of my spoons, and I followed your directions. VERY disappointed.

    1. Lil' Luna says:

      I’m so sorry. As always, when using a microwave you must use a microwave safe bowl. 🙁

  5. Katie @ Little House of Four says:

    Hi Kristyn! I’m sharing this fun treat on my blog today! Thanks for sharing and have a safe and happy Fourth of July!