The microstructure of metallic nickel electrodeposited from an ionic liquid onto a copper substrate may be tuned and transition from amorphous to crystalline state can be achieved by regulating water content in the bath.