Does Ankylosing Spondylitis Affect the Brain?

Ankylosing spondylitis can affect the way your brain works. It can cause problems with thinking, remembering, and concentrating. The effect can worsen over time and prevent you from taking care of yourself.

This article describes how the disease impacts your brain, how it can affect the way your brain functions, and how to handle the brain-related symptoms that occur.

Back pain

Pornpak Khunatorn / Getty Images

Does Ankylosing Spondylitis Affect the Brain?

Ankylosing spondylitis is a lifelong illness that can worsen over time. As the condition progresses, its impact can spread and affect your brain.

The consequences of ankylosing spondylitis on the brain vary by individual. Symptoms can range from subtle to severe. Though many symptoms may be overlooked in their earliest stages, symptoms that occur in advanced stages of the disease can interfere with your ability to communicate and live normally.

Brain Fog

Brain fog, more formally called cognitive dysfunction, describes a feeling of mental sluggishness resulting from another health condition, like ankylosing spondylitis. It can affect your ability to think, concentrate, or make decisions normally.

Brain fog involves a decline in your ability to focus and may make it difficult to perform one or more of the following areas of cognitive functions:

Causes of Brain Fog

Brain fog can occur as a symptom of many factors. In addition to ankylosis spondylitis, brain fog can occur as a symptom of the following conditions:

Memory Loss

Though gradual memory loss occurs naturally with age, it can also be linked to inflammatory conditions like ankylosis spondylitis. Symptoms can range from unusual forgetfulness to difficulty remembering common people and situations.

Memory loss can include the following symptoms:

  • Losing objects often
  • Trouble finishing a complete thought or sentence
  • An inability to keep track of time, people, and places
  • Asking the same questions repeatedly
  • Forgetting to attend important appointments or events
  • Getting lost in places you know well
  • Trouble following directions or recipes
  • An inability to maintain self-care
  • Engaging in unsafe behavior

Brain Lesions

Brain lesions are abnormalities in your brain. They can occur as a result of many factors, including inflammation. The impact of brain lesions depends on their location and the specific role of that area in the brain.

Brain lesions can affect small or large areas of your brain, depending on the size and number of lesions present. You may have significant focal neurological deficits like weakness of the face, arm, and leg on one side if you have a large brain lesion. Behavioral changes, cognitive dysfunction, fatigue, and/or dizziness, along with one or more focal neurological deficits, can occur when multiple lesions develop.

Causes of Cognitive Dysfunction

Research indicates that having ankylosing spondylitis can make you more vulnerable to cognitive dysfunction. Though the mechanism that triggers the decline in cognitive function isn't clear, several factors common to ankylosing spondylitis may increase your risk of having problems with normal brain function.

Chronic Inflammation

Ankylosing spondylitis causes chronic inflammation, primarily affecting the spine and sacroiliac joint in your lower back. However, a study that used functional magnetic resonance imaging (MRI) to assess ankylosing spondylitis found that people with the disease had "widespread brain connectivity alterations" that aligned with blood markers for inflammation, versus the results of a control group.

Cognitive dysfunction has been linked to inflammation. Though inflammation is a protective response that promotes healing, prolonged higher levels of inflammation can lead to the release of damaging enzymes that can harm brain cells. This effect can damage brain structures that play key roles in cognitive processes such as attention, memory, emotion, and perception.

Chronic Pain

Chronic pain is a common symptom of ankylosing spondylitis. Research shows that people with the disease have a 33% higher risk of fibromyalgia, a condition characterized by pain and tenderness throughout the body. Issues with fatigue, sleep deprivation, memory loss, and mood disorders commonly accompany fibromyalgia.

Regardless of its source, chronic pain is linked with accelerated cognitive decline and a higher probability of dementia versus people who do not have persistent pain. In addition, the rate of cognitive decline increases in response to pain severity.


Cognitive dysfunction can occur as a side effect of some over-the-counter and prescription medications for ankylosing spondylitis and many other conditions. It can also occur as the result of the interaction of two or more drugs taken together.

