Pin It

Viral TikTok Dirt Cake (Dirt Cups Recipe)

Viral TikTok Dirt Cake (Dirt Cups Recipe)
Jump to Recipe
Prep 20 min Cook 0 min Serves 12
Quick answer: Dirt cake is a no-bake layered dessert: beat 8 oz softened cream cheese with ¼ cup butter and 1 cup powdered sugar until fluffy. Separately, whisk two 3.4-oz boxes of instant vanilla pudding with 3 cups cold milk for 2 minutes, then refrigerate 5 minutes until set. Fold in a 12-oz tub of Cool Whip, then fold that into the cream cheese mixture. Crush a full package of Oreos (cream removed) into coarse crumbs. In a large flower pot or 9×13 pan, layer Oreo crumbs → filling → Oreo crumbs → filling → final thick layer of Oreo crumbs on top. Refrigerate at least 2 hours. Press gummy worms into the Oreo dirt just before serving so they look like they're emerging from the ground. Total active time: 20 minutes.

Shop the tools

Gear matched to this recipe. These are Amazon affiliate links — we may earn a small commission if you buy, at no extra cost to you.

As an Amazon Associate, Copycat Spices earns from qualifying purchases. Product images are generic illustrations, not the exact item listed.

Viral TikTok Dirt Cake (Dirt Cups Recipe)

The viral TikTok dirt cake that never goes out of style: layers of creamy vanilla pudding and cream cheese filling between crushed Oreo 'dirt,' topped with gummy worms. No-bake, 20 minutes, serves 12. The same recipe that floods TikTok every Halloween — and every spring garden party.

Easy Prep: 20 min Cook: 0 min Total: 20 min12 servings ~$4.50/serving
Prep20 min
Cook0 min
Total20 min
Servings
12
At home~$4.50/serving
vs
Restaurant~$20.25/serving
You save ~78%

The Story Behind the Recipe

Dirt cake has been around since the 1970s, a Midwestern potluck staple served in flower pots with gummy worms for kids' birthday parties. TikTok rediscovered it in 2021 and hasn't let go. The recipe has now racked up hundreds of millions of views across the platform — and it comes back every single October as one of the most-recreated Halloween desserts. The revival makes sense: the "dirt pot" aesthetic is visually perfect for short-form video. The before-and-after of a clean flower pot turning into something that looks like actual garden soil, with worms erupting from it, hits every ingredient the algorithm rewards.

What keeps it relevant is that the recipe genuinely works. The cream cheese base keeps the filling from being cloyingly sweet — it adds a faint tang that cuts the sugar and makes the layers taste more complex than the ingredient list suggests. At a Halloween bakery, a decorated "dirt pot" dessert runs $12–18. Made at home, a full 12-serving pot costs about $14 total in ingredients, or just over $1 per serving. The gummy worms at the end are non-negotiable: they're what transforms a plain layered dessert into a TikTok moment.

Nutrition Facts

Per serving (12 servings)
Calories425
Total Fat20g
Total Carbs50g
Dietary Fiber1g
Sugars35g
Protein5g
Sodium390mg

* Estimated values based on standard recipe preparation. Actual values may vary.

Ingredients

  • The filling
  • The dirt
  • For serving

Instructions

💡
Pro tip: This recipe tastes even better the next day. The flavors need time to meld together in the fridge.
❄️
Storage: Keeps in an airtight container in the fridge for up to 2 weeks. Freezer-friendly for up to 3 months.
🎃 Free Halloween cookbook — download now The Copycat Halloween Cookbook A ready-made, photo-illustrated PDF of our best halloween copycat recipes — free to download, no building required. Pay what you want to support if you love it.

Free PDF — instant download. We'll also send new seasonal copycat recipes now and then; unsubscribe anytime. Or just download it →

Why Dirt Cake Is All Over TikTok Every October

Dirt cake has a 50-year head start on TikTok. The recipe dates to the Midwest potluck circuit of the late 1970s, served in individual clear plastic cups as “dirt cups” for children’s birthday parties. By the 1990s, the flower pot version — a terra cotta pot lined with plastic wrap, packed full of Oreo dirt and emerging gummy worms — was a staple at kid parties everywhere.

TikTok rediscovered it in 2021 and made it an annual Halloween tradition. The reason is simple: the before-and-after video writes itself. A clean, empty flower pot on the left. A “pot of dirt with worms erupting from it” on the right. The reveal — pulling a spoon through the pot and lifting layers of cream filling against chocolate crumbs — drives tens of millions of views. #dirtcake and #dirtcups have accumulated hundreds of millions of combined views across TikTok.

