The invention relates to a motor vehicle lock (1, 23), comprising: a
locking mechanism (2, 24) having a rotary latch (3) and at least one pawl (4, 25), wherein a rotary movement of the rotary latch (3) can be locked in at least one latching position by means of the pawl (4, 25); a closing device (11, 29), wherein the
locking mechanism (2, 24) can be transferred from a pre-latching position to a main latching position by means of the closing device (11, 29); an opening device, wherein a door element can be transferred from a closed position to an open position by means of the opening device; and a drive unit, wherein unlocking of the
locking mechanism (2, 24) can be enabled by means of the drive unit, and wherein selective closing or opening of the door element can be enabled by means of at least one movement of part of the locking mechanism (2, 24).