Solid state NMR imaging techniques based on magic echoes are reviewed. The theoretical background of magic echoes in general and their spatial encoding in particular is treated. The magic-echo imaging pulse sequences presently in use are described and discussed. Particular emphasis is devoted to those techniques, which allow the incorporation of spectroscopic or parameter-selective information. The applicability of these methods for the investigation of materials is demonstrated and perspectives for materials science are outlined.