Ricky Stenhouse Jr., Paul Menard, and Kyle Busch rounded out the top five.
The race had two caution flags, 20 leaders, and 52 lead changes, both of them season highs.
Talladega Superspeedway is a four turn tri-oval track that is 2.66 miles (4.28 km) long.
Rain cancelled qualifying and Aric Almirola was awarded the pole based on his practice speed.
Officials confirmed 30 minutes after the race was over that McMurray was leader at the moment of caution.