PURPOSE: A pharmaceutical composition containing ginger extract or shogaol is provided to prevent or treat learning disorder or memory disorder. CONSTITUTION: A pharmaceutical composition for oral administration for preventing or treating learning disorder or memory disorder contains a compound of chemical formula 1 and pharmaceutically acceptable carrier thereof. A food composition for improving learning or memory contains the compound of chemical formula 1 as an active ingredient. The compound of chemical formula 1 is shogaol isolated from ginger extract. The ginger extract is an ethanol extract, n-hexane fraction, ethyl acetate fraction, butanol fraction, or water fraction.본 발명은 생강 추출물 또는 쇼가올; 및 약학적으로 허용가능한 담체를 포함하는, 학습 장애 또는 기억력 장애의 예방 또는 치료용 약학 조성물 또는 기억력 증진용 약학 조성물을 제공한다. 또한, 본 발명은 생강 추출물 또는 쇼가올을 유효성분으로 포함하는, 학습 장애 또는 기억력 장애의 개선 또는 증상완화용 식품 조성물 또는 학습 또는 기억력 증진용 식품 조성물을 제공한다.생강 추출물 또는 쇼가올을 포함하는 본 발명에 따른 약학 조성물 및/또는 식품 조성물은 학습 장애 또는 기억력 장애를 예방 또는 치료할 수 있으며, 또한 학습 또는 기억력을 증진시킨다.