Weakness in your leg(s) may occur from problems in the nerves and/or muscles in your lower body and is usually treatable. Rarely, the underlying cause may be a serious medical condition requiring immediate medical attention. A feeling of sudden weakness in the legs may be due to nerve and/or muscle dysfunction.