An electronic device (101, 200, 300, 700, 800) comprising: a housing (210, 510); a display panel disposed in an inner space of the housing (210, 510) to be at least partially visible from an outside through the housing (210, 510), the display panel including: a display area, a first non-display area disposed adjacent to at least a peripheral portion of the display area, and a second non-display area disposed adjacent to at least a peripheral portion of the first non-display area; and an optical sensor module disposed in the inner space at least partially overlapping the display panel, and including: a flexible printed circuit board, FPCB,, a light emitting structure disposed on the FPCB and at least partially overlapping the first non-display area when the display panel is viewed from above, and a light receiving structure disposed on the FPCB and at least partially overlapping the display area when the display panel is viewed from above, wherein the display area has a first transmittance for light emitted by the light emitting structure, and the first non-display area has a second transmittance for light emitted by the light emitting structure greater than the first transmittance; and wherein each of the first non-display area and the second non-display area includes driving circuits and wiring structures arranged to control pixels disposed in the display area and the second transmittance is based on an arrangement density of the driving circuits and the wiring structures. a housing (210, 510); a display panel disposed in an inner space of the housing (210, 510) to be at least partially visible from an outside through the housing (210, 510), the display panel including: a display area, a first non-display area disposed adjacent to at least a peripheral portion of the display area, and a second non-display area disposed adjacent to at least a peripheral portion of the first non-display area; and a display area, a first non-display area disposed adjacent to at least a peripheral portion of the display area, and a second non-display area disposed adjacent to at least a peripheral portion of the first non-display area; and an optical sensor module disposed in the inner space at least partially overlapping the display panel, and including: a flexible printed circuit board, FPCB,, a light emitting structure disposed on the FPCB and at least partially overlapping the first non-display area when the display panel is viewed from above, and a light receiving structure disposed on the FPCB and at least partially overlapping the display area when the display panel is viewed from above, a flexible printed circuit board, FPCB,, a light emitting structure disposed on the FPCB and at least partially overlapping the first non-display area when the display panel is viewed from above, and a light receiving structure disposed on the FPCB and at least partially overlapping the display area when the display panel is viewed from above, wherein the display area has a first transmittance for light emitted by the light emitting structure, and the first non-display area has a second transmittance for light emitted by the light emitting structure greater than the first transmittance; and wherein each of the first non-display area and the second non-display area includes driving circuits and wiring structures arranged to control pixels disposed in the display area and the second transmittance is based on an arrangement density of the driving circuits and the wiring structures.