In recent years, rare-earth metals with triply oxidized state, lanthanide ions (Ln3+), have been demonstrated as dopants, which can efficiently improve the optical and electronic properties of metal halide perovskite materials. On the one hand, doping Ln3+ ions can convert near-infrared/ultraviolet light into visible light through the process of up-/down-conversion and then the absorption efficiency of solar spectrum by perovskite solar cells can be significantly increased, leading to high device power conversion efficiency. On the other hand, multi-color light emissions and white light emissions originated from perovskite nanocrystals can be realized via inserting Ln3+ ions into the perovskite crystal lattice, which functioned as quantum cutting. In addition, doping or co-doping Ln3+ ions in perovskite films or devices can effectively facilitate perovskite film growth, tailor the energy band alignment and passivate the defect states, resulting in improved charge carrier transport efficiency or reduced nonradiative recombination. Finally, Ln3+ ions have also been used in the fields of photodetectors and luminescent solar concentrators. These indicate the huge potential of rare-earth metals in improving the perovskite optoelectronic device performances.