Why this matters.
If you work for yourself as a sole trader or partner, you pay National Insurance on your profits, not on what you draw out. Class 4 contributions are charged under section 15 of the Social Security Contributions and Benefits Act 1992 and collected through your Self Assessment return alongside Income Tax (section 16), so they also count towards your payments on account. Since 6 April 2024 the National Insurance Contributions (Reduction in Rates) (No. 2) Act 2024 cut the main Class 4 rate to 6% on profits between the Lower Profits Limit and the Upper Profits Limit, with 2% above that, and removed the requirement to pay Class 2. If your profits are at or above the Small Profits Threshold you are now treated as having paid Class 2 and get a qualifying year for the State Pension without paying anything extra.
The risk for freelancers is less about the rate and more about the gaps. If your profits fall below the Small Profits Threshold, or you have a quiet year, a career break or a mix of employed and self-employed work, you may not build a qualifying year unless you choose to pay voluntary Class 2. You need 35 qualifying years for the full new State Pension and at least 10 to get any at all, and gaps can usually only be filled for a limited number of past years. Getting your business structure, profit figures and Self Assessment right also matters: errors in Class 4 are corrected in the same way as Income Tax, with interest and penalties under the Finance Act 2007 and Finance Act 2009 penalty regimes.