<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.19.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>262</ContextCount>
  <ElementCount>326</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>49</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/DocumentAndEntityInformationDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/ConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1005000 - Statement - Consolidated Statements of Shareholders' Equity Statement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/ConsolidatedStatementsOfShareholdersEquityStatement</Role>
      <ShortName>Consolidated Statements of Shareholders' Equity Statement</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1006000 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Organization and Summary of Significant Accounting Policies (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.dynexcapital.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesNotes</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Investments in Debt Securities Investment in Debt Securities (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.dynexcapital.com/role/InvestmentsInDebtSecuritiesInvestmentInDebtSecuritiesNotes</Role>
      <ShortName>Investments in Debt Securities Investment in Debt Securities (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2125100 - Disclosure - Repurchase Agreements (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.dynexcapital.com/role/RepurchaseAgreementsNotes</Role>
      <ShortName>Repurchase Agreements (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2129100 - Disclosure - Derivatives (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.dynexcapital.com/role/DerivativesNotes</Role>
      <ShortName>Derivatives (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2131100 - Disclosure - Fair Value of Financial Instruments (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.dynexcapital.com/role/FairValueOfFinancialInstrumentsNotes</Role>
      <ShortName>Fair Value of Financial Instruments (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2136100 - Disclosure - Shareholders' Equity and Share-Based Compensation (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.dynexcapital.com/role/ShareholdersEquityAndShareBasedCompensationNotes</Role>
      <ShortName>Shareholders' Equity and Share-Based Compensation (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2144100 - Disclosure - Subsequent Events (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.dynexcapital.com/role/SubsequentEventsNotes</Role>
      <ShortName>Subsequent Events (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2201201 - Disclosure - Organization and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.dynexcapital.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesNotes</ParentRole>
      <Position>14</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Investments in Debt Securities Investments in Debt Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/InvestmentsInDebtSecuritiesInvestmentsInDebtSecuritiesTables</Role>
      <ShortName>Investments in Debt Securities Investments in Debt Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2325301 - Disclosure - Repurchase Agreements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/RepurchaseAgreementsTables</Role>
      <ShortName>Repurchase Agreements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dynexcapital.com/role/RepurchaseAgreementsNotes</ParentRole>
      <Position>16</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2329301 - Disclosure - Derivatives (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/DerivativesTables</Role>
      <ShortName>Derivatives (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dynexcapital.com/role/DerivativesNotes</ParentRole>
      <Position>17</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2331301 - Disclosure - Fair Value of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/FairValueOfFinancialInstrumentsTables</Role>
      <ShortName>Fair Value of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dynexcapital.com/role/FairValueOfFinancialInstrumentsNotes</ParentRole>
      <Position>18</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2336301 - Disclosure - Shareholders' Equity and Share-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/ShareholdersEquityAndShareBasedCompensationTables</Role>
      <ShortName>Shareholders' Equity and Share-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dynexcapital.com/role/ShareholdersEquityAndShareBasedCompensationNotes</ParentRole>
      <Position>19</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2401402 - Disclosure - Organization and Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.dynexcapital.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Investments in Debt Securities Investments in Debt Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/InvestmentsInDebtSecuritiesInvestmentsInDebtSecuritiesDetails</Role>
      <ShortName>Investments in Debt Securities Investments in Debt Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.dynexcapital.com/role/InvestmentsInDebtSecuritiesInvestmentsInDebtSecuritiesTables</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2425402 - Disclosure - Repurchase Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/RepurchaseAgreementsDetails</Role>
      <ShortName>Repurchase Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.dynexcapital.com/role/RepurchaseAgreementsTables</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2425403 - Disclosure - Repurchase Agreements Remaining Term to Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/RepurchaseAgreementsRemainingTermToMaturityDetails</Role>
      <ShortName>Repurchase Agreements Remaining Term to Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2425404 - Disclosure - Repurchase Agreements Counterparty Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/RepurchaseAgreementsCounterpartyInformationDetails</Role>
      <ShortName>Repurchase Agreements Counterparty Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2425405 - Disclosure - Repurchase Agreements Offsetting (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/RepurchaseAgreementsOffsettingDetails</Role>
      <ShortName>Repurchase Agreements Offsetting (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2429402 - Disclosure - Derivatives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/DerivativesDetails</Role>
      <ShortName>Derivatives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.dynexcapital.com/role/DerivativesTables</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2429403 - Disclosure - Derivatives TBA securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/DerivativesTbaSecuritiesDetails</Role>
      <ShortName>Derivatives TBA securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2429404 - Disclosure - Derivatives Volume of Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/DerivativesVolumeOfActivityDetails</Role>
      <ShortName>Derivatives Volume of Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2429405 - Disclosure - Derivatives Offsetting Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/DerivativesOffsettingAssetsDetails</Role>
      <ShortName>Derivatives Offsetting Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2429406 - Disclosure - Derivatives Offsetting Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/DerivativesOffsettingLiabilitiesDetails</Role>
      <ShortName>Derivatives Offsetting Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2431402 - Disclosure - Fair Value of Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/FairValueOfFinancialInstrumentsDetails</Role>
      <ShortName>Fair Value of Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.dynexcapital.com/role/FairValueOfFinancialInstrumentsTables</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2431403 - Disclosure - Fair Value of Financial Instruments Level 3 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/FairValueOfFinancialInstrumentsLevel3Details</Role>
      <ShortName>Fair Value of Financial Instruments Level 3 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.dynexcapital.com/role/FairValueOfFinancialInstrumentsTables</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2431404 - Disclosure - Fair Value of Financial Instruments Recorded basis and Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/FairValueOfFinancialInstrumentsRecordedBasisAndFairValueDetails</Role>
      <ShortName>Fair Value of Financial Instruments Recorded basis and Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2436402 - Disclosure - Shareholders' Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/ShareholdersEquityDetails</Role>
      <ShortName>Shareholders' Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.dynexcapital.com/role/ShareholdersEquityAndShareBasedCompensationTables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2436403 - Disclosure - Shareholders' Equity and Share-Based Compensation Share-based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/ShareholdersEquityAndShareBasedCompensationShareBasedCompensationDetails</Role>
      <ShortName>Shareholders' Equity and Share-Based Compensation Share-based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2436404 - Disclosure - Shareholders' Equity and Share-Based Compensation Shareholders' Equity (nonprinting section) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/ShareholdersEquityAndShareBasedCompensationShareholdersEquityNonprintingSectionDetails</Role>
      <ShortName>Shareholders' Equity and Share-Based Compensation Shareholders' Equity (nonprinting section) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="a2q1910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2444401 - Disclosure - Subsequent Events Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynexcapital.com/role/SubsequentEventsSubsequentEventsDetails</Role>
      <ShortName>Subsequent Events Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="a2q1910-q.htm">a2q1910-q.htm</File>
    <File>a2q19form10-qexx311ceo.htm</File>
    <File>a2q19form10-qexx312cfo.htm</File>
    <File>a2q19form10-qexx321sox.htm</File>
    <File>dx-20190630.xsd</File>
    <File>dx-20190630_cal.xml</File>
    <File>dx-20190630_def.xml</File>
    <File>dx-20190630_lab.xml</File>
    <File>dx-20190630_pre.xml</File>
    <File>exhibit10235mrawellsfa.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>chart-534e4fa3a26952718c7.jpg</File>
    <File>chart-548aad27c38a5734aaa.jpg</File>
    <File>chart-78b6f10b10ef57ea9cc.jpg</File>
    <File>chart-8d8c8439f38a547b860.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/srt/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/invest/2013-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2018-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
