Tank module for a motor vehicle, with a housing in which a receptacle is provided, wherein a connection element in the form of a charging socket is arranged in the receptacle, a protective element for the connection element, which is movable between at least two positions (I, II), namely: a rest position, in which the receptacle can be closed by the protective element, and an operating position in which the receptacle can be released by the protective element so that the connecting element is exposed, wherein the protective element has an outer surface (20.1), and at least one sensor for detecting an activation action of a user to transfer the protective element between the rest position and the operating position, wherein the protective element is mounted such that the outer surface (20.1) of the protective element in the rest position and the outer surface (20.1) of the protective element in the operating position are aligned parallel to each other, characterized in that the sensor has a deformation area at which the activation action of the user can be detected by deforming the deformation area, in that the sensor has at least one inductive, elastically deformable activation means, and in that the at least one activating means is formed as an electrically conductive foil, coating or element made of metal. a housing in which a receptacle is provided, wherein a connection element in the form of a charging socket is arranged in the receptacle, a protective element for the connection element, which is movable between at least two positions (I, II), namely: a rest position, in which the receptacle can be closed by the protective element, and an operating position in which the receptacle can be released by the protective element so that the connecting element is exposed, wherein the protective element has an outer surface (20.1), and at least one sensor for detecting an activation action of a user to transfer the protective element between the rest position and the operating position, wherein the protective element is mounted such that the outer surface (20.1) of the protective element in the rest position and the outer surface (20.1) of the protective element in the operating position are aligned parallel to each other, characterized in that the sensor has a deformation area at which the activation action of the user can be detected by deforming the deformation area, in that the sensor has at least one inductive, elastically deformable activation means, and in that the at least one activating means is formed as an electrically conductive foil, coating or element made of metal. a rest position, in which the receptacle can be closed by the protective element, and an operating position in which the receptacle can be released by the protective element so that the connecting element is exposed, wherein the protective element has an outer surface (20.1), and at least one sensor for detecting an activation action of a user to transfer the protective element between the rest position and the operating position, wherein the protective element is mounted such that the outer surface (20.1) of the protective element in the rest position and the outer surface (20.1) of the protective element in the operating position are aligned parallel to each other, characterized in that the sensor has a deformation area at which the activation action of the user can be detected by deforming the deformation area, in that the sensor has at least one inductive, elastically deformable activation means, and in that the at least one activating means is formed as an electrically conductive foil, coating or element made of metal.