Prevention, whether in health, safety, the environment or other areas, is a fundamental pillar in guaranteeing the well-being and prosperity of society. Prevention legislation establishes an essential regulatory framework to protect individuals, communities and the ecosystem against potential risks and threats. The complete drafting of a prevention law is a complex process that requires legal expertise and a thorough understanding of a country's needs and realities. This manuscript provides a detailed outline of some of the key elements that might be found in a prevention law.