9 Movie Scenes That Were Improvised and Made the Film Better

The Hunger Games: Sunrise on the Reaping opens in theatres on November 20, 2026, one day after this article is published. A brand new blockbuster arrives with months of planning behind it. Every line is written, every shot is planned, every beat is tested. That is how most films are made.

Then there is the other kind of moment. A line that was never in the script, a real accident the camera happened to catch, a joke from rehearsal that made it into the final cut. When it works, it becomes the scene everyone remembers. When it fails, it ends up on the cutting room floor and nobody ever hears about it.

This list collects nine of the moments that worked. They come from seven decades of film, from Casablanca in 1942 to Django Unchained in 2012. The average IMDb rating across the nine is 8.3 out of 10, and the total running time is 18 hours and 49 minutes. Four of the nine were directed by just two men, Steven Spielberg and Martin Scorsese, which tells you something about how often the best directors trust the room.

One honest note before we start. Not everything here is a pure on the spot ad lib. Some of these moments were worked out in rehearsal, some were talked into the script by an actor, and one was a real accident on a real street. The article says which is which, because the story is better when you know how the moment actually happened.

Watch for the pattern as you read. The best unscripted moments share one thing: the actor stayed in character and the director kept the camera rolling. That is the whole secret, and it is harder than it sounds.

Nine films, seven decades

9films picked70years covered8.3average IMDb18h49total runtimeOldest film: Casablanca, 1942.Newest film: Django Unchained, 2012.Longest film: Django Unchained, 2 hours 45 minutes.Spielberg and Scorsese directed 4 of the 9 between them.

Ratings are IMDb averages as reported in November 2026. They keep moving as more viewers rate each film.

1. Casablanca (1942)

casablanca

The line is number five on the American Film Institute’s list of the greatest movie quotes of all time, and it was never in the script. Humphrey Bogart made it up while the cameras were rolling on the Paris flashback, and the film kept it. Between takes Bogart had been teaching Ingrid Bergman to play poker, and “Here’s looking at you, kid” was the line he used as he dealt her cards. When the scene called for Rick to toast Ilsa in the cafe, he slipped the poker phrase in.

The writers liked it so much they added it three more times. That is the reason the line echoes through the film instead of appearing once and vanishing. It also explains why it sounds like something a real person would say: it was something a real person had actually said, on the set, to the woman sitting across from him.

At a glance

Genre: Romantic drama

Director: Michael Curtiz

Year: 1942

IMDb rating: 8.5/10

Runtime: 1 hour 42 minutes

Platform: Availability varies by region

Watch: Casablanca on IMDb

The film won the Academy Award for Best Picture, and the line has never left popular culture. It even has a small footnote: Bogart had used the same phrase in the 1934 film Midnight, eight years earlier. The 1942 version is the one the world remembers, because this time the line had a scene, a song, and a story behind it.

2. Midnight Cowboy (1969)

midnight-cowboy

The shout that defines Midnight Cowboy came from a real New York cab that was not supposed to be there. The crew was shooting without a permit on Sixth Avenue, a style director John Schlesinger called guerrilla filmmaking, and a taxi ran a red light straight into the shot. Dustin Hoffman stayed in character as Ratso Rizzo and yelled at the driver, and Schlesinger kept the take. Hoffman began to say “We’re doing a movie here” and switched mid sentence to “I’m walkin’ here, I’m walkin’ here!” The line is number 27 on the American Film Institute’s quote list.

Here is the honest part. Producer Jerome Hellman later said the taxi encounter itself was in the first draft of the script, with Ratso pretending to be hit so he could fake an injury. What was unscripted was Hoffman’s exact line, and the fury in it came from a real driver who really had almost run him down.

At a glance

Genre: Drama

Director: John Schlesinger

Year: 1969

IMDb rating: 7.8/10

Runtime: 1 hour 53 minutes

Platform: Availability varies by region

Watch: Midnight Cowboy on IMDb

Schlesinger liked the take so much that he re-shot the scene with an extra driving the cab, to make the moment land even harder. The film went on to win Best Picture at the Academy Awards, the only X-rated film ever to do so. It was later re-rated R.

It is the purest accident on this list. Nobody planned it, nobody rehearsed it, and the whole thing happened because a cab driver in New York did what cab drivers do.

3. Jaws (1975)

jaws

Roy Scheider said the most famous line in Jaws three times in the film, and none of it was in the script. It started as a joke among the crew. The small support barge that carried the crew and the equipment was far too small for the job, and someone began muttering “You’re gonna need a bigger boat” every time something went wrong. The line became a running gag on set, and Scheider slipped it into several takes.

