The design temperature of pipeline can up to 700℃ in the thorium-based molten salt reactor(TMSR).Thus, the high temperature structural design code ASME-NH is adopted for the structural integrity evaluation. The load-controlled stress, the total accumulated inelastic strain as well as the creep-fatigue damage need to be checked in evaluating the structural integrity for elevated temperature. The software ANSYS is used to do the finite element analysis of the overall loop system. The calculation results demonstrate that the demands of the pipe stress are satisfied by repeated optimizing.