The recipe earns its revival: it tastes far better than it should for something built from Oreos and instant pudding. The cream cheese introduces a dairy tang that makes the filling interesting. The Oreo crumbs soften just slightly against the filling during refrigeration, creating a texture somewhere between Oreo crust and sandwich cookie. The gummy worms are pure theater — but the theater is half the dessert.

The Filling: Why Cream Cheese Is Non-Negotiable

Some dirt cake recipes use only pudding and Cool Whip. Those are fine. The ones that spread virally all use cream cheese, and for a reason: it anchors the sweetness.

Vanilla pudding and Cool Whip together are sweet to the point of one-note. Cream cheese — even just 8 oz — introduces a mild acidity (lactic acid from the culturing process) that cuts the sugar and makes each bite more complex. The effect is the same as the cream cheese tang in a cheesecake versus a plain custard.

The practical requirements: the cream cheese must be fully softened before beating. Cold cream cheese breaks into lumps under the mixer that remain lumpy in the final dessert. Remove it from the fridge 45–60 minutes before you start. If you forgot, microwave it in 10-second intervals at 50% power, checking between each, until it just gives when pressed — warm but not melted.

The Oreo Dirt: The Detail That Makes It Look Real

The visual success of dirt cake is entirely about the Oreo crumbs. Two things determine whether the “dirt” looks convincing:

Remove the filling before crushing. This is the single most-skipped step in online recipes. The white cream filling doesn’t disappear when crushed — it stays as pale chunks in the dark crumbs. Those chunks look like rocks, gravel, or polystyrene, not soil. Removing the filling (by twisting the cookies open and scraping with a butter knife) produces pure chocolate cookie crumbs that are an almost perfect visual match for dark garden topsoil.

Crush to variable texture, not powder. A food processor produces uniform fine crumbs that look like cocoa powder. A zip-lock bag and rolling pin produces a mix of fine crumbs and small irregular pieces — which is exactly what disturbed garden dirt looks like. Aim for roughly 70% fine powder and 30% small visible pieces.

Pot vs. Pan: Which to Use

The flower pot is the classic TikTok presentation and the reason the recipe has a visual identity. A clean 8–10 inch terra cotta pot, lined with plastic wrap (leave extra overhang so you can pull the wrap when packing and scooping), serves 10–14 people from a single communal vessel. Silk flowers stuck into the back of the pot complete the illusion that it’s a real flower arrangement — until the gummy worms appear. Line the pot with plastic before using; a ceramic pot is technically non-food-safe once it’s absorbed soil.

The 9×13 pan is easier to serve at a large gathering. The layers are visible from the side if you use a clear baking dish (Pyrex or similar). Scoop with a large spoon at the table — the layers won’t cut cleanly like a bar cookie would.

Individual cups or mason jars are the best choice for parties where portioning matters. Layer each cup — Oreo crumbs → filling → Oreo crumbs → filling → Oreo crumbs — refrigerate stacked on a sheet pan, and add one or two gummy worms to each cup right before serving. The cups travel well, look great on a dessert table, and eliminate the serving spoon problem.

The Gummy Worm Timing Rule

Add gummy worms within 2–3 hours of serving, not before. Gummy worms leach color — the red ones leave a pinkish ring, the green ones leave a green tint — into the moist Oreo crumbs around them. After 4+ hours in the fridge, the surface around each worm has an obvious color halo that makes the dirt look dyed rather than natural.

The fix is simple: refrigerate the fully assembled cake (without worms) up to 2 days ahead. Keep the worm bag separate. Press them in right before you carry the pot to the table.

Make-Ahead and Storage

Dirt cake is fundamentally an ahead-of-time dessert. Made the same day, the Oreos are slightly harder than optimal and the filling is looser than it should be. Made 8–24 hours ahead, the Oreos have softened to the right texture against the filling, and the cream cheese layer has firmed up properly in the fridge. This is one of the few desserts that is objectively better the morning after it’s made than the day of.

Store covered in the refrigerator for up to 3 days (without the gummy worms). After 3 days the Oreo crumbs become soggy and the filling can weep slightly. Freezing is not recommended: the pudding-and-cream-cheese filling separates and weeps when thawed, and the Oreo layer turns to paste. If you have leftovers, keep them chilled and eat within the 3-day window rather than freezing.

🥗

Make It Healthier

