Cerebral malaria. In rare cases, malaria can affect the brain. This is known as cerebral malaria and it can cause your brain to swell, sometimes leading to permanent brain damage. It can also cause seizures (fits) or coma (a state of unconsciousness).