The solid-state core of a heat pipe cooled reactor operates at high temperatures over 1000 K with thermal and irradiation-induced expansion during burnup. The expansion changes the gap thickness between the solid components and the material properties, and may even cause the gap closure, which then significantly influences the thermal and mechanical characteristics of the reactor core. This study developed an irradiation behavior model for HPRTRAN, a heat pipe reactor system analysis code, to introduce the irradiation effects such as swelling and creep. The megawatt heat pipe reactor MegaPower was chosen as an application case. The coupled irradiation-thermal-mechanical model was developed to simulate the irradiation effects on the heat transfer and stresses of the whole reactor core. The results show that the irradiation deformation effect is significant, with the irradiation-induced strains up to 2.82% for fuel and 0.30% for monolith at the end of the reactor lifetime. The peak temperatures during the lifetime are 1027.3K for the fuel and 956.2K for monolith. The gap closure enhances the heat transfer but caused high stresses exceeding the yield strength in the monolith.