In the adult brain, activity‐dependent myelin plasticity is required for proper learning and memory consolidation. Myelin loss, alteration, or even subtle structural modifications can therefore compromise the network activity, leading to functional impairment. In multiple sclerosis, spontaneous myelin repair process is possible, but it is heterogeneous among patients, sometimes leading to functional recovery, often more visible at the motor level than at the cognitive level. In cuprizone‐treated mouse model, massive brain demyelination is followed by spontaneous and robust remyelination. However, reformed myelin, although functional, may not exhibit the same morphological characteristics as developmental myelin, which can have an impact on the activity of neural networks. In this context, we used the cuprizone‐treated mouse model to analyze the structural, functional, and cognitive long‐term effects of transient demyelination. Our results show that an episode of demyelination induces despite remyelination long‐term cognitive impairment, such as deficits in spatial working memory, social memory, cognitive flexibility, and hyperactivity. These deficits were associated with a reduction in myelin content in the medial prefrontal cortex (mPFC) and hippocampus (HPC), as well as structural myelin modifications, suggesting that the remyelination process may be imperfect in these structures. In vivo electrophysiological recordings showed that the demyelination episode altered the synchronization of HPC‐mPFC activity, which is crucial for memory processes. Altogether, our data indicate that the myelin repair process following transient demyelination does not allow the complete recovery of the initial myelin properties in cortical structures. These subtle modifications alter network features, leading to prolonged cognitive deficits in mice.