The one that made the final cut comes right after Chief Brody gets his first clear look at the shark and backs away from the stern, stunned. The crew joke and the character’s shock met in one perfect moment. Co-writer Carl Gottlieb later confirmed the line was not scripted, and it now sits at number 35 on the American Film Institute’s quote list.

At a glance

Genre: Thriller

Director: Steven Spielberg

Year: 1975

IMDb rating: 8.1/10

Runtime: 2 hours 4 minutes

Platform: Availability varies by region

Watch: Jaws on IMDb

The line works because it is the most human reaction in the whole film. Brody is not a hero in that second. He is a man who has just realised how badly he underestimated the problem, and he says the first thing that comes to mind. That is exactly what an ad lib is for.

4. Taxi Driver (1976)

taxi-driver

Robert De Niro’s most quoted line was born from an empty page. Paul Schrader’s script gave the mirror scene no dialogue at all. The stage direction simply had Travis Bickle look in the mirror and act like a cowboy, and director Martin Scorsese told De Niro to say something. De Niro started talking to his own reflection, trying out versions of a threat, and the take that survived is the one where he keeps asking the mirror “You talkin’ to me?” and answers himself.

It was filmed in the final week of shooting, with the assistant director banging on the door because the crew needed to move on. The line is number 10 on the American Film Institute’s quote list, and the film won the Palme d’Or at the Cannes Film Festival.

At a glance

Genre: Neo-noir psychological drama

Director: Martin Scorsese

Year: 1976

IMDb rating: 8.2/10

Runtime: 1 hour 54 minutes

Platform: Availability varies by region

Watch: Taxi Driver on IMDb

De Niro has said he was partly borrowing the rhythm of Bruce Springsteen, whose concerts he had been watching while he prepared for the role. The line feels dangerous because it has no script behind it: it is a man rehearsing a confrontation he is too afraid to have with a real person.

Watch the scene again and notice how the line changes each time he says it. That is an actor thinking out loud, and the camera was lucky enough to be there.

5. The Empire Strikes Back (1980)

empire-strikes-back

This is the one entry on the list that was not improvised on the spot, and that is exactly why it belongs here. The script called for Han Solo to answer Princess Leia’s “I love you” with “Just remember that, ’cause I’ll be back.” Harrison Ford thought the line was wrong for the character, and he talked it over with director Irvin Kershner before the scene was shot. Kershner agreed that Han would never say something that soft, and the two of them settled on “I know.”

They filmed both versions, and George Lucas tested Ford’s line in front of an early audience. The crowd reacted so strongly that Lucas kept it. Lucasfilm’s own account calls it a spontaneous dialogue change, but the honest version is better: an actor who knew his character argued for a better line, and won.

At a glance

Genre: Epic space opera

Director: Irvin Kershner

Year: 1980

IMDb rating: 8.7/10

Runtime: 2 hours 4 minutes

Platform: Availability varies by region

Watch: The Empire Strikes Back on IMDb

The scene was filmed on June 21, 1979, at Elstree Studios in England, and the two words have defined Han Solo ever since. “I love you too” would have been a fine line. “I know” is the line that tells you who this man is.

Four ways a scene goes off script

The on the spot ad libJaws, Taxi Driver, Good Will HuntingThe real accidentMidnight Cowboy, Django UnchainedThe rehearsal buildGoodfellasThe actor's rewriteCasablanca, Empire, RaidersMost unscripted moments are one of these four. Spot the type first.

Two of the nine are real accidents, three are pure ad libs, and the rest were talked or rehearsed into the film.

6. Raiders of the Lost Ark (1981)

raiders-of-the-lost-ark

The scene was supposed to be a long sword fight. Indiana Jones was meant to face a scimitar wielding swordsman in a Cairo market, and the fight was planned to take three days to film. Then Harrison Ford came down with dysentery during the fifth week of the shoot in Tunisia, and he was too ill to swing a whip for three days. Ford asked Steven Spielberg a simple question: why doesn’t Indy just shoot him?

Spielberg agreed on the spot, and the swordsman, played by Terry Richards, was told to fall as if shot. Richards had trained for months for a duel he never got to fight, and his reaction sells the joke. The change saved a day and a half of filming and gave the film one of its funniest moments.

At a glance

Genre: Action-adventure

Director: Steven Spielberg

Year: 1981

IMDb rating: 8.4/10

Runtime: 1 hour 55 minutes

Platform: Availability varies by region

Watch: Raiders of the Lost Ark on IMDb

The joke works because Indy is exhausted and the crowd expects a show. He gives them a gunshot instead, and the whole film’s tone is in that choice: a hero who is tired, practical, and in a hurry. The scene was filmed in Tunisia, which stood in for Cairo.

It is the only entry here where illness did the writing. Ford was too sick to fight, and the film is funnier for it.

7. Goodfellas (1990)

goodfellas

