Why does your legs hurt really bad at night, can't sleep, really bad pain.?

Possibilities. Peripheral neuropathy which caused abnormal peripheral sensation could be a cause. If it is cramping, there could be a potassium deficiency. Is there any back conditions present. This can cause pain in feet/legs in bed. There are other possibilities. See a physician to further evaluate.