Device for stimulating the Meibomian glands of a user, comprising a cap ; a plurality of light-emitting diodes arranged on the internal surface of said cap , said plurality of light-emitting diodes comprising at least one matrix of light-emitting diodes arranged in areas of said inner surface of the cap suitable for facing, in use, the eyelids and the periocular areas of the user, said light-emitting diodes being arranged substantially at the same distance from the user's eyelids, to generate endogenous heat; support means capable of keeping in use said cap in a predetermined position in front of the user's face; an external control and/or supply unit electrically connected to said light-emitting diodes and provided with a control interface ; characterised in that said light-emitting diodes of said at least one matrix are configured to emit a beam of electromagnetic radiation in the range of wavelengths between 600 nm and 650 nm, said light-emitting diodes being configured to emit a beam of electromagnetic radiation at an emission power of between 60mW/cm 2 and 120 mW/cm 2 and in that said external control and/or supply unit comprises an electronic processor ; a memory readable by an electronic processor, comprising instructions which, when performed by said electronic processor , cause said electronic processor, on the basis of data relating to a severity level of the dysfunction of the Meibomian glands of the user, to calculate the optimal amount of energy that must be absorbed by the user's Meibomian glands to stimulate them, to automatically select a plurality of light-emitting diodes and to automatically set their power and duration of emission. a cap ; a plurality of light-emitting diodes arranged on the internal surface of said cap , said plurality of light-emitting diodes comprising at least one matrix of light-emitting diodes arranged in areas of said inner surface of the cap suitable for facing, in use, the eyelids and the periocular areas of the user, said light-emitting diodes being arranged substantially at the same distance from the user's eyelids, to generate endogenous heat; support means capable of keeping in use said cap in a predetermined position in front of the user's face; an external control and/or supply unit electrically connected to said light-emitting diodes and provided with a control interface ; characterised in that said light-emitting diodes of said at least one matrix are configured to emit a beam of electromagnetic radiation in the range of wavelengths between 600 nm and 650 nm, said light-emitting diodes being configured to emit a beam of electromagnetic radiation at an emission power of between 60mW/cm 2 and 120 mW/cm 2 and in that said external control and/or supply unit comprises an electronic processor ; a memory readable by an electronic processor, comprising instructions which, when performed by said electronic processor , cause said electronic processor, on the basis of data relating to a severity level of the dysfunction of the Meibomian glands of the user, to calculate the optimal amount of energy that must be absorbed by the user's Meibomian glands to stimulate them, to automatically select a plurality of light-emitting diodes and to automatically set their power and duration of emission. <EOS>