v3.25.2
Cover - shares
6 Months Ended
Jun. 30, 2025
Jul. 08, 2025
Document Information [Line Items]    
Document Quarterly Report true  
Document Transition Report false  
Document Type 10-Q  
Document Period End Date Jun. 30, 2025  
Entity File Number 001-34139  
Entity Registrant Name Federal Home Loan Mortgage Corporation  
Entity Incorporation, State or Country Code X1  
Entity Tax Identification Number 52-0904874  
Entity Address, Address Line One 8200 Jones Branch Drive  
Entity Address, City or Town McLean,  
Entity Address, State or Province VA  
Entity Address, Postal Zip Code 22102-3110  
City Area Code (703)  
Local Phone Number 903-2000  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   650,059,553
Entity Central Index Key 0001026214  
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2025  
Document Fiscal Period Focus Q2  
Amendment Flag false