Gastroenteritis usually lasts for a few days; however, if you have a severe case, it can last for up to two weeks.