Astrocytes and microglia and their polarization are thought to contribute to the progression of epilepsy. One of the processes affecting polarization is neuroinflammation, which plays an important role in epileptogenesis. However, the specific mechanisms of its involvement in shifting the pro- and anti-inflammatory reactivation of astro- and microglia have not been clarified. In this study, we examined the effect of 7-day interleukin-1 receptor antagonist (anakinra) administration on glial cell polarization during the latent phase of the lithium-pilocarpine model in 7-week-old male Wistar rats. In temporal cortex, dorsal and ventral hippocampus the mRNA expression levels of the following genes were analyzed: (i) markers of astroglia (S100b) and microglia (Aif1) activation, (ii) astrocytic proteins involved in glutamate transport and metabolism (Slc1a3, Glul, Gja1), (iii) pro-inflammatory pathway interleukin-1β (Nlrp3, Il1b, Il1rn) and transforming growth factor β1 (Tgfb1), (iv) markers of astroglia polarization (Lcn2, S100a10, Gbp2, Ptx3), and (v) microglia polarization (Nos2 and Arg1). The mRNA expression levels of S100b and Aif1 were significantly increased, and anakinra administration did not reduce their overexpression. This indicates reactivation of astroglia and microglia regardless of the anakinra administered. The expression of Slc1a3, Glul, and Gja1 genes increased in the hippocampus; anakinra administration did not affect their hyperexpression, but promoted increased expression of Gja1 in the temporal cortex. The mRNA production of Lcn2, S100a10, Gbp2, Ptx3, Nlrp3, Il1b, Il1rn and Tgfb1 increased in all structures. Administration of anakinra reduced the gene expression of Il1b. Among the markers of microglia polarization, downregulation of Arg1 expression in the dorsal hippocampus and Nos2 expression in the temporal cortex was detected. Anakinra administration enhanced the decrease in Nos2 expression and restored the level of Arg1 expression to control values. Thus, anakinra administration did not affect the intensity of glial cell reactivation, but improved M2 reactivation of microglia.