Nanostructured proton conductors having hexagonal and cubic structures were constructed by the self-assembly of zwitterionic ionic liquids. These nanostructured proton conductors all exhibited an assembled-structure dependent proton conduction behavior.