Fourth of July Cheesecake Cake with Red White and Blue Layers
Fourth of July Cheesecake Cake
Let’s talk about the dessert that makes a cookout stop mid sentence. The Fourth of July is my favorite holiday, hands down. Fireworks, cold watermelon, kids racing through the sprinklers, and a table that groans under the weight of everyone’s best dish.
A couple of summers ago I wanted a centerpiece that was not another flag shaped cookie platter, so I built this Fourth of July cheesecake cake.
Red cake layer on the bottom, cheesecake layer in the middle, blue cake layer on top, and vanilla buttercream over all of it. My dog Cookie supervised from the doorway, mostly hoping something would land on the floor.
Here is the thing I want you to hear before anything else. A cheesecake cake is not harder than a regular layer cake.
The one real challenge is getting the cheesecake layer out of the pan in one piece, and there is a simple way to handle that. If you can bake a boxed cake and beat cream cheese, you can absolutely make this cake.
One planning note, and I mean this kindly. The cheesecake layer has to refrigerate overnight. Pick your baking day with that in mind and give yourself a full evening of chilling time before you plan to serve.
The three components at a glance
| Component | What goes in | Key timing |
|---|---|---|
| Cheesecake layer | Cream cheese, sugar, flour, eggs, egg yolk, sour cream, heavy cream, vanilla | Bake 27 to 32 minutes at 350 degrees F, then chill overnight |
| Red and blue layers | 15.25 ounce white cake mix with water, oil, and eggs per the box, plus gel food coloring | Bake according to the cake mix package directions |
| Vanilla buttercream | Unsalted butter, powdered sugar, milk or heavy cream, vanilla, salt | Beat on high for 3 minutes until light and fluffy |
The finished cake serves 8, so it works for a smaller gathering or as one of several desserts on a bigger table. Let’s walk through each part.
Start with the cheesecake layer
This layer needs a head start, so make it first. Gather:

- 2 8 ounce packages cream cheese, at room temperature
- 1/2 cup granulated sugar
- 2 tablespoons all purpose flour
- 2 large eggs, at room temperature
- 1 large egg yolk
- 1/4 cup sour cream
- 1/4 cup heavy cream
- 1 teaspoon vanilla
Preheat the oven to 350 degrees F. Spray an 8 inch round cake pan with cooking spray, line the bottom with parchment paper, then spray it generously one more time. That double spray matters more than it sounds like it does, because it is your insurance policy for getting the cheesecake out later.
Beat the cream cheese, sugar, and flour together with an electric mixer on medium speed. Add the eggs and the egg yolk one at a time, mixing just until each addition is incorporated. Turn the mixer down to low and beat in the sour cream, heavy cream, and vanilla. Pour the batter into the prepared pan and smooth the top.
Set the pan inside a roasting pan or any large baking pan, then pour a couple of inches of water into the outer pan to make a water bath. Bake 27 to 32 minutes, until the center barely wobbles when you nudge the pan.
The second it comes out of the oven, run a knife between the cake and the edge of the pan. Let it cool to room temperature, cover it with plastic wrap, and refrigerate overnight.
The next day, dip the pan into a bowl of hot water for about 15 seconds. Run a knife around the edge again, set a large plate or a cake circle on top of the pan, and invert the cheesecake onto the plate. Keep it in the refrigerator until you are ready to build the cake.
Now the red and blue cake layers
This is where the cake mix earns its keep. You will need:
- 1 15.25 ounce white cake mix, or your favorite white cake recipe if it makes enough batter for two cake layers
- water, oil, and eggs according to the directions on the box
- 1 teaspoon unsweetened cocoa powder, optional
- red gel food coloring
- blue gel food coloring
Preheat the oven to 350 degrees F, or whatever temperature your cake mix box calls for. Spray two 8 inch round cake pans with cooking spray, line the bottoms with parchment, and spray again.
Mix the white cake according to the package directions, then pour half of the batter into a second bowl. I weigh mine so the two layers come out the same size, but you can also eyeball it.

