Abstract: A filter (1) for filtering air, in particular an air filtering element (30), is provided for releasably fitting into a housing (10) which has a housing upper part (11) and in particular a central tube (20) fastened to the housing upper part (11), and also the housing for the filtering element (30) is provided. The filtering element has a seal (33, 34) for holding the filtering element (1) on the housing upper part (11) and the central tube (20) and for sealing the space (111) between the filtering element (30) and housing upper part (11) when the filtering element (30) is releasably fitted in the housing (10). The seal (33, 34) is connectable in a form-fitting manner to a sealing receptacle (111) of the housing upper part (11) and/or of the central tube (20).