WASHINGTON—The White House said President Donald Trump would leave the Group of Seven summit earlier than planned, as a dispute erupted Thursday between Mr. Trump and two of America’s closest allies over the U.S.’s trade stance.

Press secretary Sarah Sanders said late Thursday that Mr. Trump would depart Canada on Saturday morning en route to Singapore “in anticipation of his coming meeting with North Korea’s leader, Kim Jong Un Tuesday.”

The...