The production crew used the fake title of 'Basic Math' as the film's working title because it was hard to secure filming locations for a project called 'Sex Tape.'

This is the first time that Cameron Diaz has officially performed nude scenes in 22 years after She's No Angel: Cameron Diaz (1992).

Jason Segel and Cameron Diaz played another love couple in Bad Teacher (2011), which was also directed by Jake Kasdan.

Rob Lowe was embroiled in his own sex tape scandal in 1989.

Some of the script's more sexually explicit and raunchy scenes had to be toned down during film production as Cameron Diaz was feeling too self-conscious to fully go through with them. She previously had a no-nudity clause in her contract and only lifted it for this film as an exception, having previously worked with the director Jake Kasdan on Bad Teacher (2011).

The screenplay for this film was featured in the 2011 Blacklist; a list of the "most liked" unmade scripts of the year.

The telephone number shown on the caller id is 310-760-7511 instead of the usual 555- prefix.

Nicholas Stoller was attached to direct this at one time before scheduling issues forced him to drop out.

Cameron Diaz and Rob Corddry previously starred in What Happens in Vegas (2008).

Jennifer Garner, Amy Adams, Reese Witherspoon, Rose Byrne, and Emily Blunt were considered for the role of Annie.

Randall Park and Rob Lowe appeared together in another 2014 movie, The Interview (2014), Park portraying the real life character of North Korean dictator Kim Jong-un, and Lowe (uncredited) in a cameo as himself, with both characters interviewed by the movie's protagonist, Dave Skylark.

Cameron Diaz plays a character named Annie in the film. She would later appear in Sony's family film Annie (2014) in the same year, the third adaptation of the comic strip and Broadway musical, starring Quvenzhané Wallis.

This is the second Cameron Diaz movie where "Happening" performed by Chiddy Bang is on the soundtrack list.

Jason Segel, Cameron Diaz and Nat Faxon also appeared together in Bad Teacher (2011).

In this movie, Rob Lowe plays a character called Hank. In Californication (2007), Lowe played a character called Eddie Nero who wanted to portray the character of Hank Moody (played by David Duchovny) in a movie adaptation of Moody's novel "F*cking & Punching".

Jack Black: the owner of YouPorn.