Allan A. Hoffman III was arrested at a residence late Friday, said Sgt. Thomas J. Molnar, a state police spokesman.
Hoffman was charged with two felonies, possession of child pornography and production of child pornography, Molnar said.
Hoffman has been suspended without pay from the Henrico Police Department, according to law-enforcement sources with knowledge of the situation.
He was taken into custody after investigators consulted with the office of Attorney General Ken Cuccinelli, said Molnar.
As part of the investigation, police seized electronic material, including thumb drives and computer hard drives, in a May 10 raid on a western Henrico townhouse owned by a Henrico officer.
Molnar said the investigation is continuing; a Henrico police spokesman declined to comment. Details on where he was being held were not immediately available.