What is Famotidine? Famotidine, sold under the trade name Pepcid among others, is a histamine H2 receptor antagonist that inhibits stomach acid production. It is commonly used in the treatment of peptic ulcer disease and gastroesophageal reflux disease. Famotidine may also be used for purposes not listed in this medication guide.