A method for preventing at least some alarms to be emitted by an anti-collision system on board an airplane during an altitude capture maneuver comprising a phase for capturing an altitude set level (Zc), said anti-collision system being able to detect at least one intrusive aircraft being located in the air environment of said airplane, to calculate a theoretical collision time between said airplane and said intrusive aircraft and to emit alarms of the first type and alarms of the second type, when such a theoretical collision time is lower respectively than a first threshold and a second threshold, said method being able to implement a step of adaptation of said altitude capture maneuver by a control of the vertical speed of said airplane so as to prevent at least some of said alarms from being emitted, characterized in that it includes steps: A/ for detecting first the emission of an alarm of the first type during said altitude capture maneuver; B/ for determining said first alarm threshold (S1d) from the altitude of said airplane at the time of the emission of said alarm of the first type and of said level of the reference altitude (Zc); and C/ for establishing an activation height threshold (ha) from said first determined alarm threshold (S1d) and from the vertical speed of said airplane at the time of the emission of said alarm of the first type, so that: ▪ when the height (h) separating said airplane from said altitude set level (Zc), at time of the emission of said alarm of the first type, is at the most equal to said determined height threshold (ha), said adaptation step is able to be implemented so as to prevent new alarms from being emitted; and ▪ when the height (h) separating said airplane from said altitude set level (Zc), at the time of the emission of said alarm of the first type, is strictly higher than said height threshold (ha), said adaptation step of the altitude capture maneuver is inhibited. A/ for detecting first the emission of an alarm of the first type during said altitude capture maneuver; B/ for determining said first alarm threshold (S1d) from the altitude of said airplane at the time of the emission of said alarm of the first type and of said level of the reference altitude (Zc); and C/ for establishing an activation height threshold (ha) from said first determined alarm threshold (S1d) and from the vertical speed of said airplane at the time of the emission of said alarm of the first type, so that: ▪ when the height (h) separating said airplane from said altitude set level (Zc), at time of the emission of said alarm of the first type, is at the most equal to said determined height threshold (ha), said adaptation step is able to be implemented so as to prevent new alarms from being emitted; and ▪ when the height (h) separating said airplane from said altitude set level (Zc), at the time of the emission of said alarm of the first type, is strictly higher than said height threshold (ha), said adaptation step of the altitude capture maneuver is inhibited. ▪ when the height (h) separating said airplane from said altitude set level (Zc), at time of the emission of said alarm of the first type, is at the most equal to said determined height threshold (ha), said adaptation step is able to be implemented so as to prevent new alarms from being emitted; and ▪ when the height (h) separating said airplane from said altitude set level (Zc), at the time of the emission of said alarm of the first type, is strictly higher than said height threshold (ha), said adaptation step of the altitude capture maneuver is inhibited.