Most medical professionals believe that short-term use of Prilosec is safe. However, there are many doubts over the long-term use of the PPI drug. Studies have shown links to gastric cancer, kidney problems, bone weakness, stroke and heart failure.