Infrared thermography can be used to optimize the application of lasers in dermatology with particular reference to the treatment of certain skin disorders such as vascular lesions and depilation. The efficacy of treatment is dependent upon a number of factors including: Optimization and correct selection of laser parameters such as wavelength and spot size. Human factors, such as laser operator skill, patient's skin type and anatomical location. By observing the thermal effects of laser irradiation on the skins surface during treatment results in improved efficacy and minimizes the possible threshold to skin damage, reducing the possibility of burning and scarring. This is of particular significance for example, in the control of purpura for the treatment of vascular lesions. The optimization is validated with reference to a computer model that predicts various skin temperatures based on two different laser spot sizes.