Three people were killed in front of the building, local media said, with witnesses reporting hearing a dozen shots
A suspect in two shootings in Germany that killed at least eight people was found dead at home, police said on Thursday.
"The likely perpetrator was found dead at his home in Hanau. The police special intervention forces have also discovered another body there. The investigation is ongoing. Currently there is no indication there are other perpetrators," police in the central state of Hesse said on Twitter.
Earlier, a huge manhunt was launched after at least eight people were killed and several injured in two shootings at shisha bars in Germany.
The attacks on Thursday targeted bars in Hanau, about 20 kilometres (12 miles) from Frankfurt, where armed police quickly fanned out and police helicopters roamed the sky looking for those responsible for the bloodshed.
The first attack occurred at the "Midnight" bar in the centre of the city around 10pm (2100 GMT), police and reports said.
Three people were killed in front of the building, local media said, with witnesses reporting hearing a dozen shots.
The attacker, or attackers, fled the scene by car, according to police. There was then a second shooting at Arena Bar.
A gunman reportedly rang the doorbell and shot people in the smoking area, killing five people including a woman, according to mass-circulation Bild, adding that the victims were of Kurdish origin.
"The victims are people we have known for years," said the bar manager's son, quoted by DPA news agency. Two employees were among the victims, according to the man, who was not at the bar during the shooting.
"It is a shock for everyone."
At least five people were also seriously wounded in the attacks, reports said.
An AFP journalist at the scene saw around thirty police cars leaving Hanau police station. Witnesses said police officers with machine guns were deployed in the city.
A silver Mercedes covered by what looked like a survival blanket could be seen behind a police cordon and surrounded by officers in front of "Arena Bar", with shattered glass on the floor.
"The police can now confirm that eight people were fatally wounded. The search for suspects is going at top speed. There is no clear information yet as to a motive," authorities said, adding that several had been injured.