"Piezoelectric, ferroelectric, and dielectric ceramics are critical functional materials in a wide range of electronic devices, particularly in sensors, actuators, ultrasonic transducers, and energy harvesting systems. One of the most effective ways to improve the structure, properties, and performance of these materials, also known as electroceramics, is the doping of their perovskite (ABO3) crystal lattice with rare earth (RE) ions. In this review article, the effects of lanthanum (La), cerium (Ce), praseodymium (Pr), neodymium (Nd), samarium (Sm), europium (Eu), gadolinium (Gd), dysprosium (Dy), holmium (Ho), erbium (Er), and ytterbium (Yb) doping in PbZr1-xTixO3 (PZT) and related relaxor systems (Pb(Zn1/3Nb2/3)O3-PZT:PZN-PZT, Pb(Mg1/3Nb2/3)O3-PbTiO3:PMN-PT) as well as in lead-free families such as BaTiO3 (BT), (Bi,Na)TiO3 (BNT), (K,Na)NbO3 (KNN), (Ba,Ca)(Zr,Ti)O3 (BCZT), and AgNbO3 are compiled within a three-parameter framework consisting of ionic radius mismatch, A/B site selectivity, and donor-acceptor charge balancing. Most RE3+ ions, depending on radius matching, substitute for A-site cations (Pb2+, Ba2+, Bi3+, K+/Na+, Ag+); the resulting defect reactions (using Kröger-Vink notation) directly shape domain wall mobility and piezoelectric response. Light lanthanides such as La, Nd, and Sm, acting as donor dopants, significantly increase the piezoelectric charge constant, (d33), which is decisive in many electronic device applications (e.g., d33≈570 pC/N in La-doped 0.25PZN-0.75PZT; ≈1500 pC/N in Sm-doped PMN-PT), while heavy lanthanides such as Dy, Er, and Yb mostly occupy the B site in PZT and act as acceptors (hard dopants), which can increase the mechanical quality factor (Qm) and temperature stability, although this behavior is composition-dependent; amphoteric dopants in the Sm3+-Gd3+ range offer a mixed response between these two extremes. In lead-free systems, RE3+ doping improves fieldinduced strain, its temperature stability, and energy storage performance in BNT-based systems, the polymorphic phase boundary and temperature stability in KNN, Curie temperature (TC) stability in BT ceramics, the electromechanical response in BCZT compositions, and the antiferroelectricferroelectric phase balance in AgNbO3. Furthermore, by demonstrating that the same RE ion can exhibit opposite doping characters (donor, acceptor, or isovalent) in different compositions, a composition-specific doping strategy is proposed. In conclusion, RE doping provides a powerful and flexible material design strategy to optimize the performance of both lead-based and lead-free piezoelectric ceramics within the framework of soft/hard doping classification."