An underactive thyroid (hypothyroidism) is when your thyroid gland doesn't produce enough of the hormone thyroxine (also called T4). Most cases of an underactive thyroid are caused by the immune system attacking the thyroid gland and damaging it, or by damage that occurs as a result of treatments for thyroid cancer or an overactive thyroid.