Our MT4 Demo accounts last for 30 days while MT5 Demo accounts will expire after 35 days of inactivity. You will not be able to access it once it expires.
To get a new Demo account, you need to open it through the Client Portal > Trading Accounts then under Live/Demo drop-down choose ‘Demo’.