Shots were fired after the men attempted to drive into a local bank branch at a square in Wilmersdorf, an upmarket, central district in the west of Berlin, at around 9.30am, Berlin police said on Twitter.
The would-be robbers then set fire to their vehicle before fleeing.
A security guard who was injured while confronting the men was later taken to hospital, police said.
Entgegen erster Erkenntnisse versuchten gegen 9.30 Uhr mehrere Unbekannte mit einem Fahrzeug in die Bankfiliale am #Bundesplatz zu gelangen.
Beim Einschreiten des Sicherheitspersonals wurde mindestens ein Sicherheitsmitarbeiter verletzt. Er wird im Krankenhaus behandelt.
— Polizei Berlin (@polizeiberlin) August 4, 2020
It remains unclear whether the thieves managed to steal anything.
The same bank was the scene of a similar incident in mid-June, in which thieves reportedly made off with around half a million euros (around $600 million) after holding up a money transporter.
Tuesday's robbery attempt also came just five days after a similar bid at a bank branch in Neukölln, another central district of Berlin.
On Friday, 12 people were injured as thieves stormed a bank branch and sprayed pepper spray into the air, before fleeing empty-handed.
Police said they were investigating possible links between the three incidents.