The sentence was handed down at Tel Aviv District Court, media reports said.
Lupolianski, mayor between 2003 and 2008, was convicted in March of accepting bribes worth USD 580,000 from promoters of Jerusalem's massive Holyland residential complex.
The towering construction project, which dominates the city's skyline, is seen as a major blot on the landscape and widely reviled as a symbol of high-level corruption.
Last month, the same court sentenced Olmert to six years jail for accepting bribes, making him the most senior politician in the country's history to face prison for corruption.
Lupolianski was also convicted in March, but his sentence was pushed back due to ill health, reports said.
Olmert has appealed to the Supreme Court, with Lupolianski also pledging to lodge an appeal, media reports said.