The two countries agreed to resolve the dispute at talks mediated by Ankara in December, pledging to find commercial arrangements to allow landlocked Ethiopia "reliable, secure and sustainable access to and from the sea."
They also agreed to begin technical negotiations by the end of February.
"The two leaders reaffirmed their commitment to strengthening cooperation for mutual benefit," the governments said in a joint statement after Abiy and Mohamud met.
Earlier on Thursday, the two men smiled as they shook hands on the airport tarmac, surrounded by people waving flags of the two neighbouring countries, according to photographs shared by the presidency.
Abiy's trip comes a month after Mohamud visited Addis Ababa.
Somalia has been in the grip of a long-running insurgency by Islamist al Shabaab militants who have been fighting to overthrow the fragile central government.
Ethiopia's Abiy visits Somalia, holds talks with President Mohamud
Image: REUTERS/Feisal Omar
Ethiopia's Prime Minister Abiy Ahmed arrived in Somalia's capital Mogadishu on Thursday to hold discussions with President Hassan Sheikh Mohamud, Somalia's presidency said, following a thaw in icy relations.
The relationship soured in January 2024 when Ethiopia announced plans to lease a stretch of coastline in Somalia's breakaway Somaliland region.
Ethiopia planned to build a naval base and commercial port in exchange for possible recognition of Somaliland's independence.
Somalia accused Ethiopia of undermining its territorial integrity, threatened to eject its peacekeepers, and strengthened ties with Ethiopia's arch foes Egypt and Eritrea.
Mogadishu airport was hit by at least one mortar shell shortly before Abiy's plane landed on Thursday, despite all roads around the high security complex being closed, four local residents and media said.
Islamic State attacks military bases in Somalia’s Puntland with car and motorbike bombs
The two countries agreed to resolve the dispute at talks mediated by Ankara in December, pledging to find commercial arrangements to allow landlocked Ethiopia "reliable, secure and sustainable access to and from the sea."
They also agreed to begin technical negotiations by the end of February.
"The two leaders reaffirmed their commitment to strengthening cooperation for mutual benefit," the governments said in a joint statement after Abiy and Mohamud met.
Earlier on Thursday, the two men smiled as they shook hands on the airport tarmac, surrounded by people waving flags of the two neighbouring countries, according to photographs shared by the presidency.
Abiy's trip comes a month after Mohamud visited Addis Ababa.
Somalia has been in the grip of a long-running insurgency by Islamist al Shabaab militants who have been fighting to overthrow the fragile central government.
READ MORE:
OPINION | 38th AU Summit’s reparatory justice and racial healing agenda was long overdue
Clash between Ethiopian and Kenyan fishermen leaves many dead, missing
Ethiopia bondholders say IMF report 'artificially' creates solvency issue
Somalia's president visits Ethiopia in boost to strained relations
Ethiopia defence minister visits Somalia, in sign of detente
Would you like to comment on this article?
Sign up (it's quick and free) or sign in now.
Please read our Comment Policy before commenting.
News and promos in your inbox
subscribeMost read
Latest Videos