The present invention is to provide a wavelength division multiplexer and a packaging method, including a filter, a first, a second graded refractive index lens, a first, second, third, and fourth UV adhesive layers, a first 1. The wave splitting unit of two optical fiber guides, and an outer tube unit with a tube wall, an accommodating space, and two closures, the optical filter has a first, two end faces and a first outer peripheral surface, and the lenses Respectively have a third, fourth end surface, a second outer peripheral surface, and a fifth, sixth end surface, a third outer peripheral surface, these optical fiber guides respectively have a seventh, eighth end surface, a fourth outer peripheral surface, at least one optical fiber, and a ninth and ten end faces, a fifth outer peripheral face, and at least one optical fiber, the UV adhesive layers are respectively coated on the first and second outer peripheral faces adjacent to the first and third end faces, the second 1. The third outer peripheral surface is adjacent to the second and fifth end surfaces, the second and fourth outer peripheral surfaces are adjacent to the fourth and seventh end surfaces, and the third and fifth outer peripheral surfaces are adjacent to the sixth and ninth end surfaces. position.