A6B2O17 (A= Hf, Zr; B= Ta, Nb) high-entropy ceramics are prepared by a solid reaction method, and the temperature-dependent mechanical properties are in situ determined by a high-temperature three-point bending combined with the digital image correlation method. The results show that (Hf1/2Zr1/2)6(Ta2/3Nb1/3)2O17 (H1Z1T2N1) ceramics exhibit superior high-temperature mechanical properties. As the temperature increases from 25 °C to 1200 °C, the fracture toughness and fracture strength decrease from 3.19 MPa·m1/2 to 2.37 MPa·m1/2 and from 97.38 MPa to 72.48 MPa, respectively. The H1Z1T2N1 ceramics still maintain impressive mechanical properties at high temperatures due to the moderate grain size, low porosity and intergranular fracture. Furthermore, the higher entropy (9.61 R J/mol·K) of this ceramic leads to a significant high entropy effect, and the lattice distortion effects cause high-density dislocation regions, inducing a dislocation toughening mechanism.