Targeted gene editing to restore CD40L expression via homology-directed repair (HDR) in CD34+ hematopoietic stem and progenitor cells (HSPCs) represents a potential long-term therapy for X-linked hyper IgM syndrome. Here, CD40LG is linked to X-linked hyper-IgM syndrome.