A 3D metal–organic framework, featuring three kinds of cation channels, was obtained through an ionothermal reaction. Investigation on its temperature-dependent conductivity indicates the contribution of order and disorder of the Emim+ (Emim+ = 1-ethyl-3-methyl imidazolium bromide) in the channel to its conductivity.