Question: how long do you need to work to get a pension?
Answer: Workers needed to have 30 years of qualifying National Insurance contributions to get the old state pension, but require 35 years to get the full flat rate state pension now. However, even if you paid in full for a whole 35 years, if you contracted out for some years on top of that it might still reduce what you get.