Abstract Al-Ghazali's thoughts on the philosophy of Islamic education and character building have deep significance and are relevant in the context of society. This article discusses the contribution of Al-Ghazali, a prominent medieval scholar who offered a comprehensive view of education as a means of getting closer to God and character as the core of Islamic education to global religious thought. The main focus is on the purpose of education according to Al-Ghazali, which includes not only the attainment of worldly happiness but also the happiness of the hereafter. The article also explores the moral and ethical values that Al-Ghazali emphasized in character building. By considering the relationship between individual and social re...