Method for ensuring that a vehicle can safely cross a traffic light, the vehicle comprising a computer capable of determining a distance (Dvf) between the vehicle and said traffic light, a speed regulator, and a light sensor capable of detecting the state of said traffic light out of a stop state and a go state, the method comprising the following steps: - a step of reception of traffic data, in which the computer receives traffic data transmitted from an external device, the traffic data comprising a time of change of state of said traffic light, for a change from the stop state to the go state, the computer further determining a current distance (Dvfc) between the vehicle and the traffic light substantially at the moment of reception of the data, - a step of determination of a speed profile, in which the computer determines, as a function of the time of change of state and of the current distance (Dvfc), a speed profile to be adopted by the vehicle according to the distance (Dvf) from the vehicle to the traffic light, for the vehicle to cross the traffic light in the go state, without the vehicle stopping, - a step of determination of a control distance, in which the computer determines, as a function of the speed profile, a control distance (Dc) at which a dynamic braking of the vehicle guarantees a safe and comfortable stopping of the vehicle, before the position of said traffic light, - a regulation step in which the speed regulator regulates the speed of the vehicle as a function of the distance (Dvf) from the vehicle to the traffic light, according to the speed profile, characterized in that said method further comprises - a step of detection of the state of the traffic light, in which the light sensor determines the state of said traffic light when the vehicle is at a distance from the traffic light equal to the control distance (Dc), and - a decision step, in which the computer activates a dynamic braking of the vehicle if the traffic light is in the stop state, and in which the computer lets the speed regulator regulate the speed of the vehicle according to the speed profile, if the traffic light is in the go state. - a step of reception of traffic data, in which the computer receives traffic data transmitted from an external device, the traffic data comprising a time of change of state of said traffic light, for a change from the stop state to the go state, the computer further determining a current distance (Dvfc) between the vehicle and the traffic light substantially at the moment of reception of the data, - a step of determination of a speed profile, in which the computer determines, as a function of the time of change of state and of the current distance (Dvfc), a speed profile to be adopted by the vehicle according to the distance (Dvf) from the vehicle to the traffic light, for the vehicle to cross the traffic light in the go state, without the vehicle stopping, - a step of determination of a control distance, in which the computer determines, as a function of the speed profile, a control distance (Dc) at which a dynamic braking of the vehicle guarantees a safe and comfortable stopping of the vehicle, before the position of said traffic light, - a regulation step in which the speed regulator regulates the speed of the vehicle as a function of the distance (Dvf) from the vehicle to the traffic light, according to the speed profile, characterized in that said method further comprises - a step of detection of the state of the traffic light, in which the light sensor determines the state of said traffic light when the vehicle is at a distance from the traffic light equal to the control distance (Dc), and - a decision step, in which the computer activates a dynamic braking of the vehicle if the traffic light is in the stop state, and in which the computer lets the speed regulator regulate the speed of the vehicle according to the speed profile, if the traffic light is in the go state.