MS causes memory loss which is heightened when heat, anxiety, stress, depression, lack of sleep, and fatigue enter the picture. The immune system attacks the brain causing demyelination and scar tissue called lesions. Multiple lesions in the brain breakdown nerve impulses creating memory loss. An overactive or under active thyroid can cause memory problems as can fibromyalgia. Prescription medication may be a culprit. Use of drugs, alcohol and tobacco, lack of sleep or good nutrition, having stress, anxiety, depression, or other medical problems unrelated to MS such as high blood pressure, stroke, and dementia can all cause memory difficulties.
MSLifeLines has someone on-call for questions about MS 1-877-447-3243. See their site at: http://www.mslifelines.com/pages/what-is-ms/symptom_detail_difficulties_with_memory_concentration_and_problem_solving.
Image from WebMD.