The present invention relates to a method of producing syringes. Said method comprises fixing a needle to a syringe body by use of an adhesive followed by subjecting the syringes thus obtained to heat treatment. The invention further relates to a method of reducing leachables and/or extractables in prefilled syringes, said method comprising heat treating pre-fabricated syringes at a temperature of at least 40° C. before filling.