Where you have selected either the email or SMS (text) passcode option, the codes received will be valid for approximately 15 minutes.
If you have selected to use our preferred method, the authenticator app, the code is generally valid for 30 seconds.