The USPEX code (Universal Structure Prediction: Evolutionary Xtallography) can be used to predict stable crystal structures at given P-T conditions, knowing only the chemical composition (or to predict both the stable compositions and structures, given the element types). USPEX can also be used for finding low-energy metastable phases, as well as stable structures of nanoparticles, surface reconstructions, molecular packings in organic crystals, and for searching for materials with desired physical (mechanical, electronic) properties. The USPEX code is based on an efficient evolutionary algorithm developed by A.R. Oganov’s group, but also has options for using alternative methods (random sampling, metadynamics, corrected PSO algorithms). USPEX is interfaced with VASP.