Background: The pathogenesis of sarcoidosis involves T cells and B lymphocytes that produce autoantibodies. We compared the expression of different T and B cell subsets in sarcoidosis and three B-mediated rheumatic diseases that can affect the lungs in an attempt to identify similarities and differences that distinguish these diseases. Methods: The study included patients referred to Siena University Hospital’s respiratory disease and rheumatology units. Patients were enrolled prospectively and consecutively. Healthy volunteers were also included. Multicolor flow cytometry was performed on phenotype T and B cell subsets. Multivariate analysis was carried out to reduce the dimensionality of the data. Results: Fifteen patients had a diagnosis of sarcoidosis, fourteen idiopathic inflammatory myopathies (IIM), five granulomatosis with polyangiitis (GPA), ten microscopic polyangiitis (MPA), and seven were controls. Thirty-five T and B cell subsets were phenotyped, 15 of which were significantly different in sarcoidosis, B-mediated rheumatic disorders, and controls. Principal components analysis distinguished the four groups of patients with a total explained variance of 54.7%. A decision tree was constructed to determine which clustering variables would be most useful for distinguishing sarcoidosis, IIM, MPA, and GPA. The model showed regulatory T helper cells (Th-reg) > 5.70% in 91% of sarcoidosis patients as well as Th-reg ≤ 5.70 and Th17 > 43.27 in 100% of MPA. It also showed Th-reg ≤ 5.70, Th17 ≤ 43.27 and Tfh-reg ≥ 7.81 in 100% of GPA patients, and Th-reg ≤ 5.70, Th17 ≤ 43.27 and Tfh-reg ≤ 7.81 in 100% of IIM patients. Conclusion: The immune cell profile sheds light on similarities and differences between sarcoidosis and B-mediated rheumatic diseases. Sarcoidosis and autoimmune diseases show similar patterns of cellular immune dysregulation, suggesting a common pathogenic pathway that may provide an opportunity for further understanding autoimmunity and exploring biological therapies to treat sarcoidosis.