Dementia is not a diagnosis—it says nothing about the underlying cause of thinking and memory impairment. Dementia can be caused by a variety of factors, including thyroid disorders, vitamin deficiencies, side effects of prescriptions, depression, anxiety, infections, strokes, Parkinson’s disease, and other medical problems. In some cases, cognitive impairment may be reversible if diagnosed and treated early enough.