The ongoing search for life on other worlds and the prospects of eventual human exploration of the Moon and Mars indicate the need for new ethical guidelines to direct our actions as we search and how we respond if we discover microbial life on other worlds. Here we review how life on other worlds presents a novel question in environmental ethics. We propose a principle of protecting and expanding the richness and diversity of life as the basis of an ethic for astrobiology research and space exploration. There are immediate implications for the operational policies governing how we conduct the search for life on Mars and how we plan for human exploration throughout the Solar System.