Cohen Ferrell for Sherlock Holmes Comedy

Sacha Baron Cohen and Will Ferrell to play detective duo for Judd Apatow.

Sacha Baron Cohen and Will Ferrell have signed on to an untitled Sherlock Holmes comedy.

Cohen will play the master detective Holmes, with Ferrell as Watson, his crime-solving partner.

Etan Cohen (Tropic Thunder) is writing the script, and Judd Apatow and Jimmy Miller will produce.

The comedy is inspired by Arthur Conan Doyle’s Sherlock Holmes tales. Though the thrust is different, the Baron Cohen-Ferrell pairing is the second major studio project featuring the detective duo, as Warner Bros. is prepping the Anthony Peckham-scripted drama Sherlock Holmes with director Guy Ritchie.

EXTRAs: The project reteams Baron Cohen and Ferrell, who played rival race car drivers in 2006 hit comedy ‘Talladega Nights,’ which Apatow and Miller also produced.