Quantum confinement is a physical effect that occurs when the size of a material—usually a semiconductor or conductor—is reduced to the nanoscale, thereby restricting the movement of electrons or holes.