A method and a device for operating an internal combustion engine having
multiple cylinders allows for an operating state of the internal
combustion engine to be switched over as quickly as possible following
the receipt of a switchover request. For this purpose, at least one
intake or exhaust valve of a cylinder is switched off or at least one
switched-off intake or exhaust valve of the cylinder is switched on again
in at least one operating state of the internal combustion engine in
response to the switchover request.