A pharmaceutical composition comprising an extract of herb mixture is provided to increase dopamine, DOPAC, HVA, noradrenaline, HIAA, glutamic acid, GABA, serotonin, acetylcholine and choline, which are neurotransmitters of brain, influence the expression of gene involving with the metabolism of brain neurotransmitters to activate brain nerve, thereby being usefully used as medicines or health functional foods for improving brain function, learning ability and memory function. A pharmaceutical composition comprises an extract of a herb mixture consisting of Panax ginseng, Poria Cocos, Polygala tenuifolia, Acorus gramineus SOLAND, Gastrodia elata BLUME and Moschus in a weight ratio of 1-12:1-12:1-8:1-8:1-8:0.1-0.4 as an effective ingredient, wherein the extract is obtained by using a solvent selected from the group consisting of water, C1-4 alcohol and a mixture solvent thereof.