Changes in innate and adaptive immunity depending on sleep state and the influence of prolonged and restricted sleep time on morbidity and mortality as well as vulnerability to infections and effect of vaccination are discussed. Patients with insomnia have com-promised immunity that could be reversed with the successful treatment of disordered sleep.