The incident occurred on 2255 Bedford Ave. in the Flatbush section.
One victim was taken to Kings County Hospital, and the other was taken to SUNY Downstate Hospital.
Both victims are expected to survive.
Detectives are searching for three men who ran away right after the shooting.
Police are not releasing a description of the suspects at this time.