Pension and other post-retirement benefits - Contributions (Details 7) - CHF (SFr)
SFr in Millions
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Defined Contribution Pension and Other Postretirement Plans Disclosure      
Contributions made by the Entity to defined contribution pension plans SFr 263 SFr 299 SFr 167
Switzerland      
Defined Contribution Pension and Other Postretirement Plans Disclosure      
Contributions made by the Entity to defined contribution pension plans 100 143  
Bank      
Defined Contribution Pension and Other Postretirement Plans Disclosure      
Contributions made by the Entity to defined contribution pension plans 235 240 150
Contributions made by the Entity to the group defined benefit plan 248 249 SFr 338
Bank | Switzerland      
Defined Contribution Pension and Other Postretirement Plans Disclosure      
Contributions made by the Entity to defined contribution pension plans SFr 89 SFr 96