It happened on Sunday at Willow Pass Road at Port Chicago Highway just after midnight.
One car landed on its side.
The other one was ripped apart by firefighters to extricate everyone inside.
Police say three people were flown to the hospital via medical helicopters.
Four others were transported to the hospital on the ground.
Police are investigating the cause of the crash.