Switching between real and demo accounts on MT5 involves going to the ‘File’ menu, selecting ‘Login to Trade Account’, and entering the login credentials for either your real or demo account.