Cumberbatch, one of the biggest stars of the small screen, will appear at the MediaGuardian Edinburgh International Television Festival on August 24, joining a special session on the hit BBC drama series.
Also appearing on the high-profile panel will be Sherlock writers and co-creators Steven Moffat and Mark Gatiss, as well as show producer Sue Virtue and director Paul McGuigan.
The session has been developed in collaboration with The Network, a career development programme that helps young people who want to work in television.
In the masterclass, Cumberbatch and the panel will reflect upon the show's two series to date, which have gained critical acclaim, multiple awards and bumper ratings.
They will discuss the show's conception as a modern interpretation of Arthur Conan Doyle's famous detective, including how the programme "maintains its dual appeal between die-hard fans of Conan Doyle's original stories and contemporary TV viewers".
Series fans will also be treated to "revelations" about the forthcoming third series, which picks up from the dramatic series two cliffhanger in episode 'The Reichenbach Fall'.
The MediaGuardian Edinburgh International Television Festival will go ahead between August 23 and August 25 in the Scottish capital, featuring a range of events, talks and panels.
Alongside Sherlock, the creative talent behind various other leading television shows will also speak in masterclasses at the festival, including Modern Family, Educating Essex, Homeland and Horrible Histories.
Meanwhile, entries have been extended by one week for The Pinewood Pitching Competition, involving one lucky indie producer being able to win a studio prize worth £30,000 to bring their proposed format to life.
Applications are now open for programme makers to submit their ideas for a studio-based format, with the best five to be invited to pitch to a panel of channel controllers live at the festival.
The winner will then get to shoot a mini pilot for their programme at Pinewood Studios, where some of the most famous TV shows in history have been filmed.