Mefloquine can be used to treat mild or moderate malaria. It is not recommended for severe malaria. Side effects include vomiting, diarrhea, headaches, sleep disorders, and a rash. Serious side effects include potentially long-term mental health problems.