The determination of mechanical properties plays a crucial role in utilizing composite materials across multiple engineering disciplines. Recently, there has been substantial interest in employing artificial intelligence, particularly machine learning and deep learning, to accurately predict the mechanical properties of composite materials. This comprehensive review paper examines the applications of artificial intelligence in forecasting the mechanical properties of different types of composites. The review begins with an overview of artificial intelligence and then outlines the process of predicting material properties. The primary focus of this review lies in exploring various machine learning and deep learning techniques employed in predicting the mechanical properties of composites. Furthermore, the review highlights the theoretical foundations, strengths, and weaknesses of each method used for predicting different mechanical properties of composites. Finally, based on the findings, the review discusses key challenges and suggests future research directions in the field of material properties prediction, offering valuable insights for further exploration. This review is intended to serve as a significant reference for researchers engaging in future studies within this domain.