Congenital hypothyroidism (CH) will cause cognitive impairment in the condition of delayed treatment. The hippocampus is one of the most affected tissues by CH, in which the functional structures of hippocampal neurons manifest deficiency due to aberrant expression of effector molecules. The Ca2+/Calmodulin-dependent protein kinase, CaMKIV, is downregulated in the hippocampal neurons, influencing the growth of dendritic spines in response to CH. However, the underlying mechanism is not fully elucidated. In the present study, the early growth response factor 3 (EGR3) was regulated by CaMKIV in the hippocampal neurons of CH rat pups, as was analyzed by transcriptome sequencing and in vitro cell experiments. EGR3 localized within hippocampal neurons in CA1, CA3, and dentate gyrus regions. Deficient EGR3 in the primary hippocampal neurons significantly reduced the density of dendritic spines by downregulating the expression of BDNF, and such effects could be rescued by supplementing recombinant BDNF protein. Taken together, CH mediates cognitive impairment of pups through the inactivation of CaMKIV in the hippocampal neurons, which decreases the expression of EGR3 and further reduces the production of BDNF, thereby impairing the growth of dendritic spines. Identifying CaMKIV/EGR3/BDNF pathway in the hippocampal neurons in the context of CH will benefit the drug development of intellectual disability caused by CH.