4-Hydroxybenzomorphans containing carboxamide or thiocarboxamide at the 3-position are useful as analgesics, anti-diarrheal agents, anticonvulsants, antitussives and anti-addiction medications. A compound of formulais disclosed, as are pharmaceutically acceptable acid addition salts, such as acetic, benzenesulfonic (besylate), benzoic, camphorsulfonic, citric, ethenesulfonic, fumaric, gluconic, glutamic, hydrobromic, hydrochloric, isethionic, lactic, maleic, malic, mandelic, methanesulfonic, mucic, nitric, pamoic, pantothenic, phosphoric, succinic, sulfuric, tartaric acid or p-toluenesulfonic acid salts. These compounds are useful for the treatment of pain.