text: Usage in other media The song was used in the second-season finale of the MTV show The Hills, playing during the climatic "moving out" scene between former best friends Lauren Conrad and Heidi Montag. It was also used in the series 7 finale of Two Pints of Lager and a Packet of Crisps. The song is  used as the background music for the third generation Toyota Alphard commercial for the Japanese market, with Kate Winslet and Selena Gomez.
  Track listings and formats
  European CD single
  "When You're Gone"  – 4:01
  "Girlfriend" (Dr. Luke Remix feat. Lil Mama) – 3:26
  Japanese CD single
  "When You're Gone" (Album Version) – 4:00
  "When You're Gone" (Instrumental) – 4:01
  "Girlfriend" (Japanese Version) – 3:37
  Australian, German, and Taiwanese CD single
  "When You're Gone"  – 4:01
  "Girlfriend" (Dr. Luke Remix feat. Lil Mama) – 3:25
  "Girlfriend" (The Submarines' Time Warp '66 Mix) – 3:12
  "When You're Gone" (video)
  Credits and personnel
  Credits and personnel are adapted from the "When You're Gone" CD single liner notes.
  Avril Lavigne – vocals, writer, background vocals
  Butch Walker – writer, producer, bass, guitars, keyboards, programming, percussion, background vocals
  Tom Lord-Alge – mixing
  Stephen Marcussen – mastering at Marcussen Mastering (Hollywood)
  Karl Egsieker – engineering at Pulse Recordings and Sunset Sounds
  Rob Mathes – string arrangement and conduction
  Josh Freese – drums
  Charts
  Weekly charts
  Year-end charts
  Certifications