The present invention relates to a process for the preparation of sevelamer, in particular sevelamer hydrochloride and sevelamer carbonate/bicarbonate, by means of a process that allows sevelamer to be obtained with good yields and using conventional reactors, without requiring to use specific and expensive equipment.