Provided are a display panel and a display device. The display panel includes a base substrate, drive circuits, a light-blocking layer, organic light-emitting units, and fingerprint recognition units. Via holes and imaging apertures are formed in the light-blocking layer. The via holes include first via holes in communication with the imaging apertures and second via holes. Each of the first organic light-emitting units includes a first anode, and each of the second organic light-emitting units includes a second anode. The first anode and the second anode are electrically connected to the drive circuits through the first via holes or through the second via holes. In a first direction, a distance between an edge of the first anode facing close to the imaging aperture and a center of the first via hole is smaller than a distance between an edge of the second anode and a center of the second via hole.