The fantastic comedy is removed on the fairy tale of Lazar Lagin with the same name. 12-year-old Moscow schoolboy Volka, bathing in the Moskva River, finds any ancient sealed vessel. Boyish curiosity is so strong that at the first opportunity of Volka opens it, and from a vessel there is a fantastic genie - Gassan Abdurahman ibn Hottab. That Volka has rescued it from a two-thousand-year imprisonment, the genie nicknamed boy Hottabych, becomes its faithful servant. He tries to load with presents the boy, having driven to its house the whole caravan of camels with infinite treasures.