Merck Manual

Please confirm that you are not located inside the Russian Federation

honeypot link

Medications for the Treatment of Stomach Acid


Nimish Vakil

, MD, University of Wisconsin School of Medicine and Public Health

Reviewed/Revised Mar 2023
Topic Resources
The Stomach

Proton Pump Inhibitors

The proton pump is the name for the chemical process by which the stomach secretes acid. Proton pump inhibitors are the most potent of the medications that reduce acid production. Proton pump inhibitors promote healing of ulcers in a greater percentage of people in a shorter period of time than do histamine-2 (H2) blockers and thus are typically preferred to H2 blockers for treating ulcers. They are used for severe forms of gastritis (such as when bleeding is present) and for severe GERD. Proton pump inhibitors are also very useful in treating conditions that cause excessive stomach acid secretion, such as Zollinger-Ellison syndrome Gastrinoma A gastrinoma is a tumor usually in the pancreas or duodenum (the first segment of the small intestine) that produces excessive levels of the hormone gastrin, which stimulates the stomach to... read more .

Proton pump inhibitors can be given by mouth or by vein (IV). These drugs are usually very well tolerated but may cause diarrhea, constipation, and headache. Long-term use of proton pump inhibitors may cause reduced absorption of B12, iron, magnesium, and calcium.

Histamine-2 (H2) Blockers

Histamine is a substance naturally produced in the body that has several roles. Histamine is one of the main substances responsible for allergic reactions, which is why antihistamines (histamine blockers) are given to people who are having an allergic reaction to something. Histamine also helps signal the body to produce stomach acid, which is why a certain type of antihistamine, called a histamine-2 blocker, is used to decrease stomach acid. Thus, H2 blockers are used for many of the same disorders as proton pump inhibitors.

H2 blockers are taken once or twice a day and can be given by mouth or by vein (IV). H2 blockers usually do not cause serious side effects. However, all H2 blockers may cause diarrhea, rash, fever, muscle pains, and confusion. The H2 blocker cimetidine may cause breast enlargement Breast enlargement in men Breast disorders occur infrequently in men. Breast disorders include Breast enlargement Breast cancer Breast enlargement in males is called either gynecomastia or pseudogynecomastia. Gynecomastia... read more and erectile dysfunction Erectile Dysfunction (ED) Erectile dysfunction (ED) is the inability to attain or sustain an erection satisfactory for sexual intercourse. (See also Overview of Sexual Dysfunction in Men.) Every man occasionally has... read more in men. In addition, cimetidine and, to a lesser extent, the other H2 blockers may interfere with the body's elimination of certain medications, such as theophylline for asthma, warfarin for excessive blood clotting, and phenytoin for seizures.


Antacids are chemical substances that neutralize stomach acid that has already been secreted and thereby raise the pH level in the stomach (make it less acidic). Antacids may be used alone for mild symptoms caused by stomach acid. But by themselves, antacids are not adequate treatment for serious acid-related disorders such as ulcers and severe gastritis. In those disorders, antacids are typically taken in addition to proton pump inhibitors or H2 blockers to help relieve symptoms in the early stage of treatment. Their effectiveness varies with the amount of antacid taken and with the amount of acid a person produces. Almost all antacids can be purchased without a doctor's prescription and are available in tablet, soft chew, or liquid form. However, antacids can interfere with the absorption of many different medications, so a pharmacist or doctor should be consulted about possible drug-drug interactions Drug Interactions The effect a drug has on a person may be different than expected because that drug interacts with Another drug the person is taking (drug-drug interaction) Food, beverages, or supplements the... read more before antacids are taken.

Sodium bicarbonate (baking soda) and calcium carbonate, the strongest antacids, may be taken occasionally for fast, short-term relief. However, because they are absorbed by the bloodstream, continual use of these antacids may make the blood too alkaline (alkalosis Alkalosis Alkalosis is excessive blood alkalinity (a measure of blood pH) caused by an overabundance of bicarbonate in the blood or a loss of acid from the blood (metabolic alkalosis), or by a low level... read more ), resulting in nausea, headache, and weakness. Therefore, these antacids generally should not be used in large amounts for more than a few days. These antacids also contain a lot of salt and should not be used by people who need to follow a low-sodium diet or who have heart failure Heart Failure (HF) Heart failure is a disorder in which the heart is unable to keep up with the demands of the body, leading to reduced blood flow, back-up (congestion) of blood in the veins and lungs, and/or... read more Heart Failure (HF) or high blood pressure High Blood Pressure High blood pressure (hypertension) is persistently high pressure in the arteries. Often no cause for high blood pressure can be identified, but sometimes it occurs as a result of an underlying... read more High Blood Pressure .

