A 49-year-old patient who presented initially for treatment of inhibited sexual desire and secondary impotence was found to meet DSM-III criteria for compulsive gambling. The relationship between sexual dysfunction and gambling is discussed. Compulsive gambling should be considered in the differential diagnosis of impotence, and a sexual history should be obtained from patients with compulsive gambling.