Stereoisomers of one of the most important organic compounds, tartaric acid, optically active and meso as well as the ester or amide derivatives, can show diverse structures related to the rotation around the three carbon-carbon bonds. This study determines the controlling factors for conformational changes of these molecules in vacuo, in solution, and in the crystalline state using DFT calculations, spectroscopic measurements, and X-ray diffraction. All structural variations can be logically accounted for by the possibility of formation and breaking of hydrogen bonds between the hydroxy or amide donors and oxygen acceptors, among these the hydrogen bonds that close five-membered rings being the most stable. These findings are useful in designing molecular and crystal structures of highly polar, polyfunctional, chiral compounds.