In short
An HLA B27 positive result means you carry a common gene variant, not that you have a disease. It raises the odds of spondyloarthritis in someone with inflammatory back pain, and means very little in someone without it. The symptoms, examination and scans decide.
An HLA-B27 positive result means you carry a common variant of an ordinary gene. It is not a disease, it is not a diagnosis, and on its own it does not predict that you will become unwell. Most people who carry it never develop any of the conditions it is associated with.
What the result does is shift the odds. In someone with three months of back pain that is worse at rest, wakes them in the second half of the night and eases once they get moving, a positive result adds real weight. In someone with a pulled muscle and a curious family doctor, it adds almost nothing.
This article explains what the test measures, which conditions the gene is linked with, when the result is worth having, and how the diagnosis is actually made. Reports print the name in several ways, including HLA B27, HLA-B27 and B*27; they all mean the same thing.
What HLA-B27 is, and what the test looks for
HLA stands for human leukocyte antigen. These are markers carried on the surface of your cells that show the immune system which cells belong to you and which do not. Everyone has a set of them, inherited half from each parent. B27 is simply one of the many versions that exist.
The HLA-B27 test is a tissue typing test rather than a measure of inflammation (MedlinePlus). That has three practical consequences. The result is present or absent, with no number and no titre. It does not rise when you are unwell or fall when you are better. And because it is inherited, it will never change, so there is no reason to repeat it.
MedlinePlus puts the association carefully: the HLA-B27 antigen is found in many people, but not all, who have ankylosing spondylitis and reactive arthritis. "Many, but not all" is the whole story of this test in four words.
Why the variant should predispose anyone to spinal inflammation is still not settled. Research links it to the way this particular marker presents fragments of protein to the immune system, but the exact mechanism remains under investigation, and no test can tell an individual carrier whether their own immune system will ever behave that way.
Why an HLA-B27 positive result is not a diagnosis
The gene variant is common in the general population, while the conditions linked to it are not (StatPearls). That mismatch is the reason a positive result cannot stand alone. If a variant is widespread and the disease is uncommon, most carriers must be well, and they are.
NIAMS says the same thing about the best known association: the HLA-B27 gene increases the risk of developing ankylosing spondylitis, but many people have the gene and never develop the disease, which tells researchers that environmental factors matter too (NIAMS).
The NHS reaches the same conclusion from the other direction, calling the test not entirely reliable, because not everyone with the condition carries the variant and some people carry it without ever developing anything (NHS).
The conditions the gene is linked with
The associations cluster into a family of conditions known as spondyloarthritis, which share a tendency to inflame the spine, the sacroiliac joints at the base of the back, and the points where tendons attach to bone.
- Ankylosing spondylitis and non-radiographic axial spondyloarthritis, where the association is strongest
- Acute anterior uveitis, a sudden inflammation inside the eye, which is also closely linked
- Reactive arthritis, which follows certain gut or genital infections
- Psoriatic arthritis and the arthritis that goes with inflammatory bowel disease, where the link is present but weaker
Even within this list, the strength of the association varies a great deal. A positive result in someone with classic inflammatory spinal symptoms means something quite different from the same result in someone whose knee hurts after a long drive.
It is also worth knowing what the gene is not linked with, because this is where most unnecessary worry starts. HLA-B27 has nothing to say about osteoarthritis, disc prolapse, sciatica from a slipped disc, muscular back strain, fibromyalgia or osteoporosis. If the pain has already been explained by one of those, a positive result does not overturn the explanation or add a second condition on top of it.
The back pain pattern that makes the result matter
Ordinary mechanical back pain and the back pain of spondyloarthritis behave differently, and the difference is usually clear once you know what to ask. The NHS describes the pattern as distinctive: it usually does not improve with rest, and it may wake you during the night.
Inflammatory back pain tends to start gradually, often before the age of forty, and to have been present for more than three months by the time anyone looks into it. Stiffness in the morning lasts more than half an hour, and sometimes a good deal longer. Movement helps and rest makes things worse, which is the reverse of what most people expect from a bad back. Pain that alternates from one buttock to the other is another common feature.
Mechanical back pain usually does the opposite. It comes on after a specific effort, it is worse by the end of the day, and lying down relieves it. The distinction is explained in more detail in the article on back pain that improves with movement.
When the test is genuinely useful
The test earns its place when there is already a reason to think of spondyloarthritis, and it is close to useless without one. Three situations come up repeatedly in clinic.
The first is persistent inflammatory back pain in a younger adult whose X-rays are normal. This is where an HLA-B27 positive result genuinely changes what happens next, because the NHS pathway allows a diagnosis of non-radiographic axial spondyloarthritis in someone who carries the variant and has the symptoms, even when neither X-ray nor MRI shows the changes.
The second is recurrent acute anterior uveitis, where a positive result points towards a spinal condition the eye specialist may not have asked about.
The third is an unexplained inflammatory arthritis in the lower limbs, particularly with heel pain or a swollen toe, where the gene helps place the problem in the right family. Outside these settings, testing a healthy person with no symptoms tells you about a gene and nothing about their health.
The HLA-B27 test is not a screening test, and it was never designed as one. Screening tests are worth doing when finding something early lets you act on it, and there is nothing to act on in a well person who happens to carry this variant. Adding it to a routine health package produces a stream of positive results in people who will never need the information, and a good deal of anxiety that takes a consultation to undo.
What a negative result does and does not rule out
An HLA-B27 negative result does not close the question. Not everyone with ankylosing spondylitis carries the variant, and a good proportion of people with psoriatic arthritis or arthritis linked to bowel disease do not carry it either.
If the symptoms fit, a negative result simply shifts the work back to the examination and the imaging, where it belonged in the first place. Spinal movement, sacroiliac tenderness, chest expansion, CRP and ESR, and an MRI of the sacroiliac joints all carry more weight than the gene does. The wider blood test panel has the same limits.
The corollary matters as well. A negative result in someone with mechanical back pain was never going to be useful, and it does not become reassuring because it came back the way everyone expected.
Eyes, skin and gut as part of the same picture
Spondyloarthritis is not only a spinal condition, and the features outside the back are often what confirms the pattern. A rheumatologist will ask about several of them directly, because people rarely connect them to their back on their own.
Psoriasis, including small patches behind the ears, in the scalp or in the nail beds, counts even when it has never been formally diagnosed. So does a history of repeated painful red eyes. Long-standing diarrhoea, blood in the stool or a diagnosis of Crohn's disease or ulcerative colitis belongs in the same conversation. Heel pain at the back or under the sole, a finger or toe swollen along its whole length, and a first-degree relative with any of these all add to the picture.
None of these prove anything on their own either. Together with back pain and spinal symptoms, they build the case that the gene test alone cannot. An HLA-B27 positive result in someone who has had two episodes of a painful red eye and a stiff back since his twenties is a very different proposition from the same result in isolation.
How the diagnosis is actually made
The NHS sets out the route plainly. Ankylosing spondylitis can usually be confirmed when an X-ray shows inflammation of the sacroiliac joints along with at least one of three things: at least three months of lower back pain that improves with exercise and not with rest, limited movement in the lower back, or limited chest expansion for your age and sex.
Where the X-ray cannot confirm it, an MRI scan is usually offered. If the MRI shows inflammation of the sacroiliac joints, the diagnosis becomes non-radiographic axial spondyloarthritis. And where neither scan shows anything but the symptoms fit, a positive gene result can tip the balance.
Confirming the diagnosis often takes years, and the NHS says so openly. Part of the reason is that damage to the spine cannot always be picked up in the early stages, so there is a long stretch during which the symptoms are real and the scans are unremarkable. Being told the scans are normal is not the same as being told nothing is wrong, and this is the stage at which people are most often sent away.
Once the diagnosis is made, treatment usually starts with a structured exercise programme and anti-inflammatory medicines, with biologic treatment considered when symptoms stay active despite those. The point of treating early is not only comfort. It is keeping the spine mobile.
When back pain or a red eye needs urgent attention
Some symptoms should not wait for a scheduled appointment.
A sudden red, painful eye with blurred vision or sensitivity to light needs to be seen by an eye specialist the same day. Acute anterior uveitis is treatable, and delay risks lasting damage to vision.
Back pain with any of the following also needs urgent assessment rather than a routine referral: new weakness in a leg, numbness around the back passage or genitals, loss of control of the bladder or bowels, fever with severe back pain, or back pain with unexplained weight loss. None of these are typical of spondyloarthritis, which is exactly why they need looking at quickly.
What to do with an HLA-B27 report
Do not repeat the test. It is inherited and the answer will be the same next year and in twenty years.
Do not have healthy children or siblings tested because you carry it. A positive result in someone with no symptoms creates worry and changes nothing about their care, and a negative result does not protect them from back pain either.
Do not stop exercising because of the result either. Movement is the single most useful thing for a spine that is inflamed, and it is also harmless for a spine that is not. Most people who arrive with an HLA-B27 positive report and no symptoms need nothing beyond an explanation and a note of what to watch for.
What helps is detail. Write down when the back pain started, what it is like between two and five in the morning, how long you are stiff after getting up, and whether a walk makes it better or worse. Note any episode of a red eye, any patch of psoriasis, any gut symptoms, and anyone in the family with a similar back. Carry old X-rays and MRI scans on a disc or drive rather than as photographs of the report, because the images themselves are what get reviewed. What happens at a first visit covers the rest of the preparation.
Common questions
I am HLA B27 positive but I feel completely well. What should I do?
Nothing, in most cases. The variant is common and most carriers never develop a related condition. There is no treatment for carrying a gene and no benefit in monitoring scans. What matters is knowing the pattern of back pain to report: pain that wakes you at night, lasts months and eases with movement.
Does a positive HLA-B27 mean I will get ankylosing spondylitis?
No. Many people carry the gene variant and never develop ankylosing spondylitis, which is why researchers think environmental factors matter as well. The result raises the probability in someone who already has inflammatory back symptoms. In someone with no symptoms at all it predicts very little.
Should my children be tested for HLA-B27?
Usually not. Testing a healthy child or sibling gives a result that cannot be acted on and often causes lasting worry. A negative result does not protect them from back pain, and a positive one does not mean disease. Testing becomes reasonable only if symptoms appear.
Can I have axial spondyloarthritis if HLA-B27 is negative?
Yes. Not everyone with the condition carries the variant, and the link is weaker still in psoriatic arthritis and arthritis related to bowel disease. A negative result shifts the assessment back to the history, the examination and an MRI of the sacroiliac joints rather than ending it.
Sources
- NHS - Ankylosing spondylitis: diagnosis www.nhs.uk
- NIAMS - Ankylosing spondylitis www.niams.nih.gov
- StatPearls, NCBI Bookshelf - HLA-B27 syndromes www.ncbi.nlm.nih.gov
- MedlinePlus - Histocompatibility antigen test medlineplus.gov
This article is general information and does not replace a consultation.