From the U. S. State Department:
The U.S. Department of State continues to warn U.S. citizens to avoid all travel to Somalia. ...
U.S. citizens should also consult the Department of State's Country Specific Information for Somalia, the Worldwide Caution, and the International Maritime Piracy Fact Sheet, which are located on the Department of State's website. Travelers may obtain up-to-date information on security conditions by calling 1-888-407-4747 toll-free in the United States and Canada or on a regular toll line at 1-202-501-4444 from other countries. Stay up to date by bookmarking our Bureau of Consular Affairs website, which contains current Travel Warnings and Travel Alerts.
U.S. State Department Warning