The invention relates to a heparin-functionalized semi-permeable membrane comprising at least one layer of porous biocompatible polymer, and one layer of non-woven biocompatible polymer wherein said heparin is covalently bound to a layer on the surface of said porous biocompatible polymer.