Here, we not only constructed and validated a three-gene signature (ALOX15B, RPLP0, and HP), which demonstrated good diagnostic power for MDD, but also for the first time studied the relationship between FRGs and immune cell infiltration in MDD patients. The gene discussed is RPLP0; the disease is major depressive disorder.