As a grain containing gluten, people with celiac disease or gluten intolerance should not eat barley. Although dietary fiber is encouraged for people with irritable bowel syndrome, whole-grain foods with gluten, like barley, may aggravate symptoms in some people.