James Shirley (or Sherley) (September 1596 – October 1666) was an English dramatist.
He belonged to the great period of English dramatic literature, but, in Lamb's words, he "claims a place among the worthies of this period, not so much for any transcendent genius in himself, as that he was the last of a great race, all of whom spoke nearly the same language and had a set of moral feelings and notions in common." His career of play writing extended from 1625 to the suppression of stage plays by Parliament in 1642.
Shirley was born in London. He was educated at Merchant Taylors' School, London, St John's College, Oxford, and St Catharine's College, Cambridge, where he took his B.A. degree in or before 1618.
His first poem, Echo, or the Unfortunate Lovers (of which no copy is known, but which is probably the same as Narcissus of 1646), was published in 1618. After earning his M.A., he was, Wood says, "a minister of God's word in or near St Albans." Apparently in consequence of his conversion to the Roman Catholic faith, he left his living, and was master of St Albans School from 1623–25. His first play, Love Tricks, seems to have been written while he was teaching at St Albans. He removed in 1625 to London, where he lived in Gray's Inn, and for eighteen years from that time he was a prolific writer for the stage, producing more than thirty regular plays, tragedies, comedies, and tragicomedies, and showing no sign of exhaustion when a stop was put to his occupation by the Puritan edict of 1642. Most of his plays were performed by Queen Henrietta's Men, the playing company for which Shirley served as house dramatist, much as Shakespeare, Fletcher, and Massinger had done for the King's Men.