|Opening film Un homme amoureux|
Location Cannes, France
|Closing film Aria|
|Awards Palme d'Or (Sous le soleil de Satan)|
Number of films 20 (In Competition) 21 (Un Certain Regard) 28 (Out of Competition) 11 (Short Film)
The 40th Cannes Film Festival was held on 7–19 May 1987. The Palme d'Or went to the Sous le soleil de Satan by Maurice Pialat.
The festival opened with Un homme amoureux, directed by Diane Kurys and closed with Aria, directed by Robert Altman, Bruce Beresford, Bill Bryden, Jean-Luc Godard, Derek Jarman, Franc Roddam, Nicolas Roeg, Ken Russell, Charles Sturridge and Julien Temple.