In this paper we propose a novel method for demographic classification and present an image retrieval system that can retrieve facial images by demographic information that includes gender, age and ethnicity. The demographic information is extracted from human faces by demographic classifiers that are learned from boosting Haar feature based Look-Up-Table type weak classifiers. The image retrieval system consists of three modules, face detection, facial feature landmark extraction and demographic classification. Experiment results are reported to show its potential in the management of a large facial image database for online retrieval applications.