High expression of HAMP was associated with worse clinical prognosis and more immune cell infiltration in ccRCC patients. Here, HAMP is linked to nonpapillary renal cell carcinoma.