The Country Wife is a Restoration comedy written by William Wycherley and first performed in 1675. A product of the tolerant early Restoration period, the play reflects an aristocratic and anti-Puritan ideology, and was controversial for its sexual explicitness even in its own time. The title contains a lewd pun with regard to the first syllable of "country". It is based on several plays by Molière, with added features that 1670s London audiences demanded: colloquial prose dialogue in place of Molière's verse, a complicated, fast-paced plot tangle, and many sex jokes.
It turns on two indelicate plot devices: a rake's trick of pretending impotence to safely have clandestine affairs with married women, and the arrival in London of an inexperienced young "country wife", with her discovery of the joys of town life, especially the fascinating London men.The implied condition the Rake, Horner, claimed to suffer from was, he said, contracted in France whilst "dealing with common women". The only cure was to have a surgeon drastically reduce the extent of his manly stature; therefore, he could be no threat to any man's wife.