The human major histocompatibility complex is a multigene system encoding polymorphic human leucocyte antigens (HLA) that present peptides derived from pathogens to the immune system. The high diversity of HLA alleles and haplotypes in the worldwide populations represents a major barrier to organ and allogeneic hematopoietic stem cell transplantation, because HLA incompatibilities are efficiently recognized by T and B lymphocytes. In organ transplantation, pre-transplant anti-HLA antibodies need to be taken into account for organ allocation. Although HLA-incompatible transplants can be performed thanks to immunosuppressive drugs, the de novo production of anti-HLA antibodies still represents a major cause of graft failure. The HLAMatchmaker computer algorithm determines the immunogenicity of HLA mismatches and allows to define HLA antigens that will not induce an antibody response. Because of the much higher stringency of HLA compatibility criteria in stem cell transplantation, the best donor is a HLA genotypically identical sibling. However, more than 50% of the transplants are now performed with hematopoietic stem cells from volunteer donors selected from the international registry. The development of European national registries covering populations with different HLA haplotype frequencies is essential for optimizing donor search algorithms and providing the best chance for European patients to find a fully compatible donor.