Is Ankylosing Spondylitis Genetic? HLA-B27, Heredity, and Risk

Heredity contributes roughly 90 percent of the overall risk, yet environmental factors still help decide who actually develops the disease. More than 90% of people with AS carry a gene called HLA-B27, while only about 1 to 5% of carriers ever develop the disease. Your DNA loads the gun, but other factors pull the trigger.

This guide maps the genetic architecture behind AS, clarifies what HLA-B27 actually predicts, and translates family history into real numbers you can use.

Ankylosing Spondylitis Sits at the Intersection of Genes and Environment

Ankylosing spondylitis is a chronic form of inflammatory arthritis that targets the spine and the sacroiliac joints, where the base of the spine meets the pelvis. Rheumatologists classify it within a broader family called axial spondyloarthritis, a set of conditions sharing similar patterns of immune-driven joint inflammation.

The immune system in AS misfires against the body’s own tissues, particularly the entheses (the spots where ligaments and tendons attach to bone) and the small joints of the spine. The American College of Rheumatology lists AS as an autoimmune or autoinflammatory condition, meaning inflammation arises from the immune system attacking the body itself rather than from an infection or injury.

Why Genes Alone Fall Short of an Explanation

Carrying HLA-B27 raises your odds of developing AS dramatically compared with the general population, yet most carriers stay healthy for life. That gap shows AS is a polygenic condition, where many small genetic effects combine with environmental triggers to cause disease rather than a single gene acting alone.

Smoking and shifts in the gut microbiome (the community of bacteria living in your intestines) are the two best-documented environmental contributors. A model that layers these factors on top of HLA-B27 explains more cases than any gene viewed in isolation, which is why researchers now describe AS as a gene-environment interaction rather than a straightforward hereditary disease.

Think of your genetic risk as a loaded spring: your DNA sets how tightly it’s wound, and life events decide when (or whether) it ever releases.

HLA-B27 Is the Strongest Known Genetic Link to AS

HLA-B27 is a specific variant of a larger gene family called HLA-B, located on chromosome 6. Its job is to help your immune system recognize foreign proteins, yet in AS it appears to misdirect immune responses against the spine.

The Numbers Behind HLA-B27

More than 90% of people with AS carry HLA-B27, compared with about 6 to 8% of the general Caucasian population. Among African Americans the carrier rate sits near 4%, while in some Northern European groups it climbs as high as 20%. The National Institutes of Health lists HLA-B27 as the single most important genetic marker associated with the disease.

PopulationApproximate HLA-B27 carrier rate
Caucasians (general)6 to 8%
African AmericansAround 4%
Northern European groups (e.g., Scandinavian)Up to 20%
People with confirmed ASOver 90%

Subtypes and Other Susceptibility Genes

HLA-B27 is not one uniform marker. It has more than 100 subtypes, named B*27:05, B*27:09, and so on. Some subtypes carry higher AS risk than others, but standard lab tests usually report only whether HLA-B27 is present or absent, not the precise subtype.

Beyond HLA-B27, researchers have identified several non-HLA genes that add smaller individual contributions to AS susceptibility. These include ERAP1 (which shapes how proteins are trimmed before the immune system sees them), IL23R (a receptor involved in inflammatory signaling), and multiple variants that influence how T-cells, the immune system’s targeted attackers, behave.

Yet HLA-B27 alone doesn’t follow the clean inheritance rules most people expect from genetic conditions.

Heredity Works Differently in AS Than in Classic Inherited Diseases

Classic inherited diseases such as cystic fibrosis or sickle cell anemia follow predictable Mendelian patterns, where a single gene variant either causes the condition or does not. AS does not work that way. It follows a polygenic inheritance pattern, meaning many genes combine to shape risk without a single dominant or recessive transmission rule.

What Twin Studies Reveal

When one identical twin has AS, the other twin develops it about 60 to 75% of the time. For non-identical twins, that concordance rate drops to roughly 7%. The sharp gap matters: identical twins share 100% of their DNA, while non-identical twins share about 50%, just like any other sibling. The wide difference points to genetics as the dominant driver, but the missing 25 to 40% in identical twins confirms that non-genetic factors still influence who actually gets sick.

