Hypothyroidism is mainly classified, resulting in failure of thyroid function and secondary (middle) due to failure of an adequate thyroid-stimulating hormone (TSH) from the pituitary gland or thyrotrophin-releasing hormone (TRH) from the hypothalamus. Secondary hypothyroidism can be distinguished from the pituitary and hypothalamic by using TRH tests.