Coffee can cause loose stools from irritation in the bowels but spicy food will not cause diarrhea, coffee should be avoided because it can prolong the condition or make it worse.
Coffee can cause irritation in the digestive system. Some people can tolerate more coffee than others. If coffee consistently causes loose stools, stop eating them until you can be seen by a physician. Too much coffee can cause bloating, gas and abdominal pain.
Coffee, tea and soda are common places to find caffeine, which can also be found in chocolate, gum and even some bottled water. Caffeine speeds up the body systems, including digestion. Some people are more sensitive than others, but too much caffeine can cause diarrhea.
Coffee has the same effect with tea and chocolate, compounds contained in it, is the class of xanthine. Group Xantin adrenergic effects on the gastrointestinal tract are sympathomimetics which would hamper the work of smooth muscle in the gastrointestinal tract.
As a result of inhibition of smooth muscle work, then automatically the contraction of gastrointestinal muscle is reduced, then "feels clogged". But if the effect is up, and still there is an antigen that has not been issued, it will return diarrhea.