Two women were killed during a shooting in Brooklyn on Wednesday night, cops said.

A 21-year-old woman was shot once in the head and a 29-year-old woman shot once in the back at about 9:30 p.m. in Bedford-Stuyvesant, according to police.

“I heard five shots. I heard people screaming and hid in my store,” a bodega worker said. “I didn’t want to go outside.”

The shooting took place in the back yard of a building on Gates Avenue.

The 21-year-old was taken to Woodhull Hospital, where she was declared dead. The other victim was taken to Kings County Hospital and pronounced dead.

Names were not released pending family notification.