Mild restless legs syndrome that isn't linked to an underlying health condition can be managed with just a few lifestyle changes.
If symptoms are more severe, medication may be needed.
Restless legs syndrome caused by an underlying health condition can often be cured by treating that condition.
For example, iron deficiency anaemia can be treated by taking iron supplements.
If it's associated with pregnancy, it usually disappears on its own within 4 weeks of the birth.
A number of lifestyle changes may be enough to ease the symptoms of restless legs syndrome.
These include:
During an episode of restless legs syndrome, the following measures may help relieve your symptoms:
Dopamine agonists may be recommended if you're experiencing frequent symptoms of restless legs syndrome.
They work by increasing dopamine levels, which are often low.
Dopamine agonists that may be recommended include:
These medications can occasionally make you feel sleepy, so you should be cautious when driving or using tools or machinery after taking them.
Other possible side effects can include nausea or vomiting and dizziness.
Impulse control disorder (ICD) is a less common side effect sometimes associated with dopamine agonists.
People with ICD are unable to resist the urge to do something harmful to themselves or others.
For example, this could be an addiction to alcohol, drugs, gambling, shopping or sex (hypersexuality).
But the urges associated with ICD will subside once treatment with the dopamine agonist is stopped.
A mild opiate-based painkiller, such as codeine, may be prescribed to relieve pain associated with restless legs syndrome.
Gabapentin and pregabalin are also sometimes prescribed to help relieve painful symptoms of restless legs syndrome.
Side effects of these medications include dizziness, tiredness and headaches.
If restless legs syndrome is badly disrupting your sleep, a short-term course of medicine may be recommended to help you sleep.
These types of medicines are known as hypnotics, and include zopiclone and zolpidem.
Hypnotics are usually only recommended for short-term use (typically no longer than a week).
You may find you still feel sleepy or "hungover" the morning after taking your medicine.