To qualify for the new state pension, you need a minimum of 10 qualifying years on your National Insurance record, but you can accrue up to 35 qualifying years for higher payouts.