Quick Answer. William Shakespeare wrote 154 love sonnets and five longer narrative poems. His name also appears on the title page of the second edition of The Passionate Pilgrim Poems, although only five sonnets are thought to be his. Shakespeare also wrote over 30 plays, which are typically divided into comedies, tragedies, histories and romances.