Eleven of Scotland’s health boards were victims of the cyber hack that meant medical staff unable to access patient records.
GP surgeries were also hit by the virus, which left ransom notes on computers and wide spread disruption.
Thankfully, only two GP surgeries were hit by the attack in Ayrshire.
John Wright, Director for Corporate Support Services, said: “NHS Ayrshire & Arran is aware of the reported cyber attack.
“NHS Ayrshire & Arran can confirm that two GP practices have been affected by the large-scale cyber attack.
“As a precaution, the practices were immediately disconnected from our network and we are in the process of checking and reconnecting the devices to the network. There is no evidence to suggest that patient details have been compromised and all our services are currently running as normal.”