Xbox bans can last anywhere from a few days to a few weeks, depending on the severity of the violation. However, most bans expire after a set amount of time has passed, typically around 24 hours.