A novel determination method using flow-through cartridge purification and ultra-high-performance liquid chromatography coupled to tandem mass spectrometry (UPLC-MS/MS) was developed for the identification and quantification of 30 mycotoxins (aflatoxin B1, B2, G1, G2, sterigmatocysin, T-2 toxin, diacetoxyscirpenol, roquefortine C, methylergonovine, ergocornine, lysergol, enniatin A, enniatin A1, enniatin B, enniatin B1, beauvericin, deoxynivalenol, 3-acetylDeoxynivalenol, 15-acetylDeoxynivalenol, patulin, verruculogen, neosolaniol, gliotoxin, HT-2 toxin, wortmannin, zearalenone, α-zearalenol, β-zearalenol, α-zearalanol, and β-zearalanol) in feedstuffs. Mycotoxins were extracted from sample by 0.1% formic acid aqueous solution/acetonitrile (16/84 v/v), then purified by a Cleanert® MC clean-up column. As a result, the pigments and other matrices were efficient removed from the sample extract solution. The purified eluate was collected, then evaporated and redissolved by 0.1% formic acid aqueous solution/acetonitrile (70:30 v/v) for UPLC-MS/MS detection. A BEH Shield RP18 chromatographic column was employed for separation of 30 mycotoxins in a total of 14 min. Multiple-reaction monitoring (MRM) mode was applied for qualitative and quantitative analysis, and matrix calibration curves obtained with the external-standard method was used for quantitation of target analytes. Under optimized conditions, the linearity range was from 2 to 1000 ng/g, and the limit of quantification of the developed method was from 2 to 50 ng/g. The recoveries of 30 mycotoxins spiked in urine samples were from 72.0% to 118.5%, and the relative standard deviation was below 20%. The method was also well approved by certified reference sample, and applied on the real feedstuff samples testing successfully.