A method of rapid and nondestructive determination of cimetidine tablets was established by ultraviolet-visible diffuse reflection spectrum coupled with support vector regression (UV-Vis DRS-SVR).By spectral pretreatment,outlier detection and the optimization of parameter of RBF kernel functiong,regularization coefficientC,insensitive loss functionp,SVR model was established in range of 220.17~980.80 nm withg= 0.02,C= 20,p=0.03.The determination coefficients (R2) of calibration set and prediction set were 0.978 2 and 0.987 1,respectively. Compared with PLS model,the SVR model had better prediction performance for 5 blind samples and 15 commercial cimetidine tablet samples with a RMSEP of 0.036 0 and 0.044 8,respectively.The results showed that UV-Vis DRS-SVR is feasible to apply for quantitative analysis of active compound in pharmaceutical formulations, being expected to be used for the quality control in the process of production of pharmaceutical formulations.