Introduction

The complex interplay between the endocrine and immune systems causes the insurgence of endocrinopathies following severe inflammatory conditions and, in turn, the propensity to develop inflammation as a complication of endocrine diseases [1]. However, the endocrine glands may also be directly involved by infectious and inflammatory processes, both in the course of systemic disorders and in the form of organ-specific, or even cell-specific, diseases. Almost invariably, infectious and inflammatory disorders of endocrine tissues lead to a decrease in hormone production and activity and may ultimately result in severe and even life-threatening conditions if left untreated. As these disorders may be clinically under-recognized, the pathologist should be aware of the basic principles of their pathogenesis and be prepared to recognize their morphological features and clinicopathological correlations when faced with histopathological samples of the affected endocrine organs. Not infrequently, inflammatory and infectious diseases may appear as tumor-like lesions of endocrine organs and simulate neoplastic processes. Indeed, the careful observation and identification of the inflammatory and stromal cell populations, supported, when necessary, by the wise employment of a selected panel of immunohistochemical markers, may not only help to recognize the non-neoplastic nature of a pathological process [2] but can also provide important clues to the pathogenic mechanism and, in some cases, the etiological agent involved in the disease.

Infectious disease of endocrine organs may be caused by a variety of microbial agents, including viruses, bacteria, fungi, and even parasites. The clinical correlates and the histopathological aspects of these diseases vary according to the type of microorganism, the immune status of the host, and the organ involved. Generally speaking, bacterial infections are very rare and are more frequently observed in the adrenal glands, whereas viral infections tend to be more frequent and may involve all endocrine organs. Intriguingly, viral infections of endocrine organs have also been suggested to have a role in the development of autoimmune endocrinopathies [3]. Fungal infections and parasitic infestations are exceedingly rare. Although the exact identification of the microbial agent responsible for the infection should be performed in the microbiology laboratory, the pathologist may rely on several tools to suspect or even confirm the etiology of an infectious disease. A well-performed hematoxylin–eosin stain is frequently enough to determine the type of inflammatory cell populations (e.g., neutrophilic granulocytes in pyogenic bacterial infection; epithelioid macrophages, clustered or not in granulomas during mycobacterial, fungal infections, or parasitic infestations) and the cytological changes (nuclear or cytoplasmic) in viral infections. Large colonies of bacteria or fungi are easily identifiable on routinely stained histopathological sections. In some situations, traditional histochemical stains (e.g., Gram stain for bacteria, PAS stain for fungi, argentic stains for bacteria and fungi, Ziehl–Neelsen stain for mycobacteria) and electron microscopy have been replaced by more specific immunohistochemical stains or in situ hybridization studies. The new gold standard for the identification and typing of microbes, however, is molecular techniques that can now be performed on formalin-fixed and paraffin embedded samples, providing pathologists with sensitive and specific methods to make an accurate microbiological diagnosis [4].

Non-infectious inflammatory diseases of the endocrine organs encompass a variety of autoimmune and, more generally, immune-mediated conditions that can selectively affect one gland or involve multiple sites of the endocrine system (autoimmune polyendocrine syndromes). The propensity of some endocrine organs to develop immune-mediated diseases has driven specific attention of the scientific community, also following the observation that the endocrine organs are among the sites of immune check point inhibitors adverse effects [5, 6]. The immunological and genetic bases of the complex mechanisms disrupting innate and specific immunity in endocrinopathies are beyond the scope of this article. However, in diagnostic practice, it is easy to find that autoimmune disorders are more frequently observed in some endocrine organs, such as the thyroid and adrenal, than in others, like the pituitary or parathyroid. It has been recently proposed that thyroid, adrenals, and pancreatic beta cells hypersecreting mutants, which may generate life-threatening conditions (hyperthyroidism, hypercortisolism, and hypoglycemia) when proliferating without control, elicit a stronger immune surveillance than, for example, parathyroid, pancreatic alpha cells, or non-ACTH pituitary cells hypersecreting mutants that would induce milder clinical abnormalities [5]. In a finalistic view, the higher frequency of autoimmune diseases of the thyroid, adrenals, and islet beta-cells would be attributable to the cost of a highly efficient immune surveillance, against the greater prevalence of proliferative diseases of the pituitary, parathyroid, and islet alpha cells, where the immune surveillance seems to be less efficient [5].

Regarding the adverse effects of immune therapy, which represent the main drug-induced inflammatory reactions in endocrine organs, the responsible mechanism for the propensity of the endocrine system to develop such complications has not been clarified, yet. Although the pathogenic mechanisms underlying these conditions have been reported to be similar to those of autoimmune diseases, endocrinopathies induced by immune therapy differ from classical autoimmunity from many points of view and deserve a separate discussion [7, 8].

A peculiar inflammatory condition involving endocrine glands is IgG4-related disease (IgG4-RD), an immune-mediated condition causing fibrosis and inflammation that may involve virtually any anatomical location, presenting at single or multiple sites. IgG4-RD typically presents as a mass lesion and may mimic other mass-forming disorders, from both a clinical and a morphological point of views. The pathologic diagnostic criteria for IgG4-RD were published in 2012, acknowledging organ-specific morphological manifestations of the disease [9]. Since then, the concept of IgG4-RD has evolved, and its intersections with other inflammatory, autoimmune, and neoplastic conditions have been explored [10, 11]. In the endocrine system, the thyroid, the pituitary, and, more rarely, the adrenals and the endocrine pancreas may be involved in this disease [12]. The correct recognition of this entity is of paramount importance as, in most cases, a proper therapy may completely resolve the endocrinopathy and avoid undue surgery [12].

This review will recapitulate the spectrum of infectious diseases and inflammatory conditions directly involving endocrine organs, focusing on the clincopathological correlations and diagnostic criteria of each entity and giving insight into the organ-specific manifestations of these disorders.

Infectious Diseases in Endocrine Organs: A Pathological Point of View

Infections of endocrine organs are uncommon and may be caused by a variety of microorganisms. While rare, infections can lead to significant complications and clinical manifestations of endocrine abnormalities.

Thyroid Infections

One of the most common manifestations of thyroid infection is acute (suppurative) thyroiditis. Acute thyroiditis is a rare condition, clinically characterized by fever, chills, neck pain, and signs and symptoms of neck mass related to increased thyroid volume [13]. Thyroid function is usually normal, but thyrotoxicosis may intervene due to thyroid cell destruction. The most common causes of acute thyroiditis are bacterial infections, most commonly sustained by Streptococcus pyogenes, Streptococcus pneumonia, or Staphylococcus aureus [14]. Primary thyroid infections are exceedingly rare and acute thyroiditis, usually represents secondary localizations of systemic infections or adjacent structures involvement by pyogenic bacterial infections. Congenital abnormalities, such as pyriform sinus fistula or, more rarely, branchial pouch remnants, are the most frequent causes of acute thyroiditis [15]; thus, this condition is more frequent in children than in adults [14]. Other conditions at risk, mainly responsible for adult cases, are immunodeficiencies of various types, trauma, or, rarely, medical procedures such as fine needle aspiration, or thyroid and parathyroid surgery [14]. Thyroid carcinoma may be another predisposing cause [16]. The morphological aspects of acute thyroiditis are macroscopically characterized by mild thyroid enlargement, that can be focal or diffuse, depending on the extent of the infection. Suppurative foci may be evident on the cut surface. The histopathological picture is dominated by neutrophilic granulocyte infiltration, which can be associated with suppurative necrosis (Fig. 1A). The diagnosis is usually confirmed by fine needle aspiration, which allows samples to be obtained for both cultures and cytological examination. In cytological samples, acute thyroiditis is characterized by numerous neutrophilic granulocytes, necrosis, and fibrin, depending on the severity of inflammation [17]. Microorganisms may be identified on hematoxylin–eosin or using ancillary stains (tissue gram stains, silver stains, PAS stain, and mycobacterial stains), organisms may be identified (Fig. 1B; Fig. 2), but culture continues to be the gold standard for diagnosis. The prognosis of acute bacterial thyroiditis is good if the correct diagnosis is made and effective antimicrobic therapy is administered [13]. Surgical drainage may be useful in case of abscess formation and resistance to antibiotic treatment [13]. Large abscesses may require surgical intervention with drainage [18, 19]. In rare refractory cases, surgery with hemithyroidectomy or total thyroidectomy may be needed [14].

Fig. 1
figure 1

Acute suppurative thyroiditis. A dense infiltrate of neutrophils effaces thyroid parenchyma (A). Gram stain highlights the presence of bacteria (B)

Fig. 2
figure 2

Colonization of thyroid parenchyma by Aspergilli. Mycotic structures are easily identifiable on hematoxylin–eosin stained slides

Systemic viral infections may cause granulomatous thyroiditis similar to De Quervain’s thyroiditis (see later in the text), which, however, is more likely caused by an autoimmune reaction within the gland. Interestingly, subacute thyroiditis has been seen as a complication of SARS-COV-2 infection and following SARS-COV-2 vaccination [20,21,22,23]. In immunocompromised hosts, fungal thyroiditis may arise, mostly in the context of an Aspergillus systemic infection [24]. In these cases, symptoms related to thyroid function are frequently neglected and the diagnosis is made at autopsy [24]. Cases of thyroid infections by Pneumocystis carinii have been reported in patients with acquired immunodeficiency syndrome (AIDS) [25], but in the era of anti-retroviral drugs, they have disappeared.

Adrenal Infections

