The story is set during World War II in the summer of 1943, immediately after the fall of Italy's Fascist government under Benito Mussolini, when the German army moved to occupy most of the country.
With everyone working together, the villagers are able to hide a million bottles of wine by sealing them up in the galleries of an ancient Roman cave before the arrival of a German army detachment under the command of Sepp von Prum (Hardy Krüger).
The Germans’ search is made complicated when von Prum becomes infatuated with Caterina Malatesta (Virna Lisi), an educated and elegant woman unlike any other in town.
She is secretly sheltering and has fallen in love with Tufa (Sergio Franchi), a wounded captain in the Royal Italian Army, who, as it happens, has provided much of the brainpower for the town’s so far successful wine-hiding plans.
Finally, with time running out before the Germans must withdraw north toward the Gustav Line, a frustrated von Prum threatens to shoot mayor Bombolini in front of the assembled townspeople unless the hidden wine's location is told.
Not being a Nazi fanatic, and perhaps also because he had been somewhat appeased by Caterina’s having spent the previous night with him, which she did to save Tufa from being executed for desertion, von Prum silently accepts defeat and leaves the town without harming the mayor.