Herein, we analyzed spike-specific IFN-γ and anti-spike IgG antibody responses at 3 to 6 months after exposure to SARS-CoV-2 derived from vaccination and/or infection in two cohorts of immunodeficient patients (PID vs. SID) compared to healthy controls (HCs). The gene discussed is IFNG; the disease is pelvic inflammatory disease.