Infections of the adrenal glands are uncommon and are mainly the result of disseminated disease. Interestingly, infections are often asymptomatic unless they destroy a significant amount of adrenal cortical tissue, resulting in adrenal insufficiency (Addison’s disease) [26]. Worldwide, mycobacterial infections, particularly, M. tuberculosis causes a significant number of cases of Addison’s disease in developing countries [27, 28]. Tuberculosis is the second most common cause (after autoimmune adrenalitis) of primary adrenal insufficiency, particularly in the non-Western world where tuberculosis remains endemic [29]. Systemic infections, particularly those associated with bacterial sepsis resulting in vascular collapse and disseminated intravascular coagulation (DIC) can result in acute adrenal insufficiency due to adrenal hemorrhage (Waterhouse-Friderichsen syndrome, WFS) [30]. WFS is most commonly associated with meningococcal septicemia but may be seen with other types of bacterial sepsis and rarely with viral infections [31, 32]. The adrenal gland is reported to be the most common endocrine organ affected by fungal infections, which can be either asymptomatic or associated with adrenal insufficiency [33]. Individuals who are immunocompromised have increased susceptibility to infection; however, immunocompetent individuals can have isolated adrenal gland involvement from by a variety of fungal organisms, including histoplasmosis, blastomycosis, and paracoccidioides [33,34,35]. A recent study from India found male predominance and non-compromised immune status to be particular characteristics of adrenal histoplasmosis [35]. Histologically, the adrenal gland may show acute and chronic inflammation, granulomatous inflammation, and necrosis. Fungal involvement of the adrenal gland may be incidental and asymptomatic or can be associated with adrenal insufficiency. Viral infections may cause adrenal necrosis and vasculitis either by a direct cytopathic effect or as secondary effect of the inflammatory process generated by their presence (Fig. 3) [36]. Viruses such as the human immunodeficiency virus (HIV) may be associated with adrenal insufficiency. Histologically, the adrenal gland was found to be compromised in more than 99% of 128 autopsy patients with acquired immunodeficiency syndrome (AIDS) by necrosis, fibrosis, hemorrhage, or neoplasms [37]. Additionally, HIV predisposes individuals to infections, including those due to other viruses such as cytomegalovirus, and can be associated with adrenal dysfunction [38]. In historic autopsy studies, in the setting of AIDS, the adrenal gland was involved in CMV adrenalitis in approximately 50% of individuals [37, 39, 40]. Among individuals with AIDS and CMV, the adrenal glands were found to be affected by CMV adrenalitis in 84% [41]. Although adrenal insufficiency can occur, destruction of adrenal tissue is generally not widespread enough in these cases of CMV adrenalitis in the setting of AIDS to result in adrenal cortical deficiency [40].

Fig. 3
figure 3

Fatal congenital HSV infection in a newborn: cortical adrenal cells show characteristic nuclear viral inclusions (arrows)

Most recently, the impact of SARS-CoV-2 virus infection and vaccines on the endocrine system, including the adrenal gland, has come to the forefront of the literature involving infections and the adrenal gland [36, 42,43,44,45]. Angiotensin-converting enzyme 2 (ACE2) and transmembrane protease serine 2 (TMPRSS2) are viral receptors using which SARS-CoV-2 enters host cells [46]. As both ACE2 and TMPRSS2 are expressed in adrenal tissue, it is possible that SARS-CoV-2 could infect the endocrine system [42, 47]. ACE2 and TMPRSS are co-localized in adrenal cortical cells [48]. Individuals with COVID-19 who are critically ill have been found to have lower cortisol levels compared to critically ill patients without COVID-19, and adrenal insufficiency has been reported in the setting of COVID-19. However, it remains unclear whether the hypocortisolism is due to primary infection of the adrenal gland with SARS-CoV-2 or to dysfunction of the hypothalamic pituitary axis [43, 48,49,50]. COVID-19 vaccines have been associated rarely with endocrine side effects, particularly in thyroid disorders with involvement of the adrenal gland being anecdotal [51].

Pituitary Infections

Infections of the pituitary are rare and often difficult to diagnose since they can mimic neoplasms clinically and by imaging. Infections can result from disseminated spread, trauma/surgery in the area, or locoregional spread (sinonasal tract most commonly).

Pituitary Abscess

Abscesses of the pituitary gland are a result of either hematogenous spread or direct extension from infected surrounding structures [52]. While most abscesses present with mass symptoms similar to pituitary adenomas, panhypopituitarism, involving both the anterior and posterior pituitary function, may arise in some cases [52]. The most common surgical finding is pus in the sella; on pathologic examination, acute and chronic inflammation are seen. Special stains may be helpful in elucidating a causative organism; however, an etiologic agent is identified in < 20% of cases, with Streptococcus and Staphylococcus being the most common ones [52].

Other Infections of the Pituitary Gland

The pituitary may rarely be infected by other bacteria such as Treponema pallidum (these days mainly in immunocompromised patients) and M. tuberculosis, particularly in developing countries [53]. Fungi may also rarely infect the pituitary, usually by direct extension from surrounding structures or disseminated disease [53]. A variety of viral diseases may also affect the pituitary, including herpes viruses (Fig. 4), tick-borne viruses, and hemorrhagic viruses. These viruses often cause meningitis and involve the pituitary in a secondary fashion. More recently, infection by SARS-COV-2 has been associated with pituitary hemorrhage, infarction, and hypofunction [54, 55].

Fig. 4
figure 4

Cytomegalovirus infection in the pituitary of an immune suppressed patient. Viral inclusion is visible in pituitary cells (arrow). Courtesy of Prof. Stefano La Rosa, University of Insubria, Varese, Italy

Parathyroid Infections

Infections of the parathyroid are rarely of clinical significance and are mainly due to systemic infections identified at postmortem examination [56].

Non-infectious Inflammatory Diseases Involving the Endocrine System

Autoimmune Polyendocrine Syndromes

Autoimmune polyendocrine syndromes include a variety of clinical conditions associated with a loss of immune tolerance affecting multiple endocrine glands. There are two broad types of autoimmune polyendocrine syndromes — type 1 (APS1) and type 2 (APS2). Although both affect endocrine and often non-endocrine organs, they are genetically different (one is rare and monogenic, and one is more common and polygenic), and they affect different ages, different sexes, and different populations with different frequencies. These syndromes can occur over the lifetime, and there is significant variation in the frequencies and patterns of autoimmunity and the various organ specific autoimmune diseases that occur [57]

Autoimmune polyendocrine syndrome (APS1) is an autosomal recessive disorder caused by a single-gene abnormality involving AIRE, an autoimmune regulator gene on 21q22.3, [58, 59]. AIRE encodes an autoimmune regulator protein, AIRE, a transcription factor expressed predominantly in the medullary thymus, is involved in removing self-reactive T cells that disturb an individual’s immunological tolerance and cause autoimmune disease [60,61,62,63,64]. As a transcriptional and post-transcriptional regulator of peripheral tissue antigens in medullary thymic epithelial cells, AIRE is associated with negative selection of auto-reactive thymus cells regulating central tolerance and preventing autoimmune diseases [64]. APS1 is also known as autoimmune polyendocrinopathy, candidiasis, and ectodermal dysplasia (APECED). This is a rare disease, with an estimated prevalence of 1:200,000 in northern Italy, 1:90,000 in Norway [65], 1:25,000 in Finland, and 1:6500 to 1:9000 Iranian Jews [66], with an overall prevalence of approximately 1:100,000 [67]. There is a predominance of certain aberrations associated with particular locals. For example, the R257X allele is predominant in Finnish (“Finnish major mutation”) and northern Italians as well as Russians and Polish [68,69,70], p.Y85C is predominant in Persian Jews [66], R139X in Sardinians [71], and a 13 base-pair deletion (p.C322del13) involving plant homeodomain 1 being common in North Americans [72], British kindreds [73], and Norwegians [74].

Recently, autosomal dominant pathogenic variants in AIRE (involving the first plant homeodomain (PHD1 zinc finger of AIRE) have been reported in common-organ-specific autoimmune diseases characterized by milder disease, reduced penetrance, and later onset [74]. These mutations suppress wild-type AIRE in a dominant negative manner and are found at relatively high frequencies in the population [74]. With sequencing of AIRE, individuals with two mutations are thought to have a APS1 while those with dominant negative mutations are characterized as having non-classic APS 1 [56]. Before genetic testing is performed, individuals suspected of having APS1 may be screened for interferon autoantibodies if the testing is available before AIRE sequencing is performed [57].

In a systemic literature review of the clinical, immunologic, and genetic features of 938 individuals with APS1, children are most often affected, but 5.2% of individuals were older than 18 years at disease onset, and males and females are affected with a ratio of 3:4 [75]. There is a long diagnostic delay in testing for the AIRE pathogenic variant in about half of the patients [75]. APS1 is characterized by a classic triad of mucocutaneous candidiasis (82.5%), which is usually the first manifestation, followed by hypoparathyroidism (84.2%) which is reportedly the most common, and finally primary adrenal insufficiency (Addison disease) (72.2%) [75]. Additional endocrine manifestations may include type 1 diabetes (2–33%), hypogonadism (12%), and autoimmune thyroid disease (10%) [76]. Additional non-endocrine manifestations include ectodermal dystrophy, infections, enamel hypoplasia, hyposplenism, nephritis, pneumonitis, exocrine pancreatitis, alopecia, vitiligo, gastrointestinal disorders (atrophic gastritis), gonadal failure, neurologic involvement (cerebellar ataxia with pseudotumor), and ocular manifestations (keratitis, keratoconjunctivitis, retinitis pigmentosa, ptosis), among others [69, 75, 76]. Histologically, the endocrine organs are involved by a lymphocytic infiltrate with loss of epithelial cells and may be associated with fibrosis.

Autoimmune polyendocrine syndrome type 2 (APS2), with a prevalence of 1:20,000, is more common than APS1 which has an overall prevalence of 1:100,000) [76]. Unlike APS1 which generally begins in childhood, APS2 usually has an onset in young adulthood. APS2 affects women more than men (3:1). Individuals with APS2 have at least one of the following: autoimmune thyroid disease (70–75%), type 1 diabetes (40–60%), or primary adrenal insufficiency (40–50%) [76]. Other endocrine organs can occasionally be involved, such as parathyroid (hypoparathyroidism), gonads (hypogonadism), and pituitary (hypopituitarism). Non-endocrine organs may also be involved including the gastrointestinal tract (autoimmune gastritis, celiac disease, and autoimmune hepatitis) and the skin (vitiligo, alopecia, psoriasis, urticaria, neurodermatitis, pemphigus, and atopic eczema). Other associated disorders include rheumatoid arthritis, systemic lupus erythematosus, Sjogren syndrome, and pernicious anemia [76].

