A method and apparatus for introducing a sealing compound into a filter device include attaching sealing caps for the purpose of producing the sealing compound, and distributing the sealing compound from a sealing chamber via the sealing caps onto the ends of the filter device. The sealing compound is passed from the sealing chamber into a rotationally symmetrical cantilevered projection of the respective sealing cap, from which the sealing compound penetrates into the housing via corresponding slots of the sealing cap.