Direct analysis in real time mass spectrometry (DART-MS) was used to analyze ionic liquids (ILs) containing either imidazolium or phosphonium cations combined with different types of inorganic and organic anions. Ionic liquids were directly inserted into the ionization source using a glass probe without dissolution into organic solvents. Mass spectra of the ILs were collected in both positive and negative mode with a linear ion-trap instrument. The intact cation of the compound was typically the dominant peak in positive mass spectra and cluster ion formation was present. Some individual anions were not readily observed in the negative mass spectra (based on the type of anion); however, the mass difference of adjacent cluster ions equal the mass of a complete IL and the anion mass could be verified by subtracting the known cation mass. The degree and intensity of the cluster ion formations was found to be dependent on the nature of the specific ILs as well as the DART temperature gas stream.