A shaving unit for an electric shaver, comprising one or more hair-cutting units, a lighting module and a supporting member supporting the one or more hair-cutting units and the lighting module, wherein the lighting module comprises: one or more infrared or near-infrared lighting elements; a skin-facing light output surface via which IR or NIR light generated by the IR or NIR lighting elements is exposed to skin during operation of the shaving unit, said light output surface being made from an optically transmissive material and being arranged for contacting the skin during operation of the shaving unit, and said IR or NIR lighting elements being arranged in thermally conductive contact with the light output surface via a thermally conductive pathway in the lighting module; one or more visible lighting elements for generating visible light in optical communication with the light output surface, the visible lighting elements being arranged and controlled for activation together with activation of the IR or NIR lighting elements for providing a visible indication of the activation of the IR or NIR lighting elements; and an optical arrangement for creating a visible light output provided by the visible lighting elements at the light output surface; wherein the light output surface comprises: one or more proximate areas each comprising an area of an imaginary projection of a respective one of the visible lighting elements onto the light output surface; and a main area excluding the one or more proximate areas; and wherein the optical arrangement comprises: a light guiding arrangement configured to guide the visible light generated by the visible lighting elements to the main area of the light output surface; and one or more light attenuating elements each being arranged between a respective one of the visible lighting elements and the proximate area of the light output surface associated with said respective one of the visible lighting elements. one or more infrared or near-infrared lighting elements; a skin-facing light output surface via which IR or NIR light generated by the IR or NIR lighting elements is exposed to skin during operation of the shaving unit, said light output surface being made from an optically transmissive material and being arranged for contacting the skin during operation of the shaving unit, and said IR or NIR lighting elements being arranged in thermally conductive contact with the light output surface via a thermally conductive pathway in the lighting module; one or more visible lighting elements for generating visible light in optical communication with the light output surface, the visible lighting elements being arranged and controlled for activation together with activation of the IR or NIR lighting elements for providing a visible indication of the activation of the IR or NIR lighting elements; and an optical arrangement for creating a visible light output provided by the visible lighting elements at the light output surface; one or more proximate areas each comprising an area of an imaginary projection of a respective one of the visible lighting elements onto the light output surface; and a main area excluding the one or more proximate areas; a light guiding arrangement configured to guide the visible light generated by the visible lighting elements to the main area of the light output surface; and one or more light attenuating elements each being arranged between a respective one of the visible lighting elements and the proximate area of the light output surface associated with said respective one of the visible lighting elements.