Novel benzoheterocyclic compound of the formula (1): ##STR1## and pharmaceutically acceptable salts thereof, which show excellent anti-vasopressin activity and oxytocin antagonistic activity, and are useful as a vasopressin antagonist or oxytocin antagonist.