Autoimmune. With hashimoto's, the body makes antibodies that attack the thyroid. It tends to run in families and can be triggered by anything that can weaken the immune system such as poor nutrition especially vitamin d deficiency. It is common in celiac disease and gluten has been suggested as a trigger for hashimoto's in some people. Good sleep hygiene and exercise strengthen the immune system.