Divorce usually doesn’t affect your basic State Pension or the new State Pension.
If you have the old State Pension (reached pension age before 6 April 2016), the extra part of it based on your earnings might be shared with your ex if the court decides.
There are special rules for some pensions, so it’s a good idea to get advice about your own situation.

