The United States has threatened to impose sanctions on Somalis who stand in the way of a UN-supervised roadmap for peace in Somalia.
Assistant Secretary of State for African Affairs Johnnie Carson was speaking after making the first visit by a top US official in two decades.
He said his trip to Mogadishu was to acknowledge "significant progress" made against al-Shabab militants.
However, the al-Qaeda group still controls much of the country.
The BBC's Gabriel Gatehouse, in Mogadishu, says the US envoy was in and out of the Somali capital in a matter of hours on Sunday, but during his key visit met the Somali president, prime minister and other members of the Transitional Federal Government.
Mr Carson said the US would impose sanctions on anyone standing in the way of the political process now under way.
"The kind of action we must take against spoilers range from visa sanctions to travel sanctions to asset freezes," Mr Carson said.
"There is a level of vulnerability for all of those who might be spoilers."
Mr Carson said the US would consider stationing officials in the capital permanently "when we believe that it is both appropriate and safe".
According to the UN-backed roadmap, a new parliament must be appointed and a new constitution adopted before 20 August.'Innovative'
Our correspondent says the process is fraught with potential pitfalls - not least a number of former warlords who have financial and political interests in maintaining instability.
But he says Somalia is now closer to establishing some sort of meaningful central government that it has been for more than 20 years.
Mr Carson praised the African Union (AU) troops who helped push al-Shabab out of Mogadishu last August.
Last month, AU troops also took the al-Shabab stronghold of Afgoye, on the outskirts of Mogadishu, while Kenyan troops are pressuring al-Shabab from the south and Ethiopian troops are deployed from the west.
UN Special Representative for Somalia Augustine Mahiga told the BBC the strategy was an "innovative, functioning and promising partnership between the UN and a regional organisation - the African Union".
Source: BBC
- Dreadlock drug mule gets 15 years
- Will elephants still roam earth in 20 years?
- Burkina Faso amnesty for President Blaise Compaore and predecessors
- AU summit is moved to Ethiopia
- Kenyan government minister among 6 killed in helicopter crash
- Al-Shabab: US puts price on Somali militants
- Ivory Coast: Gbagbo ally Moise Lida Kouassi arrested
- Lagos plane crash: Nigeria suspends Dana Air licence
- South Sudan officials 'stole $4bn'
- Lagos plane crash: Nigeria mourns victims
- Detentions reported in Tibet capital after immolations
- Italian engineer 'kidnapped in Nigeria's Kwara state
- Liberia ex-President Charles Taylor get 50 years in prison
- Rwanda 'supporting DR Congo mutineers'
- South Africa court hears Jacob Zuma 'obscene' painting case
- War crimes suspects use blackmail, says new ICC chief
- Dioncounda Traore: Mali PM 'ashamed' at leader's beating
- Lockerbie bomber Abdelbaset al-Megrahi's funeral due
- Mbeki arrives in Sudan for crisis talks
- Congo's Bosco 'Terminator' Ntaganda 'will be caught' - ICC
- Sierra Leone trial: Charles Taylor set to address court
- ICC issues warrants for Congo rebel leaders
- ICC issues warrants for Congo rebel leaders
- Special needs budgets to be controlled by parents
- MTN, Airtel, Glo fined millions of dollars for poor quality of service












