An optical microcavity is a structure formed by reflecting faces on the two sides of a spacer layer or optical medium. The optical cavity is only a few micrometers thick. The spacer layers are in the nanometer range. As with common lasers this forms an optical resonator which allows only one standing optical wave to form inside the spacer layers.Micro cavities are often used in vertical cavity surface emitting laser diodes.