We examined a novel hypothesis for the maintenance of communal nesting in the salamander, Hemidactylium scutatum, namely that communal nests are more likely than solitary nests to be associated with cutaneous antifungal bacteria, which can inhibit fungal infections of embryos. A communal nest contains eggs of two or more females of the same species. The nesting behavior of H. scutatum females and survival of embryos were determined by frequent nest surveys at three ponds. For communal nests, embryonic survival tended to be higher and catastrophic nest failure was lower. Pure bacterial cultures of resident species were obtained from the salamanders' skins by swabbing and tested against a fungal pathogen of embryos (Mariannaea sp.) in laboratory assays. We found that 27% of females had skin bacteria inhibitory to Mariannaea sp. Communal nests were more likely to have at least one female with antifungal bacteria than were solitary nests. Using a culture-independent assay (denaturing gradient gel electrophoresis of 16S rRNA gene fragments), we found that bacterial species on females and embryos were more similar to each other than they were to bacterial species found in soil within the nest, suggesting that females transmitted skin bacteria to embryos. The presence of anti-Mariannaea skin bacteria identified from the laboratory assays did not prevent fungal presence in field nests. However, once a nest was visibly infected with fungi, presence of anti-Mariannaea bacteria was positively correlated with survival of embryos. Microbe transmission is usually thought to be a cost of group living, but communal nesting in H. scutatum may facilitate the transmission of antifungal bacteria to embryos.