BackgroundFood safety has always been a great concern, and the detection of additives is vital to ensuring food safety. Therefore, there is a necessity to develop a method that can quickly and efficiently separate and detect additives in food. High performance liquid chromatography is widely used in the analysis and testing of food additives. Ionic liquids have attracted wide attention in the preparation of high performance liquid chromatography stationary phases owing to their high stability, low vapor pressure and adjustable structure. ResultsWe developed a novel dicationic imidazole ionic liquid stationary phase for the simultaneous determination of organic preservatives (sodium benzoate, potassium sorbate) and inorganic preservatives (nitrate and nitrite) in foodstuffs under mixed-mode chromatography. The method had the advantages of easy operation, high reproducibility, good linearity and precision. In the detection of these four preservatives, the limit of detection ≤0.4740 mg⋅L−1 and the limit of quantification ≤1.5800 mg⋅L−1. The intra-day and inter-day precision were less than 4.02%, and the recovery rate was 95.90∼100.19 %. At the same time, we also characterized the stationary phase, explored the mechanism and evaluated the chromatographic performance. The stationary phase was able to operate under the mixed mode of reversed phase/hydrophilic interaction/ion exchange chromatography, and it was capable of separating hydrophilic substances, hydrophobic substances, acids, and inorganic anionic substances with good separation efficiency and had high column efficiency. SignificanceIn summary, the stationary phase has a promising application in the routine analysis of organic and inorganic preservatives in food. In addition, the stationary phase has good separation ability for hydrophilic, hydrophobic, ionic substances and complex samples, making it a prospective material for chromatographic separation.