A display device includes: a substrate on which a plurality of sub-pixels are arranged; a light-emitting device including a light-emitting layer in each of the plurality of sub-pixels; a thin film encapsulation layer covering the light-emitting layer in each of the plurality of sub-pixels; a black matrix around the plurality of sub-pixels; and an optical sensor on the substrate, the optical sensor including a sensing portion for sensing light emitted from a light source, wherein the black matrix has a plurality of openings, through which light emitted from the light source passes, in a path through which the light is received by the sensing portion via an input object which is in contact with the substrate.