Thermal stress analysis of the buried pipeline is an integral part of pipeline design and integrity analysis. Pipeline design code (e.g. CSA Z662) provides guidance on the thermal stress analysis of restrained and unrestrained pipe sections. However, a buried pipeline bend is more likely to be partially restrained, as the pipe is free to expand longitudinally, but the expansion is restrained by the pipe-soil interaction. No clear guidance is provided in the design code for a partially restrained condition.