The closeness of interpersonal relationships affects every aspect of people's lives. But we have little known about what kind of impact will relationship have on the moral judgment. Study use the concept of “emotional closeness”, quantitative the closeness of relationship, and using it as a factor behind the relationship. The paradigm of trolley problem and moral violations in daily life are used to explore the influence of emotional closeness on moral judgment through two experiments. The results show that emotional closeness has an impact on moral judgment, the closer, the more relaxed moral judgment, conversely, the more stringent. Meanwhile, compared with the utilitarian behavior in the trolley problem, it is generally accepted that utilitarianism in the footbridge problem is more immoral;The influence of relationship on moral judgment in the trolley problem no longer exists in the footbridge problem.