A filter device having a filter element arranged in a filter housing that can
be
sealed by a housing lid with a sealing ring. The medium to be filtered is supplied
to the filter element through an inlet opening in the filter housing. On the filtered
side of the filter element, the filtered medium is discharged through an outlet
opening in the filter housing. The housing lid is constructed in two parts and
includes an inner lid and an outer lid. The inner lid can be inserted into a housing
opening, with the sealing ring arranged between the inner lid and the wall of the
housing opening. The outer lid covers the housing opening and is connected with
the wall of the housing opening by a locking mechanism.