A room-temperature ionic liquid containing macrocyclic compound pillar[5]arene in its core was synthesized. The ionic liquid showed high thermal stability, moderate ionic conductivity and solvent-free complexation ability with the guest tetracyanoethylene.