To investigate the prevalence, types, and risk factors of functional gastrointestinal diseases (FGIDs) in Hainan Province, China, in order to provide insights for future prevention and treatment strategies. A questionnaire survey was conducted from July 2022 to May 2023, using stratified sampling to sample local residents in five cities (20 townships) in Hainan Province. Out of 2057 local residents surveyed, 659 individuals (32.0%) reported experiencing at least one FGID. The most prevalent FGIDs were functional dyspepsia (FD) (10.7%), functional constipation (FC) (9.3%), irritable bowel syndrome (IBS) (6.8%), functional bloating (2.2%), belching disorder (2.2%), functional diarrhea (FDr) (1.5%), functional heartburn (1.5%), and fecal incontinence (0.98%). The study revealed significant associations between FGIDs and factors such as age, sleep quality, anxiety, smoking, alcohol consumption, and the consumption of pickled food (P < 0.05). Older age, poor sleep quality, anxiety, and the consumption of pickled food were identified as independent risk factors for the prevalence of FGIDs (P < 0.05). In Hainan Province, the overall prevalence of FGIDs was found to be 32.0%, with higher prevalences of FC and FD. Older age, poor sleep quality, anxiety, and the consumption of pickled food were identified as risk factors for FGIDs.