Skip Navigation
Genetics Home Reference: your guide to understanding genetic conditions     A service of the U.S. National Library of Medicine®


Reviewed July 2015

What is the official name of the HLA-B gene?

The official name of this gene is “major histocompatibility complex, class I, B.”

HLA-B is the gene's official symbol. The HLA-B gene is also known by other names, listed below.

What is the normal function of the HLA-B gene?

The HLA-B gene provides instructions for making a protein that plays a critical role in the immune system. HLA-B is part of a family of genes called the human leukocyte antigen (HLA) complex. The HLA complex helps the immune system distinguish the body's own proteins from proteins made by foreign invaders such as viruses and bacteria.

HLA is the human version of the major histocompatibility complex (MHC), a gene family that occurs in many species. Genes in this complex are categorized into three basic groups: class I, class II, and class III. In humans, the HLA-B gene and two related genes, HLA-A and HLA-C, are the main genes in MHC class I.

MHC class I genes provide instructions for making proteins that are present on the surface of almost all cells. On the cell surface, these proteins are bound to protein fragments (peptides) that have been exported from within the cell. MHC class I proteins display these peptides to the immune system. If the immune system recognizes the peptides as foreign (such as viral or bacterial peptides), it responds by triggering the infected cell to self-destruct.

The HLA-B gene has many possible variations, allowing each person's immune system to react to a wide range of foreign invaders. Hundreds of versions (alleles) of the HLA-B gene are known, each of which is given a particular number (such as HLA-B27). Closely related alleles are categorized together; for example, more than 60 very similar alleles are subtypes of HLA-B27. These subtypes are designated as HLA-B*2701 to HLA-B*2763.

Does the HLA-B gene share characteristics with other genes?

The HLA-B gene belongs to a family of genes called HLA (histocompatibility complex genes). It also belongs to a family of genes called immunoglobulin superfamily, C1-set domain containing (immunoglobulin superfamily, C1-set domain containing).

