Form: S-8

Securities to be offered to employees in employee benefit plans

May 21, 2025

Exhibit 23.2

Consent of Independent Registered Public Accounting Firm

We hereby consent to the incorporation by reference in this Registration Statement of our reports dated February 28, 2025, relating to the consolidated financial statements and the effectiveness of internal control over financial reporting, of Dynex Capital, Inc. (the Company) appearing in the Company’s Annual Report on Form 10-K for the year ended December 31, 2024.

/s/ BDO USA, P.C.

Richmond, Virginia
May 21, 2025