Lanthanum, yttrium, and cerium hydrides are the three most well-known superconducting binary hydrides, which have gained great attention in both theoretical and experimental studies. Recent studies have shown that ternary hydrides composed of lanthanum and yttrium can achieve high superconductivity around 253 K. In this study we employ the evolutionary-algorithm-based crystal structure prediction (CSP) method and first-principles calculations to investigate the stability and superconductivity of ternary hydrides composed of (Y, Ce) and (La, Ce) under high pressure. Our calculations show that there are multiple stable phases in Y-Ce-H and La-Ce-H hydrides, among which P4/mmm-YCeH 8 , P4/mmm-LaCeH 8 , R 3m-YCeH 20 , and R 3m-LaCeH 20 possessing H 18 or H 32 clathrate structures can maintain both of the thermodynamic and dynamic stabilities. In addition, we also find that these phases also maintain a strong resistance to decomposition at high temperature. Electronphonon coupling calculations show that all of these four phases can exhibit high-temperature superconductivity. R 3m-YCeH 20 is predicted to have a superconducting transition temperature (T c ) as high as 246 K at 350 GPa. The T c value of R 3m-LaCeH 20 at 250 GPa is about 233 K, which is slightly smaller than that of R 3m-YCeH 20 . However, it is found that R 3m-LaCeH 20 can be stabilized at 200 GPa, making the high-pressure synthesis of LaCeH 20 easier.