One potential long-term consequence of gastroenteritis is a type of irritable bowel syndrome (IBS) called post-infectious IBS. If a bacterial infection causes it, it may take a few years to resolve, but if a viral infection causes it, the symptoms go away in a few months without any adverse effects. Other rare complications of gastroenteritis include reactive arthritis and ulcerative colitis (20).