The main theme of Shakespeare's "Hamlet" revolves around the complexities of revenge, madness, mortality, and the consequences of inaction. The play delves into the psychological aspects of characters and their internal struggles, as well as the blurred lines between reality and illusion.