Here the authors show that depending on its activation status Rap1 plays a dual role in T cell adhesion and by regulating T cell homeostasis is involved in the protection from colitis. This evidence concerns the gene RAP1A and colitis.