Crush all Oreo cookies until they resemble fine dirt. Set aside about 1 cup of the crumbs for topping.
In a large bowl, beat the softened cream cheese and softened butter together until smooth.
Gradually add the powdered sugar and mix until fully combined and creamy.
In a separate bowl, whisk together the instant chocolate pudding mix and cold milk for two minutes until slightly thickened.
Gently fold the thawed whipped topping into the cream cheese mixture until just combined.
Fold the pudding mixture into the cream cheese mixture until smooth.
In a large trifle dish or 9×13 inch pan, layer the ingredients: start with a layer of the crushed Oreos, followed by half of the creamy filling mixture.
Repeat the layers: remaining crushed Oreos, then the rest of the creamy filling.
Top the cake with the reserved 1 cup of cookie crumbs.
If using, press gummy worms into the top layer to resemble dirt.
Chill the dirt cake for at least 4 hours, or preferably overnight, before serving.
Notes
You can use a milk container or flower pot for a fun presentation, lining it with plastic wrap first.
For a richer flavor, use Cool Whip Extra Creamy or homemade whipped cream instead of standard whipped topping.
If you prefer a cookies and cream flavor, use vanilla pudding instead of chocolate.