Because there is no cure for ankylosing spondylitis, you may use a variety of medications to treat different symptoms as the disease changes and progresses. The effect can create an ongoing risk of cognitive dysfunction from new medications or changing doses.

The following commonly prescribed drugs are linked to memory loss and mental dysfunction:

Changing Your Medication

Though adjusting the dosage or changing to a new medication may improve your symptoms of cognitive dysfunction, it's important to consult with your healthcare provider before making these adjustments. Sudden changes to your medication can affect your treatment plan and possibly jeopardize your well-being.

Poor Sleep

Adequate sleep is essential for normal, healthy cognitive function. Sleep experts recommend that adults get an average of eight hours of sleep, though that amount can vary by individual.

Sleep disturbances resulting in poor sleep quality are significantly higher in people with ankylosing spondylitis versus those without the disease. According to one study, about 58% of people with ankylosing spondylitis report sleep disturbances.

Factors including altered posture and nighttime inflammatory pain likely contribute to the frequency of sleep disturbances in people with ankylosing spondylitis. Research indicates that people with the highest level of disease activity are likely to have the worst sleep quality.

Losing just a few hours of quality sleep can interfere with the following cognitive processes:

  • Attention
  • Language
  • Reasoning
  • Decision-making
  • Learning
  • Memory

Depression and Anxiety

Research indicates that people with ankylosing spondylitis have a 51% higher risk of depression and an 85% higher risk of anxiety versus people who don't have the disease.

The link between ankylosing spondylitis and these mental health conditions may be related to the disease's symptoms, including chronic pain, impaired physical function, and fatigue. People with ankylosing spondylitis are more likely to have depression and anxiety if they have high disease activity, impaired physical functioning, fatigue, and/or lower quality of life.

Studies indicate that depression, anxiety, and anger are linked with cognitive dysfunction and a higher risk of dementia. A mood disorder like depression or anxiety may also accelerate the natural cognitive decline that occurs with aging.

Managing Brain-Related AS Symptoms

If you recognize brain-related symptoms of ankylosing spondylitis, contact your healthcare provider for a consultation. Be open and honest about your symptoms and how they affect your quality of life.

Ensure they are aware of all your medications, even over-the-counter products and those you take for other conditions. Identifying the cause of your problem is the first step in getting the right treatment and reducing long-term damage.

In addition to the instructions you receive from your healthcare provider, consider these steps to ensure that you're doing all you can to manage your symptoms:

  • Get adequate quality sleep.: Establish and maintain a nightly sleep routine. Prepare a room that is cool, dark, and comfortable. Don't consume late-day caffeine products or late-night snacks. Avoid using any screens at least an hour before you sleep.
  • Maintain a regular workout schedule: Many exercises are inked with improved brain function. Walking, yoga, high-intensity exercise, and resistance training have benefits for both your mind and body.
  • Eat a healthy diet: Assess your diet and modify it as needed to eat more fruits, vegetables, healthy fats, and lean protein. Limit alcohol, caffeinated products, and processed sugar.
  • Record when symptoms occur: Identify patterns of cognitive dysfunction so you can schedule tasks at times when your mental abilities are at their best. Keep your healthcare provider informed about any changes in the timing or onset of brain fog.

When to See a Healthcare Provider

Memory loss and other symptoms of cognitive dysfunction can occur for many reasons, It's important to keep your healthcare provider informed of any new symptoms of cognitive dysfunction at your regular checkups.

Some symptoms of cognitive dysfunction require prompt care. Contact your healthcare provider immediately if you have brain fog or memory loss with any of the following symptoms:

When Memory Loss Is an Emergency

Memory loss or brain fog can be a sign of a stroke. Call 911 if any of the following symptoms suddenly appear:

  • Weakness or numbness on your face, arm or leg, or one side of your body
  • Confusion or the inability to speak or understand others
  • Blurred vision or other problems seeing normally
  • An inability to walk normally or maintain balance or coordination
  • Severe headache without a known cause


