The duration of the smell can vary depending on several factors, such as the type and amount of spray paint used, ventilation in the area, and cleaning methods. On average, it can take anywhere from a few hours to a few days for the smell to dissipate.