A display device or an electronic device with high portability and browsability is provided. A display device which includes two display panels that overlap with each other and in which the area of a portion where the two display panels overlap with each other is variable is provided. The larger the area where the two display panels overlap with each other is, the smaller the display device becomes. The first display panel includes a first region that performs display. The second display panel includes a second region that performs display, and a third region that is adjacent to the second region and transmits visible light. When the third region overlaps with the side of a surface which performs display of the first region, display can be performed using a seamless large display region.