It is known that the primary etiological agents associated with bovine mastitis show high levels of antimicrobial resistance. In this paper, we studied a possible alternative to antimicrobial treatment, Aloe barbadensis Miller ( A. vera). Our goal was to determine the viability of bacteria upon treatment with a methanolic extract of A. vera gel, rich in anthraquinones such as aloin A, aloin B, and aloe emodin. To this purpose, we used fluorescence spectrometry to study the following bacteria: Staphylococcus aureus, Escherichia coli, Streptococcus uberis, and Methicillin-resistant Staphylococcus aureus (MRSA). The results show that treatment with A. vera gel extract disrupted the cell membrane causing lysis in 75% of Staphylococcus aureus, in 88% of E. coli, in 97% of Streptococcus uberis, and in 88% of MRSA cells. Cell membrane disruption is attributed to the presence of anthraquinones. Further study is needed to determine whether other phenolic compounds present in the extract, influencing antimicrobial activity, could be used to develop pharmaceutical formulations to treat bovine mastitis.