Chancellor Angela Merkel has said it would be "particularly sickening" if the attacker who drove a lorry into a Berlin Christmas market turned out to be a refugee who had sought sanctuary in Germany.
Twelve people died in the attack and at least 48 more were injured.
Ms Merkel also said she was "shocked, shaken and deeply saddened" by the event, which took place in a crowded tourist area.
The Chancellor said: "We don't know anything for certain, but we must assume it was a terrorist attack.
"It would be very difficult for us to learn that a human being committed this deed who came to Germany to ask for refugee and asylum."
The suspect arrested by police has been named locally as 'Naved B' and is reported to be a 23-year-old refugee from Pakistan.
had been living in Flughfen Tempelhof – an old airport that had been converted into a refugee centre – and was detained following the attack.
According to German radio station RBB-Inforadio,he arrived in Germany a year ago, registering in Germany on 31 December 2015 in Passau, Bavaria.
Germany's open door policy on migration has allowed hundreds of thousands of refugees into the country, many from war-torn Syria.
However, the influx has caused some tension in Germany and contributed to the rise of populist, anti-immigration political parties.