Measure for Measure is a play by William Shakespeare, believed to have been written in 1603 or 1604. Originally published in the First Folio of 1623, where it was listed as a comedy, the play's first recorded performance occurred in 1604. Measure for Measure is often called one of Shakespeare's problem plays. It continues to be classified as a comedy, albeit a dark one, though its tone may defy those expectations.