Add red gel food coloring and the cocoa powder to one half of the batter and mix until the color is deep and even, adding more coloring until it looks right to you.
Pour it into one of the prepared pans and smooth the top with a rubber spatula. Repeat with the blue gel coloring in the other half of the batter, and skip the cocoa powder in that bowl.
Bake both layers according to the box directions, then cool them completely on a wire rack.
If you want to skip the box, you can also use your favorite from scratch white cake as long as it makes enough batter for two layers.
And if you go the mix route with a plain white mix, know that white mixes can taste a little dry on their own, so a doctored mix with a little extra fat works nicely here too.
Vanilla buttercream
You will need:
- 1 cup unsalted butter, at room temperature
- 4 1/2 to 5 cups powdered sugar
- 2 to 5 tablespoons milk or heavy cream
- 2 teaspoons vanilla, and use clear vanilla if you want your frosting really white
- 1/4 teaspoon salt
Put the butter in the bowl of a stand mixer fitted with the paddle attachment and beat it until it is very smooth. Add 4 1/2 cups of the powdered sugar, 2 tablespoons of the milk, the vanilla, and the salt.
Mix on low until everything is combined, then turn the mixer to high for 3 minutes and beat until the frosting is light and fluffy. If it is too thin, add more powdered sugar.
If it is too thick, add more milk or cream, a little at a time.

Stacking the layers
Place the red cake layer on a cake stand or a cake circle. Spread a thin layer of frosting over the top. Carefully set the cheesecake layer on top of that. Add another thin layer of frosting over the cheesecake, spreading it gently into an even layer, then place the blue cake layer on top.
Here is a small heads up. Your cheesecake layer may end up a touch wider than the cake layers. If that happens, trim it by running a sharp paring knife around the perimeter of the cake.
Use the rest of the frosting to cover the whole cake, then decorate however you like. I love a simple piped border on top, because just look at those colors when the first slice comes out.
Timing, servings, and make ahead notes
Plan on about 30 minutes of prep, 1 hour of cook time, and 8 hours of chilling time, which adds up to roughly 9 hours 30 minutes from start to finish. Most of that is hands off, so it is a very friendly project for a busy week.
Make the cheesecake layer the night before you plan to serve. Everything else can happen on serving day, and the cake is best kept refrigerated until a few minutes before you cut it.
Once the cake is assembled, keep it in the refrigerator. Bring it out shortly before serving so the buttercream softens just a little. Slices come out cleanest with a sharp knife, and I wipe the blade between cuts because those red and blue layers deserve a tidy edge.
Because this cake travels well and holds up in a cooler, it is a solid pick for a potluck, a church picnic, or a backyard party where the dessert table is the main event. Just keep it cold on the way over and slice it on site so the layers stay sharp and proud.
Jump to:
- Fourth of July Cheesecake Cake with Red White and Blue Layers
- Fourth of July Cheesecake Cake
- Notes on decorating and dyeing your cake
- FAQs
- What is a Fourth of July cheesecake cake?
- How do you make the red and blue cake layers for a 4th of July cheesecake cake?
- Can you make a Fourth of July cheesecake cake ahead of time?
- How do you keep the cheesecake layer from cracking when making this cake?
- Fourth of July Cheesecake Cake
- Ingredients
- Instructions
- Last Step:
- Did you make this recipe?
Notes on decorating and dyeing your cake
Let’s talk food coloring, because this is the one place where the wrong product can change your cake. Use gel food coloring, not liquid. Gel gives you a deep, saturated red and blue without adding a lot of extra liquid.
Liquid coloring would need a serious amount to reach a true red or blue, and all that liquid would change how the cake turns out.
Put on a pair of rubber gloves before you start mixing the batter. I learned that the messy way. I set a bowl of red batter down on a white kitchen towel, and that towel is now permanently pink. Gloves keep your hands, your counters, and your dish towels out of the color story.
The recipe calls for 1 teaspoon of unsweetened cocoa powder in the red layer. It sounds odd, but it is the little trick that gives you a true red instead of a pink cake.
You get a deeper color while using less food coloring, and nobody tastes chocolate in the finished slice. Do not add cocoa powder to the blue layer.

