Disclosed is a prophylactic or therapeutic agent for diseases associated with pains in urinary organs. It is confirmed that a pyridyl non-aromatic nitrogenated heterocyclic-1-carboxylate compound or a salt thereof has an effective bladder capacity increasing activity and also has an analgesic activity on pains in the bladder and the testis, which rely on a FAAH inhibiting activity thereof. Therefore, a pyridyl non-aromatic nitrogenated heterocyclic-1-carboxylate compound or a salt thereof can be used for the prevention or treatment of interstitial cystitis/bladder pain syndrome and/or chronic non-bacterial prostatitis/chronic pelvic pain syndrome.