The suspected gunman who shot dead at least nine people left a note about his evil right-wing ideals, German media have reported.
The note is believed to have been discovered by officers who raided his home in Hanau, near Frankfurt, following two shootings nearby at a shisha bar and a restaurant at around 10pm on Wednesday.
The suspect was later found dead at the address and a second body was discovered nearby. The death toll is currently 11.
In the note the gunman, named as German national Tobias R. by Bild, talks about 'the need to destroy certain peoples whose expulsion from Germany could no longer be achieved'.
He is reported to have shot himself.
People of Kurdish descent are believed to be among the casualties.
According to eye witnesses, a gunman shot and killed three people at Midnight shisha bar in Hanau's Kesselstadt neighbourhood, and then drove to the Arena Bar & Cafe restaurant, shooting dead five more people.
A ninth person is believed to have died in hospital.
German media has reported a number of the victims were from the Kurdish community.
Witnesses have described hearing eight or nine shots fired at Kurt-Schumacher-Platz, a central square in Kesselstadt, during one of the incidents, according to reports.
The owner of one of the bars is understood to have been one of those killed.
A shooter is said to have rung the bell of one of the bars, then shot wildly into the smoking area and inside the building.
Police said in a statement: "There are no indications that other suspects were involved.
"One of the two dead people found is highly likely the perpetrator. The investigations into the identity of the victims and the perpetrator are ongoing."
Police believe the suspect committed suicide at his home after fleeing in a dark car, but the motive for the attacks is unclear.
Can-Luca Frisenna, whose father and brother run one of the two bars attacked by the gunman, said he rushed to the scene after he received news of the shooting.
"I heard my father was affected and my little brother, they run the kiosk, I don't have much to do with it," said Frisenna.
"But then I saw them both - they were horrified and they were crying and everything. So everyone was shocked."
Mass-selling Bild newspaper said the man was a German citizen and that ammunition and gun magazines were found in his car.
He had a firearms hunting licence, it added.