Pathogens rarely cause extinctions of host species, and there are few examples of a pathogen changing species richness and diversity of an ecological community by causing local extinctions across a wide range of species. We report the link between the rapid appearance of a pathogenic chytrid fungus Batrachochytrium dendrobatidis in an amphibian community at El Copé, Panama, and subsequent mass mortality and loss of amphibian biodiversity across eight families of frogs and salamanders. We describe an outbreak of chytridiomycosis in Panama and argue that this infectious disease has played an important role in amphibian population declines. The high virulence and large number of potential hosts of this emerging infectious disease threaten global amphibian diversity.