The perfect as well as the defect structure of several members of the superconducting family HgBa2Can-1CuδO2n+2+δ have been studied in detail by electron diffraction and high-resolution electron microscopy. Identification of the cation configuration is possible, even in the defect regions, with the help of computer simulations. The fine structure of several defects is analyzed in detail, the most common defect being the intergrowth of slabs corresponding to different n values in the title formula. In general, however, the crystals are of a high perfection, particularly for the lower n members. The occurence of double (HgO)δ layers is seen occasionally, indicating the possible existence of a material with a double mercury layer. Some of these defects are possibly related to recently discovered anomalies at 250 K in these compounds.