The influence of human leucocyte antigen (HLA) matching on the incidence of acute rejection and graft survival was examined in 181 consecutive patients receiving cadaveric renal transplants. Allografts with better HLA-DR and HLA-B matching showed significantly lower rejection rates than less well matched grafts on both univariate (rejection rates 25, 62 and 82 per cent for zero, one and two DR mismatches; P < 0.001) and multivariate analysis. Rejection episodes occurred earlier in mismatched grafts (P < 0.001). Superior matching was associated with improved graft function at 1 year after transplantation (mean serum creatinine level 137, 180 and 225 mumol l-1 for zero, one and two DR mismatches; P < 0.05). No association was, however, demonstrated between the degree of matching and overall graft survival. Good HLA matching reduces the number of acute rejection episodes, producing significant savings in drug costs and hospital stay. Long-term graft function is improved and minimizing early graft damage helps to avoid later development of chronic rejection.