Corals harbor a wide diversity of bacteria associated with their mucus. These bacteria can play an important role in nutrient cycling, degradation of xenobiotics and defense against pathogens by producing antimicrobial compounds. However, the diversity of the cultivable heterotrophic bacteria, especially in the Brazilian coral species, remains poorly understood. The present work compares the diversity of cultivable bacteria isolated from the mucus and surrounding environments of four coral species present along the Brazilian coast, and explores the antibacterial activity of these bacteria. Bacteria belonging to the phyla Proteobacteria, Firmicutes, Actinobacteria and Bacteroidetes were isolated. The mucus environment presented a significantly different bacteria composition, compared to the water and sediment environments, with high abundance of Alcanivorax, Acinetobacter, Aurantimonas and Erythrobacter. No difference in the inhibition activity was found between the isolates from mucus and from the surrounding environment. Eighty-three per cent of the bacteria isolated from the mucus presented antimicrobial activity against Serratia marcescens, an opportunistic coral pathogen, suggesting that they might play a role in maintaining the health of the host. Most of the bacteria isolates that presented positive antimicrobial activity belonged to the genus Bacillus.