Mefloquine, the active ingredient in Lariam, can affect the brain by potentially causing neurological and psychiatric symptoms. It may alter serotonin levels, leading to mood changes, anxiety, depression, and hallucinations. In rare cases, some people may experience long-lasting cognitive and balance problems.