I am not usually a fan of putting a lot of dye inside a cake, and I will say that out loud. For the Fourth of July, I make an exception, because the whole point of this dessert is the red, white, and blue slice on the plate.
For the top of the cake, an open star piping tip and a handful of sprinkles are all you need. I usually pipe a simple border and let the sprinkles do the rest. If you want to frost a cake without a crumb coat first, there is a separate chocolate cake article on the site with tips for that technique.
A few more things worth knowing:
- Gel coloring is strongly recommended for both the red and the blue layers.
- Rubber gloves make the dyeing step much less dramatic.
- Cocoa powder in the red batter means less food coloring for a truer red.
- An open star piping tip and sprinkles make quick work of the decoration.
- A reader suggested baking the cheesecake in a springform pan for easier removal, and that is a genuinely good idea.
If you want more red, white, and blue dessert options for the holiday table, the site also has a Fourth of July Cake, a Strawberry Shortcake Cake, and a Cinnamon Apple Pie. Any of them would look happy sitting next to this one on the picnic table.
The cheesecake layer in this recipe is adapted from The Baker’s Manual. Credit where it is due, because that creamy middle is the whole reason this cake disappears so fast.
FAQs
What is a Fourth of July cheesecake cake?
A Fourth of July cheesecake cake is a festive layered dessert featuring a red cake layer on the bottom, a creamy cheesecake layer in the middle, and a blue cake layer on top. The entire cake is frosted with a vanilla buttercream, creating a patriotic red, white, and blue dessert perfect for Independence Day celebrations. This recipe from The Itsy-Bitsy Kitchen uses a boxed white cake mix for convenience and requires making the cheesecake layer a day ahead.
How do you make the red and blue cake layers for a 4th of July cheesecake cake?
To make the red and blue layers, prepare a box of white cake mix according to package directions. Divide the batter evenly into two bowls. Color one half red using red gel food coloring, and add 1 teaspoon of unsweetened cocoa powder to deepen the red hue. Color the other half blue using blue gel food coloring. Pour each batter into a prepared 8-inch round cake pan and bake according to the cake mix instructions. Cool completely before assembling.
Can you make a Fourth of July cheesecake cake ahead of time?
Yes, you can prepare components of this cake ahead of time. The cheesecake layer must be made and refrigerated overnight, at least 8 hours before assembly. The colored cake layers can be baked, cooled, wrapped tightly in plastic wrap, and stored at room temperature for up to 24 hours. The vanilla buttercream can be made a few days in advance and refrigerated; bring it to room temperature and re-whip before using. The fully assembled cake will keep in the refrigerator for up to 3 days.
How do you keep the cheesecake layer from cracking when making this cake?
To prevent the cheesecake layer from cracking, bake it in a water bath. Place the filled 8-inch cake pan inside a larger roasting pan, then pour a couple inches of hot water into the outer pan before baking. Bake at 350°F for 27 to 32 minutes, until the center barely wobbles. Immediately upon removing from the oven, run a knife between the cake and the pan edge to release it. Cool to room temperature, then refrigerate overnight for a smooth, crack-free texture.

