In this study, the effects of a homogenous porphyran fromPorphyra haitanensis(PHP) on the intestinal barrier and gut microbiota were investigated. The results showed that oral administration of PHP resulted in a higher luminal moisture content and a lower pH environment for the growth of beneficial bacteria in the colon of mice. PHP significantly increased the production of total short-chain fatty acids during the fermentation process. PHP made the intestinal epithelial cells of mice arrange more tidily and tightly with a significant increase in mucosal thickness. PHP also increased the amount of mucin-producing goblet cells and the expression of mucin in the colon, which maintained the structure and function of the intestinal mucosal barrier. Moreover, PHP up-regulated the expression of tight junctions including ZO-1 and occludin, improving the intestinal physical barrier function. The results of 16S rRNA sequencing showed that PHP regulated the composition of gut microbiota in mice, increasing the richness and diversity of gut microbiota and the ratio of Firmicutes to Bacteroidetes. This study revealed that the intake of PHP is beneficial for the gastrointestinal tract and PHP could be a potential source of prebiotics in the functional food and pharmaceutical industries.