John Long, 20, also had thousands of sick images stored on the hard drive of his computer - including indecent images of kids and "extreme" animal porn.
Police acting on a tip off he was downloading sick images raided Long's home.
When interviewed he admitted looking at the thousands of images for “sexual satisfaction” - but claimed he was only interested in girls.
An officer trawling through thousands of images in the vile stash subsequently spotted photographs of Long molesting two very young boys.
Long, of Larchwood Avenue, Maghull, Liverpool, later told police: “My head is messed up.”
At Liverpool Crown Court he admitted two counts of sexual assault, two counts of making and one count of possessing indecent images of children, in relation to the two boys.
Long also pleaded guilty to seven counts of making and five counts of possessing indecent images, plus possession of cannabis.
Judge Brian Cummings, QC, handed Long two years and eight months in a young offenders institution for the “gross breach of trust”.
The court had heard he took six photos of himself sexually assaulting his victims.