If you had an ID but need a new one, use this link: https://online.hmrc.gov.uk/user/credentials/userid
If you request a replacement Government Gateway user ID or password between midnight 22 and midnight 31 January GMT, you must file your tax return online before midnight 15 February to avoid receiving a penalty.