The accident began when defending Daytona 500 winner Jimmie Johnson's car ran out of gas as the field raced toward the checkered flag. It caused Jamie McMurray to run into the back of Johnson, turning Johnson sideways and both cars into the wall.
The entire pack began to spin around them, and Bowyer flipped upside down. Two-time Daytona 500 winner Michael Waltrip slid through the grass and hit hard into the inside retaining wall.
Hamlin cruised unscathed to the victory. He also won Saturday night's exhibition race to open Speedweeks.
Matt Kenseth won the first Budweiser Duel 150.