Skip to content

4th of July Cookies

Homemade 4th of July cookies stand out amongst the dessert crowd! Decorated in red, white, and blue M&Ms, these soft and chewy cookies are a delicious addition to your festive dessert table!

close up of m&m cookies

This post may contain affiliate links. Read disclosure policy.

Patriotic cookies

These red white and blue cookies are soft, chewy, and made similar to my M&M cookies but with the simple swap of patriotic M&Ms. In every bite, you’ll get the perfect ratio of cookie to candy chocolate along with a nice chewy center and a crispy edge. They’re truly irresistible!

Baking cookies is an easy treat to whip up in minutes and a fun way to get your kids in the kitchen. This recipe requires the use of just one bowl and spoon, so it’s simple enough for even the youngest bakers. There is nothing better than the mouthwatering aroma of freshly baked homemade cookies, but when you’re making fourth of July cookies, well, that just makes life a little extra sweet!

Have a few extra M&Ms? Make use of them in these red white and blue rice krispies or M&M brownies and you’ll have one more dessert to add to your celebration.

Why we love this recipe

  • They’re easy enough for even the newest bakers!
  • These festive cookies are always a hit and make a statement.
  • Customizable to any occasion based on the colors of your M&Ms.
  • These cookies are freezer-friendly for months.
  • Make a double batch to keep for later or share with a friend.
  • Kids love them for not only desserts but a quick snack as well.

m&m cookie dough in bowl

Tips & variations for making 4th of July cookies

  • Refrigerate the dough for a minimum of 15 minutes if you can. It’s not absolutely necessary but it will keep the cookies from spreading a bit.
  • Do not overmix. You want to just gently fold the dough by the time you add in the M&Ms and chocolate chips that way you keep the consistency soft and chewy.
  • Use a Silpat baking mat for nonstick, easy cleanup.
  • A large cookie scoop is ideal for getting each cookie the same size. Uniform sizes not only present nicely, but it makes for even baking.
  • Just before baking, place some extra M&Ms or chocolate chips (or both) into the top of the cookie for a pop of added color and cuteness. If you forget, you can actually do this as soon as they come out of the oven as well.

Do I need to melt the butter?

I use barely room temperature butter which gives me flexibility on how long I chill my dough. If you are using melted butter, you will definitely NEED to chill your dough for a minimum of 1 hour. Otherwise, your cookies will likely come out flatter and crispier but if that’s your thing, go for it.

m&m cookie dough on pan

Can I use this cookie recipe for other occasions?

Yes, please do! This versatile recipe is perfect for any occasion! Christmas M&M cookies are an example of using red and green. Think pink and red for Valentine’s Day or rainbow for a birthday party! Only green for St Patrick’s Day or orange for Halloween. See, there really is no limit!

For a fun and festive DIY cookie-making activity, set out all the M&Ms and have the kids add their own!

Storing & freezing

  • To store: Any leftovers should be kept in an airtight container in the fridge for up to 3 days. You can keep them covered on the counter the day you make them, just make sure to transfer them into the fridge before you go to bed at night.
  • To freeze: Once completely cooled, place in a freezer-friendly bag or airtight container and freeze for up to 3 months.

m&m cookies on table

More delicious M&M desserts:

close up of m&m cookies

4th of July Cookies

5 from 3 votes
Homemade 4th of July cookies stand out amongst the dessert crowd! Decorated in red, white, and blue M&Ms, these soft and chewy cookies are a delicious addition to your festive dessert table!
Prep Time: 15 mins
Cook Time: 10 mins
Refrigerate: 15 mins
Total Time: 40 mins
Servings: 24

Ingredients 

Optional: Sprinkles (stars would be fun)

    Instructions

    • Preheat the oven to 375°F. Line two baking sheets with parchment paper and set aside.
      parchment paper on pan
    • In a large bowl, cream together the butter and sugars. Mix for 1 minute, or until creamy and fluffy. Add the eggs and vanilla and mix just until combined. Next add the flour, baking soda and salt and mix just until combined. Do not over mix.
      cookie dough in mixer
    • Fold in the chocolate chips and M&M’s. Refrigerate dough for 15 to 60 minutes if time allows.
      m&m cookie dough in bowl
    • Using a large cookie scoop (about 3 Tablespoons), scoop the cookie dough onto the baking sheet about 2 inches apart. Place extra chocolate chips or M&M’s on the top of the cookies if desired.
      m&m cookie dough on pan
    • Place pan in oven and bake for 7-10 minutes, or until the edges are barely golden brown. Allow cookies to set on pan for 2-3 minutes, and then remove to a cooling rack to cool.
      m&m cookies on cooling rack
    • Once the cookies are cooled, store in an airtight container for up to 3 days. Freeze for up to 3 months.

    Notes

    M&M's: Feel free to replace with rainbow M&M's or any other seasonal variety. 
    To store: These cookies will stay fresh in an airtight container in the fridge for up to 3 days. You can keep them covered on the counter the day you make them, just make sure to transfer them into the fridge before you go to bed at night.
    To freeze: Once completely cooled, place in a freezer-friendly bag or airtight container and freeze for up to 3 months.

    Calories: 255kcal | Carbohydrates: 35g | Protein: 3g | Fat: 12g | Saturated Fat: 7g | Cholesterol: 36mg | Sodium: 158mg | Potassium: 58mg | Fiber: 1g | Sugar: 22g | Vitamin A: 276IU | Vitamin C: 1mg | Calcium: 27mg | Iron: 1mg
    Course: Dessert
    Cuisine: American
    Author: Jamielyn Nye

    Let’s connect

    Join our community of over 5 million!

    Featured on

    • Taste of Home
    • Martha Stewart
    • Country Living
    • BuzzFeed
    • Yahoo
    • Food Network
    • Today