No food actually produces acid in your body. Actually, no food is more acidic than the acid that your stomach produces.
However, any food or beverage eaten stimulates the secretion of hydrochloric acid by your stomach. Some foods cause a greater secretion of acid than others do. For instance, alcohol, caffeine-containing foods (coffee, tea, cola, cocoa, and chocolate) and spices (pepper, cayenne, curry or chili powder) all cause a greater secretion of acid by your stomach.
Hydrochloric acid is used by the body to start the chemical digestion of food. Acid is mixed with the food in your stomach before it is passed on to the intestines for more digestion and absorption. People with ulcers who produce too much acid must avoid caffeine, alcohol, and spices. They should also discuss any medications they take with their doctor. Aspirin compounds do irritate the stomach and there are other pills that could be substituted for aspirin.
If you notice a food bothers you, eat less of it at a time or omit it for a short time (1-week) to see if you feel better. Don’t omit whole groups of food. Remember to consult your doctor for any persistent illness.