Antiferromagnetic order blocks interlayer hopping of electron–hole pairs in a two-dimensional magnetic semiconductor, leading to the formation of a type of optical excitation — magnetic surface excitons — with quasi-one-dimensional quantum confinement.