A simple direct analysis in a real time-mass spectrometry (DART-MS) method was developed for the rapid determination of four Sudan dyes (I–IV) in chili powder.