A variety of genes are involved in APS2, often the same genes, and single nucleotide polymorphisms are associated with several autoimmune diseases [57]. Individuals with variants in DR3-DQ2 and DR4-DQ8 have increased risk for celiac disease, type 1 diabetes, autoimmune thyroid disease, and primary adrenal insufficiency [57]. The susceptibility genes include PTPN22 (protein tyrosine phosphatase non receptor type 22), CTLA4 (cytotoxic T lymphocyte antigen 4), and sex-dependent alteration of HLA [77]. Testing for APS2 genetically is complicated. Often, organ-specific antibodies (glutamic acid decarboxylase, thyroid peroxidase, and 21-hydroxylase) are evaluated, as they may occur very early in disease.

Recently, APS2 has been reported in some individuals following treatment with immune checkpoint inhibitors [78]. In a literature review searching for individuals with two or more endocrine disorders after treatment with immune checkpoint inhibitor therapy, 23 patients were identified, approximately 61% received anti programmed cell death 1 therapy, 17% received anti programmed cell death ligand therapy, and 4.3% received anti-cytotoxic T lymphocyte antigen 4 therapy [78]. The thyroid gland was the endocrine organ most frequently affected (78%) with the pancreatic islets affected next most commonly (74%), followed by the pituitary (48%), and adrenal (9%) [78].

Immune dysregulation, polyendocrinopathy, enteropathy, X-linked (IPEX) syndrome is a very serious multi-system autoimmune disorder due to pathogenic variants, involving FOXP3 (forkhead box P3) transcription factor which is critical for CD4 T regulatory cells [79]. This disorder is extremely rare and has as an onset in infancy. In recent review, the disorder is characterized by individuals having early onset type 1 diabetes, autoimmune enteropathy with intractable diarrhea and malabsorption, dermatitis, and frequent eosinophilia with elevated IgE levels, with kidney disease in some patients and late manifestations of autoimmune thyroid disease, alopecia, cytopenias, hepatitis, and pancreatitis [57]. With an X-linked recessive inheritance, the individuals affected are males [79]. In a systemic review of the literature, which included 195 patients with IPEX, approximately 98% had enteropathy, 62% skin disorders, 53% endocrinopathy, 39% hematologic abnormalities, 40% infections, 22% other immune complications, and 16% had kidney involvement [79]. Alterations of FOXP3 affecting the forkhead domain were most common, followed by, the repressor domain, and the leucine zipper domain. Genotype–phenotype correlations were found, associating the forkhead domain alterations with autoimmune hemolytic anemia, and the leucine zipper domain with autoimmune hemolytic anemia, protein-losing enteropathy, and other hematologic presentations as well as hepatomegaly, and splenomegaly. In addition, zinc finger domain abnormalities often presented with autoimmune cytopenias and diarrhea [79]. Interestingly, in this literature survey, 65% of individuals had only one endocrine disorder rather than multiple endocrinopathies, with patients’ clinical presentations consisting mostly of single symptoms rather than multiple symptoms [79].

IgG4-related Disease

The IgG class of immunoglobulins includes four subclasses, named IgG1, IgG2, IgG3, and IgG4, in descending order of their serum concentration. The IgG4 subclass is functionally characterized by reduced effector binding to both C1q protein complex and to FC\(\upgamma\) receptors compared to the other IgG subclasses [80]. These properties have been related to the fact that IgG4 are dynamic molecules, able to spontaneously exchange one of the two Fab fragments with each other (“half-antibody exchange reaction”), giving rise to bi-specific antibodies, which may bind with two different antigens, but are monovalent for each of them, thus unable to form circulating immune complexes [81]. Overall, the reduced effector binding of IgG4 has been linked to a “down regulatory” effect on the immune system, interpreted at times as “anti-inflammatory” or “tolerogenic,” that may help in tuning the immune response against recurrent and/or chronic antigenic stimulations, although their functions are still to be clarified [82]. IgG4 are characterized by lower mean serum concentration levels than the other IgG subclasses and show a unique inter-individual variability of their concentration levels in healthy subjects [83]. The highest levels are observed in elderly males [83].

The involvement of IgG4 in human pathology was first highlighted at the beginning of our century, when Hamano and colleagues demonstrated that patients with sclerosing (autoimmune) pancreatitis had high serum levels of this immunoglobulin, decreasing after glucocorticoid therapy, along with clinical resolution of symptoms [84]. After that first report, an increasing number of immune-mediated diseases in different anatomical locations were identified, featuring high IgG4 serum levels, high numbers of intralesional IgG4-producing plasma cells, and prominent mass-forming fibrosis. All of these diseases, most of which were formerly known by other names (e.g., Mikulicz disease, retroperitoneal fibromatosis, angiolymphoid hyperplasia with eosinophilia), were finally grouped under the heading of IgG4-related disease (IgG4-RD) [85]. Importantly, the recognition of IgG4-RD relies heavily on the histopathological features of the lesions, which include lymphoplasmacytic infiltrate, storiform fibrosis, and obliterative phlebitis, along with high numbers of IgG4 positive (IgG4 +) plasma cells and a high IgG4 + /IgG + plasma cell ratio. The relevance of histopathological features and the criteria for the diagnosis of IgG4-RD were stated in a consensus paper [9]. Although in some cases a biopsy of the diseased organ may be difficult to obtain and clinical, radiological, and serological features may point to a possible or probable IgG4-RD, histopathological analysis is still required for establishing a definite diagnosis [11]. Moreover, it has been clarified that the microscopic appearance of the lesion, in terms of lymphoplasmacytic infiltrate, storiform fibrosis, and, but not mandatory, obliterative phlebitis, is requested for the diagnosis, that cannot rely only on the finding of high numbers of IgG4 + plasma cells and IgG4 + /IgG + plasma cell ratio [9]. In establishing the histopathological diagnosis of IgG4-RD, some exclusion criteria must be considered, such as the presence of granulomas, prominent neutrophilic infiltration, prominent necrosis, cell atypia suspicious for malignancy and not fully investigated, or features of other mass forming lesions, such as inflammatory myofibroblastic tumor and Rosai-Dorfman disease [10]. Importantly, histopathological features of IgG4-RD may vary in different organs, and site-specific criteria have been acknowledged since the beginning [9, 11]. In fact, IgG4-RD may arise in virtually every anatomical location, and not infrequently multiple sites are involved in the same patient.

The most affected sites by IgG4-RD are the pancreas, major salivary glands, lacrimal glands, and retroperitoneum, followed by bile ducts, lungs, kidneys, orbits, and, less frequently, the thyroid, pachymeninges, and aorta [86]. In fact, two of the 11 typically involved organs, i.e., the pancreas and the thyroid, belong to the endocrine system. In addition, the pituitary is a rare, but still significant, target organ of this disease. The adrenals are very rare sites of disease, and a direct involvement of the parathyroid glands has not been reported, to date. In general, IgG4-RD in endocrine glands represents a challenge from both clinical and pathological points of view. Establishing the correct diagnosis is crucial for the correct management of the patient, as effective, though not yet standardized, treatment strategies, including corticosteroid drugs, immunosuppressants, and B cell targeted therapies, are available [86]. This is why a careful radiological study of the lesion is needed in organs like the pancreas or the pituitary, in which IgG4-RD may simulate a neoplasm, and a preliminary biopsy approach is needed to avoid unnecessary surgery [87]. On the other hand, the diagnosis of IgG4-RD on small samples may not be straightforward [9] not only due to the scarce material and frequent crush artifacts but also due to the variability of the morphological features of the disease in its various stages. In fact, in the early phases of IgG4-RD, the lymphoplasmacytic infiltrate may dominate the pathological picture, making it easy to highlight IgG4 + plasma cells. In the later stages, dense hypocellular fibrosis may prevail, obscuring the diagnostic features of the disease. In addition, in the endocrinological practice, the replacement therapy for endocrine gland hypofunction should be carefully tuned according to the stage of the disease and to its response to the pathogenesis-based treatment. The detailed clinicopathological features of IgG4-RD in the pituitary gland, thyroid, pancreas, and adrenals will be discussed in specific paragraphs of this review. Figure 5 summarizes the crucial data.

Fig. 5
figure 5

IgG4-related disease (IgG4-RD) manifestations in endocrine organs

Drug-induced Inflammatory Reactions in Endocrine Organs

Although a wide variety of therapeutic drugs may have morphologically evident consequences on endocrine organs (e.g., “black thyroid” induced by tetracyclines, thyroid hyperplasia induced by amiodarone, adrenal hyperplasia induced by exogenous corticosteroids), drug-related inflammatory lesions in the endocrine system are typically induced by immune check point inhibitors (ICIs). These are a group of monoclonal antibodies that specifically block proteins of the immune check point, such as CTLA-4, PD-1, and PD-L1, which are inhibitory molecules that attenuate T cell activity. These molecules have the physiological role of downregulating exaggerated immune reactions against external antigens avoiding auto-immune disorders [88]. However, their action may be exploited by cancer cells and used as an escape mechanism to elude the attack by specific immunity [88]. In fact, the blockage of these molecules by ICIs removes the acquired peripheral immune tolerance towards cancer cells and allows the immune response to be fully effective [89]. In other words, the antitumor activity of ICIs is due to their ability to restore an effective immune response to cancer antigens, which contributes to the destruction of tumor cells [90].

Since 2011, when the first ICI inducing CTLA-4 blockage (ipilumab) was approved, the introduction of anti-CTLA-4, PD-1, and PD-L1 antibodies in clinical practice has dramatically changed the therapeutic approach to a wide spectrum of cancers, improving patients’ outcome [91]. However, the activation of the immune system induced by ICIs is not a tumor-specific event and involves immune cells in the whole organism, implying adverse effects that, in many ways, recall autoimmune disorders [92]. The systemic consequences of ICIs may be seen in every anatomical location; however, the skin, the digestive tract, the liver, and the endocrine system present the most frequent and impactful adverse events [92, 93]. It has been reasoned that the propensity of endocrine organs to develop adverse effects of ICI therapy parallels that seen for autoimmune disorders. This may be due to a peculiar tolerogenic profile of endocrine tissues [7, 8]. Nevertheless, ICI-induced adverse effects in the endocrine system differ from classical autoimmune conditions in at least three ways [7]. (1) The organs involved: although the thyroid and pancreatic beta cells are still among the most targeted organs, the pituitary, in which autoimmune conditions are rare, is one of the most targeted organs, and the parathyroid may be involved as well. (2) The autoantibodies repertoire: there is evidence that the classical autoantibodies involved in autoimmunity are not constantly present in patients who develop endocrinopathies during immune checkpoint inhibition, suggesting the existence of alternative autoantigens. (3) The severity of the disease: the inflammatory process developing in patients treated with immune therapy causes rapid and irreversible disruption in the majority of cases, differently from classical autoimmunity that may show a spectrum of severity. This is possibly related to the massive recruitment of cytotoxic T cells induced by the immune checkpoint blockage, which is not observed in classical autoimmunity.

