Infection is one of the major causes of mortality in patients with systemic lupus erythematosus (SLE). We previously found that CD38, an ectoenzyme that regulates the production of NAD+, is up-regulated in CD8+ T cells of SLE patients and correlates with the risk of infection. Here, we report that CD38 reduces CD8+ T cell function by negatively affecting mitochondrial fitness through the inhibition of multiple steps of mitophagy, a process that is critical for mitochondria quality control. Using a murine lupus model, we found that administration of a CD38 inhibitor in a CD8+ T cell-targeted manner reinvigorated their effector function, reversed the defects in autophagy and mitochondria, and improved viral clearance. We conclude that CD38 represents a target to mitigate infection rates in people with SLE.