This paper presents a systematic exploration of modifying the electrocaloric effect (ECE) in BaTiO3 ceramics by rare-earth substitution (Ba0.94R0.04TiO3, R = La, Ce, Nd, Sm, Eu, Gd, Dy, Er). All samples exhibit a dense microstructure after sintering in the temperature range of 1350-1450 degrees C, and they exhibit a high resistivity of similar to 10(11) Omega cm except for Er doped samples due to the amphoteric incorporation of Er. The rare-earth doping changes the lattice symmetry where the tetragonal distortion enhances with the decrease in the rare-earth ionic radius. Accordingly, the ferroelectric and ECE properties are modified and the first-order phase transition is diffused. The Curie temperature and latent heat increases, and the polarization intensity is strengthened with the decrease of the doping ionic radius, while the peak of ECE Delta T widens and shifts to a higher temperature. The samples show a large ECE value of similar to 0.35 K m MV-1 over a wide temperature range from room temperature to 140 degrees C, which provides a series of top-level ECE materials.