Aluminum hydroxide is a relatively safe, commonly used antacid. However, aluminum may bind with phosphate in the digestive tract, thereby depleting the body of calcium, reducing phosphate levels in the blood, and causing weakness, nausea, and a loss of appetite. The risk of these side effects is greater in people who have an alcohol use disorder, who are undernourished, and who have kidney disease, including those receiving dialysis. Aluminum hydroxide may also cause constipation.

Magnesium hydroxide is a more effective antacid than aluminum hydroxide. This antacid acts fast and neutralizes acids effectively. However, magnesium is also a laxative. Bowel movements usually remain regular if only a few tablespoons a day are taken. More than four doses a day may cause diarrhea. Because small amounts of magnesium are absorbed into the bloodstream, people with kidney damage should take magnesium hydroxide only in small doses. To limit diarrhea, many antacids contain both magnesium hydroxide and aluminum hydroxide.

Anyone who has heart disease, high blood pressure, or a kidney disorder should consult a doctor before selecting an antacid.

Other Medications for Stomach Acid

Sucralfate may work by forming a protective coating in the base of an ulcer to promote healing. It works well on peptic ulcers and is a reasonable alternative to antacids. Sucralfate is taken 2 to 4 times a day and is not absorbed into the bloodstream, so it causes few side effects. It may, however, cause constipation, and in some cases it reduces the effectiveness of other medications.

Misoprostol may be used to reduce the likelihood of developing stomach and duodenal ulcers caused by nonsteroidal anti-inflammatory drugs (NSAIDs). Misoprostol may work by reducing production of stomach acid and by making the stomach lining more resistant to acid. Older people, people taking corticosteroids, and people who have a history of ulcers or of complications resulting from ulcers are at higher risk of developing an ulcer when they take NSAIDs. These people can take misoprostol with food and their NSAID. However, misoprostol causes diarrhea and other digestive problems in 30% of people who take it. In addition, this medication can cause spontaneous abortions in pregnant women. Alternatives to misoprostol are available for people taking aspirin, NSAIDs, or corticosteroids. These alternatives, such as proton pump inhibitors, are just as effective for reducing the likelihood of developing an ulcer and cause fewer side effects.

Drugs Mentioned In This Article

Generic Name Select Brand Names
Acid Reducer, Major Acid Reducer, Tagamet, Tagamet HB
Elixophyllin, Quibron T, Quibron T/SR, Respbid, Slo-Bid, Slo-Phyllin, Theo X, Theo-24, Theo-Bid Duracap, TheoCap, Theochron, Theo-Dur, Theo-Dur Sprinkle , Theolair, Theolair SR, Theovent LA, T-Phyl, Uni-Dur, Uniphyl
Coumadin, Jantoven
Dilantin, Dilantin Infatabs, Dilantin-125, Phenytek
Alka-Seltzer Heartburn Relief, Baros, Neut
AcidFree, Alka-Mints, Alka-Seltzer, Alka-Seltzer Heartburn Relief, Alkets , Antacid Fast Dissolve, Calcarb 600, Calci-Chew , Calci-Mix , Calcium Antacid, Cal-Gest , Caltrate, Maalox, Maalox Antacid Barrier, Maalox Quick Dissolve, Mylanta Children's, Nephro-Calci , Pepto-Bismol Children's, Rolaids Extra Strength, Titralac, Titralac Extra Strength, Tums, Tums Chewy Bites , Tums Cool Relief, Tums E-X, Tums Freshers, Tums Kids, Tums Lasting Effects, Tums Smooth Dissolve, Tums Smoothies, Tums Ultra
Alternagel, Alu-Cap, Dermadrox
Dulcolax, Dulcolax Chewy Fruit Bites, Dulcolax Kids, Ex-Lax, Fleet Pedia-Lax, Freelax, Phillips Laxative, Phillips Milk of Magnesia
quiz link

Test your knowledge

Take a Quiz!