Itchy scalp while sleeping the more you scratch, the more itchy it may be related to seborrheic dermatitis, folliculitis, dermatophytosis and other diseases. The treatment varies from one cause to another and can generally be treated with medication.1. Seborrheic dermatitis: The cause may be related to age, gender, genetics, etc. It often occurs in areas with high sebum secretion, such as the hair and back, where yellow-red patches appear, accompanied by itching. The itchy scalp may lead to itching when sleeping, the more itchy the situation occurs, can be treated by medication, such as external sulfur, salicylic acid and other drugs to clean, severe lesions, oral glucocorticoids, such as hydrocortisone tablets, prednisone, etc., so as to reduce the symptoms; 2, folliculitis: is the hair follicles involved in the main inflammatory skin disease, the cause is mainly bacteria and other pathogens infected hair follicles, caused by inflammation. The appearance of red papules centered on hair follicles, which can be accompanied by itching, pain and other manifestations, can also lead to itchy scalp when sleeping the more itchy situation, can be treated by medication, such as the use of chlorhexidine gluconate solution, iodophor solution and other antibacterial lotions soak the scalp, or topical fusidic acid cream, clindamycin gel and other antibiotic drugs. If folliculitis develops into a larger boil or carbuncle with pus, surgical incision of the lesion and drainage of the pus may be an option for treatment. 3. Dermatophytosis: A disease mainly caused by fungal infections, including ringworm of the head, ringworm of the feet, ringworm of the hands, etc. White and black patches may appear, which may be accompanied by itchy symptoms, and also symptoms of itchy scalp getting more itchy when sleeping. It is usually treated with medication, topical imidazole drugs such as clotrimazole and miconazole, and oral antifungal drugs such as terbinafine and itraconazole. The disease has a certain degree of contagiousness, in daily life, it is recommended to avoid contact between the infected parts and others; 4, allergic dermatitis: such as contact dermatitis, due to scalp contact with allergens, such as animal hair, mites, dust, etc., stimulate the body to produce inflammatory reactions, blisters, papules, itching and other allergic symptoms, resulting in itchy scalp when sleeping more and more scratching and other situations. Often treated with medication, oral antihistamines such as loratadine and imipramine, or topical hormonal drugs such as glucocorticoid ointment. For cases where itching is obvious, anti-itch agents such as camphor, menthol, and lime acid can be added under the guidance of a doctor. When the scalp itches while sleeping the more you scratch, it is recommended to go to the hospital as soon as possible to find out the cause and treat it under the guidance of a doctor, not to self-medicate, so as not to delay the condition.