Staphylococci are commensal bacteria that colonize the epithelial surfaces of humans and many other mammals. These bacteria can also attach to implanted medical devices and develop surface-associated biofilm communities that resist clearance by host defenses and available chemotherapies. These communities are often associated with persistent staphylococcal infections that place a tremendous burden on the healthcare system. Understanding the regulatory program that controls staphylococcal biofilm development, as well as the environmental conditions that modulate this program, has been a focal point of research in recent years. A central regulator controlling biofilm development is a peptide quorum-sensing system, also called the accessory gene regulator or agr system. In the opportunistic pathogen Staphylococcus aureus, the agr system controls production of exo-toxins and exo-enzymes essential for causing infections, and simultaneously, it modulates the ability of this pathogen to attach to surfaces and develop a biofilm, or to disperse from the biofilm state. In this review, we explore advances on the interconnections between the agr quorumsensing system and biofilm mechanisms, and topics covered include recent findings on how different environmental conditions influence quorum sensing, the impact on biofilm development, and ongoing questions and challenges in the field. As our understanding of the quorum sensing and biofilm interconnection advances, there are growing opportunities to take advantage of this knowledge and develop therapeutic approaches to control staphylococcal infections.