Japan effectively sealed its participation in the Trans-Pacific Partnership negotiations, reaching an agreement with the U.S. to join the talks for the emerging free-trade pact among a dozen countries touching the Pacific Ocean.

Prime Minister Shinzo Abe announced the agreement with the U.S. on Friday, saying that the pact will have both economic and regional-security benefits, and that he hopes Japan will play a leadership role in...