The active status on Instagram updates within a few minutes after you close the app. However, this can sometimes vary based on your internet connection and Instagram's server response times. If you close the app and immediately someone checks your status, they might still see you as active until the status updates.