The invention relates to a method for producing an optical waveguide containing a core that comprises an amorphous, transparent and thermoplastic polymer, whereby the polymers are processed while in a molten state, and the surfaces of the equipment used in this method are completely or partially inerted at locations at which they come into contact with the melt consisting of the polymers.