A recent study found that it takes (on average) just 6 seconds for someone to respond to a notification. This same study found that after getting distracted, it takes around 25 minutes for you to return to your previous level of productivity. It's no wonder so many of us are having issues with getting things done.
Source: Improvement Pill