Certain pharmaceutical drugs including migraine medication can lead to weight gain as a side effect.