1. 48 Hrs. (1982)
Y'all remember when the toughest bar in the Mission was a hillbilly honky-tonk called Torchy's? You know, just across the street from Chinatown. Me neither, but damned if the shootout in a legit Muni station doesn't make up for it. It doesn't, of course, but also it does. For the record, though, Mark Twain didn't say that thing about Summer in SF. So stop.
2. The Rock (1996)
Call Alcatraz "The Rock" and you're likely to get punched in the face, either by a local or by Dwayne Johnson fresh off the tepid success of a natural disaster epic. That said, this is possibly the last time America tolerated Nicholas Cage for his soon-to-be tiresome "whole thing." Bonus points for crashing a sick Ferrari 350 Spyder on Russian Hill amid insightful car phone commentary.
3. Star Trek IV (1986)
A perfect storm of San Francisco film history involving Leonard Nimoy (Invasion of the Body Snatchers) at the helm and Eddie Murphy (48 Hrs.) signed to star before being lost to The Golden Child (Big Trouble in Little China was developed as a direct competitor) in this Humphrey the humpback whale-inspired time travel adventure to the Bay Area of the '80s, this is a priceless piece of big budget perfection. Spock sleeps out a punk boom boxer on a GGB bus to drive the point home.
4. Dirty Harry (1971)
When you consider how little swimming goes down in the city by the bay, it really adds something to the circumstance of this picture's inciting incident. That said, it's a classic, and if you can get past your disbelief at a massively bigoted hero in Liberal City, USA, you'll be greeted by plenty of no shit real SF, albeit of the long gone variety.