The accident happened in a cemetery in Gudmuntorp, near Höör in Skåne, at 12pm. The man and a colleague had been preparing the grave, and had deposited earth dug from the ground in a large, open container.
The container, estimated to weigh three tonnes, started sliding into the grave while the men were still standing in it. One of the men managed to get out of the grave in time, while the other became trapped under the container, according to Stefan Färdig of the emergency services.
The incident is being treated as a workplace accident, Färdig said.