Love Viral TikTok Dirt Cake (Dirt Cups Recipe) but want a lighter version? Try these simple swaps:

  • ✓Use reduced-fat cream cheese (Neufchâtel) and light Cool Whip to cut about 60 calories and 6g fat per serving without changing the flavor noticeably — the cream cheese is subtle in this recipe.
  • ✓Swap regular Oreos for Oreo Thins, which have about 25% fewer calories per cookie, and you still get the same sandy dirt texture.
  • ✓Use one box of vanilla pudding instead of two and add 1 cup of plain Greek yogurt to maintain the volume — you drop ~20g sugar across the whole batch while adding protein.
  • ✓For individual portion control, serve in 3-oz shot glasses or small mason jars — the portion is visually satisfying but about half the calories of a full 9×13 scoop.

Frequently Asked Questions

Why is it called dirt cake?

Because it looks exactly like a pot of garden dirt — crushed chocolate Oreo cookies are indistinguishable in color and texture from dark potting soil, especially once they've absorbed a little moisture from the filling. The gummy worms complete the illusion. The recipe originated in the Midwest in the 1970s or early 1980s and was known as 'dirt cups' when served in individual clear plastic cups. The 'flower pot' version became popular at kids' birthday parties in the 1990s and has been revived by TikTok every spring and Halloween since 2021.

Can I use chocolate pudding instead of vanilla?

You can, but vanilla is the canonical choice for a reason: the pale yellow filling creates contrast against the dark Oreo dirt, which makes the layering visible through a clear cup and makes the dessert read as two distinct textures. Chocolate pudding and Oreo crumbs blend together visually and the dessert looks like a uniform brown mass. If you want a deeper chocolate flavor, add 2 tablespoons of cocoa powder to the vanilla pudding mix before adding the milk — you get chocolate depth without losing the color contrast.

Do I have to remove the Oreo filling before crushing?

Yes, if visual accuracy matters to you. The white cream filling does not blend into the crumbs — it stays as pale chunks that look like rocks or gravel, not dirt. Remove the filling before crushing by twisting the cookies apart and scraping with a butter knife. The filling can be eaten as a snack or discarded. If you skip this step the dessert still tastes good but the 'dirt' looks impure and the effect is less convincing.

Can I make dirt cake without Cool Whip?

Yes. Whip 3 cups of heavy cream with 3 tablespoons of powdered sugar to stiff peaks — it replaces Cool Whip 1:1 in this recipe and tastes noticeably better (more dairy richness, less chemical sweetness). The tradeoff: freshly whipped cream deflates over time, so the dessert should be eaten within 24 hours. Cool Whip is stabilized and holds its structure for up to 3 days in the fridge, which is why it's the traditional choice for an ahead-of-time party dessert.

How far in advance can I make dirt cake?

The filling and Oreo layers can be assembled up to 2 days ahead. The gummy worms must be added within 2–3 hours of serving — they leach color into the Oreo crumbs over time. If making ahead, keep the worms in a separate bag and press them in right before you bring the pot to the table. The cake is actually better made 8–24 hours ahead than the same day — the filling firms up, the Oreos soften slightly, and the flavors meld.

How do you serve dirt cake from a flower pot?

Line the pot with plastic wrap before layering — let several inches hang over the edges. When it's time to serve, guests use a large serving spoon and scoop directly through the layers. Each scoop should get Oreo crumbs + filling + Oreo crumbs for the full experience. For a cleaner individual-serving approach, use clear plastic cups or mason jars instead of a communal pot — layer exactly the same way, refrigerate, and add the gummy worms to each cup at serving time.

Can I make a gluten-free dirt cake?

Yes. Glutino brand chocolate sandwich cookies or Kinnikinnick's KinniToos are the two best direct Oreo substitutes for the 'dirt' layer — the color and texture are close enough that the dessert looks identical. The pudding mix and Cool Whip are both gluten-free. Double-check the cream cheese and butter labels (both should be naturally gluten-free, but cross-contamination warnings vary by brand). Everything else in the recipe is naturally gluten-free.

Love this recipe? Share it!

Free PDF: our 12 most-wanted copycat recipes — instant download.

Made it? Buy us a coffee

Every recipe here is free, with no paywalls. If this one was a hit at your table, a small tip keeps new copycats coming.

$

Halloween is a trademark of its owner, used here only to describe the dish this recipe recreates. This is an independent copycat written in our own words — Copycat Spices is not affiliated with, endorsed by or sponsored by Halloween.

Ratings & Reviews

—
No ratings yet

Rate this recipe

Click a star to rate

Leave a Review

0/500

CS

Copycat Spices Editorial

Researched + fact-checked. Every recipe on Copycat Spices is built from published sources — official ingredient lists, brand-published recipes, interviews and food-science references — and fact-checked before it goes live, then written as clear, step-by-step instructions for home cooks of all skill levels.

Learn more about our mission →