The present invention relates to methods for coating at least one surface of a medical device for improving the hemocompatibility of said surface. Further, the invention relates to medical devices comprising surfaces, coated with a coating composition containing a nonionic ester formed from an acyclic C3-C6(OH)3-6 polyol and from at least three C12-C26 fatty acids, and further includes at least one hydrophilic group.