Patients who sleep at night with uncomfortable and irritable legs can be dealt with in the following ways: first, if the leg pain is caused by restless leg syndrome and the patient is irritable, it can be treated with local hot compresses and massage. At the same time, vasodilating drugs, such as scopolamine, can also be used to improve clinical symptoms. Secondly, if the patient is diabetes-induced peripheral neuropathy, which leads to leg discomfort and further irritability, the patient should lower the glucose in time and take non-steroidal anti-inflammatory and analgesic drugs orally, such as Loxoprofen Sodium, Celecoxib Capsules, Anklesin and Ibuprofen, etc., to alleviate the pain symptoms. After the above treatments, the patient’s clinical symptoms of uncomfortable and irritable legs at night will mostly be gradually relieved. In addition, patients should undergo long-term treatment for the primary disease in order to control the clinical symptoms and avoid continuous aggravation of the disease which may affect sleep.