The film was filmed in Marrakech on May 4, 1998 and lasted for 17 weeks. Then the crew moved to, a small town on the edge of the Sahara Desert , and then to the United Kingdom, where the filming was completed on August 29, 1998. During this period, the political situation in Egypt was turbulent, so the crew could not go. In order to prevent dehydration under the scorching sun of the Sahara, the medical team of the film crew made a drink that all staff members would drink every two hours. The sandstorms that are encountered every day bring inconvenience to the filming work. Snakes, spiders and scorpions are also a big problem for everyone. Many people have to be airlifted to the hospital for treatment after being bitten. The production of the film also received official support from the Moroccan military, but the insurance company refused to provide a group of actors with kidnapping accident insurance.
Alan Cameron, director of art direction, found a dormant volcano in Irfoud, where the entire outdoor scene of Hamnata was built. The director was also very satisfied with the location. The staff took a survey of the volcano so that the accurate and scale models of the stone pillars and statues could be reproduced at the studio in Surrey, England. All shots of the film involving the underground passage of the city of the dead are It is here to shoot. The construction of these locations took 16 weeks, which also included a glass fiber cylinder lens that needed special effects to be produced at the end of the film. Another large-scale location was built at the Chatham Shipyard in the United Kingdom, which doubled the port of Giza on the Nile. It is 183 meters long. It contains "steam lighters and traction engines, three cranes, and one Open double-horse carriage, four-horse cart, five dressed-up horses and corresponding grooms, 9 groups of donkeys and mules, as well as market stalls and Arabian-style rooms for 300 dressed-up extras.