Sodium valproate is used to control some types of seizures (commonly known as fits). It is also used as a mood stabiliser to help reduce mood swings in bipolar disorder. This medication is also used in other medical conditions such as prevention of migraine headaches.