Our results suggest that thymomas associated with autoimmune disorders contain a significant population of CD20+ intratumoral B lymphocytes. Here, KRT20 is linked to autoimmune disease.