We have studied the structure of two ionic liquids confined between negatively charged mica sheets. Both liquids exhibit interfacial layering, however the repeat distance is dramatically different for the two liquids. Our results suggest a transition from alternating cation-anion monolayers to tail-to-tail cation bilayers when the length of the cation hydrocarbon chain is increased