An apparatus for application of a lubricant to a threaded portion (8a, 8b) formed on the outer or inner surface on the end of a steel pipe which constitutes a pin or a box of a threaded joint for pipes, the apparatus comprising a steel pipe support unit which supports the steel pipe while rotating the pipe about its central axis, a lubricant spraying unit (5, 5a, 5b) comprising a lubricant feed passage (15a, 16a, 21a) for feeding the lubricant, an air feed passage (17a, 18a, 22a) designed to feed air for atomization independently of the lubricant feed passage (15a, 16a, 21a), and at least one spray gun (19, 20, 23) having a nozzle (19a, 20a, 23a) at its tip designed to spray lubricant at the outer or inner surface on the end of a steel pipe through the nozzle (19a, 20a, 23a), the lubricant and air feed passages (15a, 16a, 17a, 18a, 21a, 22a) having a junction in the vicinity of the nozzle (19a, 20a, 23a) of the spray gun (19, 20, 23) to atomize the lubricant, and a spray gun support unit which supports the spray gun (19, 20, 23) such that it can move in the axial and/or radial direction of the steel pipe, characterized by further comprising: a lubricant circulation system comprising a tank for storing a lubricant which has a sprayable viscosity, piping through which the lubricant can circulate, and a pump for forcing the lubricant to circulate through the piping, a metering unit comprising a metering pump in order to meter the feed of lubricant circulating through the lubricant circulation system, and wherein the lubricant feed passage (15a, 16a, 21a) is for feeding the lubricant fed by the metering unit, the at least one spray gun (19, 20,23) comprises two spray guns (19, 20) to spray lubricant at the threaded portion formed on the outer surface of the end of the steel pipe which constitutes the pin, the two spray guns (19, 20) are located in positions different in the circumferential direction of the steel pipe, and a first spray gun of the two spray guns is sloped by 20-40° towards the end of the steel pipe with respect to a surface perpendicular to the longitudinal axis of the steel pipe, and a second spray gun of the two spray guns is sloped by 20 to 40° away from the end of the steel pipe with respect to a surface perpendicular to the longitudinal axis of the steel pipe. a lubricant circulation system comprising a tank for storing a lubricant which has a sprayable viscosity, piping through which the lubricant can circulate, and a pump for forcing the lubricant to circulate through the piping, a metering unit comprising a metering pump in order to meter the feed of lubricant circulating through the lubricant circulation system, the lubricant feed passage (15a, 16a, 21a) is for feeding the lubricant fed by the metering unit, the at least one spray gun (19, 20,23) comprises two spray guns (19, 20) to spray lubricant at the threaded portion formed on the outer surface of the end of the steel pipe which constitutes the pin, the two spray guns (19, 20) are located in positions different in the circumferential direction of the steel pipe, and a first spray gun of the two spray guns is sloped by 20-40° towards the end of the steel pipe with respect to a surface perpendicular to the longitudinal axis of the steel pipe, and a second spray gun of the two spray guns is sloped by 20 to 40° away from the end of the steel pipe with respect to a surface perpendicular to the longitudinal axis of the steel pipe. the two spray guns (19, 20) are located in positions different in the circumferential direction of the steel pipe, and a first spray gun of the two spray guns is sloped by 20-40° towards the end of the steel pipe with respect to a surface perpendicular to the longitudinal axis of the steel pipe, and a second spray gun of the two spray guns is sloped by 20 to 40° away from the end of the steel pipe with respect to a surface perpendicular to the longitudinal axis of the steel pipe.