Mass spectrometric analysis of non-volatile salts containing samples remains challenging due to salt-induced ion suppression and contamination. This challenge is even more pronounced for a liquid chromatography-mass spectrometry analysis, where the accumulation of salts in the transmission system poses an ongoing problem. In this study, a novel thermal assisted recrystallization ionization mass spectrometry (TARI-MS) device was developed to achieve efficient on-line desalting and prolonged analysis of saline samples. The core component of this device was a heated plate positioned between the electrospray unit and the MS inlet. The desalting mechanism was demonstrated as the spontaneous separation of target molecules from salts during the “crystallization” process. After optimization, the angle between the nebulizer and the heated plate was 45°; the distance between the front end of the heated plate and the MS inlet was 2 mm; the distance between the front edge of the heated plate and the center of the sample spray projected onto the heating plate was 3 mm; the distance between the emitter of nebulizer and the heated plate was 3 mm. TARI-MS realized direct analysis of eight drugs dissolved in eight commonly used non-volatile salts solutions (up to 0.5 mol/L). The high sensitivity, repeatability, linearity, accuracy, and intra- and inter-day precision of TARI-MS confirm its reliability as a robust tool for the analysis of saline samples. Furthermore, TARI-MS allowed continuous analysis of salty eluates of LC for up to nearly 1 h without maintenance and verified the feasibility of LC-MS analysis through detecting a five-drug mixture and a crude aripiprazole product. Finally, six impurities in the crude aripiprazole product were successfully detected by LC-TARI-MS. The established method holds promise for applications across academic and pharmaceutical domains.