According to the PDR Prevacid information:
”Additional adverse experiences occurring in <1% of patients or subjects in domestic trials are shown below……
Metabolic and Nutritional Disorders – gout, dehydration, hyperglycemia/hypoglycemia, peripheral edema, weight loss/gain. ….”
This means that weight gain is very rare but possible side effect. Possibly it may be a “water” weight.