We prove the discrete compactness property of the edge elements of any order on a classof anisotropically refined meshes on polyhedral domains. The meshes, made up oftetrahedra, have been introduced in [Th. Apel and S. Nicaise, Math. Meth. Appl.Sci. 21 (1998) 519–549]. They are appropriately graded nearsingular corners and edges of the polyhedron.