Abstract Background To compare specific dietary and behavioral recommendations for hemorrhoids prevention during pregnancy. Methods This was a randomized, single-blind, multicenter trial conducted in three different clinical centers. Patients were randomly allocated into two groups in a ratio of 1:1. Intervention consisted of specific dietary and behavioral counseling. The primary outcome of this study was the rate of hemorrhoids at the time of discharge from the obstetrics unit. Categorical variables were compared by the Chi-Squared or Fisher exact tests, as appropriate. Continuous variables were compared using either the Student's t-test or the Mann–Whitney U test. Binary logistic regression model was used to identify independent predictors of hemorrhoids after delivery. This analysis was performed on factors with a p-value