In a turnout of some 72 percent of eligible voters, the United Kingdom voted in a referendum Thursday to leave the European Union. It has been a member of the body since 1973 and is the first nation to leave. It will take about two years for the parting of the ways to be accomplished. The instant effect, however, has been a seismic shock to Britain, the EU and globalization itself.

The 52-48 vote to end the relationship came as a result of several factors. First, a majority of the British voting public showed they believe the United Kingdom has too much government, with regulation coming both from London and from the headquarters of the EU in Brussels. There is also a feeling that Brussels’ “guidance,” determined collectively by the EU’s 28 disparate members, is encroaching to a steadily increasing extent on Britons’ freedom. Britain has long harbored strong Euroskeptic elements, and Thursday’s vote was their victory over a European project that chipped away at national sovereignty and advanced deeper integration. The message is clear to the EU bureaucracy in Brussels: The goal of a federal Europe is under siege.

A particularly resented area of EU intervention is immigration, always a sensitive subject but increasingly so as Europe in general is flooded by migrants both from war-torn areas of the Middle East and from poverty-ridden Africa. The question of the impact of Britain’s EU membership on the state of its economy was difficult for voters to understand in terms of influencing their votes, although they might have taken on board the fact that last year 43.5 percent of their exports went to EU countries.

The rest of the EU is upset by the British voters’ choice, including seeing it as a possible precedent for other member countries. Its commission president, Jean-Claude Juncker, said Friday morning that he wanted to see the scission process completed “as soon as possible.”

Advertise with us

The referendum did present Britain’s middle and lower classes a welcome chance to stick it to their perceived rulers, including some of Prime Minister David Cameron’s Conservative Party, which was re-elected to office as recently as 2015, for whatever list of supposed abuses that may have accumulated. First thing Friday morning, Mr. Cameron announced he would resign by October, as well he should.

Whatever outsiders may think about the wisdom or lack thereof in Thursday’s vote, the British have taken on a stack of new problems as part of their decision to leave the EU.

First, the uncoupling will be complicated after 43 years of membership, comparable in human terms to a messy divorce. Working out trade relationships with the rest of the world, not to mention with former EU partners, will not be simple.

A second problem will be its new, ex-EU relationship with the United States. It will no longer be able to serve as America’s bridge to Europe in policy terms, including within and outside of NATO. For the next two years at least, Britain will be so preoccupied with its own internal problems that it will have difficulty developing and executing any kind of foreign policy. At least the decision shouldn’t cost American taxpayers any money.

President Barack Obama visited Britain in April and, in support of Mr. Cameron, encouraged its citizens to remain in the EU, dangling the threat that Britain would move to the “back of the queue” for trade deal negotiations if it left. He wisely backtracked a bit on Friday, promising that the nations’ “special relationship” would endure. The relationship must do more than that. The U.S. should be offering to bolster trade, political and cultural partnerships with Britain, a natural ally in the English-speaking world.

Advertise with us

A third problem — perhaps its most ominous — is the divisions that the “leave” vote has resurrected. The voters of Scotland, who in a referendum in 2014 chose not to become independent, voted Thursday to remain in the EU. Scottish First Minister Nicola Sturgeon on Friday morning put a new referendum on Scottish independence on the table. Northern Ireland voters also opted for the United Kingdom to stay in the EU and its leaders are now talking about seceding and joining EU member Ireland, an old but bitter story. The London area also voted to remain in the EU.

Fourth problem: The governing Conservative Party will not face required elections until 2020, but, in the meantime, will need to choose a successor to Mr. Cameron. That could be difficult, given the fissures in the party that widened during the referendum battle. Colorful former London mayor Boris Johnson, an ardent supporter for leaving the EU, is considered a front-runner but internal Conservative cat fights can get messy.

Some people are questioning whether Mr. Cameron should have given the electorate the chance to vote on continued EU membership, given what will ensue, though the political realities within his party made it all but necessary.

What is clear, however, is that the United Kingdom is going to have to travel a very rocky road between now and arriving at its new situation in the world, facing formidable problems, before it will be able to say whether putting the question to voters was worth it or not. The United States should not expect much of the United Kingdom during the transition period.

Meet the Editorial Board.