Residential buildings consume a major portion of energy resources and hence are seriously involved in environmental pollution. In Iran, the consumption of fossil fuels is on the rise, to the extent that it has grown by more than 400% from 1990 to 2018. One of the fundamental solutions for reducing fossil fuel consumption and creating a healthy environment inside and outside buildings is the implementation and development of green buildings. This study seeks to examine the obstacles and opportunities facing green building and proposes a localized green standard befitting the conditions of Iran with the aim of contributing to the development of green buildings. To this end, the requisite parameters were identified using the opinions of experts and Delphi method, and the opinions of 81 building experts including the employer, consultant and contractor were obtained using a three-part questionnaire. Based on the results obtained using the machine learning method, the score of the local green building in a total of five dimensions, namely site, water, energy, materials and quality of indoor environment was calculated to be 77.2, while the energy dimension was determined to be the most important green standard dimension with a significance coefficient of 0.548. In the ranking analysis of all parameters using Friedman test, the parameters of energy consumption management, use of renewable energy and thermal zoning attained the highest scores among other factors. Furthermore, lack of awareness on green buildings (77%) and high potential for renewable energy production (81%) were respectively identified as the biggest obstacle and opportunity facing the implementation of green buildings in Iran.