A decades-old puzzle has been solved as scientists uncover a key cause of inflammatory bowel disease, paving the way for faster diagnosis and more targeted patient treatments.