Kevin Rebbie, 57, of Royersford, pleaded guilty to 19 counts of manufacturing child pornography back in December.
Along with the prison term, the judge ordered a $2,000 special assessment and 20 years of supervised release.
Investigators said they were contacted by a 15-year-old girl who found the camera in the bathroom of her home while she was cleaning.
[Ads /]
Investigators say they seized a total of 80 videos taken by Rebbie with a camera hidden in the bathroom, 19 of which captured minor boys and girls as they undressed, showered, and used the toilet.
"This afternoon a dangerous child predator was given a very long and appropriate sentence that will protect society for a long time," said U.S. Attorney Zane Memeger.
Rebbie is awaiting trial in Montgomery County and Bucks County on child molestation charges.