Medical conditions. Certain health issues or medications can cause weight gain such as corticosteroids, antidepressants, beta-blockers, antipsychotics, and insulin. You gain weight during pregnancy.