A devastating civil war has ruined this once beautiful city for almost twenty years now, leaving little but ruins. Since 1991, various Islamist and/or clan or warlord-affiliated militias have had control over different parts of the city. A few months of relief were given in 2006 when the Union of Islamic Courts took full control. However, Somalia was invaded by Ethiopia just six months later, which in turn led to the reinstatement of the Western-backed Transitional Federal Government. The hard-line Islamist group al-Shabaab saw an opportunity and began gradually taking control over Mogadishu until the government only controlled a paltry few square blocks. A counter-offensive, supported by African Union troops, cleared the city of militants in August 2011. Bombings and shootings are still commonplace, but open warfare has ceased for now. A major shortage of food and thousands of refugees put enormous stress on the few government offices that are able to function. (This does not include Somaliland, which is an autonomous region in the north of Somalia. Somaliland is currently peaceful, and has been for the past 24 years. Somaliland has its own government and is said to be the most stable part of Somalia, despite not being internationally recognized.)
Flights arrive at Aden Adde International Airport, just a few kilometers southwest of the city center, facilities are very basic, but the Turkish government has put up funds to renovate the airport and its security, control tower, and navigation systems. A few passenger flights are available.
African Express Airways  has services between Mogadishu and Abu Dhabi, Aden, Berbera, Bosaso, Dubai, Galkayo, Nairobi-Jomo Kenyatta, Riyan Mukalla, Sharjah, and Wajir.
Daallo Airlines  has services to Djibouti, stopping en route at Hargeisa.
East African  operates a weekly service from Nairobi on Sundays, the return flight stops in Wajir for security processing, before continuing on to Nairobi.
Turkish Airlines  now offers a twice-weekly service from Istanbul via Khartoum or Djibouti. Flights depart Atatürk Airport on Tuesdays and Thursdays. Round trip fares start at €430. Qatar Airways is to start flights to Mogadishu soon.
It is possible to drive into the city by truck, but this is considered risky, unless you employ a group of local militia, which are readily available for hire. Roads link the city with many Somali locales and with Kenya and Ethiopia. Armed guards, hired security forces, and experienced guides are all necessary for a safe entry. The risk of being injured, killed or captured is extremely high.
Small cargo ships regularly leave from the Old Harbor of Mombasa for Mogadishu. Speak with the security officers at the gate of this port and they will negotiate a fare with the captain. The journey will take from two to five days, depending on conditions. The sea is rough in July and August, requiring lengthier travel. Arriving by boat is risky, as there is the strong possibility of being attacked by pirates, though the port area is relatively secure.
Roads are muddy during rain, traffic lights do not operate, and there are no enforced traffic laws or public transport, although the road network in Mogadishu is slowly being repaired and paved. A vehicle with a driver and armed guards is a must. Break-ins at intersections are frequent, so avoid openly displaying anything that could be considered valuable. The terrorist group al-Shabaab operate in this region; therefore, it is not advised to visit as a tourist.
Sightseeing is obviously extremely dangerous in Mogadishu, and is strongly discouraged. However, some interesting sites include the historic Mogadishu "old town" and the Mogadishu mosque.
Visitors are encouraged to stay inside for the duration of their stay. The chances of theft and/or assault are extremely high while walking around the city.
The Mogadishu University is a non-governmental university that is governed by the Board of Trustees and the University Council. Admission requirements for the University as listed on their website include:
Benadir University was founded in 2002 with the intention to train doctors, but has expanded into other fields.
The Bakaara Market (Suuqa Bakaaraha) is an open market and the largest of its kind in Somalia. Created in late 1972 during the reign of Siad Barre, its original purpose was to allow proprietors to sell daily essentials, but the civil war subsequently created demand for arms and ammunition. Everything from pistols to anti-aircraft weapons are being sold here. Falsified documents are also readily available, such as forged Somali, Ethiopian and Kenyan passports. This illicit submarket is known as Cabdalle Shideeye after one of its first proprietors.
Most markets and are a focus of ongoing arms control efforts for the disarmament of Somalia. Marketplaces should be considered hazardous not only because of their content and the presence of unsavory characters, but also due to the fact that they have caught fire several times in the last few years.
International cuisine can be found at Nasa Hablod Restaurant inside Hotel Nasa Hablod and at the Sahafi Hotel, and these are probably the safest options for travelers. Nasa Hablod is in the break away region of Somaliland, which is said to be a safe heaven in contrast with the rest of Somalia.
While significant improvements have been made in the time period from August 2011 to summer 2012, the city remains extremely dangerous for independent travel. Petty theft and violent crime remains a significant threat in a city which has effectively been in a state of war for nearly two decades, and is full of unemployed people with few possessions. Any white person and most other foreigners are thus regarded as wealthy and a target for crime. Do not wander the streets alone for any reason. If you must venture around the city, you should be accompanied by hired guards and a ride in, preferably, an armored car. Smash and grab break-ins are possible in unarmored vehicles. With the security situation improved, there are likely to be new hotels opening. Make sure yours has armed guards 24/7, and do not trust your valuables to be left alone in your room.
Basic services such as electricity are not reliable, and you should not drink the water. Food and bottled drinks sold in the city may or may not be safe to consume. Try to get the advice of another foreigner who has been in the city before. Health services are limited.