A novel fully automated method based on dual column switching using turbulent flow chromatography followed by liquid chromatography with tandem mass spectrometry was developed for the determination of aflatoxin B1 , B2 , G1 , and G2 in corn powder, edible oil, peanut butter, and soy sauce samples. After ultrasound-assisted extraction, samples were directly injected to the chromatographic system and the analytes were concentrated into the clean-up loading column. Through purge switching, the analytes were transferred to the analytical column for subsequent detection by mass spectrometry. Different types of TurboFlow(TM) columns, transfer flow rate, transfer time were optimized. The limits of detection and quantification of this method ranged between 0.2-2.0 and 0.5-4.0 μg/kg for aflatoxins in different matrixes, respectively. Recoveries of aflatoxins were in range of 83-108.1% for all samples, matrix effects were in range of 34.1-104.7%. The developed method has been successfully applied in the analysis of aflatoxin B1 , B2 , G1 , and G2 in real samples.