A gene family is a group of genes that share important characteristics. Classifying individual genes into families helps researchers describe how genes are related to each other. For more information, see What are gene families? ( in the Handbook.

How are changes in the HLA-B gene related to health conditions?

ankylosing spondylitis - increased risk from variations of the HLA-B gene

Several variations of the HLA-B gene increase the risk of developing ankylosing spondylitis, particularly a version called HLA-B27. It is uncertain how this variation causes the increased risk. Researchers speculate that HLA-B27 may abnormally display peptides that trigger an immune reaction, resulting in the inflammatory process that causes arthritis. Other research suggests that the joint inflammation characteristic of this disorder may result from improper folding of the HLA-B27 protein or the presence of abnormal forms of the protein on the cell surface. Although many people with ankylosing spondylitis have the HLA-B27 variation, most people with this version of the HLA-B gene never develop the disorder. Additional genetic and environmental factors, many of which are unknown, affect the chances of developing ankylosing spondylitis and influence its progression.

Behçet disease - increased risk from variations of the HLA-B gene

Several versions of the HLA-B gene, particularly HLA-B51, are associated with an increased risk of developing Behçet disease, a chronic inflammatory condition that affects many parts of the body. This association is strongest in people from Japan, the Middle East, and other parts of Asia. Researchers do not know how HLA-B51 increases the risk of this disorder. Although many people with Behçet disease have the HLA-B51 variation, most people with this version of the HLA-B gene never develop the condition. It appears likely that other factors, such as viral or bacterial infections and changes in other genes, also influence the development of this complex disorder.

Stevens-Johnson syndrome/toxic epidermal necrolysis - associated with the HLA-B gene

Several variations of the HLA-B gene have been studied as risk factors for Stevens-Johnson syndrome/toxic epidermal necrolysis (SJS/TEN), a potentially life-threatening skin reaction most often triggered by medications. For example, the variation HLA-B*1502 increases the risk of SJS/TEN in people taking certain medications used to treat seizures, particularly a drug called carbamazepine. This version of the gene is most common among people of Han Chinese or southeast Asian descent. Another version of the gene, HLA-B*5801, increases the risk of SJS/TEN in people treated with allopurinol (a drug used to treat kidney stones and gout, which is a form of arthritis caused by a buildup of uric acid in the joints). This association has been confirmed in southeast Asians and in people of non-Asian ancestry, although HLA-B*5801 occurs less frequently in non-Asian populations.

Studies suggest that the HLA-B gene variations associated with SJS/TEN cause the immune system to react abnormally to some medications. In a process that is not well understood, the triggering drug causes immune cells called cytotoxic T cells and natural killer (NK) cells to release a substance called granulysin. This substance destroys cells in the skin and mucous membranes, including the lining of the mouth and the airways. The death of these cells causes severe blistering and peeling that can have life-threatening effects.

Most people who have variations in the HLA-B gene that are associated with an increased risk of SJS/TEN never develop the condition, even if they are exposed to drugs that can trigger it. Researchers believe that additional genetic and nongenetic factors, many of which are unknown, likely play a role in whether a particular individual develops SJS/TEN.

other disorders - associated with the HLA-B gene

The HLA-B27 variant is associated with a group of inflammatory joint diseases related to ankylosing spondylitis. These conditions are known as spondyloarthropathies. Some of these disorders are associated with a common skin condition called psoriasis or with chronic disorders that cause inflammation of the intestinal walls (inflammatory bowel disease). One of the spondyloarthropathies, reactive arthritis, is typically triggered by bacterial infections of the gastrointestinal or genital tract. Following an infection, affected individuals may develop arthritis, back pain, and eye inflammation. Like ankylosing spondylitis, many factors probably contribute to the development of reactive arthritis and other spondyloarthropathies.

Among people with human immunodeficiency virus (HIV) infection, a version of the HLA-B gene designated HLA-B*5701 increases the risk of an adverse reaction (hypersensitivity) to the drug abacavir. This medication slows the spread of the HIV-1 virus in the body. People with abacavir hypersensitivity often develop a fever, chills, rash, upset stomach, and other symptoms when treated with this drug.

Several variations of the HLA-B gene appear to play a role in the progression of HIV infection to acquired immunodeficiency syndrome (AIDS). AIDS is a disease that damages the immune system, preventing it from effectively defending the body against infections. The signs and symptoms of AIDS may not appear until 10 or more years after infection with HIV. Studies suggest that people with HIV infection who have HLA-B27 or HLA-B57 tend to progress more slowly than usual to AIDS. On the other hand, researchers believe that HIV-positive individuals who have HLA-B35 tend to develop the signs and symptoms of AIDS more quickly than usual. Other factors also influence the progression of HIV infection to AIDS.

Another version of the HLA-B gene, HLA-B53, has been shown to help protect against severe malaria, a disease caused by a parasite that is carried by mosquitoes. HLA-B53 is most common in West African populations, where malaria is a frequent cause of death in children. Studies suggest that this version of the HLA-B gene may help the immune system respond more effectively to the parasite that causes malaria.

Where is the HLA-B gene located?

Cytogenetic Location: 6p21.3

Molecular Location on chromosome 6: base pairs 31,353,868 to 31,357,212

(Homo sapiens Annotation Release 107, GRCh38.p2) (NCBI (

The HLA-B gene is located on the short (p) arm of chromosome 6 at position 21.3.

The HLA-B gene is located on the short (p) arm of chromosome 6 at position 21.3.

More precisely, the HLA-B gene is located from base pair 31,353,868 to base pair 31,357,212 on chromosome 6.

See How do geneticists indicate the location of a gene? ( in the Handbook.

Where can I find additional information about HLA-B?

You and your healthcare professional may find the following resources about HLA-B helpful.

You may also be interested in these resources, which are designed for genetics professionals and researchers.

What other names do people use for the HLA-B gene or gene products?

  • 1B07_HUMAN
  • HLA class I histocompatibility antigen, B alpha chain
  • leukocyte antigen B
  • MHC class I HLA-B heavy chain

See How are genetic conditions and genes named? ( in the Handbook.

What glossary definitions help with understanding HLA-B?

acquired immunodeficiency syndrome ; AIDS ; allopurinol ; arthritis ; bacteria ; carbamazepine ; cell ; chronic ; class ; cutaneous ; fever ; gastrointestinal ; gene ; gout ; HIV ; HLA ; idiopathic ; immune system ; immunodeficiency ; infection ; inflammation ; joint ; joint inflammation ; juvenile ; kidney ; kidney stones ; leukocyte ; malaria ; MHC ; mucous ; progression ; protein ; psoriasis ; risk factors ; spondylitis ; stomach ; syndrome ; toxic ; uric acid ; virus

You may find definitions for these and many other terms in the Genetics Home Reference Glossary.


  • Cheng CY, Su SC, Chen CH, Chen WL, Deng ST, Chung WH. HLA associations and clinical implications in T-cell mediated drug hypersensitivity reactions: an updated review. J Immunol Res. 2014;2014:565320. doi: 10.1155/2014/565320. Epub 2014 May 8. Review. (
  • Chung WH, Hung SI. Recent advances in the genetics and immunology of Stevens-Johnson syndrome and toxic epidermal necrosis. J Dermatol Sci. 2012 Jun;66(3):190-6. doi: 10.1016/j.jdermsci.2012.04.002. Epub 2012 Apr 11. Review. (
  • Colbert RA, Tran TM, Layh-Schmitt G. HLA-B27 misfolding and ankylosing spondylitis. Mol Immunol. 2014 Jan;57(1):44-51. doi: 10.1016/j.molimm.2013.07.013. Epub 2013 Aug 30. Review. (
  • de Menthon M, Lavalley MP, Maldini C, Guillevin L, Mahr A. HLA-B51/B5 and the risk of Behçet's disease: a systematic review and meta-analysis of case-control genetic association studies. Arthritis Rheum. 2009 Oct 15;61(10):1287-96. doi: 10.1002/art.24642. Review. (
  • Kaur G, Mehra N. Genetic determinants of HIV-1 infection and progression to AIDS: immune response genes. Tissue Antigens. 2009 Nov;74(5):373-85. doi: 10.1111/j.1399-0039.2009.01337.x. Epub 2009 Sep 18. Review. (
  • López C, Saravia C, Gomez A, Hoebeke J, Patarroyo MA. Mechanisms of genetically-based resistance to malaria. Gene. 2010 Nov 1;467(1-2):1-12. doi: 10.1016/j.gene.2010.07.008. Epub 2010 Jul 22. Review. (
  • Meguro A, Inoko H, Ota M, Katsuyama Y, Oka A, Okada E, Yamakawa R, Yuasa T, Fujioka T, Ohno S, Bahram S, Mizuki N. Genetics of Behçet disease inside and outside the MHC. Ann Rheum Dis. 2010 Apr;69(4):747-54. doi: 10.1136/ard.2009.108571. Epub 2009 Aug 13. (
  • NCBI Gene (
  • Reveille JD. An update on the contribution of the MHC to AS susceptibility. Clin Rheumatol. 2014 Jun;33(6):749-57. doi: 10.1007/s10067-014-2662-7. Epub 2014 May 18. Review. (
  • Sorrentino R, Böckmann RA, Fiorillo MT. HLA-B27 and antigen presentation: at the crossroads between immune defense and autoimmunity. Mol Immunol. 2014 Jan;57(1):22-7. doi: 10.1016/j.molimm.2013.06.017. Epub 2013 Jul 31. Review. (
  • Sousa-Pinto B, Pinto-Ramos J, Correia C, Gonçalves-Costa G, Gomes L, Gil-Mata S, Araújo L, Delgado L. Pharmacogenetics of abacavir hypersensitivity: A systematic review and meta-analysis of the association with HLA-B*57:01. J Allergy Clin Immunol. 2015 Oct;136(4):1092-4.e3. doi: 10.1016/j.jaci.2015.03.019. Epub 2015 Apr 29. Review. (
  • Wallace GR. HLA-B*51 the primary risk in Behçet disease. Proc Natl Acad Sci U S A. 2014 Jun 17;111(24):8706-7. doi: 10.1073/pnas.1407307111. Epub 2014 May 29. (
  • Young K, Frodsham A, Doumbo OK, Gupta S, Dolo A, Hu JT, Robson KJ, Crisanti A, Hill AV, Gilbert SC. Inverse associations of human leukocyte antigen and malaria parasite types in two West African populations. Infect Immun. 2005 Feb;73(2):953-5. (


The resources on this site should not be used as a substitute for professional medical care or advice. Users seeking information about a personal genetic disease, syndrome, or condition should consult with a qualified healthcare professional. See How can I find a genetics professional in my area? ( in the Handbook.

Reviewed: July 2015
Published: February 1, 2016