The involvement of endocrine organs as ICI adverse effect is, globally, a frequent event that may affect up to 40% of patients treated with these drugs [94]. However, the frequency of endocrinopathies, the site of involvement, and the time of insurgence vary according to the specific drug (or drugs) administered [92, 93] (Fig. 6). The exhaustive discussion of the clinical features and the pathogenetic mechanisms of ICI-related endocrinopathies is beyond the aim of this review. In general, combined therapy with both anti-CTLA-4 and anti-PD-1/PD-L1 antibodies cause more endocrine adverse effects than the use of a single drug [92, 93]. Nevertheless, it has been observed that pituitary inflammation is more associated with CTLA-4 blockade than with PD-1/PD-L1 inhibition, whereas the reverse is true for thyroid disorders and type 1 diabetes mellitus following endocrine pancreas involvement. Adrenalitis is equally seen with either therapy [8]. Interestingly, several cases of autoimmune polyendocrine syndrome type 2 following ICI-treatment have been described, again highlighting the propensity of the endocrine system as a whole to be a target of side effects of these drugs [78].

Fig. 6
figure 6

Immune checkpoint inhibitor-related endocrine adverse effects

The microscopic features of adverse effects due to ICIs in endocrine organs are not fully established, as histopathological examination is not routinely performed in these cases and the diagnosis mainly relies on clinical observations and laboratory data, whereas the therapy is mainly based on medical therapy with hormone replacement. ICI-related thyroid disorders may be associated either with hyperthyroidism or with hypothyroidism. Usually, an hyperfunctional early phase is followed by a decrease in thyroid hormone production. Secondary hypothyroidism due to ICI-related pituitary inflammation has been described [92, 93]. Thyroid surgery is reserved to anecdotal cases of patients presenting with thyrotoxicosis refractory to medical treatment [95,96,97], whereas a fine needle biopsy may be useful, independently of the endocrinological picture, when the thyroid shows nodular lesions during restaging of the neoplastic disease treated with ICIs [98]. The shared features of inflammatory lesions induced by nivolumab and pembrolizumab in the thyroid are different from those of autoimmune thyroid disorders (Graves’ disease and Hashimoto thyroiditis) and are represented by dense lymphocytic and histiocytic infiltrates that efface the normal parenchyma and destroy epithelial cells [95,96,97]. T cell infiltrates have been reported to be predominant, with a CD8 + cytotoxic profile, and perifollicular histiocytes express PD-L1 [95, 97]. Hypophysitis is a rarer adverse effect of ICI therapy than thyroiditis, although it is clinically well-characterized [99]. Pituitary inflammation related to anti-CTLA-4 therapy is distinct from that induced by anti-PD-1/PD-L1: the former is characterized by sellar expansion at MRI with panhypopituitarism and diabetes insipidus due to mass-effect, whereas the latter features isolated ACTH insufficiency and consequent secondary hypocortisolism [99,100,101]. The histological pictures have only been described in two autopsy cases, one treated with tremelimumab (an anti-CTLA-4 antibody) [100] and one treated with nivolumab (an anti-PD-1 antibody) [101]. Interestingly, the microscopic aspects of the two cases were distinct: a necrotizing hypophysitis with dense mononucelar infiltrate and fibrosis in vital areas was observed in the patient treated with tremelimumab [100], whereas a lymphocytic hypophysitis without necrosis or fibrosis was seen in the nivolumab-treated patient [101]. In the latter case, a significant reduction of ACTH-producing cells was seen, in the presence of comparatively normal numbers of GH-, PRL-, TSH-, FSH-, and LH-producing cells, and it was associated with isolated ACTH deficiency [101]. The lymphoid infiltrate, in the nivolumab-treated patient, was predominantly composed of cytotoxic CD8 + T cells [101], whereas a predominance of CD4 + T cells and CD20 + B cells was observed in the tremelimumab-related pituitary inflammation [100]. IC-related adrenal insufficiency is secondary to pituitary ACTH deficiency in more than 90% of cases. However, a few cases of ICI-induced adrenalitis have been reported, although no histopathological report exists about this entity [102, 103]. ICI-associated hypoparathyroidism is restricted to patients treated with anti-PD-1/PD-L1 antibodies and is associated with irreversible hypocalcemia [104], and the morphological features of involved parathyroid gland have not been reported. ICI-induced type I diabetes mellitus is the consequence of inflammatory damage to pancreatic beta cells and arises during anti-PD-1/PD-L1 treatment, whereas it is much rarer following anti-CTLA-4 therapy. Affected patients show rapidly increasing hyperglycemia with low levels of glycated hemoglobin and, if untreated, may rapidly evolve to insulin deficiency and diabetic ketoacidosis [105]. A systematic histopathological documentation of Langerhans islets by the ICI-related inflammatory process is lacking. Increased infiltration of CD8 + T lymphocytes, similar to what is observed in classical type I diabetes mellitus, is possibly the histopathological correlate of the disease [8]

Organ-specific Inflammatory Diseases

Pituitary Gland

Hypophysitis is a broad collective term for various forms of pituitary gland inflammation, encountered in approximately 2% of pituitary surgery specimens [106]. The spectrum of diseases associated with pituitary inflammation is wide. General approaches to classifying hypophysitis are based on anatomic localization, histopathology of immune cell infiltrate, and etiology. Histopathology of pituitary inflammation is commonly distinguished into lymphocytic, granulomatous, xanthomatous, necrotizing, and plasmacytic/IgG4-related types or mixtures thereof [107,108,109,110]. The etiological classification generally separates primary and secondary hypophysitis forms. In primary hypophysitis, inflammation originates in the pituitary gland, presumably due to a poorly understood autoimmune mechanism. In secondary hypophysitis, pituitary inflammation occurs as part of or as a result of a distinct disease of known etiology and/or pathogenesis. Hypophysitis may result in pituitary hormone insufficiency with potentially lethal complications. Management and prognosis are dictated by a timely diagnosis, which is facilitated via multi-disciplinary work-up and supported by surgical interventions and pathological investigations [109, 111].

Current Status and Challenges of Hypophysitis Classification

Primary hypophysitis is considered an autoimmune disease that is limited to the pituitary gland. The pathogenesis is currently poorly understood. Pituitary autoimmunity has been linked to the occurrence of circulating serum autoantibodies directed against various cellular components of pituitary cells [112,113,114,115,116,117]. However, circulating anti-pituitary antibodies are not regarded as being disease-specific, as they are also detected in paraneoplastic syndromes, congenital anomalies like cryptorchism, or non-pituitary autoimmune conditions [114, 118, 119]. Thus, pituitary autoantibodies are commonly recognized as surrogate markers of pituitary autoimmunity, but their causal role in disease development remains a matter of debate [113, 114, 119].

The most commonly named prevalence of autoimmune hypophysitis is 1 in 9 million [110, 111, 120,121,122,123,124], derived from a study in 2001, reporting 5 cases of hypophysitis that occurred over a 15-year time span in a community of 3 million people [125]. However, actual numbers may differ as not all patients with hypophysitis are subjected to surgery, and therefore, diagnosis is not histologically substantiated in many cases [126]. Moreover, new pathological insights of the last decades vindicate reclassification of former hypophysitis diagnoses and, thus, reevaluation of many previously reported statistics may be appropriate [106, 107, 127, 128].

Secondary hypophysitis generally refers to pituitary inflammation occurring as a result of a pre-existing condition. Possible causes are adjacent pituitary lesions, infectious diseases, systemic inflammation, paraneoplastic syndromes, or medical treatments (iatrogenic). The latter has gained increasing attention over the last decades, particularly with reference to hypophysitis as an immune-related adverse event in patients treated with immune checkpoint inhibitors in cancer therapy [99, 129].

There is considerable overlap in the histopathology of primary and secondary hypophysitis. Thus, the classification of pituitary inflammation is challenging, and cannot be exclusively based on histopathology. In practice, hypophysitis classification requires knowledge of pre-existing conditions and integration of data from endocrinology, radiology, and oncology. Due to these prevailing challenges in diagnostics and the poorly understood pathomechanisms associated with various forms of pituitary inflammation, the current literature is often vague or inconsistent in terms of hypophysitis classification terminology.

With the aim to harmonize the field of pituitary inflammation, we will review commonly described histological types of hypophysitis, and elaborate on their respective diagnostic significance, etiological context, and associated terminology.

With the aim of harmonizing the field of pituitary inflammation, we will review the commonly described histological types of hypophysitis, and elaborate on their respective diagnostic significance, etiological context, and associated terminology. Moreover, we propose a classification scheme that incorporates the consideration of multidisciplinary patient data and diagnostic certainty. Finally, we demonstrate a pathology-centered diagnostic algorithm, which may be helpful to guide interdisciplinary work-up of hypophysitis, and aid in the uniform implementation of classification terminology to facilitate improved comparability among future studies.

Lymphocytic Hypophysitis

Lymphocytic inflammation is the most common histological type of primary hypophysitis, accounting for roughly 70–90% of primary hypophysitis cases [106, 110, 122]. Primary lymphocytic hypophysitis has been described to occur more frequently in women and in association with pregnancy. Management of the disease encompasses conservative approaches, anti-inflammatory therapy, radiotherapy, and surgery [109, 130]. Although lethal complications due to irreversible adrenal insufficiency may occur, the overall prognosis is considered good if diagnosis is timely.

The histopathology of lymphocytic hypophysitis is characterized by diffuse destructive infiltration of polyclonal B- and T-lymphocytes into the pituitary gland, which may arrange into lymphoid follicles with germinal centers [111] (Fig. 7). Plasma cells, histiocytes, macrophages, and eosinophilic granulocytes are also encountered [120, 131]. Pituitary cells may be significantly reduced in number and may show oncocytic changes [131]. Fibrosis may be seen to a variable extent, especially in later disease stages [131, 132]. Rarely, necrosis may also be present [120].

