It happened in the 2100 block of Ridgemore Drive in the Spring Branch East area on Sunday morning.
Around 10:30 a.m., the Houston Police Department said they received a call about sounds of a gun being shot in the area.
Upon arriving, police said they saw the off-duty Harris County Sheriff's Office deputy sitting in a white truck with a gun.
Officers said they told the deputy to give up the gun and surrender, which the deputy eventually did. He was then taken into custody.
HPD told ABC13 the deputy also called the department asking for assistance, and he may have been hallucinating before firing his weapon.
WATCH: HPD says HCSO deputy had 'mental episode' in NW Houston shooting
No injuries were reported, according to authorities. HPD's homicide division continues to investigate.