Police Scotland said the 20-year-old driver of a white BMW 116D and an 84-year-old man driving a blue Peugeot 208 were pronounced dead at the scene. The collision happened at about 12:15 on Sunday.
A 19-year-old man who was a passenger in the BMW was taken to hospital for treatment, while a 20-year-old man and a 23-year-old woman travelling in a blue Citroen Saxo were checked over by paramedics.
The road was closed for several hours while an initial investigation took place, during Storm Boelo, which caused major travel disruption across the country.
Sergeant Dave Waddell asked anyone who witnessed the crash or has dash cam footage of the area to share it with officers. "Our thoughts are with the families and friends of the two men who have died, and everyone affected by this incident," he said.