Dirt cakes are thought to be inspired by Mississippi mud pie, a popular chocolate dessert from the 1960s. They feature layers of cookie crumble and pudding, similar to a trifle. The first dirt cakes appeared in the 1980s, mainly in the American Midwest, as a fun treat for kids.