No, OTC and prescription Prilosec have different treatment targets based on the severity of your condition. It is best to ask your healthcare provider which is more appropriate for you.