Purpose: The purpose of this paper is to focus on the way to achieve the sustainable development goals (SDGs). Through the introduction and learning of a specific case, this paper summarizes the specific process of green campus's development and construction and directly discusses how to achieve the goal of sustainable development. By analyzing the achievements and measures of its construction, on the one hand, the experience and shortcomings of its green campus construction are summarized; on the other hand, the impact of Stanford's own green campus construction on the local community is discussed. Design/methodology/approach: This paper takes Stanford, one of the best green campuses assessed by sustainability tracking, assessment and rating system (STARS), as a case study in three steps. First, it introduces the academics, energy supply and demand, water and land, waste, management, food and living, buildings and transportation of its campus construction in detail; second, it uses the STARS to make a comprehensive sustainable evaluation of Stanford; finally, it discusses the development relationship between Stanford and local community. Findings: The four characteristics of its green campus development model are summarized, namely, based on its own scientific research; from the aspect of environmental friendliness; to achieve joint participation; and forming complementary development with the community. The construction of green campus has changed from a single triangle framework composed of SDGs, STARS and universities to a compound triangle framework composed of SDGs, universities and communities on the existing basis, greatly expanding the way to realize SDGs. Practical implications: This development mode will have direct guiding significance for the sustainable construction of other campuses. Social implications: This paper also discusses the development concept from green campus to sustainable community to provide positive reference to achieve the global SDGs from the perspective of colleges and universities. Originality/value: According to the historical track of its development, this paper combines the two (SDGs and green campus) to discuss by using campus construction as an effective way to achieve the SDGs. On the basis of literature research and case study, STARS sustainable assessment is introduced. This will lead to quantitative analysis of sustainable construction in the discussion of the specific case, judging the specific sustainable degree of all aspects of campus construction, to provide a scientific basis for summarizing its characteristics of development mode.