Ions are charged particles, but ionic compounds can only conduct electricity if their ions are free to move. So ionic compounds do not conduct electricity when they are solid, but they do conduct electricity when they are dissolved in water or when they are melted.