The treaty on the prohibition of nuclear weapons will enter into force 90 days after 50 countries have ratified it. It was adopted with 122 votes in favor, one against and one abstention.
US Ambassador Nikki Haley, British Ambassador Matthew Rycroft and French Ambassador Francois Delattre said in a joint statement that their countries do "not intend to sign, ratify or ever become party" to the treaty.
"Therefore, there will be no change in the legal obligations on our countries with respect to nuclear weapons," they said.
"A purported ban on nuclear weapons that does not address the security concerns that continue to make nuclear deterrence necessary cannot result in the elimination of a single nuclear weapon and will not enhance any country's security, nor international peace and security," they said, citing North Korea.
At the start of the talks in March, Haley said dozens of countries were skipping the negotiations because they were committed to the Non-Proliferation Treaty, which entered into force in 1970 and is aimed at preventing the spread of nuclear weapons and weapons technology.
The UN General Assembly resolution adopted a resolution in December, 113 in favor to 35 against, with 13 abstentions, to "negotiate a legally binding instrument to prohibit nuclear weapons, leading towards their total elimination" and encouraged all member states to participate.