You may have weight gain while you're taking pantoprazole oral tablets. Both weight gain and weight loss were reported after the drug's initial studies were done. Additionally, you may gain weight if you have edema (swelling) or bloating, which are possible side effects of pantoprazole.