Abstract: This study proposes a novel approach to optimizing inventory management in retail companies by integrating a machine learning-based demand forecasting model using the XGBoost algorithm.