Method for resistance welding of workpieces (121, 122), wherein welding electrodes (111, 112) are pressed against a welding point of the workpieces (121, 122) with the aid of an electrode drive with an electrode force (201, 202), wherein, in the course of a welding process, the welding electrodes (111, 112) are energized with a welding current for the duration of a welding time, and wherein the welding electrodes (111, 112) are pressed against the welding point of the workpieces (121, 122) with the electrode force after the end of the welding time in the course of a post-holding phase, wherein, in the course of the post-holding phase, a temporal profile (310, 320, 330, 410) of a welding electrode parameter characterizing a welding electrode position of one or both welding electrodes (111, 112) is determined, wherein a drive parameter of the electrode drive is determined as the welding electrode parameter, wherein a check is carried out to determine whether the temporal profile (310, 320, 330, 410) of the welding electrode parameter satisfies at least one characteristic feature, wherein the temporal profile (310, 320, 330, 410) of the welding electrode parameter satisfies the at least one characteristic feature if the welding electrode parameter reaches a parameter threshold value and/or if a gradient of the temporal profile (310, 320, 330, 410) of the welding electrode parameter reaches a gradient threshold value, wherein, on the basis of this check, it is determined when the post-holding phase is ended, wherein the at least one characteristic feature is predefined at least partially on the basis of a pre-holding phase (202, 301), wherein the welding electrodes (111, 112), in the course of this pre-holding phase (202, 301), are pressed against the welding point of the workpieces (121, 122) with the electrode force before the start of the welding process and are not energized with the welding current, wherein, in the course of the pre-holding phase (202, 301) a temporal profile (310, 320, 330, 410) of the welding electrode parameter is determined, characterized in that the at least one characteristic feature is determined at least partially on the basis of the temporal profile of the welding electrode parameter, which temporal profile is determined in the course of the pre-holding phase (202, 301). wherein welding electrodes (111, 112) are pressed against a welding point of the workpieces (121, 122) with the aid of an electrode drive with an electrode force (201, 202), wherein, in the course of a welding process, the welding electrodes (111, 112) are energized with a welding current for the duration of a welding time, and wherein the welding electrodes (111, 112) are pressed against the welding point of the workpieces (121, 122) with the electrode force after the end of the welding time in the course of a post-holding phase, wherein, in the course of the post-holding phase, a temporal profile (310, 320, 330, 410) of a welding electrode parameter characterizing a welding electrode position of one or both welding electrodes (111, 112) is determined, wherein a drive parameter of the electrode drive is determined as the welding electrode parameter, wherein a check is carried out to determine whether the temporal profile (310, 320, 330, 410) of the welding electrode parameter satisfies at least one characteristic feature, wherein the temporal profile (310, 320, 330, 410) of the welding electrode parameter satisfies the at least one characteristic feature if the welding electrode parameter reaches a parameter threshold value and/or if a gradient of the temporal profile (310, 320, 330, 410) of the welding electrode parameter reaches a gradient threshold value, wherein, on the basis of this check, it is determined when the post-holding phase is ended, wherein the at least one characteristic feature is predefined at least partially on the basis of a pre-holding phase (202, 301), wherein the welding electrodes (111, 112), in the course of this pre-holding phase (202, 301), are pressed against the welding point of the workpieces (121, 122) with the electrode force before the start of the welding process and are not energized with the welding current, wherein, in the course of the pre-holding phase (202, 301) a temporal profile (310, 320, 330, 410) of the welding electrode parameter is determined, characterized in that the at least one characteristic feature is determined at least partially on the basis of the temporal profile of the welding electrode parameter, which temporal profile is determined in the course of the pre-holding phase (202, 301).