Some medications can cause weight gain as a side effect. This can happen due to increased appetite, fluid retention, slowed metabolism, or changes in fat storage. Common medications associated with weight gain include certain antidepressants, antipsychotics, corticosteroids, and insulin. It's important to discuss any concerns with a healthcare provider, who can adjust dosages or suggest alternatives if necessary