This paper attempted the feasibility to determine component concentrations in multicomponent mixtures with terahertz time-domain spectroscopy (THz-TDS) combined with different partial least-squares regression (PLS) algorithms. First, THz absorbance spectra for 75 ternary mixtures of anhydrous theophylline, lactose monohydrate and magnesium stearate were investigated using THz-TDS in the frequency range from 0.1 to 3.0 THz, then four different PLS methods, including interval PLS (iPLS), backward interval PLS (biPLS), synergy interval PLS (siPLS) and moving window PLS (mwPLS), were employed to perform quantitative analysis of anhydrous theophylline concentrations in ternary mixtures. The performance of mwPLS model is the best in contrast to other PLS models and full spectrum PLS. The optimal model was achieved with higher correlation coefficient for calibration (RC) of 0.9842, higher correlation coefficient for prediction (RP) of 0.9851, lower root mean square error of cross-validation (RMSECV) of 3.8241, and lower root mean square error of prediction (RMSEP) of 4.1540. Experimental results demonstrate that THz spectroscopy combined with PLS algorithms could be successfully applied as an effective nondestructive tool for the quantitative analysis of component concentrations in multicomponent mixtures, and mwPLS is an ideal method for reducing the complexity and improving the performance of the model.