A display panel and an electronic device are provided. The display panel includes a first panel, a second panel, and a binding layer. The first panel includes light-emitting units, and also includes light-transmitting regions. The second panel includes photoelectric sensing elements and a second driving circuit layer. The second driving circuit layer includes second driving transistors. The second driving transistors are electrically connected to the photoelectric sensing elements, and the photoelectric sensing elements are opposite to the light-transmitting regions. The binding layer is disposed between the first panel and the second panel, and configure to bind the first panel and the second panel.