Iran seized the Stena Impero, a British-flagged tanker, on Friday.
"We urge Iran to release (this)... ship and its crew immediately," a German foreign ministry spokesman said.
A further escalation of regional tensions "would be very dangerous (and)... undermine all ongoing efforts to find a way out of the current crisis," the spokesman said in a statement.