Risk for First-Degree Relatives

If a parent or sibling has AS, your lifetime risk of developing it rises to roughly 10 to 20%, compared with about 0.1 to 0.5% in the general population. That is a real jump, yet it is far from a certainty. You inherit each HLA-B27 copy from a parent with a 50% probability, yet most HLA-B27-positive people never develop AS.

Familial aggregation (the tendency for a condition to cluster in certain families) supports a hereditary component. At the same time, skipped generations and unaffected carriers in AS families reinforce that the disease is not directly inherited in a predictable pattern. You may see AS in a grandparent and a cousin but never in a parent, which can make family trees confusing.

Translating Genetic Risk Into Real-World Numbers for Families

Raw percentages help, but families often want concrete scenarios. The ranges below come from population studies summarized by the Spondylitis Association of America and major rheumatology research groups.

Common Family Scenarios

Family situationApproximate lifetime AS risk
No known family history, HLA-B27 negativeAbout 0.1 to 0.5%
One parent with AS, child HLA-B27 negativeAround 1%
One parent with AS, child HLA-B27 positiveCloser to 10%
Sibling with AS (shared genes + environment)10 to 20%
Identical twin with AS60 to 75%

A sibling’s higher risk compared with a child’s partly reflects shared environment growing up in the same household, including similar diets, infections, and microbiome exposures during childhood.

Other Autoimmune Conditions in the Family

A family history of psoriasis, inflammatory bowel disease (Crohn’s or ulcerative colitis), or uveitis (painful inflammation inside the eye) raises background AS risk even without a direct AS diagnosis. These conditions share overlapping genetic pathways with AS, particularly variants in IL23R and other immune-signaling genes.

Because population-specific carrier rates vary, absolute risk numbers should be interpreted in context. An HLA-B27-positive individual from a low-prevalence ethnic group carries a lower absolute risk than one from a high-prevalence group, even though the relative risk increase looks the same on paper. Risk is also cumulative: the more AS-linked variants you carry, and the more environmental exposures you encounter, the higher your odds climb.

Those odds get murkier in practice, which is where genetic testing enters the picture.

Genetic Testing Helps Clarify but Cannot Confirm AS Alone

HLA-B27 testing is widely available, but its role in diagnosis is narrower than many people expect. It functions as a diagnostic aid, not a verdict.

When HLA-B27 Testing Adds Value

Doctors typically order the HLA-B27 test when a patient under 45 has chronic back pain, restricted spinal motion, or MRI findings suggesting sacroiliitis without a confirmed diagnosis. In a symptomatic person, a positive result supports the diagnosis and shortens the path to a rheumatology referral.

Limits of the Test

A positive HLA-B27 result in someone without symptoms cannot predict disease, since most carriers stay healthy for life. A negative result does not rule out AS either: roughly 5 to 10% of confirmed AS patients are HLA-B27 negative, and the rate climbs in non-Caucasian populations.

No single test replaces clinical evaluation, imaging, and inflammatory markers such as C-reactive protein (CRP). Routine genetic testing also cannot yet calculate a polygenic risk score (a number that sums up the small effects of many gene variants) for AS in clinical practice; that research tool exists in studies but has not reached everyday rheumatology offices.

Polygenic scores remain mostly confined to research, leaving the heavier lifting to environmental and immune triggers.

Before pursuing HLA-B27 testing without symptoms, weigh the limited predictive value against potential anxiety and insurance implications. Genetic counseling can help frame the results in context.

Environmental and Immune Factors Shape Whether Genetic Risk Becomes Disease

Genes set the stage, but environmental factors often decide whether AS ever appears or how severe it becomes once it does.

Smoking Carries an Outsized Influence

Smoking interacts with HLA-B27 positivity and is consistently linked to higher AS risk, more severe disease, and worse response to treatment. Quitting smoking is the single highest-yield preventive step for someone with a family history of AS, alongside standard cardiovascular and lung-health benefits.

The Gut Connection

Subclinical gut inflammation and microbiome shifts, including overgrowth of bacteria such as Klebsiella, have been implicated in triggering AS in genetically susceptible people. The gut-joint axis (the link between intestinal immune activity and inflammation elsewhere in the body) is an active research area, and probiotics or dietary changes are sometimes explored as supportive measures, though no single regimen has proven preventive value.