Ankylosing spondylitis is a chronic inflammatory disease that often causes pain in your back, hips, and other joints. It can also affect your brain and your ability to perform normal functions.

These changes can cause brain fog, memory loss, or brain lesions. They can affect the way your brain thinks, remembers, and concentrates. Though the symptoms can be subtle when they start, they can become more severe over years as the disease changes.

Finding the cause of brain-related symptoms can help improve the problem. Factors like pain, inflammation, drugs, or poor sleep can be the source of these symptoms. Making the necessary changes can often help reduce symptoms and improve mental function.

A Word From Verywell

Dealing with brain-related symptoms of ankylosing spondylitis can feel overwhelming. On its own, ankylosing spondylitis is a challenging condition that can impact your daily routines and quality of life. Adding symptoms of cognitive dysfunction to your condition may mean asking for help at a time when you may be eager to remain independent.

Don't delay seeking support. Talk to your healthcare provider about ways to reduce symptoms that are affecting the ways you think and concentrate. Until your problems improve, do what is necessary to remain healthy and safe. You'll be at your best if you work to reduce the likelihood of painful flare-ups and avoid dangerous injuries from falls or other unsafe events.

Frequently Asked Questions

  • What other parts of the body does ankylosing spondylitis impact?

    Ankylosing spondylitis can affect many areas of the body. It can cause joint pain in areas including the ribs, shoulders, knees, hips, elbows, and ankles. It can also cause inflammation of the eye, skin rashes, and loss of appetite. Less often, ankylosing spondylitis can also cause problems with your heart, lungs, or kidneys.

  • Can ankylosing spondylitis cause headaches?

    Ankylosing spondylitis can cause secondary headaches in several ways. The disease can lead to a cervicogenic headache, a secondary headache that occurs as a result of a limited range of motion in the neck. Headaches can also result from ankylosing spondylitis-related iritis, an inflammation of the iris which causes headaches and eye pain, or the stress related to living with disease pain.

  • What are the symptoms of cognitive dysfunction?

    Symptoms of cognitive dysfunction can range from mild to severe and vary by individual. They usually involve problems related to executive function that involves remembering, concentrating, decision-making, and/or learning new things. Symptoms can also include trouble identifying familiar people and behavioral changes. Many symptoms may not be noticeable in their early stages but can lead to the inability to communicate, talk, write, or live without assistance.

