The pathogenesis of inflammatory bowel diseases (IBD), like Crohn's disease and ulcerative colitis is complex and is thought to be related to genetic, environmental and microbial alterations that lead to a hyperactive/dysregulated immune system that mediates tissue damage. In rare cases, IBD can develop in patients with primary immunodeficiencies (PID) who develop severe, atypical or recurrent infections. The bowel disease in these patients can present after they develop infectious complications but also prior to that. The goal of the current study is to characterize immune function in patients with PID and IBD in order to identify alterations in pro-inflammatory and regulatory pathways.