Problems with your thyroid gland may result in weight gain, but this is not a common ailment. In addition, weight gain is one of the side effects of certain medications, like corticosteroids. These are sometimes used to treat asthma, allergies, and juvenile rheumatoid arthritis.