Residual entropy is the difference in entropy between a non-equilibrium state and crystal state of a substance close to absolute zero. This term is used in condensed matter physics to describe the entropy at zero kelvin of a glass or plastic crystal referred to the crystal state, whose entropy is zero according to the third law of thermodynamics. It occurs if a material can exist in many different states when cooled. The most common non-equilibrium state is vitreous state, glass.
A common example is the case of carbon monoxide, which has a very small dipole moment. As the carbon monoxide crystal is cooled to absolute zero, few of the carbon monoxide molecules have enough time to align themselves into a perfect crystal, (with all of the carbon monoxide molecules oriented in the same direction). Because of this, the crystal is locked into a state with different corresponding microstates, giving a residual entropy of , rather than zero.