The invention relates to a method for calibrating a position (24) of a matrix headlamp (12) of a motor vehicle by means of a camera (16) of the motor vehicle (10), wherein the matrix headlamp (12) comprises a plurality of segments (S1, S2, S3, S4, S5, S6) controllable independently of one another for light emission. At least one first image of a sign is recorded by means of the camera (16), a location area in which the sign (30) is located is determined, the illuminance of a first segment (S1, S2, S3, S4, S5, S6) is changed, at least one second image is recorded and examined in order to ascertain whether a change in a glare effect detected on the basis of the recorded at least one second image has occurred, and, if so, the position (24) of the matrix headlamp (12) is calibrated in accordance with the first segment (S1, S2, S3, S4, S5, S6) and position information (KL, KR) derived from the location region.