The Martian was primarily filmed in two main locations: Wadi Rum in southern Jordan and Korda Studios near Budapest, Hungary.
- The exterior scenes depicting the surface of Mars were shot in the desert landscape of Wadi Rum, Jordan, chosen for its striking resemblance to the Martian environment with its red sands and rocky terrain.
- Interior scenes, including NASA mission control and spacecraft interiors, were filmed at Korda Studios near Budapest, Hungary, which houses one of the largest sound stages in the world. The production team brought in specially colored sand and soil to recreate Mars indoors.
Additional filming took place at locations such as Jet Propulsion Laboratory in Pasadena, California, Johnson Space Center in Houston, and various places in Budapest.
