A resist composition comprising at least one kind of a nitrogen-containing
compound selected from the group consisting of an amine compound having a
phenoxy group, an ammonium salt compound having a phenoxy group, an amine
compound having a sulfonic acid ester group and an ammonium salt compound
having a sulfonic acid ester group; and a pattern forming method using
the composition.