26 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Lam RW, Kennedy SH, Mclntyre RS, Khullar A. Cognitive dysfunction in major depressive disorder: effects on psychosocial functioning and implications for treatment. Can J Psychiatry. 2014 Dec;59(12):649-54. doi:10.1177/070674371405901206

  2. Psychology Today. What everyone should understand about brain fog.

  3. National Institute on Aging. Memory, forgetfulness, and aging: what's normal and what's not?

  4. Ghandour F, Squassina A, Karaky R, et al. Presenting psychiatric and neurological symptoms and signs of brain tumors before diagnosis: a systematic reviewBrain Sci. 2021;11(3):301. doi:10.3390/brainsci11030301

  5. Vitturi BK, Suriano ES, Pereira de Sousa AB, Torigoe DY. Cognitive impairment in patients with ankylosing spondylitis. Can J Neurol Sci. 2020 Mar;47(2):219-225. doi:10.1017/cjn.2020.14

  6. Li C, Wei X, Zou Q, et al. Cerebral functional deficits in patients with ankylosing spondylitis- an fMRI studyBrain Imaging and Behavior 11, 936–942 (2017). doi:10.1007/s11682-016-9565-y

  7. Sartori AC, Vance DE, Slater LZ, Crowe M. The impact of inflammation on cognitive function in older adults: implications for healthcare practice and research. J Neurosci Nurs. 2012 Aug;44(4):206-17. doi: 10.1097/JNN.0b013e3182527690

  8. Gau SY, Lee YH, Tsou HK, et al. Patients with ankylosing spondylitis are associated with high risk of fibromyalgia: a nationwide population-based cohort studyFront Med. 2021;0. doi:10.3389/fmed.2021.618594

  9. Rong W, Zhang C, Zheng F, et al. Persistent moderate to severe pain and long-term cognitive declineEur J Pain. 2021;25(9):2065-2074. doi:10.1002/ejp.1826

  10. Shinohara M, Yamada M. [Drug-induced cognitive impairment]. Brain Nerve. 2016 Apr;68(4):421-8. Japanese. doi:10.11477/mf.1416200415

  11. Watson NF, Badr MS, Belenky G, et al. Recommended amount of sleep for a healthy adult: A joint consensus statement of the American Academy of Sleep Medicine and Sleep Research SocietySleep. 2015;38(6):843-844. doi:10.5665/sleep.4716

  12. Li Y, Zhang S, Zhu J, Du X, Huang F. Sleep disturbances are associated with increased pain, disease activity, depression, and anxiety in ankylosing spondylitis: a case-control study. Arthritis Res Ther. 2012 Oct 11;14(5):R215. doi: 10.1186/ar4054

  13. Aydin E, Bayraktar K, Turan Y, et al. [Sleep quality in patients with ankylosing spondylitis]. Rev Bras Reumatol. 2015 Jul-Aug;55(4):340-5. Portuguese. doi:10.1016/j.rbr.2014.12.007

  14. Diekelmann S. Sleep for cognitive enhancementFront Syst Neurosci. 2014;8:46. doi:10.3389/fnsys.2014.00046

  15. Park JYE, Howren AM, Zusman EZ, et al. The incidence of depression and anxiety in patients with ankylosing spondylitis: a systematic review and meta-analysisBMC Rheumatol 4, 12 (2020). doi:10.1186/s41927-019-0111-6

  16. Webers C, Vanhoof L, Leue C, et al. Depression in ankylosing spondylitis and the role of disease-related and contextual factors: a cross-sectional studyArthritis Res Ther 21, 215 (2019). doi:10.1186/s13075-019-1995-7

  17. Yurdakul FG, Garip Y, Koçak RU, et al. FRI0439 Psychiatric disorders associated with ankylosing spondylitis. Annals of the Rheumatic Diseases. 2017;76:652-653.

  18. Lindert J, Paul KC, Lachman ME, Ritz B, Seeman TE. Depression-, anxiety-, and anger and cognitive functions: findings from a longitudinal prospective studyFront Psychiatry. 2021;12:665742. doi:10.3389/fpsyt.2021.665742.

  19. Chaurasia N, Singh A, Singh IL, Singh T, Tiwari T. Cognitive dysfunction in patients of rheumatoid arthritis. J Family Med Prim Care. 2020 May 31;9(5):2219-2225. doi:10.4103/jfmpc.jfmpc_307_20

  20. Arthritis Foundation. RA's effect on the brain.

  21. University of Iowa Hospitals & Clinics. When to consult your doctor about memory issues.

  22. National Institute of Arthritis and Musculoskeletal and Skin Diseases. Ankylosing spondylitis.

  23. Mercieca C, van der Horst-Bruinsma IE, Borg AA. Pulmonary, renal and neurological comorbidities in patients with ankylosing spondylitis; implications for clinical practice. Curr Rheumatol Rep. 2014 Aug;16(8):434. doi:10.1007/s11926-014-0434-7

  24. American Migraine Foundation. What is cervicogenic headache?

  25. Arthritis-health. 5 unusual ankylosing spondylitis symptoms.

  26. Centers for Disease Control and Prevention. Cognitive impairment: a call for action, now!

By Anna Giorgi
Anna Zernone Giorgi is a writer who specializes in health and lifestyle topics. Her experience includes over 25 years of writing on health and wellness-related subjects for consumers and medical professionals, in addition to holding positions in healthcare communications.