What Causes Restless Leg Syndrome?
Caffeine Consumption

Consuming caffeine, particularly in large quantities and in the evenings before bedtime, can increase an individual's risk of restless leg syndrome. This is because caffeine is considered a stimulant and can keep individuals awake at night, which as we know can trigger or worsen symptoms of restless leg syndrome. Caffeine can even introduce involuntary muscle twitches when it is consumed in excess, or when individuals dramatically and suddenly cut back on their consumption, causing symptoms of withdrawal. Individuals who drink caffeine and who suffer from restless leg syndrome may wish to try reducing their intake and adjusting when they drink anything with caffeine (such as avoiding caffeine after five o'clock in the evening).
Antidepressants And Antipsychotics

Quite a significant amount of research indicates antipsychotic medication and several types of antidepressants, especially those that increase serotonin, can trigger or worsen cases of restless leg syndrome, though additional research is required to pin down the exact link. These types of antidepressants include selective serotonin or norepinephrine reuptake inhibitors (SSRIs and SNRIs respectively) and tricyclic antidepressants.
Their association with restless leg syndrome is why the condition is listed among the potential side effects of taking the medication. It is also why doctors will only recommend taking these medications when the benefits outweigh the possible risks. Furthermore, if patients do experience restless leg syndrome as a result of taking a certain medication, they may wish to talk to their primary doctor to determine if there is a suitable alternative they can try in an effort to reduce the symptoms of restless leg syndrome.