Montgomery County deputies say it happened shortly before 4 p.m. at the trooper's home.
The boy was taken to Memorial Hermann hospital and is stable.
Deputies say the Texas Rangers are investigating the incident.
It's unclear what led to the shooting.