Can stress make your stomach produce excess acid?

Well, there it is. Any docs in the house?

seems to, in my case…

Well, it depends on what you mean by ‘stress’.

There is no doubt that major physical stress, such as that associated with overwhelming infection, severe burns, major trauma, and, especially, head injury is associated with increased stomach acid secretion and the development of ulcers.

On the other hand, the effect of psychological stress is less clear. Here is an abstract that lists some of the reasons for the dispute.

Known causes of release of gastric acid include anticipation of food, mechanical distention of the stomach (by food and anything else), and the presence of food, itself, in the stomach.