Weather warnings and flood alerts were put in place, particularly for the east, where areas have suffered serious flood damage from the heavy rainfall.
Here are some pictures showing how bad parts of the country were hit by the extreme weather.

. pjimage - 2020-10-04T141251.826.jpg
Storm Alex takes its toll on parts of Scotland as areas are affected by heavy rainfall and major flooding Photo: JPI Media

. Travel disruptions
Emergency services rescue drivers whose vehicles are stuck in flood water in Kirkliston, West Lothian, after heavy rain on October 4. Photo: SWNS

5. All hands on deck
Water is cleared from the 18th green during the Aberdeen Standard Investments Scottish Open (day three) at the Renaissance Club on October 3 in North Berwick, Scotland. Photo: Ross Parker - SNS Group

6. Waterlogged grounds
Ground staff at work clearing the waterlogged green on the 18th due to heavy rain during the third round of the Aberdeen Standard Investments Scottish Open at The Renaissance Club, North Berwick. Photo: Jane Barlow

7. Collapsed bridge
Extreme weather brought in by Storm Alex has caused severe damage to a bridge in Balbirnie Park in Markinch, Fife. The picture was taken by passerby Jordan Dick who said the area has been hit hard by flooding. Photo: Jordan Dick

8. Pitches flooded
Hercules Den Arbroath - home pitches of Arbroath community sports club flooded after Storm Alex battered most parts of the country over the weekend. Picture taken by local resident Martin Tosh. Photo: Martin Tosh