The present invention relates to an implanted catheter that reduces infection by heating a portion of the catheter wall. Light absorption within the wall is used to heat the surface. A thermochromic layer can be used to limit temperatures and accurately control the temperature distribution.