WASHINGTON—President Trump made his name on the world’s most famous island. Now he wants to buy the world’s biggest.

The idea of the U.S. purchasing Greenland has captured the former real-estate developer’s imagination, according to people familiar with the discussion, who said Mr. Trump has, with varying degrees of seriousness, repeatedly expressed interest in buying the ice-covered autonomous Danish territory between the North Atlantic and Arctic oceans.

In...