Police were called to the scene after at least one person opened fire into a crowd of about 35 people gathered outside the house in Fresno, around 200 miles (320 kilometers) north of Los Angeles.
"Three people died on scene," Fresno deputy police chief Michael Reed told reporters, adding that a fourth was rushed to hospital in critical condition and succumbed to his injuries there.
All four of the dead and the six treated for "non life-threatening" gunshot wounds were men aged between 25 and 35, Reed said.
"Our heart goes out to the families of the victims... this is senseless violence, he added.
"We are doing everything we can to bring the perpetrators to justice."
Reed said it was unclear how many perpetrators had been involved in the shooting and that there was "no indication" the incident was gang-related.
Police spokesperson Bill Dooley said officers were looking for surveillance footage and witnesses to track the suspects.
Choua Vang, who lives near the site of the attack, said that Sunday's incident was the second shooting in the area in as many weeks.
"It makes me feel unsafe to be outside when the sun's down," he told the Fresno Bee newspaper.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