Fourth of July Cheesecake Cake
Fourth of July Cheesecake Cake with Red White and Blue Layers Fourth of July Cheesecake Cake Let’s talk about the dessert that makes a cookout stop mid sentence. The Fourth of July is my favorite holiday, hands down.
- Total Time: 570 min
- Yield: 8 1x
Ingredients
Cheesecake layer
2 8-ounce packages cream cheese, at room temperature
1/2 cup granulated sugar
2 tablespoons all-purpose flour
2 large eggs, at room temperature
1 large egg yolk
1/4 cup sour cream
1/4 cup heavy cream
1 teaspoon vanilla
Red and blue layers
1 15.25 ounce white cake mix, or use your favorite white cake recipe
water, according to directions on the box
oil, according to directions on the box
eggs, according to directions on the box
1 teaspoon unsweetened cocoa powder, optional
red gel food coloring
blue gel food coloring
Vanilla buttercream
1 cup unsalted butter, at room temperature
4 1/2 to 5 cups powdered sugar
2 to 5 tablespoons milk or heavy cream
2 teaspoons vanilla, use clear vanilla if you want your frosting really white
1/4 teaspoon salt
Instructions
Cheesecake layer
1-Preheat the oven to 350 degrees: Preheat the oven to 350 degrees. Spray an 8-inch round cake pan with cooking spray. Line the bottom of the pan with parchment paper, then generously spray the pan with cooking spray again. Set pan aside.
2-Beat the cream cheese, sugar, and flour: Beat the cream cheese, sugar, and flour together with an electric mixer set to medium speed. Beat in eggs and egg yolks one at a time, mixing until eggs are just incorporated. Turn mixer to low and beat in the sour cream, heavy cream, and vanilla.
3-Pour batter into the prepared pan and: Pour batter into the prepared pan and smooth the top. Set pan in a roasting pan (or any large baking pan) and carry over to the oven. Pour a couple inches of water into the pan, then carefully transfer to the oven. Bake 27 to 32 minutes, until the center of the cheesecake barely wobbles. Remove from the oven and immediately run a knife between the cake and the edge of the pan. Cool cheesecake to room temperature. Once cooled, cover with plastic wrap and refrigerate overnight.
4-After the cheesecake has refrigerated, dip the: After the cheesecake has refrigerated, dip the pan in a bowl of hot water for about 15 seconds. Run a knife around the edge of the cake again, then set a large plate or a cake circle on top of the pan. Invert the cake onto the plate. Keep refrigerated until you assemble the cake.
Red and blue layers
5-Preheat the oven to 350 (or whatever: Preheat the oven to 350 (or whatever temperature stated on the box of your cake mix). Spray 2 8-inch round cake pans with cooking spray, line the bottoms of the pans with parchment, then spray the pans with additional cooking spray. Set pans aside.
6-Mix your white cake according to the: Mix your white cake according to the directions on the box. Pour half of the batter into a second bowl. (I weighed this to ensure my layers would be the same size but you can eyeball it.)
7-Add red food coloring and the cocoa: Add red food coloring and the cocoa powder to half of the batter and mix to combine; continue adding food coloring until you reach the color you desire. Pour into one of the prepared pans and smooth the top with a rubber spatula. Repeat with the blue food coloring (don’t add cocoa powder to this layer).
8-Bake according to the directions on the: Bake according to the directions on the box. Cool completely on a wire rack before assembling your cake.
Vanilla buttercream
9-Place the butter in the bowl of: Place the butter in the bowl of a stand mixer fitted with the paddle attachment and beat until very smooth. Add 4 1/2 cups of the powdered sugar, 2 tablespoons of the milk, and the vanilla and salt. Mix on low until well combined, then turn mixer to high for 3 minutes, beating until frosting is very light and fluffy. Add additional powdered sugar if frosting is too thin and additional milk if it is too thick.
Assembly
10-Place the red cake layer on a: Place the red cake layer on a cake stand or cake circle. Spread a thin layer of frosting over the top. Carefully top with the cheesecake layer. Top cheesecake with another thin layer of frosting, spreading it gently into an even layer. Top with blue cake layer. (It’s possible your cheesecake layer will be a little wider than your cake; if this is the case you can trim it by running a sharp paring knife around the perimeter of the cake.) Use remaining frosting to frost the cake, and decorate if desired. Serve and enjoy.
Last Step:
Please leave a rating and comment letting us know how you liked this recipe! This helps our business to thrive and continue providing free, high-quality recipes for you.- Prep Time: 30 min
- Cook Time: 60 min
- Method: bake





