Diastereomers (sometimes called diastereoisomers) are a type of a stereoisomer. Diastereomerism occurs when two or more stereoisomers of a compound have different configurations at one or more (but not all) of the equivalent (related) stereocenters and are not mirror images of each other. When two diastereoisomers differ from each other at only one stereocenter they are epimers. Each stereocenter gives rise to two different configurations and thus increases the number of stereoisomers by a factor of two.
Diastereomers differ from enantiomers in that the latter are pairs of stereoisomers that differ in all stereocenters and are therefore mirror images of one another. Enantiomers of a compound with more than one stereocenter are also diastereomers of the other stereoisomers of that compound that are not their mirror image. Diastereomers have different physical properties (unlike enantiomers) and different chemical reactivity. Diastereoselectivity is the preference for the formation of one or more than one diastereomer over the other in an organic reaction.
When the single bond between the two centres is free to rotate, cis/trans descriptors become invalid. Two widely accepted prefixes used to distinguish diastereomers on sp³-hybridised bonds in an open-chain molecule are syn and anti. Masamune proposed the descriptors which work even if the groups are not on adjacent carbons. It also works regardless of CIP priorities. Syn describes groups on the same face while anti describes groups on opposite faces. The concept applies only to the Zigzag projection. The descriptors only describe relative stereochemistry rather than absolute stereochemistry.
Two older prefixes still commonly used to distinguish diastereomers are threo and erythro. In the case of carbohydrates, when drawn in the Fischer projection the erythro isomer has two identical substituents on the same side and the threo isomer has them on opposite sides. When drawn as a zig-zag chain, the erythro isomer has two identical substituents on different sides of the plane (anti). The names are derived from the diastereomeric aldoses erythrose (a syrup) and threose (melting point 126 °C). These prefixes are not recommended for use outside of the realm of carbohydrates because their definitions can lead to conflicting interpretations.