 The Tatooine scenes were filmed in Tunisia. There is a town in  Tunisia called "Tataouine". Some of the interiors and the courtyard  of Lukes house were filmed in a hotel in Matmata, Tunisia. One can  visit this 2 stars hotel and see some pictures and the painted  ceiling in the room used for the dining room in the film. When Luke  goes out of the farm, he appears in a flat deserted area, while the  reality when you get out of the hotel show a lot of other houses,  small stone hills and a lot of prickly peartrees (a variety of  cactus very common in Tunisia).