Fig. 7
figure 7

Lymphocytic hypophysitis: a anterior pituitary hormone-secreting cells (asterisk) are overrun by a dense lymphocytic infiltrate (arrowhead), comprised of CD20 + B cells (b) and CD3 + T cells (c). Very few IgG4-expressing plasma cells were found (arrowheads, d). Systemic infections or inflammatory disease were ruled out in this patient leading to the classification as certain primary lymphocytic hypophysitis

Hematopoietic neoplasms should be excluded as differential diagnoses of lymphocytic hypophysitis. Primary pituitary lymphomas histologically resemble systemic lymphomas, and are commonly B cell non-Hodgkin lymphomas. In contrast to lymphocytic hypophysitis, pituitary lymphomas may often present more aggressively and extend beyond the sellar or parasellar regions [2, 133,134,135,136].

Lymphocytic infiltration of the pituitary gland may be encountered as part of a secondary reaction to other focal pituitary lesions or systemic diseases. Lymphocytic inflammation of pituitary tissue may be found associated with non-neoplastic pituitary lesions (e.g., arachnoid cyst [137], or Rathke cleft cyst [138] (Fig. 8) or neoplastic pituitary lesions (e.g., germinoma) [139, 140], craniopharyngioma [106], or pituitary neuroendocrine tumors/adenomas [141] (Fig. 9). Coexistence of non-pituitary autoimmune conditions is reported in 25–50% of patients with lymphocytic hypophysitis [142, 143]. Among the encountered diseases are autoimmune thyroid disease, adrenalitis, and pernicious anemia. Autoimmune diseases may precede or follow the onset of lymphocytic hypophysitis [144].

Fig. 8
figure 8

Rathke cleft cyst associated with lymphocytic hypophysitis. Histopathology showed dense lymphocytic infiltration (arrow) of residual pituitary gland (asterisk) in proximity of a Rathke cleft cyst with squamous metaplasia (arrowhead). This case was classified as Rathke cleft cyst with certain secondary lymphocytic hypophysitis

Fig. 9
figure 9

Acidophil stem cell PitNET/adenoma associated with lymphocytic inflammation. Histomorphology of an acidophil stem cell pituitary neuroendocrine tumor/adenoma composed of oncocytic cells with intracytoplasmic vacuoles reflecting giant mitochondria (arrow). This tumor showed well-marked accompanying lymphocytic inflammation as follicular aggregates (arrowheads). This case was classified as acidophil stem cell PitNET/adenoma with secondary lymphocytic hypophysitis

While co-occurrence of hypophysitis and non-pituitary autoimmune diseases supports the hypothesis of an autoimmune mechanism in primary hypophysitis, this causes some inconsistency in the classification terminology encountered in the literature. Some authors classify autoimmune hypophysitis, which occurs together with other autoimmune diseases as a form of secondary hypophysitis [111, 122, 123]. Other authors do not draw such distinctions [107, 120, 142]. Moreover, the stand-alone term “lymphocytic hypophysitis” is commonly used interchangeably with “primary lymphocytic hypophysitis” in the literature [109, 111, 131, 145, 146]. However, “lymphocytic hypophysitis” may also refer to lymphocytic variants of secondary hypophysitis [120, 138, 147]. Previous studies have recognized that these differing approaches to classification terminology may cause reader confusion [121].

Granulomatous Hypophysitis

Granulomatous inflammation is the second most common type of primary hypophysitis (often referred to as idiopathic granulomatous hypophysitis), and accounts for roughly 10–20% of primary hypophysitis cases [106, 110, 122, 148]. Compared to primary lymphocytic hypophysitis, this type is less associated with pregnancy, although a female predilection has also been reported [148, 149]. Clinically, primary granulomatous hypophysitis is often less responsive to steroid treatment, and clinical presentation is commonly more severe than in primary lymphocytic hypophysitis [122, 145, 149].

Histopathology of granulomatous hypophysitis is characterized by granulomas of epithelioid histiocytes with or without multinucleated giant cells and lymphocytic infiltrates (Fig. 10). Fibrosis and necrosis may be seen [148]. Previous studies have suggested that primary lymphocytic and granulomatous hypophysitis may represent an autoimmune spectrum, with the lymphocytic form predominantly constituting early lesions and the granulomatous form appearing later [148, 150]. This assumption is corroborated by the slightly higher age of patients presenting with granulomatous hypophysitis and the finding that hypophysitis mouse models exhibit both lymphocytic and granulomatous histopathology [148, 151]. Other studies have proposed that primary granulomatous hypophysitis is immunologically distinct from primary lymphocytic hypophysitis. This may be substantiated by the different clinical courses seen in the two forms and the distinct immune profile of primary granulomatous hypophysitis, which was reported to be compatible with a type IV hypersensitivity response [120, 146]. Thus, the etiopathogenesis of primary granulomatous hypophysitis is currently unknown, and the association with primary lymphocytic hypophysitis is unclear.

Fig. 10
figure 10

Granulomatous hypophysitis. Non-necrotizing granulomas with multinucleated giant cells (arrowhead) and interspersed residual anterior pituitary cells (asterisk). Systemic infectious/inflammatory diseases were ruled out in this patient, leading to the classification as certain primary granulomatous hypophysitis

An association with autoimmune diseases is less often encountered in granulomatous compared to lymphocytic hypophysitis [149]. Only a few reports have described patients with co-occurrence of conditions like Crohn’s disease [152], granulomatosis with polyangiitis (formerly called Wegener’s) [153], Takayasu’s arteritis [154], or Hashimoto’s thyroiditis [149]. Moreover, pituitary manifestations may rarely occur in sarcoidosis [155]. Granulomatous inflammation of the pituitary gland may be encountered secondary to systemic infectious diseases like tuberculosis or syphilis [156]. The diagnosis of primary granulomatous hypophysitis therefore needs the exclusion of secondary etiology by means of extensive diagnostic steps. These steps include Mantoux skin testing, M. tuberculosis-DNA PCR of cerebrospinal fluid and pituitary specimens, chest X-ray, serologic syphilis testing and measurement of ACE and ANCA serum levels [148, 157]. Previous studies have recognized the diagnostic challenges associated with the exclusion of secondary etiology in granulomatous hypophysitis [148, 158, 159].

Xanthomatous and Xanthogranulomatous Hypophysitis

Xanthomatous hypophysitis is commonly recognized as a rare type of primary hypophysitis encountered in about 3% of cases [107, 120, 123, 149, 160, 161]. Patients are usually younger than in primary lymphocytic and granulomatous hypophysitis. No association with pregnancy has been described [149]. Co-occurrence with other autoimmune diseases is rare [162]. While data on management and prognosis are limited, it is currently suggested that anti-inflammatory treatment is of low value compared to surgery. The prognosis is variable [160, 163, 164].

Histologically, xanthomatous hypophysitis is characterized by the infiltration of foamy macrophages and lymphocytes into the pituitary gland, with evidence of little or no hemosiderin pigment (Fig. 11). Recent reports have suggested that xanthomatous hypophysitis may represent a secondary response to ruptured cysts, most commonly Rathke cleft cysts [165,166,167]. Although not all cases of xanthomatous hypophysitis can definitely be linked to sellar cysts, it has been proposed that this type should be recognized as a form of secondary hypophysitis [167]. Xanthomatous hypophysitis is suggested to represent part of a histological spectrum with many cases transitioning into xanthogranulomatous inflammation types [166]. The histomorphology of xanthogranulomatous hypophysitis, often referred to as sellar xanthogranuloma, is characterized by cholesterol clefts, foamy and multinucleated giant cells, and prominent hemosiderin deposits (Fig. 12). It is widely recognized, that xanthogranulomatous hypophysitis shows features of a secondary reaction to chronic inflammatory processes, mostly associated with Rathke cleft cysts, craniopharyngiomas, PitNET/adenomas or other cystic lesions [168,169,170]. However, xanthogranulomatous hypophysitis has also been described as occurring as part of systemic conditions with an autoimmune etiology or without evidence of adjacent pituitary lesions [168, 171].

Fig. 11
figure 11

Xanthomatous hypophysitis. Clusters of histiocytes having abundant foamy cytoplasm and bland, round nuclei (arrowhead), with interspersed and scattered lymphocytes. The asterisk marks anterior residual pituitary cells. Histopathology provided evidence of a Rathke cleft cyst, leading to the classification as Rathke cleft cyst with certain secondary xanthomatous hypophysitis

Fig. 12
figure 12

Xanthogranulomatous hypophysitis. Abundant cholesterol clefts (arrow), hemosiderin deposits, and macrophage clusters (arrowhead) among residual pituitary cells (asterisk). An MRI of the patient had provided evidence of a cystic sellar lesion prior to surgery. No cyst wall remnants were encountered upon histological examination, leading to the classification as probable secondary xantho-granulomatous hypophysitis

Necrotizing Hypophysitis

Necrotizing hypophysitis is often mentioned as an extremely rare type of primary hypophysitis [110, 122, 123, 164]. Only five histologically confirmed cases have been reported in the literature [172,173,174,175]. The histopathology of necrotizing hypophysitis was described as being characterized by significant non-hemorrhagic pituitary necrosis and marked lymphocytic pituitary inflammation. The affected patients demonstrated similar clinical courses comprising sudden-onset pituitary insufficiency, diabetes insipidus and radiologic features of ischemic pituitary apoplexy. Some authors have acknowledged that it is unclear whether necrotizing hypophysitis represents a distinct entity or a variant of known hypophysitis types [111, 120]. Due to the limited case numbers presented in the literature, sufficient data to understand the pathogenesis of necrotizing hypophysitis is not available. Moreover, necrosis is not uncommon in the pituitary gland and has been described in association with lymphocytic and granulomatous hypophysitis [148, 176], or in the context of apoplexy in pituitary tumors [177] or following significant post-partum bleeding [178]. Pituitary inflammation may also be triggered secondary to pituitary necrosis [172, 179]. Consequently, careful histological interpretation is warranted when pituitary necrosis is encountered together with pituitary inflammation (Fig. 13).

Fig. 13
figure 13

Pituitary necrosis and lymphocytic hypophysitis. Eosinophilic amorphous necrosis (arrows) next to pituitary gland with mild lymphocytic inflammation (asterisk). Pituitary apoplexy leading to necrosis of a PitNET/adenoma with secondary lymphocytic hypophysitis was suspected in this case. The case was classified as pituitary necrosis and probable secondary lymphocytic hypophysitis

Plasmacytic/IgG4-related Hypophysitis

The pituitary manifestation of IgG4-RD is referred to as IgG4-related hypophysitis (IgG4-RH; Fig. 8). IgG4-RH may occur as isolated IgG4-RH, with inflammation restricted to the pituitary gland or in the context of systemic IgG4-RD with involvement of further organs. Isolated IgG4-RH frequency among primary hypophysitis was previously reported as 4% in a study summarizing publications from 1917 to 2016 [100]. However, the incidence of IgG4-RD is increasing, presumably due to the raised awareness of the disease among physicians [106, 127, 180]. Recently, the frequency of isolated IgG4-RH among primary is reported to be up to 36–65% [106, 127, 181]. Pituitary involvement in patients with pre-existing systemic IgG4-RD is rare, with numbers ranging from 0–8% of IgG4-RD patients [182,183,184,185]. Recent studies have shown that there is a female predominance in isolated IgG4-RH as opposed to systemic IgG4-RD, which is more common in men [182, 184]. Furthermore, patients with isolated IgG4-RH are usually younger [127, 181]. Previous studies have suggested that the differing clinical characteristics of isolated IgG4-RH and systemic IgG4-RD with pituitary involvement might be due to distinct etiopathogenesis [127]. However, it is currently unclear if these two disease manifestations represent distinct pathological entities.

The histopathological diagnosis of IgG4-RH is challenging and deserves closer attention. In general, the diagnosis of IgG4-RD is based on a combination of radiological, serological, and pathological features [10, 11]. According to the 2020 revised comprehensive diagnostic (RCD) criteria by the Japanese IgG4 team [11], IgG4-RD can be made when two of three histological criteria are fulfilled in an organ: (I) presence of dense lymphocyte and plasma cell infiltration with fibrosis (Fig. 14a); (II) ratio of IgG4-/IgG-positive plasma cells greater than 40% and more than 10 IgG4-positive plasma cells per high power field (HPF) (Fig. 14b); (III) presence of tissue fibrosis, particularly storiform fibrosis, or obliterative phlebitis [11]. The consensus statement additionally recognizes organ-specific histological criteria to strengthen diagnostic certainty obtained from pathological features. However, to date, no pituitary-specific histological criteria have been defined. The American College of Rheumatology (ACR) and the European League Against Rheumatism (EULAR) also recently defined classification criteria for IgG4-RD [10]. This classification is based on complex sets of inclusion and exclusion criteria for IgG4-RD, with the purpose of increasing specificity and excluding patients with infections, malignancies, hematological or immunological diseases. The ACR/EULAR classification is focused on frequently affected organs. Due to its rather uncommon involvement in IgG4-RD, the pituitary gland is also not included in these diagnostic criteria. In 2011, Leporati et al. proposed the presence of mononuclear cell infiltrates within the pituitary gland, rich in plasma cells and lymphocytes, with more than 10 IgG4-positive cells per HPF, as the histopathological criteria for IgG4-RH diagnosis [186]. These criteria were widely accepted by many authors [111, 124, 181, 187]. For IgG4-RH diagnosis, some authors also employed the IgG4-RD consensus criteria and additionally required the IgG4/IgG ratio cut-off to be > 40%, as proposed by Umehara et al. [11]. A recent study has suggested that these commonly used diagnostic criteria lead to an overestimation of IgG4-RH and proposed the application of the ACR/EULAR exclusion criteria to increase diagnostic specificity in the pituitary gland [188]. The general need for improved specific histopathological IgG4-RH criteria is reflected by various findings. For example, IgG4-positive plasma cell infiltration may be seen in association with focal pituitary lesions (e.g., Rathke cleft cyst) and also non-IgG4-related systemic diseases (e.g., hematological neoplasms) [188,189,190,191]. Moreover, obliterative phlebitis and storiform fibrosis patterns, which resemble histopathological characteristics of IgG4-RD in other organs, may be of poor diagnostic value in the pituitary gland [127]. Finally, the assessment of IgG4-positive cells per HPF is vague, since field area sizes are highly variable between different high-power objective lenses [192].

Fig. 14
figure 14

IgG4-related hypophysitis. Pituitary cells (asterisk) are overrun by a dense lymphocytic and plasma cell infiltrate (left image, arrowhead). IgG4-expressing plasma cells are numerous (right image). The illustrated tissue section is roughly 0.32 mm2 of size, corresponding to the field area of a high-power objective lens with a 0.64-mm field diameter. In this case, there was no evidence of IgG4-related disease in other organs of the patient, leading to the classification as certain primary IgG4-related hypophysitis. Scale bar is 100 µm

The literature presents inconsistent use of terminology referring to the etiological classification of IgG4-RH. Some authors exclusively refer to IgG4-RH as a form of primary hypophysitis, irrespective of further organ involvement [108, 121, 123, 193]. Others have also referred to pituitary involvement in systemic IgG4-RD as a form of secondary hypophysitis [107, 110, 122].

Refinement of Hypophysitis Classification

Hypophysitis classification resembles a continuously changing and evolving field with slow progress in the comprehension of the inflammatory pathomechanisms. Some changes in hypophysitis classification are attributable to newly emerging entities, such as IgG4-RD. Other changes come from novel iatrogenic causes, such as cancer treatment with immune checkpoint inhibitors. In further instances, diagnostic uncertainty prevails concerning the etiology of hypophysitis, especially with respect to xanthomatous or necrotizing forms. Thus, a combination of different factors provokes inconsistent classification approaches and variable terminology across studies.

In order to form more homogenous case groups, facilitate research comparability, and enable further progress in the currently poorly understood field of pituitary autoimmunity, the application of uniform terminology and classification is desirable. Table 1 summarizes diseases associated with pituitary inflammation and their etiology-based classification. Figure 15 illustrates our proposed algorithm of a pathology-centered approach to match pathological and etiological hypophysitis classification terminology in due consideration of multi-disciplinary findings. On the grounds of the preceding literature review, we highlight six bullet points that may improve consistency in hypophysitis classification.

  1. 1)

    Incorporation of diagnostic certainty into the classification of hypophysitis:

    The matching of pathology and etiology requires multi-disciplinary information, which may not be readily available in routine diagnostics or retrospective studies. We suggest that diagnostic certainty be incorporated into the etiology-based hypophysitis classification. We propose that the terms “certain” or “probable” should standardly precede the terms “primary” or “secondary” in etiological hypophysitis classification. Hypophysitis of unclear origin should be referred to as “indeterminate”.

  2. 2)

    Combination of pathology- and etiology-based terminology:

    The inconsistent use of hypophysitis terminology to refer to either entity-specific or general descriptive attributes can lead to irritation. We propose that classification terms based on etiology (“indeterminate” or “certain”/ “probable” preceding “primary”/ “secondary”) and pathology (“lymphocytic”/ “granulomatous”/ “xanthomatous” …), should be consistently combined to avoid confusion. Example 1: “Probable primary lymphocytic hypophysitis” refers to a lymphocytic hypophysitis in a patient without known pre-existing systemic diseases or adjacent pituitary lesion, where systemic inflammatory diseases have, however, not been ruled out yet. Example 2: “Certain secondary xanthomatous hypophysitis” refers to xanthomatous hypophysitis in a patient with histological evidence of a ruptured Rathke cleft cyst. When secondary hypophysitis is identified, the final diagnosis should also name the causative disease entity.

  3. 3)

    Diagnostic criteria of IgG4-RH:

    Although commonly recognized by previous studies, the diagnostic criterion for IgG4-RH as defined by Leporati et al. [186] (> 10 IgG4-positive plasma cells/HPF) likely leads to an overdiagnosis of the disease. We propose that the additional requirement of an IgG4/IgG ratio cut-off > 40%, as proposed by Umehara et al. [11] along with typical histomorphology, should be met to make the diagnosis. Future studies will show if these criteria require further refinement.

  4. 4)

    Etiological classification of autoimmune hypophysitis co-occurring with other autoimmune diseases:

    The classification of hypophysitis occurring in the context of pre-existing autoimmune diseases is a matter of debate. It is currently not known if isolated primary autoimmune hypophysitis, as opposed to hypophysitis in systemic autoimmune diseases, represents distinct entities. In order to facilitate distinguishability between these cases and avoid semantic overlap, we propose that the etiological classification term “primary” should be restricted to cases in which inflammation is limited to the pituitary gland. Hypophysitis occurring as part of a systemic autoimmune disease should be referred to as “secondary hypophysitis,” while the underlying pathomechanisms are unknown.

  5. 5)

    Secondary etiology of xanthomatous/xanthogranulomatous hypophysitis:

    We support the recognition of xanthomatous and xanthogranulomatous hypophysitis as types of secondary hypophysitis, which most likely occur as a result of leakage, rupture, or bleeding of a pre-existing pituitary lesion. Therefore, we propose that xanthomatous/xanthogranulomatous hypophysitis with or without evidence of an adjacent or preceding pituitary lesion should be classified as certain or probable secondary xanthomatous/xanthogranulomatous hypophysitis, respectively.

  6. 6)

    Classification of necrotizing hypophysitis:

    The recognition of necrotizing hypophysitis as a distinct type of primary hypophysitis is questionable due to the limited case numbers and significant clinical and pathological overlap with other entities. We propose that the etiology of this pathological variant and, consequently, its classification as primary or secondary should be left to speculation at present. Moreover, it is important to consider that pituitary necrosis may occur secondary to other causes, some of which are often left unresolved.

