Magnesium supplements have been shown to offer some help with restless leg syndrome, but do recognize that they might not be good for all to take. magnesium supplements might cause problems when taken with certain medications. Here's a link that offers info on what types of medications magnesium probably shouldn't be taken with.
MAGNESIUM: Uses, Side Effects, Interactions and Warnings - WebMD