The building was commissioned to Giacomo Quarenghi by the Society for Education of Noble Maidens and constructed in 1806-08 to house the Smolny Institute for Noble Maidens, established at the urging of Ivan Betskoy in 1764 and borrowing its name from the nearby Smolny Convent. A nice garden and iron-work grille around the institute date from the early 19th century.
In 1927, a monument to Lenin was erected in front of the building. Sergei Kirov was assassinated there in 1934. After 1991, the Smolny was used a residence of the city mayor (governor after 1996) and city administration. Vladimir Putin worked there from 1991 to 1997 in the administration of Anatoly Sobchak.