Female gender was a risk factor for constipation. Intake of a medium quantity of fiber and exercise were protective factors for constipation.