A Europe-wide study shows gut microbiota at hospital admission can predict long-term complications after acute pancreatitis.