Joe Pesci’s most famous scene began long before the cameras rolled, in a restaurant where he once worked as a waiter. A mobster at one of his tables told him he was funny, and Pesci, meaning it as a compliment, said so. The man took offence, and the table went quiet while everyone waited to see what would happen. Pesci acted the story out for Martin Scorsese before he even took the role, and Scorsese loved it.

In rehearsal, Pesci and Ray Liotta built the scene together, with Liotta improvising the nervous laughter and Pesci tightening the threat. Scorsese recorded four or five takes, picked the best lines, and wrote them into a revised script. The finished scene is rehearsed improvisation, and it is more frightening than anything a writer could have planned, because the fear in Liotta’s face is real.

At a glance

Genre: Biographical crime drama

Director: Martin Scorsese

Year: 1990

IMDb rating: 8.7/10

Runtime: 2 hours 26 minutes

Platform: Availability varies by region

Watch: Goodfellas on IMDb

Pesci won the Academy Award for Best Supporting Actor for the role, and the scene is still quoted by people who have never seen the film. The other unscripted moment in the movie is the dinner at Tommy’s mother’s house, where only one line was scripted and the rest of the table talk was made up on the day.

This one earns its place because the rehearsal is the whole story. The scene was not invented on camera, it was built in a room full of actors, and then the script caught up with it.

8. Good Will Hunting (1997)

good-will-hunting

Robin Williams ad libbed the whole story, start to finish, in a therapy scene that was meant to be quiet and sad. The script called for Sean to tell Will about his late wife turning off her alarm clock in her sleep. Williams kept the idea of a small, private memory and replaced it with something stranger: his wife farting in her sleep and waking herself up laughing.

Matt Damon’s laughter is genuine, and if you watch closely you can see the camera shake, because the operator was laughing too. Damon later said on the DVD commentary that the moment was absolutely, 100 percent Robin Williams ad libbed. Williams won the Academy Award for Best Supporting Actor for the role, and Damon and Ben Affleck won for Best Original Screenplay.

At a glance

Genre: Drama

Director: Gus Van Sant

Year: 1997

IMDb rating: 8.3/10

Runtime: 2 hours 6 minutes

Platform: Availability varies by region

Watch: Good Will Hunting on IMDb

The scene works because it is not a joke. It is a man remembering the exact small thing that made his wife real to him, and the fact that it is funny is what makes it sad. Williams also improvised the final line of the film, when Sean reads Will’s letter and says “Son of a bitch. He stole my line.”

No other scene on this list was filmed by a crew that was laughing. That is the surest sign an ad lib has landed.

9. Django Unchained (2012)

django-unchained

The blood was real, the pain was real, and Leonardo DiCaprio never broke character. In the dinner scene at Candie’s mansion, DiCaprio slammed his hand down on the table during a long monologue about phrenology, and the glass under his hand shattered into his palm. He kept going through the speech, blood running down his fingers, and Quentin Tarantino kept the camera rolling.

The crew gave him a standing ovation when the take ended, and DiCaprio needed stitches. Tarantino used the take in the film. One detail in the story is often told wrong: the famous moment when DiCaprio smears blood on Kerry Washington’s face did not happen in that same take. Production paused for stitches, and the smear was filmed later with fake blood.

At a glance

Genre: Revisionist Western

Director: Quentin Tarantino

Year: 2012

IMDb rating: 8.4/10

Runtime: 2 hours 45 minutes

Platform: Availability varies by region

Watch: Django Unchained on IMDb

The scene is the newest on this list by more than a decade, and it proves the old rule still holds. The best unscripted moments are not planned, they are kept. Tarantino could have thrown the take away. He kept it because a real injury, filmed by accident, told the audience more about the character than any scripted line could.

Spot the improv in 4 steps

1Watch the other actor's face for surprise.2Listen for a laugh that does not fit the scene.3Look for the camera wobble in an otherwise steady shot.4Check whether the line was ever in the script at all.One of these four signs is usually enough to give it away.

Start with the nine films above. Each one has at least one of these four signs.

Nine films, nine moments, and one lesson that runs through all of them: a script is a plan, not a prison. The directors on this list, from Michael Curtiz in 1942 to Quentin Tarantino in 2012, all did the same thing when something unexpected happened. They kept the camera rolling and trusted the people in front of it.

The next time you watch one of these films, look for the second when the plan changes. It is usually easy to spot: an actor laughs a half second too late, a line lands a little too well, or a scene ends before it should. That small break in the pattern is the moment the film stopped being written and started being alive.

And if you are heading to the cinema this week for The Hunger Games: Sunrise on the Reaping, keep the same habit. The film opening on November 20 was made with the same care as every film on this list. Somewhere in it, an actor may say something that was never in the script. If the audience laughs or gasps, you will know it when you hear it.