Nobody was reported injured in the shooting but the window of a house was damaged in Crescent Road, Netherton.
The road was cordoned off by police after shots were fired at a terraced house at around 1.20am on Tuesday.
The street remained closed off into the morning while the area was examined but has since reopened.
Nobody has been arrested.
A couple living on the street, who didn't want to be named, said they were shocked to learn of the shooting having initially thought the noise was due to an explosion.
They said: "We were in bed and heard a bang, but thought it was just a gas explosion, then saw the police tape and van this morning, so had no idea it was a shooting until we checked the internet.
"It's a bit shocking to hear about it, but we're not that surprised as there have been moments on the street down by the former council houses.
"We're worried as you don't want to hear about a shooting on your doorstep, but hopefully, it's just an isolated incident."
Another neighbour, who didn't want to be named, said she'd never noticed any trouble before.
She said: "I've always found it to be a quiet street and no problems, so it's surprising to find out this has happened.
"You wonder what has gone on for that to happen and I hope no one was hurt by it."
A spokeswoman for West Midlands Police said: "We’re investigating after gunshots were fired at a house in Crescent Road, Netherton during the early hours of this morning.
"It happened just before 1.20am and fortunately no one was injured.
"We’re conducting CCTV enquires, a forensic analysis of the scene -which is currently cordoned off – and speaking to people in the area to see if they saw anything.
"Anyone with any information should contact us via Live Chat on our website or call us on 101 quoting log number 141 of 12 October."