How long the ban lasts depends on what you did and how many times you’ve been banned in the past. In general, a temporary ban lasts no more than 48 hours. In some cases, it might last for just a few hours.