If you are planning to claim the UK state pension, you have until 5 April 2023 to check your National Insurance record and make additional contributions. Usually you can only make voluntary contributions for the past six years, but until 5 April 2023 there is an extension in place, which allows individuals to fill gaps from 6 April 2006 to present day. In general, to qualify for the maximum “new state pension” a person must have 35 qualifying years of NI contributions. For part payment, a person must have contributed for at least 10 years.
To check your NI record follow the link https://www.gov.uk/check-national-insurance-record If you think there are any errors on your record please contact HMRC (or talk to us).