This paper reviews and discusses the error factors in quantitative total reflection x‐ray fluorescence analysis, primarily with regard to the surface contamination of silicon wafers. The error factors were classified into three origins: instrumental, sample and data processing. The instrumental error factors originate from source x‐ray stability, accuracy of the mechanical glancing angle, position accuracy of sample stage and spurious peaks from the detection system. The sample error factors arise from lateral and depth distribution of the analyte, surface roughness and diffraction of the primary x‐rays. The data processing error factors are from interfering peaks and background definition. The accuracy and detection limit are affected by all the error sources listed above. Of these factors, the depth distribution of the analyte is the most important, because this factor is often overlooked and because it is difficult to control. Copyright © 1999 John Wiley & Sons, Ltd.