Harvick became the first pole-winner to capture the Brickyard 400, giving team owner Richard Childress his second victory at the Indianapolis Motor Speedway and first since Earnhardt won this race in 1995.
McMurray was third, followed by three-time Brickyard 400 winner Jeff Gordon and defending champion Bill Elliott.
It was Harvick's first win of the season and fourth of his NASCAR career.
Reigning Winston Cup champion Tony Stewart was in 10th place and could not get through traffic to race with the leaders.
2014: The Year in Music [PHOTOS]