The paper presents a machine learning ensemble model designed for detecting cyberbullying in social media posts, achieving a notable accuracy rate of 94.00% by utilizing stacking ensemble techniques that combine five different algorithms. Various feature extraction methods were employed, including bag of words and word embeddings, to enhance the detection capabilities of aggressive tweets. This study emphasizes the critical need for automated systems to identify and mitigate cyberbullying, motivated by its growing prevalence and detrimental effects on victims.