The longest play by William Shakespeare is Hamlet, the Riverside version of the play comprises of 4,042 lines totaling 29,551 words, typically needs over four hours to stage.It is rare that the play is performed without some abridgments, and only one film adaptation has used a full-text conflation: Kenneth Branagh's 1996 version, which runs slightly more than four hours.