BackgroundThe term systemic juvenile idiopathic arthritis (sJIA) describes an autoinflammatory condition characterized by arthritis and severe systemic inflammation, which in later stages can transform into interleukin (IL)-17-driven autoimmune arthritis. IL-1 antagonists have been used with good efficacy in the early stages of sJIA.MethodsA whole transcriptome analysis of peripheral blood RNA samples was performed in six patients with sJIA and active systemic disease, before initiating treatment with the IL-1β receptor antagonist anakinra, and after induction of inactive disease, compared with a single-sample control cohort of 21 patients in several clinical stages of sJIA activity. Whole transcriptomes were compared longitudinally and interindividually including gene ontology and motif enrichment analysis of differentially expressed genes.ResultsThere were 741 transcripts were identified using a threshold with a p value <0.01 and a fold change > 2. HLADRB1 and CD74 were identified as the most strongly upregulated genes in inactive compared to active disease; CD177 expression was significantly enhanced in active disease compared to inactive disease. Motif enrichment analysis revealed STAT4, BCL6, and STAT3 as the most prominent transcription factors that were present during active disease. In addition, strong upregulation of the major histocompatability complex II (MHCII) ligand CD74 was found in both active and inactive sJIA compared to healthy controls.ConclusionUsing transcription factor motif enrichment, this study identifies novel putative pathways in sJIA (STAT4, BCL6) implicating B cell activation at an earlier stage than predicted in refractory disease. The implication of BCL-6 dependent pathways argues for occurrence of autoimmunity early within the process of sJIA chronification. Transcriptional regulation of HLA-DRB1, a recently described independent genetic risk factor, in combination with its cooperating partner CD74 in patients where sJIA is confirmed, supports pathogenic involvement in alterations in antigen presentation during sJIA.Electronic supplementary materialThe online version of this article (10.1186/s13075-018-1603-2) contains supplementary material, which is available to authorized users.