Experiments on the model of foraging behavior formation under conditions of free choice (T-maze) revealed learning failure against the background of reduced motor activity in the offspring of rats exposed to tobacco smoke on gestation days 1-20. Afobazole administered to pregnant rats orally in doses of 1 or 10 mg/kg daily during the whole gestation and/or entering rat pup body with breast milk from mothers receiving 200 mg/kg to day 20 of their life normalized their learning capacity. The formation of short-term and long-term memory in animals receiving afobazole did not differ from the control. Hence, afobazole corrects cognitive disorders in rats exposed to tobacco smoke during prenatal development.