Assay of naoning pian was reported by multi-wavelength linear regression method in this paper. The program was edited by BASIC. The recoveries and RSD of pyramidon and caffeine were 98.03%-100.9%,1.0% and 97.77%-99.39%,0.61%,respectively. This method could be used for the determination of two components in naoning pian without separation. The method was simple, rapid, and results were satisfactory.