Yes, Prilosec is the brand name for omeprazole. They contain the same active ingredient and work the same way in your body. Omeprazole is simply what you’ll find on the shelf as the generic version, typically at a fraction of the cost. But there are a few practical differences worth understanding, especially between the over-the-counter and prescription versions.
Same Drug, Different Labels
Omeprazole is the chemical compound. Prilosec is the brand name that the original manufacturer gave it. When a generic version is sold, it’s labeled as omeprazole. Both contain the identical active ingredient, and the FDA requires generic drugs to deliver the same amount of active ingredient into your bloodstream as the brand-name version. Specifically, a generic must fall within 80% to 125% of the brand-name drug’s absorption rate and total absorption to be approved. In practical terms, they perform the same job.
The inactive ingredients (fillers, coatings, dyes) can differ between manufacturers. This rarely matters for most people, but if you have a known allergy or sensitivity to a specific dye or filler, it’s worth checking the ingredient list on whichever version you buy.
How Omeprazole Works
Omeprazole belongs to a class of drugs called proton pump inhibitors, or PPIs. Your stomach lining has tiny pumps that push acid into your stomach. Omeprazole is actually inactive when you swallow it. Once it reaches the highly acidic environment of those pumps, the acid activates the drug, which then permanently locks onto the pumps and shuts them down. Because the drug physically binds to the pump, acid production stays suppressed until your body builds new pumps, which takes roughly 24 hours. That’s why you only need one dose per day.
OTC vs. Prescription: Key Differences
This is where people get confused. Prilosec OTC and prescription omeprazole (or prescription Prilosec) contain the same molecule, but they’re approved for different uses and come with different dosing instructions.
Prilosec OTC is a 20 mg delayed-release tablet designed for frequent heartburn, defined as heartburn occurring two or more days per week. The label directs you to take one tablet daily for 14 days, then stop. You shouldn’t repeat that 14-day course more than once every four months without a doctor’s guidance.
Prescription omeprazole treats more serious conditions that require a diagnosis: gastroesophageal reflux disease (GERD), stomach ulcers, duodenal ulcers, erosive esophagitis (damage to the lining of the esophagus from acid), and rare conditions where the stomach produces far too much acid. Prescription versions may come in higher strengths and are often taken for longer periods, sometimes 4 to 8 weeks for ulcer healing, or even indefinitely for certain conditions. Doctors also prescribe omeprazole alongside antibiotics to treat H. pylori, the bacterium that causes many stomach ulcers.
The FDA is clear on one point: using Prilosec OTC as directed will not treat the conditions that prescription omeprazole treats. The difference isn’t the drug itself but the dose, duration, and medical supervision involved.
Cost Differences
Generic omeprazole is significantly cheaper than brand-name Prilosec. A 30-count supply of generic omeprazole 20 mg capsules typically runs between $6 and $9 without insurance. Brand-name Prilosec can cost several times more, and in many pharmacies, the brand-name prescription version is no longer widely stocked since the generics are so well established. For the OTC version, store-brand omeprazole and name-brand Prilosec OTC sit on the same shelf, and the store brand is almost always less expensive for the identical medication.
When the Distinction Matters
If your doctor writes a prescription for omeprazole, the pharmacy will typically fill it with whichever generic manufacturer they stock. You’re getting the same drug. If you’re buying over the counter and see both “Prilosec OTC” and “omeprazole 20 mg delayed-release” next to each other, the cheaper option works the same way.
The distinction that actually matters is whether you need the OTC version or the prescription version. If your heartburn is occasional and clears up within a 14-day course, the OTC product is designed for you. If your symptoms persist, return frequently, or involve something beyond simple heartburn (difficulty swallowing, unexplained weight loss, or pain that doesn’t improve), that’s a situation where prescription-strength treatment and a proper diagnosis come into play.

