Police said attackers detonated two explosives outside the hotel, before entering the building and opening fire.
In a statement, the al-Shabaab group claimed to be in control of the complex and said they "are shooting everyone".
The Hayat is said to be a popular location for employees of the federal government to meet.
Nine people were been injured and carried away from the hotel, the head of Mogadishu's Aamin ambulance services, Abdikadir Abdirahman told Reuters news agency.
Unverified images circulating on social media appeared to show smoke billowing from the hotel while shouting and loud bangs can be heard.
"Two car bombs targeted Hotel Hayat," a police officer told the Reuters news agency in a statement. "One hit a barrier near the hotel, and then the other hit the gate of the hotel. We believe the fighters are inside the hotel."
An affiliate of al-Qaeda, al-Shabab has engaged in a long-running conflict with the federal government.
The group controls much of southern and central Somalia but has been able to extend its influence into areas controlled by the government based in Mogadishu.
In recent weeks fighters affiliated with the group have also attacked targets along the Somalia-Ethiopia border, which has raised concerns about a possible new strategy by al-Shabab.
ZZ/PR
Your Comment