It is uncertain as to when the work was composed, which leaves the possibility that it was an early work that was filled with Milton's ideas about the English Civil War or it was a later work that incorporates his despair over the Restoration.
Evidence for the early dating is based on his early works and his belief in revolution whereas evidence for a later dating connects the play with his later works, such as Paradise Lost, and comments reflecting on the fall of the Commonwealth.
In 1671, the work was printed with a new title page and prefaced his work with a discussion on Greek Tragedy and Aristotle's Poetics.On the title page, Milton wrote that the piece was a "Dramatic Poem" instead of it being a drama.Many of the ideas dealt with the topic of Samson, and he gave them titles such as Samson pursophorus or Hybristes ("Samson the Firebrand, or Samson the Violent"), Samson marriing or in Ramath Lechi, and Dagonalia (the unholy rites at which Samson performed his vindication of God).The title he chose emphasises Samson as a warrior or an athlete, and the play was included with Paradise Regained and printed on by John Starkey.
In writing the poem, Milton, in choosing the character of Samson as his hero, was also illustrating his own blindness, which afflicted him in his later life.Samson Agonistes draws on the story of Samson from the Old Testament, Judges 13–16; in fact it is a dramatisation of the story starting at Judges . Samson has been captured by the Philistines, had his hair, the container of his strength, cut off and his eyes cut out.