A device for treating skin by means of radiation, which device comprises a housing, which accommodates a radiation source and which is provided with an exit opening for the radiation, a detector for detecting the presence of skin directly in front of the exit opening, and a control unit which activates the radiation source only if the detector detects the presence of skin directly in front of the exit opening, characterized in that the detector can suitably be used to measure a biophysical property by means of which the skin can be characterized, the control unit comprising a comparator for comparing a value or condition of the property, measured by means of said detector, with a skin-characteristic value or condition of the property.