He started the 2011 season well for Somerset with a one-day century in the 2011 Clydesdale Bank 40 century against the Unicorns on 1 May 2011, and just over a week later scored his first ever double century in first-class cricket with 254* against Durham. Compton's first-class form continued with him scoring 1,098 runs at an average of 57.78 and being awarded his county cap for Somerset. The end of the season saw Compton helping Somerset against the odds to the semi-final of the 2011 Champions League Twenty20 in India.