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.
1. 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
2. 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
3. Residents in need of assistance
A driver being rescued from their car by emergency services after extreme weather conditions brought by Storm Alex flood Kirkliston, West Lothian. Photo: SWNS
4. A wet day for golf
Ian Poulter standing in the rain 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