Table 1 Etiology-based hypophysitis classification and associated disease entities
Fig. 15
figure 15

Diagnostic algorithm for pathological and etiological classification of pituitary inflammation. Starting point of the algorithm is the histological evidence of pituitary inflammation. End points are the etiological hypophysitis classification combined with the degree of diagnostic certainty. The preceding term “probable” should prompt further multidisciplinary diagnostic work-up in order to clarify the diagnosis. If new relevant aspects arise from other disciplines, the algorithm returns to the starting point. The final diagnosis unifies the degree of diagnostic certainty (certain/probable/indeterminate), etiology (primary/secondary), and pathological classification (lymphocytic/plasmacytic/granulomatous/xanthomatous/…). *The recognition of necrotizing primary hypophysitis as a distinct entity is questionable. Detection of pituitary necrosis should prompt characterization of the inflammatory infiltrate found in the intact pituitary tissue. Vascular pathogenesis (pituitary apoplexy) or tumor necrosis should be considered

In conclusion, primary hypophysitis is a poorly understood disease. Our comprehension of the pathomechanisms is obstructed by restricted surgical accessibility of the pituitary gland, overlapping pathological and clinical features of various entities, and the challenges of interdisciplinary work-up for adequate classification. Harmonization of classification terminology is desirable in order to form homogeneous case groups. Our proposed diagnostic algorithm and classification terminology may be helpful to enhance multidisciplinary diagnostic interplay and facilitate comparability between different studies.

