Autoimmune polyendocrine syndrome type 1, is a rare genetic autoimmune syndrome that results from a genetic defect of the thymus tissues. Specifically, the disease results from defects in the autoimmune regulator (AIRE) gene, which stimulates expression of self antigens in the epithelial cells within the medulla of the thymus. Because of defects in this condition, self antigens are not expressed, resulting in T cells that are not conditioned to tolerate tissues of the body, and may treat them as foreign, stimulating an immune response and resulting in autoimmunity. People with APECED develop an autoimmune disease that affects multiple endocrine tissues, with the commonly affected organs being hypothyroidism of the thyroid gland, Addison's disease of the adrenal glands, and candida infection of body surfaces including the inner lining of the mouth and of the nails due to dysfunction of TH17 cells, and symptoms often beginning in childhood. Many other autoimmune diseases may also occur. Treatment is directed at the affected organs.