Tissue-resident macrophages (TRMs) are heterogeneous cell populations found throughout the body. Depending on their location, they perform diverse functions maintaining tissue homeostasis and providing immune surveillance. To survive and function within, TRMs adapt metabolically to the distinct microenvironments. However, little is known about the metabolic signatures of TRMs. The thymus provides a nurturing milieu for developing thymocytes yet efficiently removes those that fail the selection, relying on the resident thymic macrophages (TMφs). This study harnesses multiomics analyses to characterize TMφs and unveils their metabolic features. We find that the pentose phosphate pathway (PPP) is preferentially activated in TMφs, responding to the reduction-oxidation demands associated with the efferocytosis of dying thymocytes. The blockade of PPP in Mφs leads to decreased efferocytosis, which can be rescued by reactive oxygen species (ROS) scavengers. Our study reveals the key role of the PPP in TMφs and underscores the importance of metabolic adaptation in supporting Mφ efferocytosis.