The production of charged pions in minimum bias p+C interactions is studied with the NA49 detector at the CERN SPS proton beam at 158 GeV/c. The data cover a phase space area ranging from 0 to 1.8 GeV/c in transverse momentum and from