The following is a list of films set wholly or partially in Shanghai.
Shanghai Express (1932), starring Marlene Dietrich
Le Drame de Shanghaï (1938), directed by Georg Wilhelm Pabst, filmed in France and in Saigon
The Shanghai Gesture (1941), directed by Josef von Sternberg
The Lady from Shanghai (1947), directed by Orson Welles, starring Rita Hayworth and Orson Welles
Fist of Fury (1972), starring Bruce Lee
Shanghai 13 (1984), starring Andy Lau
Indiana Jones and the Temple of Doom (1984), starring Harrison Ford, begins in fictional Club Obi-Wan in Shanghai
Shanghai Surprise (1986), starring Madonna and Sean Penn
Empire of the Sun (1987), directed by Steven Spielberg
Shanghai 1920 (1991), starring John Lone and Adrian Pasdar
God of Gamblers III: Back to Shanghai (1991), starring Stephen Chow
Centre Stage (1992), directed by Stanley Kwan
Fist of Legend (Jingwu yingxiong, 1994), action movie starring Jet Li, a remake of Fist of Fury
Tian Di (1994), starring Andy Lau
The Phantom Lover (1995), starring Leslie Cheung and Jacklyn Wu
Shanghai Triad (Yao a yao yao dao waipo qiao, 1995), directed by Zhang Yimou
A Romance in Shanghai (新上海假期) (1996), starring Fann Wong
Shanghai Grand (1996), starring Andy Lau, Leslie Cheung and Ning Jing
Temptress Moon (Feng yue, 1996), directed by Chen Kaige, starring Leslie Cheung and Gong Li
Armageddon (1998) destroyed by an asteroid and tsunami
Eighteen Springs (Bansheng yuan, 1998), directed by Ann Hui On-wah
Flowers of Shanghai (Haishang hua, 1998), directed by Hou Hsiao-Hsien
Shanghai Noon (2000), starring Jackie Chan and Owen Wilson
Suzhou River (Suzhou he, 2000), directed by Lou Ye
Code 46 (2003), directed by Michael Winterbottom, starring Tim Robbins
Purple Butterfly (Zi hudie, 2003), directed by Lou Ye, starring Zhang Ziyi
Shanghai Knights (2003), sequel to Shanghai Noon, starring Jackie Chan and Owen Wilson
Lara Croft Tomb Raider: The Cradle of Life (2003), one scene in the movie was set in Shanghai, but it was shot on a set and not on location
Godzilla: Final Wars (2004), in which Anguirus attacks the city and destroys the Oriental Pearl Tower
Kung Fu Hustle (Gongfu, 2004), directed by Stephen Chow
Everlasting Regret (2005), directed by Stanley Kwan
The White Countess (2005), with Ralph Fiennes and Natasha Richardson
Fearless (2006), directed by Ronny Yu, starring Jet Li
Perhaps Love (2005), directed by Peter Chan
Mission Impossible 3 (2006), starring Tom Cruise
The Postmodern Life of My Aunt (2006), directed by Ann Hui
The Painted Veil (2006), starring Edward Norton and Naomi Watts
Ultraviolet (2006), starring Milla Jovovich; not explicitly set in Shanghai, but partially shot in Shanghai
Fantastic Four: Rise of the Silver Surfer (2007), the top of the Oriental Pearl Tower is knocked off by Doctor Doom
Lust, Caution (2007), directed by Ang Lee and based on the novella by Eileen Chang
The Longest Night in Shanghai (2007), starring Masahiro Motoki and Zhao Wei
Shanghai Kiss (2007), starring Ken Leung and Hayden Panettiere
Transformers: Revenge of the Fallen (2009)
Legend of the Fist: The Return of Chen Zhen (2010), starring Donnie Yen, Shu Qi and Anthony Wong
Shanghai (2010), starring Chow Yun-fat, John Cusack, Gong Li and Ken Watanabe
Snow Flower and the Secret Fan (2010), starring Li Bingbing and Jun Ji-hyun and based on the novel by Lisa See, directed by Wayne Wang with many scenes filmed at The Peninsula Shanghai on the Bund
The Last Tycoon, starring Chow Yun-fat, Sammo Hung and Francis Ng
Shanghai Calling (2012), starring Daniel Henney
Looper (2012), starring Bruce Willis, Joseph Gordon-Levitt, and Emily Blunt
Skyfall (2012), the 23rd James Bond film, starring Daniel Craig
Penguins of Madagascar (2014)
Her (2014)