EU leaders have agreed to move Brexit talks on to the second phase but called for “further clarity” from the UK about the future relationship it wants.
The first issue to be discussed, early next year, will be the details of an expected two-year transition period after the UK’s exit in March 2019.
Talks on trade and security co-operation are set to follow in March.
Theresa May hailed an “important step” on the road but Germany’s Angela Merkel said it would get “even tougher”.
Donald Tusk, the president of the European Council, broke the news that the 27 EU leaders were happy to move onto phase two after they met in Brussels.
He congratulated Mrs May on reaching this stage and said the EU would begin internal preparations for the next phase right now as well as “exploratory contacts with the UK to get more clarity on their vision”.
While securing a deal in time for the UK’s exit in March 2019 was realistic, he suggested that the next phase would be “more challenging and more demanding”.
Mrs May said the two sides would begin discussions on future relations straight away and hoped for “rapid progress” on a transitional phase to “give certainty” to business.
“This is an important step on the road to delivering the smooth and orderly Brexit that people voted for in June 2016,” she said.
“The UK and EU have shown what can be achieved with commitment and perseverance on both sides”.
The EU has published its guidelines for phase two of the negotiations, with discussions on future economic co-operation not likely to begin until March.
The three page document says the UK will remain under the jurisdiction of the European Court of Justice and be required to permit freedom of movement during any transition period.
And agreements on the Irish border, the so-called divorce bill and the rights of EU and UK citizens, agreed by Mrs May last Friday, must be “respected in full and translated faithfully into legal terms as quickly as possible”.
The document says: “As the UK will continue to participate in the customs union and the single market during the transition, it will have to continue to comply with EU trade policy.”
While the EU is willing to engage in “preliminary and preparatory discussions” on trade as part of building a “close partnership” after the UK’s departure, this means any formal agreement “can only be finalised and concluded once the UK has become a third country”.
Phew for PM
By the BBC’s political editor Laura Kuenssberg
After the six months she has had, Theresa May might be entitled to breathe a sigh of relief, as the European Council officially declared that the first phase of our long goodbye from the European Union is over.
Stand back from the daily dramas and perhaps it was always bound to happen.
Both sides are committed to getting an agreement.
The EU and the UK both want a deal to be done, and while there has, inevitably, been grumpiness on both sides, they have, in the main, dealt with each other in good faith.
The document “calls on the UK to provide further clarity on its position on the framework for the future relationship”.
But in a passage added during the past week, it invites the EU’s Brexit negotiator Michel Barnier to “continue internal preparatory discussions” on future relations rather than having to wait until March to do so.
European Commission President Jean-Claude Juncker said the EU’s initial priority was to “formalise the agreement” that had already been reached before moving forward, adding “the second phase will be significantly harder and the first was very difficult”.
Praising Mrs May as a “tough, smart and polite” negotiator, he said he was “entirely convinced” that the final agreement reached would be approved by the UK and European Parliaments.
Giving his response, French President Emmanuel Macron said that in moving forward the EU had maintained its unity, protected the integrity of the single market and ensured “compliance with our own rules”.
Mrs May is set to discuss her vision of the “end-state” for the UK outside the EU at a cabinet meeting on Tuesday, having suffered her first Commons Brexit defeat earlier this week.
Brexit Secretary David Davis said the government was “ready for the next stage”.