Grains and nuts. All foods made from processed wheat flour create an unhealthy mucus build up in the body. Breads, pastas and processed cereals, and nuts, seeds and legumes cause mucus. In fact, cooked grains are also known to cause mucus.