In the UK, it is possible for some family members to inherit a portion of your State Pension after you pass away, but this depends on your individual circumstances.
If you reach State Pension age on or after 6 April 2016, and you are entitled to the new State Pension, you may be able to pass on some of your State Pension to your spouse, civil partner or qualifying partner (a partner you have lived with for at least two years). This is known as a 'State Pension top-up' or 'bereavement allowance'. The amount that can be inherited depends on your National Insurance record and the amount of State Pension you are entitled to.