The prime minister has met Leo Varadkar in Dublin for talks focused on Brexit and the political deadlock in Northern Ireland.
Theresa May has now returned to the UK after having dinner with the taoiseach (Irish prime minister).
The talks in Farmleigh House lasted about two hours.
The meeting took place after Mr Varadkar met Northern Ireland's main political parties in Belfast on Friday.
Mrs May was accompanied in Dublin by the UK's Brexit negotiator Olly Robbins and her chief of staff Gavin Barwell.
The Irish government said the two leaders discussed "the latest Brexit developments" as well as the "ongoing political impasse in Northern Ireland".
The meeting comes after the EU said it will hold more talks with the UK to help the prime minister get a Brexit deal through the Commons.
Earlier, Attorney General Geoffrey Cox met his Irish counterpart after travelling to Dublin for talks.
Speaking in Belfast, Mr Varadkar said it was "not a day for negotiations" but it was an opportunity to "share perspectives".
He added that he was looking to restore confidence and trust with the prime minister during their meeting on Friday night.
Analysis: Diplomacy over dauphinoise potatoes
By Jayne McCormack, BBC News NI political reporter
A Friday night in Dublin for Theresa May as she continues trying to find a way through for her Brexit deal.
The prime minister came face-to-face with her Irish counterpart over a fillet of beef with dauphinoise potatoes and green beans.
It's been a diplomatic whirlwind of a week as Mr Varadkar and Mrs May have bounced from Belfast to Brussels, both seeking backing for their respective positions.
This evening an Taoiseach, Leo Varadkar and Prime Minister, @theresa_may met at Farmleigh House in Dublin to discuss the ongoing political impasse in Northern Ireland and the latest Brexit developments following their respective engagements in Belfast and Brussels. #Brexit pic.twitter.com/MN8GKnAqzH— MerrionStreet.ie (@merrionstreet) February 8, 2019
It seems certain that the House of Commons will not pass any Brexit deal that includes the current backstop.
But the Irish government again today insisted it has to stay, with Mr Varadkar adding that he and the EU speak with one voice on this.
On Monday, UK-EU talks begin (again) in Brussels - but there's no sign of a compromise coming down the tracks.
Several cabinet ministers have told the BBC a no-deal Brexit could lead to a vote on Irish unification.
But Democratic Unionist Party (DUP) leader Arlene Foster poured cold water on the prospect, saying that the 1998 Good Friday Agreement sets out "criteria for a border poll, and it hasn't been met - therefore it will not be called".
What is the current Brexit state-of-play?
On Thursday, Mrs May met EU leaders in Brussels in a bid to secure changes to the Irish border backstop in the Brexit agreement.
European Commission President Jean-Claude Juncker ruled out legally-binding changes to the backstop clause in the 585-page withdrawal document.
But he said the EU would be open to adding words to the non-binding future relations document that goes with the withdrawal agreement.
Other officials, including European Parliament Brexit co-ordinator Guy Verhofstadt, have said the backstop is "non-negotiable".
Open discussion w/ @theresa_may. Backstop non negotiable. We'll never abandon Ireland. I welcome @jeremycorbyn letter making a cross-party approach for the first time possible. From the hell we're in today, there is at last hope of a heavenly solution even if it won't be Paradise pic.twitter.com/2yEzINJQdb— Guy Verhofstadt (@guyverhofstadt) February 7, 2019
On Wednesday, Mr Varadkar held meetings with top EU officials about the backstop and Ireland's plans for a no-deal outcome.
He said that while he was "open to further discussions" with the UK government about post-Brexit relations, the legally-binding withdrawal agreement remained "the best deal possible".
Speaking in Belfast, Mr Varadkar said "time is running out" to agree a deal, but that work needed to continue in order to ensure agreement was reached.
"When it comes to Brexit this is a negotiation that has the UK on one side and EU on the other," he said.
"Any negotiation can only happen with Ireland and the EU working together."
Where are we with the backstop?
It is the insurance policy to maintain an open border between Northern Ireland and the Republic of Ireland unless and until another solution is found.
The UK and EU made a commitment to avoid physical barriers or checks on the border, if no UK-EU trade deal is agreed before the Brexit transition period ends.
Many people are concerned that the return of such checks would put the peace process at risk.
But there has been opposition to the backstop from the DUP and Brexiteer MPs, who believe its terms could keep the UK tied to EU rules in the long term.
Last month, MPs backed an amendment in Parliament calling for "alternative arrangements" to replace the backstop.
A group of Conservative MPs has held talks aimed at finding other Brexit options that would avoid a hard border.
How did Northern Ireland parties react to Leo Varadkar's visit?
The taoiseach travelled to Belfast to discuss the "ongoing political impasse", the Irish government said.
Northern Ireland has been without a devolved government for more than two years.
Mr Varadkar, whose trip came days after Theresa May met the parties at Stormont to discuss her bid to make changes to the withdrawal agreement, said he travelled north to "hear the perspective of the main parties".
DUP leader Arlene Foster said her party had a "wide-ranging" discussion with the taoiseach.
Mrs Foster also said some people were engaging in "project fear" with the Brexit negotiations.
The party's deputy leader, Nigel Dodds, said the backstop "is the problem", but would not specify which possible alternative his party is supporting.
Sinn Féin's vice-president Michelle O'Neill said her party would "hold the taoiseach's feet to the fire" when it comes to defending the backstop.
She said he had given her an assurance he would remain firm with his stance.
The party also said they have been calling repeatedly for a border poll, and that they had urged Mr Varadkar to begin planning for one.
The Ulster Unionist Party's (UUP) Brexit spokesperson Steve Aiken said there needed to be "level-headed conversations" and that the UUP had told the taoiseach how concerned they are by the terms of the Irish border backstop.
The UUP said it is working on a number of alternative proposals it wants the UK and EU to consider.
Alliance Party leader Naomi Long said they had a very constructive and wide-ranging discussion with Mr Varadkar.
"It's fairly clear those this week suggesting there is some chance of the UK and Irish government doing a side deal without the EU are chasing after a no-way scenario," she said.
SDLP leader Colum Eastwood said that it had been a "good meeting" and added that he and the taoiseach are "on the same side of this argument".
"We have been watching with some dismay what has been going on in Westminster over the last couple of months," he said.
"I don't think anybody within the Irish government or the European Commission sees any opportunity for diluting the protection of citizens in Northern Ireland."
What happens next?
Brexit Secretary Steve Barclay and EU negotiator Michel Barnier will hold talks in Strasbourg on Monday, as the EU and UK Brexit negotiating teams discuss proposed changes to the deal.
British sources say the talks will include discussion of the legally-binding withdrawal agreement, the BBC's Brussels reporter Adam Fleming said.
An EU source said the further talks are an opportunity to listen to the UK's ideas.
Mrs May and Mr Juncker will meet again before the end of February, to review progress.
The prime minister is expected to put the deal to a vote in the Commons towards the end of February.
She said the plan must change if it is to win the support of MPs who urged her to seek "alternative arrangements" to the backstop when rejecting the deal last month.