Following the release of their film High Tension (2003), Aja and his co-writer on that film, Levasseur, developed the screenplay for P2 alongside Khalfoun, inspired by a series of real-life attacks on women that were reported in Paris parking garages.
After the release of their movie High Tension (2003), Aja and his co-writer Levasseur collaborated with Khalfoun to write the screenplay for P2, which was inspired by a string of violent assaults against women that occurred in Parisian parking lots.