Trump expressed the sentiment when he "received a telephone call from Prime Minister Theresa May... regarding her plans to call a special election in June," a brief statement said.
"President Trump wished the British people the best of luck in their electoral process," the White House added, giving no further details of the telephone discussion.
Trump has previously hailed the result of the British referendum last year that approved the United Kingdom's exit from the European Union.
Brexit, he said when he hosted May at the White House in late January, is going to be a "wonderful thing."
Trump has been invited to visit Britain sometime this year, but no date has yet been announced.
(Except for the headline, this story has not been edited by NDTV staff and is published from a syndicated feed.)
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.