Pharmaceutical compositions suitable for the oral administration of heparin or derivatives thereof, particularly controlled-release oral pharmaceutical compositions containing heparin with different molecular weight, for the treatment of inflammatory bowel diseases and related conditions, are disclosed.