The British actor confirmed last week that he would be appearing in the iconic Fox cartoon after a chance meeting with the producers while working in LA.
"I was at a meeting in the same place The Simpsons is recorded and heard there was a part going in an episode. I said, 'I hate to muscle in here guys but could I record it?'" he said.
"Next thing, I'm standing in a room with all those famous voices; Bart, Marge, Homer, Lisa."
Details of Cumberbatch's role have now been revealed by TV Line, who have confirmed that he will have two characters in the episode 'Love Is A Many-Splintered Thing'.
The 35-year-old will play a "snake-like character" and also the British Prime Minister.
Previous British stars who have appeared in The Simpsons include Ricky Gervais, Simon Cowell, Sting, Tony Blair and Coldplay.
The Simpsons will return for a 24th season in the fall on Fox.