Finlay Johns, Ian Cannon and Tyler Johnston, pictured above, were all 16 and all from Moffat.
They were passengers in a Honda Civic which was in collision with another car on the A711 near Dumfries at 12.20 am on Wednesday morning.
A 17-year-old who was with them is in a critical condition in hospital in Glasgow.
Meanwhile, the three male occupants of the other car, a Honda CRV, were also taken to hospital. Their conditions are described as ‘serious but stable’.
Chief Inspector Lorraine Napier, of Police Scotland’s Road Policing unit, said: “Our enquiries are continuing into the circumstances that led to this fatal crash and we recognise how the local community is feeling in the aftermath of this awful incident.
“We have deployed specialist family liaison officers to support the families and friends of those who died or were injured. It is understandably an extremely traumatic incident.”
Anyone with information should contact officers via 101.
- Pictured above are Finlay in black, Ian in grey and Tyler wearing sunglasses