Maternal antibiotics administration (MAA) is among the widely used therapeutic approaches in pregnancy. Although published evidence demonstrates that infants exposed to antibiotics immediately after birth have altered recognition memory responses at one month of age, very little is known aboutin uteroeffects of antibiotics on the neuronal function and behavior of children after birth. Therefore, this study aimed to evaluate the impact of MAA at different periods of pregnancy on memory decline and brain structural alterations in young mouse offspring after their first month of life. To study the effects of MAA on 4-week-old offspring, pregnant C57BL/6J mouse dams (2–3-month-old;n= 4/group) were exposed to a cocktail of amoxicillin (205 mg/kg/day) and azithromycin (51 mg/kg/day) in sterile drinking water (daily/1 week) during either the 2nd or 3rd week of pregnancy and stopped after delivery. A control group of pregnant dams was exposed to sterile drinking water alone during all three weeks of pregnancy. Then, the 4-week-old offspring mice were first evaluated for behavioral changes. Using the Morris water maze assay, we revealed that exposure of pregnant mice to antibiotics at the 2nd and 3rd weeks of pregnancy significantly altered spatial reference memory and learning skills in their offspring compared to those delivered from the control group of dams. In contrast, no significant difference in long-term associative memory was detected between offspring groups using the novel object recognition test. Then, we histologically evaluated brain samples from the same offspring individuals using conventional immunofluorescence and electron microscopy assays. To our knowledge, we observed a reduction in the density of the hippocampal CA1 pyramidal neurons and hypomyelination in thecorpus callosumin groups of micein uteroexposed to antibiotics at the 2nd and 3rd weeks of gestation. In addition, offspring exposed to antibiotics at the 2nd or 3rd week of gestation demonstrated a decreased astrocyte cell surface area and astrocyte territories or depletion of neurogenesis in the dentate gyrus and hippocampal synaptic loss, respectively. Altogether, this study shows that MAA at different times of pregnancy can pathologically alter cognitive behavior and brain development in offspring at an early age after weaning.