Those who suffer from autoimmune inflammation of the thyroid gland are at increased risk of developing anxiety. Those with anxiety associated with thyroid gland inflammation can reduce symptoms by taking ibuprofen. Findings suggest thyroid function may play a key role in anxiety. Researchers say thyroid inflammation should be investigated as an underlying factor in certain mental health disorders, including anxiety.