In 2008, Hamlin finished 8th in the Sprint Cup Series and won early in the season at Martinsville Speedway. He won three races in the Nationwide Series, driving both the #18 and #20 cars for Joe Gibbs Racing, as well as the #32 Dollar General/Haas Avocados car for Braun Racing.