A resist composition comprising a base polymer and a sulfonium or iodonium salt of iodinated phenoxy or iodinated phenylalkoxy-containing fluorinated sulfonic acid offers a high sensitivity and minimal LWR or improved CDU independent of whether it is of positive or negative tone.