Abstract: Disclosed are a method and a system for matching an electroencephalogram and music files which compares the scaling index ? of an electroencephalogram with the long-range correlation index ?, and matches music file with the electroencephalogram if the scaling index and the long-range correlation index close to equal so as to find a music file matched with a measured electroencephalogram automatically. The method and system in accordance with the present invention may automatically find music files matching with human brain statements in real time by measuring an electroencephalogram, and then guide people relieve stress and relax effectively.