Two fighter jets passed less than 300ft apart in a near miss in the North-east.
The incident involving a Typhoon and a Tornado took place above Lossiemouth, close to its RAF base, in August last year, an official report has revealed.
The Tornado had been airborne for less than a minute when its pilot spotted the Typhoon.
According to a report by the UK Airprox board, the jets, which were flying at more than 300mph, came within 286ft of each other.
Investigators said the incident happened because the Typhoon pilot did not integrate effectively with the Tornado as it took off from the airbase.
It also emerged air traffic controllers did not tell the Typhoon pilots about the nearby Tornado formation.
Investigators rated the incident as a “B” – the second most serious category – meaning the safety of the aircraft was not guaranteed.