 This research developed a new model for evaluating the hole cleaning index, HCI, in deviated and horizontal wells. The HCI model was used to optimize drilling performance by providing an automated and real-time evaluation of hole cleaning based on drilling parameters and drilling fluid rheology. The model was successfully implemented in three wells, where it improved drilling performance by up to 50%. Additionally, the model was able to identify hole cleaning efficiency during a stuck pipe incident in one well, demonstrating its versatility and potential use as a real-time model for optimizing drilling performance. This article was authored by Muhammad al-Rubai'i, Muhammad al-Shargabi, and Deyfer al-Sharri.