In this article, we will review recent studies of the role of IL-7 and TSLP in ILC development and function during infection and inflammation. This evidence concerns the gene IL7 and infection.