The Outer Space Treaty is a treaty that forms the basis of international law about space. It does not allow nuclear weapons to be placed in space. It establishes that space shall be free for exploration and use by all nations, but that no nation may claim sovereignty of outer space or any celestial body.
As of May 2025, 117 countries are parties to the treaty. Another 23 have signed the treaty but have not completed ratification.