Antimicrobial polymers, composition including the polymers, and methods of forming and using the polymers and compositions are disclosed. The compositions have reverse thermal gelling properties and transform from a liquid to a gel—e.g., near or below body temperature, such as a skin temperature in an operating room. The polymers and compositions can be applied to a surface, such as a surface of skin proximate an incision site prior to surgery, to provide a relatively sterile area near the site.