On use of a sulfonium salt of specific structure as PAG, acid diffusion is suppressed. A resist composition comprising the sulfonium salt forms a pattern with improved lithography properties including EL, MEF and LWR when processed by lithography.