Under the law signed by President Vladimir Putin casinos will be legal in some areas of the former Olympic park in Sochi, where Russia hosted the Winter Games in February.
Additionally, the law gives regional authorities in Crimea the right to designate their own casino zones on the peninsula, which Moscow annexed in March after a separatist uprising against Ukraine.
The Sochi Games, though widely recognised as a success, cost Russia some USD 50 billion.
Russia banned casinos throughout most of the country in 2009, restricting them to four areas: the southern Krasnodar region north of Sochi, the Altai mountains, the Far East, and the western enclave of Kaliningrad.
They have not been a commercial success due to the remoteness of the areas and a lack of tourism infrastructure.
The legalisation of gambling in Crimea, a peninsula that hosts Russia's Black Sea fleet that many view as a place of military glory, has already ruffled some feathers, particularly in the Communist party which voted against the bill as it passed parliament.
He argued that existing gambling zones were so far a complete failure, and demanded that Crimea instead grow peaches and develop its vineyards. "That's when Crimeans will be glad to return to their Motherland," he said.
Even Putin had previously criticised the idea of installing gambling zones in Sochi, suggesting in February they would scare away families. A casino culture there would "make it hard for people to vacation there as a family with children," he said.
Crimean officials, however, see casinos as means for economic development.
