The present study demonstrated that the Epac‐2 protein exerted significant protective effects against spontaneous enteritis in mice. This evidence concerns the gene RAPGEF4 and enteritis.