Initially, P5 was discovered by Grenfell and Hunt at the end of the 19th century in two separate portions at Oxyrhynchus. The first portion that was discovered contains John 1:23–31, 33–40 on one page (front and back), as well as John 20:11–17, 19–20, 22–25 on another page (front and back).