In a branch pipe with one closed end, the cavity flow penetrates into the branch pipe from the main loop and a thermal boundary layer occurs because the cavity flow is a hot fluid, but heat removal causes a colder fluid in the branch pipe. This thermal stratification may affect the structural integrity. Therefore, a pipe design standard to suppress thermal fatigue should be established. The pipe design standard consists of the maximum penetration depth L sv and the minimum penetration depth L sh . In order to establish an evaluation method for L sh , a visualization test and a temperature fluctuation test were carried out. A theoretical formula for thermal stratification was introduced from the heat balance model. Then the model was used to obtain an empirical equation from the map of fluid temperature fluctuation. This method can predict the vortex penetration depth by cavity flow in horizontal branch pipes.