Mechanical Stress and Where AS Begins

Repeated loading and micro-trauma at the entheses often dictate the precise spots where inflammation first ignites along the spine. AS often begins in the sacroiliac joints because those joints bear significant load during walking and bending, and inflammation tends to settle where mechanical strain is highest.

Recognizing Inflammatory Back Pain Early

Spotting inflammatory back pain within the first few months can cut the average seven-year path to diagnosis nearly in half. The hallmark pattern is pain that improves with exercise and worsens at rest, stiffness that is worse in the morning and improves after moving around, and onset before age 40. If these features show up in a family member of an AS patient, raising the possibility with a primary care doctor or rheumatologist can cut years off the diagnostic timeline.

Making Sense of Genetics in Your Own AS Journey

Pulling the pieces together, the practical takeaways for your family look like this:

  • Genes matter, but they do not seal your fate. HLA-B27 and dozens of smaller genetic variants shape risk, yet most carriers never develop AS.
  • Use family history as a screening tool. Mention any relatives with AS, psoriasis, uveitis, or inflammatory bowel disease to your doctor so inflammatory back pain can be recognized faster.
  • Test only when symptoms are present. HLA-B27 testing makes sense for someone with suspicious symptoms. Testing asymptomatic family members without counseling rarely changes management.
  • Prioritize modifiable risk factors. Quitting smoking, staying physically active, and supporting gut health through a varied fiber-rich diet can influence whether genetic risk translates into active disease.
  • Frame AS accurately in family conversations. Calling it a condition with genetic predisposition rather than a directly inherited disease reduces stigma and clarifies actual risk.
  • Watch for emerging science. Polygenic risk modeling and gene-environment interaction research may eventually refine individual predictions, though clinical tools are still years away.

The Bottom Line

Ankylosing spondylitis is heavily shaped by genetics, with HLA-B27 as the dominant marker, yet it does not follow the simple inheritance rules most people expect. Family clustering is real, lifetime risk for a first-degree relative rises into the 10 to 20% range, and smoking and gut health meaningfully affect whether genetic risk turns into disease. Knowing your family history and acting on modifiable factors gives you more practical leverage than any genetic test alone.

FAQ

Is ankylosing spondylitis passed down from parents?

AS has a strong hereditary component but does not pass directly from parent to child like a single-gene disorder. A child of someone with AS inherits HLA-B27 about half the time, and lifetime risk in that child is closer to 10% if HLA-B27 positive, far from a certainty.

What gene causes ankylosing spondylitis?

HLA-B27 is the single most important genetic association, present in more than 90% of people with AS. Other contributors include IL23R, ERAP1, and several variants that influence T-cell signaling, though each adds a smaller individual effect.

Does everyone with HLA-B27 develop ankylosing spondylitis?

No. Only about 1 to 5% of HLA-B27 carriers ever develop AS, even in high-prevalence populations. The gene raises risk substantially but does not determine who gets sick on its own.

How likely is it to get ankylosing spondylitis if a parent has it?

Risk for a child of an AS patient ranges from about 1% (if HLA-B27 negative) to roughly 10% (if HLA-B27 positive). Risk for a sibling is higher, around 10 to 20%, because siblings share both genes and early-life environmental exposures.

Is ankylosing spondylitis considered an autoimmune disease?

Yes, though researchers sometimes describe it as autoinflammatory. The immune system targets the body’s own tissues, particularly the entheses and spine, rather than reacting to an outside infection or injury.

Can ankylosing spondylitis skip a generation?

Yes. Skipped generations are common because AS follows polygenic inheritance with incomplete penetrance, meaning not everyone who carries the risk genes develops the disease. You may see AS in a grandparent and a grandchild but never in the parent in between.

Staff
Staff

Our team brings together health and food enthusiasts who are passionate about discovering reliable health information, nutritious choices, and enjoyable food experiences. From everyday nutrition and healthy eating ideas to recipes, ingredients, food trends, and standout dishes, we share carefully researched and thoughtfully curated content to help readers make informed choices about what they eat and enjoy.