International peace and security are one of the values and aspirations of humanity in the world, and for all human beings, regardless of ethnicity, race, religion or nationality, enjoying a life of peace and security is a vital value. This common sense, the study of the history of human life, tells of bitter events and bloody wars that have disrupted the order of the international community and endangered peace and security. All factors have led to the implementation of any rules related to the public interest of the international community to solve this problem; International humanitarian law and human rights are part of international law that builds peace and security. They communicate internationally and exchange and coordinate with each other for the sake of international peace and security. This article will provide a comparative study of humanitarian law and human rights in the context of international peace and security and will answer the question of how human rights and humanitarian law contribute to international peace and security.