The shooting happened around midnight at a home in the 9100 block of Kindlewood Drive in southwest Houston.
According to police, the suspect opened the door with the rifle in his hand. At some point, an officer fired his weapon, but did not hit anyone.
Officials later determined this was a family disturbance.
The suspect was taken into custody and is facing several charges including terroristic threat.
The incident is under investigation.