The officer was shot in the leg on Rockne Street in New Springville just after 6 a.m. Thursday.
He was conscious and alert and taken to Staten Island University Hospital North with a non life threatening injury.
A suspect, who police officials say fired first, was also shot in the leg.
The shots were fired as police executed a narcotics search warrant at the home.
Officers were executing the drug-related warrant when the suspect fired at them through the door, striking a narcotics lieutenant.
Officers fired back, hitting the suspect.
The suspect went to Richmond University Medical Center, he is also believed to have non life threatening injuries
It was the second shooting of a police officer and suspect this week.
Copyright © 2022 WABC-TV. All Rights Reserved.