The techniques as well as the principles of the 2D crystallization of membeane and water-soluble proteins for electron crystallography are reviewed. First, the biophysics of the interaction between proteins, lipids and detergents is surveyed. Second, crystallization of membrane proteins in situ and by reconstitution methods is discussed, and the various factors involved are addressed. Third, we elaborate on the 2D crystallization of water-soluble proteins, both in solution and at interfaces, such as lipid monolayers, mica, carbon film or mercury surfaces. Finally, techniques and instrumentations that are required for 2D crystallization are described.