The California Highway Patrol says the crash happened near the Clinton Avenue exit just after 2 p.m. Wednesday.
A Caltrans camera captured the big rig flipped upside down in the third lane.
RELATED: ABC30 Live Traffic Tracker
Investigators say the driver did not have enough room to make the exit and crashed when they went to get back on the highway.
The driver was pinned in but got out with minor to moderate injuries.
The truck was hauling 40,000 pounds of food when it overturned.