Treatment
If RLS is not linked to an underlying cause, its frequency may be reduced by lifestyle modifications such as adopting improving sleep hygiene, regular exercise, and stopping smoking. Medications used may include dopamine agonists or gabapentin in those with daily restless legs syndrome, and opioids for treatment of resistant cases.Treatment of RLS should not be considered until possible medical causes are ruled out. Secondary RLS may be cured if precipitating medical conditions (anemia) are managed effectively. Physical measures
Stretching the leg muscles can bring temporary relief. Walking and moving the legs, as the name "restless legs" implies, brings temporary relief. In fact, those with RLS often have an almost uncontrollable need to walk and therefore relieve the symptoms while they are moving. Unfortunately, the symptoms usually return immediately after the moving and walking ceases. A vibratory counter-stimulation device has been found to help some people with primary RLS to improve their sleep. Iron
There is some evidence that intravenous iron supplementation moderately improves restlessness for people with RLS. Medications
For those whose RLS disrupts or prevents sleep or regular daily activities, medication may be useful. Evidence supports the use of dopamine agonists including:  pramipexole, ropinirole, rotigotine, and cabergoline. They reduce symptoms, improve sleep quality and quality of life. Levodopa is also effective. However, pergolide and cabergoline are less recommended due to their association with increased risk of valvular heart disease. Ropinirole has a faster onset with shorter duration.
There are some indications that stopping the dopamine agonist treatment has an impact on the resolution or at least improvement of the impulse control disorder, even though some people can be particularly exposed to dopamine agonist withdrawal syndrome.Benzodiazepines, such as diazepam or clonazepam, are not generally recommended, and their effectiveness is unknown. They however are sometimes still used as a second line, as add on agents. Quinine is not recommended due to its risk of serious  side effects involving the blood. Prognosis
RLS symptoms may gradually worsen with age, although more slowly for those with the idiopathic form of RLS than for people who also have an associated medical condition. Current therapies can control the disorder, minimizing symptoms and increasing periods of restful sleep. In addition, some people have remissions, periods in which symptoms decrease or disappear for days, weeks, or months, although symptoms usually eventually reappear. Being diagnosed with RLS does not indicate or foreshadow another neurological disease, such as Parkinsons disease. RLS symptoms can worsen over time when dopamine-related drugs are used for therapy, an effect called "augmentation" which may represent symptoms occurring throughout the day and affect movements of all limbs. There is no cure for RLS. Epidemiology
RLS affects an estimated 2.5–15% of the American population. A minority (around 2.7% of the population) experience daily or severe symptoms. RLS is twice as common in women as in men, and Caucasians are more prone to RLS than people of African descent.