Thyroid Gland

Inflammatory processes of the thyroid gland cover a wide spectrum of pathologic conditions, characterized by different etiologies (infectious, autoimmune, immune-mediated), morphological pictures (according to the type/s of inflammatory cells and cytoarchitectural changes in the thyroid parenchyma), and clinical presentation (acute, subacute, or chronic; associated with hypo- or hyperthyroidism). Thus, these disorders have been variably classified according to these parameters (Figs. 16 and 17). However, it must be recognized that most of them represent definite clinicopathological entities. Acute thyroiditis is usually caused by infections and has already been discussed. In the following text, the most frequent and clinically significant non-acute inflammations of the thyroid gland will be reviewed.

Fig. 16
figure 16

Classification criteria for thyroiditis

Fig. 17
figure 17

Histopathology-based classification of thyroiditis with incorporation of clinical and etiopathogenetic information. Relevant clinicopathological entities are highlighted in bold

Subacute Granulomatous Thyroiditis (de Quervain Thyroiditis)

This type of thyroiditis is also known as painful subacute thyroiditis, giant cell thyroiditis, or post-viral thyroiditis. It is clinically characterized by low grade fever, anterior neck pain, an enlarged, palpable, and tender thyroid, transient hyperthyroidism, and elevation of serum inflammation indexes, in absence of anti-thyroid antibodies [194]. Women are significantly more affected than men and the age of occurrence is in early adulthood (25–35 years) [194]. Viral infections are thought to be the main cause of subacute thyroiditis, although a true causal relationship has not been demonstrated. Coxsackievirus and Echovirus, which are responsible for seasonal parainfluenza syndromes, have been implicated in the pathogenesis, as have other viruses causing mumps, measles, and influenza [195], and SARS-CoV-2 has been demonstrated to be associated with this disease, too [196]. Several drugs, including interferon and tumor necrosis factor alpha have also been claimed to be related to subacute thyroiditis [197, 198]

Although nowadays the diagnosis of subacute thyroiditis is mostly made on clinical grounds and with the aid of ultrasonography and fine needle aspiration, the pathological features of the disease have been well characterized in the past [199]. Macroscopically, the thyroid is asymmetrically enlarged and homogeneously firm, but nodules may be present. The histopathological picture varies according to the stage of the disease, being characterized by follicular cell disruption and neutrophilic inflammatory infiltrate in the early phases; mononuclear infiltrate with granuloma formation appears later. Granulomas are, at least initially, centered on follicles and contain epithelioid macrophages and giant multinucleated cells. Along time, reparative changes appear and fibrosis begins to dominate the picture. In fine needle aspiration specimens, isolated giant cells, macrophages, or even granulomas are seen, but neutrophils may appear in early stages of the disease. In later fibrotic stages, cytology samples may be non-diagnostic, due to fibrosis-related hypocellularity [200]. Rarely, reactive atypia of follicular cells may prompt a diagnosis of an atypical follicular lesion [201].

Subacute thyroiditis has a benign course in the majority of patients, with recovery of thyroid function in less than a year after transient phases of hyperthyroidism and, later, hypothyroidism. Persistent hypothyroidism has been reported in less than 10% of patients [202]. Anti-inflammatory drugs are used to relieve symptoms.

Other Granulomatous Thyroiditis

Granulomatous inflammation may be seen in various conditions, apart from de Quervain’s thyroiditis. So called palpation thyroiditis is a relatively frequent finding in surgical specimens and may be related either to medical physical examination or to self-touching in patients with large goiters. It is microscopically characterized by focal effacement of single or clustered follicles, which are ringed by multinucleated giant cells, lymphocytes, and plasma cells (Fig. 18). Palpation thyroiditis is distinguished from de Quervain’s thyroiditis thanks to the very limited damage to thyroid parenchyma [203].

Fig. 18
figure 18

Palpation thyroiditis. A well-formed granuloma, composed of epithelioid histiocytes and multinucleated giant cells, surrounded by lymphoplasmacytic infiltrate is seen. The lesion is focal, no fibrosis is observed, and the damage to follicular thyroid cells is very limited. Courtesy of Prof. Sefano La Rosa, University of Insubria, Varese, Italy

Tuberculosis may involve the thyroid gland with typical caseating granulomas, in which the mycobacterium may be detected either with Ziehl–Neelsen method or, more accurately, using a specific polymerase chain reaction for bacterial DNA.

Sarcoidosis rarely affects the thyroid gland and its recognition is not straightforward, as this is a diagnosis of exclusion after having checked other possible causes of thyroid inflammation. Anecdotal cases of sarcoidosis-related hyperthyroidism and hypothyroidism have been described [204, 205].

Autoimmune Thyroid Disorders

Autoimmune thyroid disorders (AITDs) are discussed here together, as they are morphologically characterized by lymphoid infiltration of the parenchyma and thus may be included, as a group, in the inflammatory diseases of the thyroid gland. Classically, AITDs include autoimmune thyroiditis (or Hashimoto thyroiditis, HT) and Graves’ disease (GD); however, other entities, such as postpartum thyroiditis and silent thyroiditis, have a demonstrated autoimmune pathogenesis. The diagnosis of AITDs relies on clinical and laboratory data. However, the pathologist is not infrequently faced with these disorders, mainly HT and GD, and should be aware of their morphological features and of the possible proliferative lesions that may arise in their context.

HT, also known as autoimmune thyroiditis or chronic lymphocytic thyroiditis, is clinically characterized by the progressive emergence of hypothyroidism (a transient hyperthyroidism may appear in the early phase of the disease), associated with circulating anti-thyroid peroxidase and anti-thyroglobulin. It is most commonly seen in middle aged women (M:F ratio 5–7:1), but children and elderly people may also be affected. A genetic predisposition to this disease is documented by studies on families and twins [206]. Although the management of HT mostly relies on medical treatment based on thyroid hormone replacement to reach euthyroidism, thyroid surgery may be indicated in various settings, such as the presence of a dominant nodule, or diffuse thyroid enlargement with compression of cervical structures, or as an option in case of medical treatment failure [207]. In these circumstances, a careful pathological examination is important to confirm the diagnosis and rule out neoplastic disease. Macroscopically, the thyroid with HT is diffusely enlarged, with a lobulated cut surface, which is generally paler than a normal thyroid. Nodules and cystic lesions may be present. Microscopically, the gland parenchyma is effaced by a dense mononuclear infiltrate, composed of lymphocytes and plasma cells often forming lymphoid follicles with activated germinal centers (Fig. 19). The lobular architecture of the thyroid is more evident than normal, due to the presence of augmented fibrous septa, and in advanced stages of the disease, fibrosis may become prominent, inducing atrophy of thyroid cells. Thyroid follicular cells typically undergo oncocytic change (Fig. 19, inset) and squamous metaplasia may also be observed. Several histological variants of HT have been described, including the fibrous, the fibrous atrophy, the juvenile, and the cystic variant [208]. An IgG4-related disease variant of HT has been described, but we believe it should be considered a separate entity and will be discussed later. Reactive atypia of follicular thyroid cells is not an unusual finding in HT: however, in a subset of cases, distinct clusters of thyrocytes with an irregular nuclear membrane and other features resembling thyroid papillary carcinoma nuclei may be seen. These have been called follicular epithelial dysplasia (FED) (Fig. 20) and are thought to be precursor lesions of papillary thyroid carcinoma (PTC) arising in HT [209, 210]. The differentiation of FED from small foci of PTC relies on the absence of infiltration and papillary architecture in the former lesions, which, on the other hand, lack nuclear pseudoinclusions and other overt features of PTC nuclei [209, 210]. The relationships of HT with thyroid neoplasms is complex and regards both epithelial and non-epithelial neoplasms. Papillary carcinoma is the most common neoplasm associated with HT and a recent meta-analysis reported the co-existence of PTC in 8% (only male population) to 36.4% (both male and female population) of surgically removed thyroid specimens with HT [211]. The prognostic correlates of PTC arising on HT are not yet well established: some studies report a good clinical outcome related to the small size, the reduced rate of extrathyroidal infiltration and lymph node metastases, and the lack of BRAF mutation [212, 213], but others did not find any significant better prognosis in this group of patients, compared to non-HT-associated PTC [214]. Although a definite association of HT with a specific PTC subtype has not been demonstrated, the rare Warthin-like subtype of PTC mostly arises in the context of HT [215]. Interestingly, a rare pathological entity, named multifocal fibrosing thyroiditis, which can overlap with HT, represents a morphological mimicker of PTC and must be distinguished from it [216]. Another HT-related malignancy is thyroid extranodal marginal zone lymphoma of MALT type (MALT lymphoma). This type of lymphoma may arise in both mucosal and glandular tissues and is generally associated with chronic inflammation [217]. In the thyroid, MALT lymphoma is strongly associated with HT and the differential diagnosis between the two entities may be challenging, as discussed elsewhere [2]. A destructive growth, with complete effacement of the thyroid follicles and extrathyroidal extension, is highly suggestive of lymphoma. The application of a proper immunohistochemical panel and molecular analysis for immunoglobulin gene rearrangement helps in the correct differential diagnosis between MALT lymphoma and HT or other types of lymphoma [2].

