Two 1-allyl-3-butylimidazolium ionic liquids were synthesized and polymerized in- column as stationary phases in capillary gas chromatography. The influences of different counter ions (hexafluorophosphate, tetrafluoroborate) were studied. The results indicated that 1-allyl-3-butyl- imidazolium ionic liquids possessed good column coating properties and chromatographic separation abilities after polymerized in-column. The Grobs mixture, alcohols and alkanes and aromatic position isomers, such as xylene, nitrotoluene, dichlorobenzene and cresol were separated well. These polymeric ionic liquids gave potential to separate some complex compounds including alcohol, amine, ester etc.