High-temperature superconducting (HTS) pinning Maglev systems are advantageous due to their ability to achieve large-scale passive-stabilized levitation. Elevated temperatures can lead to a reduction in the magnetic characteristics of the permanent magnet guideway (PMG), which may pose a risk to the safe functioning of HTS Maglev trains. In order to guarantee the secure and dependable functioning of HTS Maglev trains, it is necessary to augment the high-temperature stability of the PMG. This study involves simulating the high-temperature stability of present PMGs and developing a new PMG that exhibits greater performance. Magnetic field simulation is employed to compute the demagnetization of permanent magnets (PMs) in several typical PMGs, encompassing both reversible and irreversible scenarios, in order to examine the factors contributing to demagnetization and evaluate the thermal stability of the PMGs at elevated temperatures. The grade, size, and magnetization direction of the Halbach-type PMG are subsequently optimized and compared to the original Halbach-type PMG. Following this, ideas for further optimization are provided. The optimized Halbach-type PMG reduces the overall decay ratio of the highest magnetic flux density B z by 5.77% compared to the existing Halbach-type PMG. Additionally, the irreversible decay ratio is decreased by 6.13% at 85 degree celsius. The levitation force decay ratio on the HTS bulks above the optimized Halbach-type PMG is decreased by 8.11% compared to the existing Halbach-type PMG. Additionally, the irreversible decay ratio is reduced by 9% at 85 degree celsius. This study provides valuable insights for enhancing the efficiency and performance of PMGs and HTS Maglev trains over extended periods of operation.