This research addresses cyberbullying detection on Twitter, focusing on Peruvian Spanish, by creating a dataset and comparing four machine-learning models. With a comprehensive approach, it seeks to overcome the lack of studies focused on the linguistic particularities of Latin America and the Caribbean. Its objective is to provide results that contribute to developing more effective strategies to combat cyberbullying in the region.