Functional gastrointestinal diseases and peptic ulcers were more frequent in the white-collar city, while diagnoses in the gallbladder area were significantly more frequent in the blue-collar city. Functional dyspepsia, irritable bowel syndrome, and unspecified functional bowel diseases, and celiac disease, were more frequent among women while esophageal reflux, peptic ulcers, gastric and rectal cancers were more frequent among men regardless of social environment.