It’s unclear. While animal studies reported thyroid protective effects of onions, human studies gave unclear results. A study found that consuming onion is inversely associated with subclinical hypothyroidism in women, while the researchers didn’t notice any association between onion and thyroid in men(28). Consult your doctor before consuming onions.