It is important to know whether meningitis is caused by a virus or bacteria so it can be treated properly. Bacterial meningitis isn't as common as viral meningitis, but is serious and can be life-threatening if not treated right away. Viral meningitis is more common and can be less serious.