The main difference between electroplating and electropolishing is that electroplating involves depositing a thin layer of metal onto a substrate, while electropolishing involves selectively removing a thin layer of metal from a substrate to improve its surface finish.