Portable X-ray fluorescence (PXRF) spectrometer as a new type of equipment for quick test has a prominent prospect, but there are also shortcomings of detection range and limition, therefore this paper studied the suitability of PXRF spectrometer in monitoring soil environmental qualities of heavy metals included Cr, Ni, Cu, Zn, Pb, Cd, As and Hg, the aim of this paper is to screen elements which can be detected by this kind of instrument and evaluate the accuracy of test results. The research method is to test heavy metals contaminated soil samples by PXRF spectrometer, evaluate the accuracy of test results of PXRF compared with inductively coupled plasma mass(ICP-MS), then establish linear regression relationship between analysis results of PXRF and ICP-MS method. The results show that, (1) When measuring the soil environmental quality, PXRF spectrometer is appropriate to measure the content of Pb, Zn, Cr and Cu, except Ni, Cd, As and Hg. (2) Compared with the test value of ICP-MS, the test value of Pb and Zn is lower, the test value of Cu is higher, the test value of Cr is too high, all the results of PXRF spectrometer should be linear corrected according to standard analysis method. In conclusion, PXRF spectrometer is suitable for monitoring environmental quality of soil which is polluted by heavy metal such as Pb, Zn, Cr and Cu, it is an analysis means with characteristics of simple and rapid, accurate and reliable. The innovation of this article is that reasonable avoiding the shortcomings of PXRF spectrometer as using the instrument to monitor soil environmental quality, at last improved the application value of test results.