v3.26.1
Summary of Significant Accounting Policies - Narrative (Details) - USD ($)
shares in Millions, $ in Millions
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Dec. 31, 2025
Dec. 31, 2024
Debt and Equity Securities, FV-NI [Line Items]        
Net change in securities purchased under agreements to resell $ 7,451 $ (15,245)    
Cash and restricted cash $ 45,264 $ 38,071 $ 42,583 $ 38,536
Weighted average number of contingently issuable shares (shares) 4,700 4,700    
Incremental common shares attributable to dilutive effect of conversion of preferred stock (in shares) 26 26    
Investment in securities, trading, at fair value $ 63,096   69,514  
Securities received as collateral 38,400   45,600  
Fair value of securities received as collateral that can be resold or repledged 37,500   43,400  
Acquired property 2,100   1,900  
Non-mortgage-related securities        
Debt and Equity Securities, FV-NI [Line Items]        
Investment in securities, trading, at fair value 44,424   55,223  
Non-mortgage-related securities | Pledged as collateral        
Debt and Equity Securities, FV-NI [Line Items]        
Investment in securities, trading, at fair value $ 9,100   $ 8,200  
Adjustment for Change in Accounting Principle        
Debt and Equity Securities, FV-NI [Line Items]        
Net change in securities purchased under agreements to resell   $ (549)    
Cash and restricted cash   $ (39,700)   $ (40,300)