Prilosec (Omeprazole), sold under the brand names Prilosec and Losec among others, is a medication used to treat gastroesophageal reflux disease, peptic ulcer disease, and Zollinger–Ellison syndrome. It is also used to prevent upper gastrointestinal bleeding in people who are at high risk.