Double pipe heat exchangers (DPHEs) are crucial for effective heat transfer between two fluids in industrial processes, enhancing energy recovery and optimizing thermal performance. This study aims to enhance the efficiency of DPHEs by incorporating extended pin fins. DPHEs are vital in industrial applications for their efficient heat transfer, but optimizing their performance remains challenging. Extended pin fins, which are minor protrusions added to the heat exchanger’s surface, increase the surface area for heat transfer. A numerical study on DPHEs with pin fins of varying length ratios (R=1, 2, 3, and 4) is conducted, validating our model by comparing results with prior experimental data. Parameters such as Nusselt number (Nu), friction factor, thermal–hydraulic performance factor (TPF), and exergy efficiency across Reynolds numbers from 4400 to 9400 are calculated. The results indicate that pin fins significantly enhance heat transfer. The Nu increases by 163 %-242 % for different length ratios, while the friction factor decreases, showing reductions of 161 %-290 %. Exergy efficiency improves by 216 % with an R=4 design compared to a standard DTHE, and the TPF increases by 152 % with the R=4 configuration. These findings demonstrate the substantial benefits of using extended pin fins in improving the thermal performance of DPHEs.