Genty
Youll usually need at least 10 qualifying years on your National Insurance record to get any State Pension. You'll need 35 qualifying years to get the full new State Pension. You'll get a proportion of the new State Pension if you have between 10 and 35 qualifying years.
It's not as simple as that, although you are right about needing 'qualifying years'. The problem is that the tax year runs April to April, so if you start a job in, say, July, or leave in December it won't count as a qualifying year unless you go straight into another job without missing a payment. Women leaving work to have babies often fall foul of this one, as do people on term-time only contracts, who are usually women fitting around their school age children.
This is not made clear when people are working and in a position to do something about it. Most of us just go to work and accept what goes into the bank or is on our payslip. The implications should be more well known.
Annoyingly, those who do know the system can end up much better off than those who pay in for years. A friend of mine has not worked since her first child was born, and he is now 30. She got her NI paid whilst her children were younger (for well over 20 years, as she has three and the NI was paid until the youngest reaches the upper age limit). When they reached the cut-off age she started paying voluntary contributions, which are a small fraction of the payments made by those in work, so she has a full contributions record without ever working.
When she retires, she will have a full pension, unlike many people who have worked for decades but then found that some of their years don't count, or that they were contracted out by their employer.
What really annoys me is that it is people who can afford not to work who do well out of this. People who can't afford not to work end up having to subsidise those who can, as their contributions are used to plug the gaps by those who don't contribute. It's very unfair.