The patient underwent a left pterional craniotomy for resection of the mass. Histopathological examination suggested the diagnosis of sellar xanthogranuloma, characterized by foamy macrophages, giant cells, lymphocytic infiltrates, fibrous proliferation, necrotic detritus, and hemosiderin deposits. Further diagnostic precision was achieved through immunohistochemical staining, including CD1a and langerin, which successfully ruled out the possibility of Langerhans cell histiocytosis (LCH), reinforcing the diagnosis of sellar xanthogranuloma. The gene discussed is CD1A; the disease is Langerhans cell histiocytosis.