Fig. 19
figure 19

Hashimoto thyroiditis. The thyroid parenchyma is overrun by dense lymphocytic infiltration, with activated lymphoid follicles, inducing reactive changes in thyroid follicular cells, that frequently undergo oncocytic change (inset)

Fig. 20
figure 20

Follicular epithelial dysplasia in Hashimoto thyroiditis. These follicles, embedded in a dense lymphocytic infiltrate, show irregular shape, nuclear crowding, irregular nuclear membrane with occasional grooving, and nuclear clarification. There are no signs of invasion, papillary growth, or nuclear pseudoinclusions

GD, also known as Basedow disease or diffuse toxic hyperplasia, is the most common cause of persistent hyperthyroidism in iodine-replete areas and one of the most common autoimmune diseases worldwide [218]. The male-to-female ratio is 3–8:1, and the most frequent age of insurgence is in the 4th decade of life. Besides thyroid involvement, GD is clinically characterized by unique ophthalmopathy and dermatopathy [219]. The hyperthyroidism in GD is caused by circulating anti-TSH receptor antibodies that act as agonists of the receptor, stimulating thyroid hormone production. An association with specific HLA haplotypes (HLA-B8 and HLA-DR3) has been demonstrated, as well as a stronger familial predisposition than for HT [220]. Patients with GD are treated using antithyroid drugs, radioactive iodine, or thyroidectomy. According to the most recent guidelines, surgery is recommended for women planning a pregnancy and for patients with large compressive goiter or with suspicious thyroid nodule, or resistant to radioactive iodine therapy or with moderate/severe ophthalmopathy [221]. The morphological features of GD vary in previously treated and untreated cases. Macroscopically, untreated cases show a diffuse enlargement of the thyroid gland, with a homogenous, dark red, cut surface. In contrast, the gland may be smaller and paler in previously treated patients, due to the lower vascularization of thyroid parenchyma. Accordingly, the histopathological picture of untreated GD is dominated by diffuse hyperplasia of follicular thyroid cells that, in untreated cases, show a columnar shape and are arranged in papillae infolding into follicular lumina. The hyperfunctioning state of thyrocytes is documented by the low amounts and the scalloping of colloid, which is paler than in a normal thyroid (Fig. 21). Cases treated with anti-thyroid drugs may show greater amounts of colloid and less pronounced papillary hyperplasia; nuclear pleomorphism and hyperchromasia may be present (Fig. 22). GD treated with radioiodine therapy are characterized by fibrosis, reduction of hyperplastic features and radioiodine-induced nuclear atypia. Lymphocytic infiltration is also present in the form of lymphoid follicles but is far less prominent than in HT. Nodular follicular thyroid lesions may be present in GD, a fraction of which is represented by thyroid carcinoma. The frequency of thyroid cancer in GD is reported to be between 2.3 and 21.1%, with an incidence 2.5 times higher than in the general population, and the most common histotype was PTC [222]. In this respect, it should be noted that the differential diagnosis between GD and PTC may pose some difficulties to general pathologists, due to the papillary architecture of GD and the occasional presence of psammoma bodies and hyperchromatic nuclei. In such circumstances, the histological evidence of hyperfunction, the presence of fibrovascular axes in papillae, the absence of clear-cut nuclear features of papillary carcinoma, and the diffuse nature of cytoarchitectural changes favor GD (Fig. 22). In challenging situations, a panel of immunostains including, but not limited to HBME1 (positive in PTC and negative in non-neoplastic follicular cells) and CD56 (negative in PTC and positive in non-neoplastic follicular cells) may be taken in consideration to support diagnosis, but the role of immunohistochemistry for the differential diagnosis of thyroid lesions is still controversial [223, 224].

Fig. 21
figure 21

Untreated Graves’ disease. Diffuse hyperplasia of hyperfunctioning thyroid follicles lined by columnar follicular cells and containing pale colloid with scalloping due to active resorption by follicular cells

Fig. 22
figure 22

Treated Graves’ disease. In this case, a papillary overgrowth of follicular cells is observed, as well as focal nuclear enlargement and hyperchromasia (arrows). The presence of fibrovascular cores in papillary structures, the absence of nuclear clarification, grooves and pseudoinclusions, the hyperfunctioning morphology of thyroid cells, and the diffuse character of these features exclude the diagnosis of a papillary carcinomas. Nuclear pleomorphism was due to previous anti-thyroid therapy

IgG4-related Thyroid Disease

As already discussed earlier in this review, the diagnosis of IgG4-RD heavily relies on the recognition of a peculiar histological picture in the target organs, dominated by dense lymphoplasmacytic infiltrates and storiform fibrosis, with a variable presence of obliterative phlebitis and infiltration of eosinophils [9]. In fact, it should be acknowledged that these features may be present in varying combinations, giving rise to a spectrum of histopathological appearances. In the thyroid, this heterogeneity is reflected in morphological pictures that may fall into different clinicopathological entities, including HT, the fibrous variant of HT, particular cases of GD, and invasive fibrous thyroiditis (Riedel thyroiditis) [225]. However, despite the morphological similarities, IgG4-related thyroid diseases differ from their non-IgG4 counterpart in terms of clinical features and the composition of the inflammatory infiltrate which is, of course, dominated by IgG4 + plasma cells. IgG4-related HT, for example, is more common in males, more rapidly evolves into hypothyroidism, has higher serum levels of anti-thyroid antibodies, and frequently presents hypoechoic nodules than non-IgG4 HT. In addition, elevated IgG4 serum levels may be present, which decrease after thyroidectomy [226]. Although specific treatment guidelines for IgG4-related HT have not been established, yet the distinction between this entity and non-IgG4 HT may be useful for patient management. Specific cut-offs for IgG4 + plasma cell infiltration have been suggested for this purpose: IgG4 + plasma cells > 20/HPF, and IgG4 + /IgG + plasma cell ratio > 30% [227] (Fig. 23). Invasive fibrous thyroiditis (Riedel thyroiditis) is a rare disease, characterized by sudden enlargement of the thyroid gland, which is nontender and firm to palpation and causes progressive compression of cervical structures. It is now established that the fibro-inflammatory process underlying this disease is part of the IgG4-RD [228]. Macroscopically, the thyroid glands involved in Riedel thyroiditis are enlarged, harder than normal, and have a pale cut surface, on which the normal lobulation of the gland is not recognizable. Fibrosis often extends into perithyroidal tissues. Histologically, storiform and keloid-like fibrosis are present, along with a lymphoplasmacytic infiltrate with numerous plasma cells (Fig. 24). Oncocytic change in thyroid cells is not observed and, if present, should suggest a fibrous variant of HT.

Fig. 23
figure 23

IgG4-related Hashimoto thyroiditis. An activated lymphoid follicle is evident, but the interstitial inflammatory infiltrate is mainly composed by mature plasma cells (A, B). Oncocytic changes of follicular thyroid cells is prominent (B). Interstitial plasma cells are IgG + (C), with numerous IgG4 + (D) plasma cells and an IgG4/IgG ratio > than 40%

Fig. 24
figure 24

Riedel’s thyroiditis. Dense, storiform fibrosis and plasma cell infiltrate. Thyroid parenchyma is no more recognizable. Courtesy of Prof. Sefano La Rosa, University of Insubria, Varese, Italy

Adrenal Gland

Inflammatory and infectious disorders affect the adrenal gland encompass a variety of entities in disorders ranging from focal adrenalitis, to autoimmune involvement of the adrenal gland, and bacterial, fungal, or viral infections. Most recently, the effects of SARS-CoV-2 and associated vaccine have been described involving the adrenal gland. Focal adrenalitis is a common incidental finding seen in the adrenal glands of elderly (Fig. 25) [229]. Unlike autoimmune adrenalitis, focal adrenalitis lacks the more diffuse inflammation seen in autoimmune lymphocytic adrenalitis. Focal adrenalitis is not known to cause endocrine dysfunction of the adrenal gland unlike autoimmune lymphocytic adrenalitis or infections.

Fig. 25
figure 25

Focal lymphocytic adrenalitis in an elderly man. Courtesy of Prof. Stefano La Rosa, University of Insubria, Varese, Italy

Autoimmune lymphocytic adrenalitis is rare, but it is the most frequent cause of Addison disease. The lymphoplasmacytic infiltrate is associated with destruction of the adrenal cortex and becomes clinically apparent only when 90% of the cortex is destroyed [29, 230]. A recent genome wide association study of 1223 cases of autoimmune Addison disease (excluding individuals with autoimmune polyendocrine syndrome type-1) and 4097 healthy controls identified 9 independent risk foci including four foci seen in other autoimmune diseases (HLA, BACH2, PTPN22, and CTLA4) as well as LPP, SH2B3, SIGLEC5, UBASH3A, and two alterations in AIRE (Autoimmune Regulator gene) [231]. These associations explained 35–41% of the cases. Four of the 9 loci (LPP, SH2B3, SIGLEC5, and UBASH3A) had not previously been identified in association with autoimmune Addison disease [231]. The strongest risk locus in autoimmune Addison disease was found to be the HLA region and dominated by HLA-DQB1 [231].

IgG4-related disease of the adrenal glands is very uncommon, and only anecdotal cases have been reported, presenting as pseudotumor masses that, at histological analysis, showed the characteristic features of IgG4-RD (storiform fibrosis, dense plasma cell infiltrate, high IgG4/IgG ratio, and high numbers of IgG4 + plasma cells) [232, 233].

Medications can be associated with endocrine dysfunction, including the adrenal gland [234]. Immune checkpoint inhibitors may be associated with endocrine abnormalities in 25–50% of individuals on these medications [8]. Tyrosine kinase inhibitors targeting the vascular endothelial growth factor receptor have also been associated with adrenal insufficiency [235].

Conclusions

Infectious and inflammatory disorders of the endocrine system are relatively rare conditions that encompass a spectrum of etiologies, clinical manifestations, and prognoses. The pathologist should be aware of their morphological features, in order to guide appropriate patient management. Distinguishing among inflammatory conditions of different etiologies/pathogenesis or, in the case of mass-forming inflammation, excluding a neoplastic process is an important task in diagnostic daily practice.