A hard lump on the top of the head may be caused by folliculitis, boils and epidermal cysts, etc. Patients are advised to take medication and surgery to improve the condition. 1. Folliculitis: a hard lump on the top of the head may be caused by folliculitis, if it is a bacterial infection, the patient should use antibiotic drugs to help sterilize, such as mupirocin, clindamycin, etc.; if it is a fungal infection, the patient should use clotrimazole, miconazole, and other antifungal drugs, to promote recovery of the lesions, the patient should use antifungal drugs, and the patient should use antibiotics. 2. boils: boils may trigger a hard lump on the top of the head, patients can use topical tincture of iodine, ichthyol ointment and other drugs to help reduce swelling. Antibiotic drugs such as fusidic acid and mupirocin can also be applied to promote recovery. 3. Epidermoid cysts: a hard lump on the top of the head may also be caused by epidermoid cysts, the disease is generally based on surgical treatment, patients can remove the cysts through surgical excision. If the cyst appears to be pus-filled, it also needs to be incised and drained to discharge the fluid. The cause of a hard lump on the top of the head is not the same, it is recommended that the patient consult a doctor for examination, to clarify the cause of the disease, and cooperate with the doctor to standardize the treatment.