A Caboolture primary school teacher has been charged with possessing child pornography after a Crime and Corruption Commission investigation.

More than 7000 encrypted child porn images and videos were allegedly discovered on a computer and hard drive seized during a raid on a Ningi property on Tuesday night.

A Caboolture primary school teacher has been charged with child porn offences. Credit:File photo

Officers from both the CCC's Cerberus Unit and Forensic Computing Unit discovered the items, which had allegedly been hidden.

The 43-year-old man was taken to Caboolture Watchhouse and charged with possessing child exploitation material and using a carriage service to access child pornography.