v3.25.2
Consolidated Statements of Cash Flows - USD ($)
$ in Millions
6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Net cash provided by (used in) operating activities $ 11,715 $ 3,821
Cash flows from investing activities    
Purchases of investment securities (51,127) (41,294)
Proceeds from sales of investment securities 21,167 35,976
Proceeds from maturities and repayments of investment securities 2,079 4,307
Purchases of mortgage loans acquired held-for-investment (61,566) (57,665)
Proceeds from sales of mortgage loans acquired held-for-investment 1,760 1,430
Proceeds from repayments of mortgage loans acquired held-for-investment 146,952 126,412
Advances under secured lending arrangements (62,533) (46,289)
Net (increase) decrease in securities purchased under agreements to resell 5,305 (3,862)
Cash flows related to derivatives (716) 3,111
Other, net (407) 201
Net cash provided by (used in) investing activities 914 22,327
Cash Provided by (Used in) Financing Activity, Including Discontinued Operation [Abstract]    
Net increase (decrease) in borrowings with original maturity of three months or less 6,713 4,232
Net increase (decrease) in securities sold under agreements to repurchase (638) 1,830
Other, net (2) (4)
Net cash provided by (used in) financing activities (13,896) (26,635)
Net increase (decrease) in cash and cash equivalents (includes restricted cash and cash equivalents) (1,267) (487)
Cash and cash equivalents (includes restricted cash and cash equivalents) at the beginning of year 5,534 6,019
Cash and cash equivalents (includes restricted cash and cash equivalents) at end of period 4,267 5,532
Cash paid for:    
Debt interest 54,751 48,506
Income taxes 1,500 2,250
Held by consolidated trusts    
Cash Provided by (Used in) Financing Activity, Including Discontinued Operation [Abstract]    
Proceeds from issuance 129,263 102,983
Repayments and redemptions (152,922) (125,972)
Cash and cash equivalents (includes restricted cash and cash equivalents) at the beginning of year 1,056  
Cash and cash equivalents (includes restricted cash and cash equivalents) at end of period 1,037  
Held by Freddie Mac    
Cash Provided by (Used in) Financing Activity, Including Discontinued Operation [Abstract]    
Proceeds from issuance 63,572 31,786
Repayments and redemptions $ (59,882) $ (41,490)