Form: S-8

Initial registration statement for securities to be offered to employees pursuant to employee benefit plans

September 17, 2014

Exhibit 23.2

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in this Registration Statement on Form S-8 of our reports dated March 4, 2014, relating to the consolidated financial statements and the effectiveness of Dynex Capital, Inc.’s internal control over financial reporting, appearing in the Company’s Annual Report on Form 10-K for the fiscal year ended December 31, 2013.

/s/ BDO USA, LLP

Richmond, Virginia

September 17, 2014