Surge and swab pressures are frequently produced during various stages of well construction, including casing running and tripping operations. Managing downhole pressure within the mud window is crucial for mitigating the risks associated with drilling operations including wellbore failure, lost circulation, kicks, and well control issues. The primary objectives of this study are to emphasize the theoretical foundation of surge and swab pressures, forecast the optimum pipe and casing tripping speeds, as well as identify the changes in surge and swab pressures (i.e., equivalent circulating density-ECD) for both open-ended and close-ended drill strings. To achieve these goals, a steady state surge and swab model was used to simulate a case study in the Rumaila oil field, located in Southern Iraq, by utilizing landmark-well plan software. The results of this study support the evidence that the string trip speed plays a substantial role in controlling the swab and surge pressures. It was found that pulling out the 5" drill string from the 12 1/4" open hole section drilled with a 9.51 ppg water-based mud at a speed of 10 sec/stand resulted in a swab ECD below the formation pore pressure against all formations, thus resulting in a kick. Moreover, it was found that the annular clearance had a significant impact on the surge and swab ECD whereas the surge ECD at the bit was bigger than that obtained at the previous hole casing shoe. For example, in our case study pulling speeds ranging from 10-190 sec/stand for the 9 5/8" casing could cause the swab ECD to be below the formation pore pressure gradient at total depth (TD), which is 9.23 ppg. While it was safe to run the same casing through the same interval within 55-190 sec/stand. Furthermore, the results emphasized high trip speeds ranging between 10-30 sec/stand, where for close-ended drill strings, greater surge ECD was observed compared to the open-ended ones. The surge ECD of a 5" close-ended drill string at 30 sec/stand (60 m/min) at bit was 9.92 ppg, while an open-ended string at the same speed was 9.9 ppg.