The 32-year-old was driving the Vauxhall Astra when the collision took place near Dundonald at about 17:40 on Saturday.
His passengers - two men aged 24 and 25 - were seriously injured and remain in Crosshouse Hospital.
Police officers investigating the crash have appealed for anyone who saw it to make contact with them.
A man has died after a car he was in crashed into a wall on the A759 in Ayrshire.