Leg pain that prevents sleep at night is usually due to osteoarthritis of the knee joint or thrombosis of the deep veins of the lower extremities. First of all, osteoarthritis is a condition in which bone growth and calcification irritate the surrounding tissues and often form inflammatory fluid in the joint, which can cause significant irritation to the surrounding tissues. The irritation of peripheral nerves can lead to significant pain. In addition, hyperplasia and calcification can compress the surrounding tissues, resulting in localized edema, which can lead to further pain. Usually, when resting in bed, the blood circulation slows down due to the low mobility of the knee joint, which leads to a gradual accumulation of inflammatory metabolites, resulting in increased pain and disruption of sleep quality. Secondly, deep vein thrombosis, for example, after a thrombosis in the deep veins of the lower extremities, venous return is obviously affected, and swelling and pain in the legs will occur. With the prolongation of time, the thrombus gradually increases, the venous return of the whole lower extremity is further slowed down, and the swelling and pain become more obvious, which also affects the sleep.