The present invention relates to a device and method for diffusing volatile substances which obtains the energy required for the autonomous operation thereof from one or more photovoltaic cells (101). The activation periods and switch-on frequency of the emission means (103) are determined adaptively by an electronic controller (102) depending on the light conditions, thereby maximizing the time in which the device diffuses the volatile substance without compromising its autonomy.