Film trade paper Variety said the singer would play Sean Parker, who became Facebook’s founding president.
David Fincher is directing The Social Network, which was scripted by The West Wing’s Aaron Sorkin.
Jesse Eisenberg and Andrew Garfield have also been lined up to star in the project, which starts filming next month in Boston.
The movie will focus on the overnight success of Facebook, which was created in 2004 on the campus of Harvard University.
Eisenberg, best known for starring in The Squid and the Whale and Adventureland, will play the main character Mark Zuckerberg, Facebook’s chief executive officer.
Timberlake, who has won several Grammy awards for his music and recently picked up an Emmy for his appearances on Saturday night Live, has acted in films such as The Open Road and The Imaginarium of Doctor Parnassus. — BBCOnline.