<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.6.0.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>577</ContextCount>
  <ElementCount>761</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>107</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Consolidated Statements of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/ConsolidatedStatementsOfIncome</Role>
      <ShortName>Consolidated Statements of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003000 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/ConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1003501 - Statement - Consolidated Statements of Comprehensive Income (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1004000 - Statement - Consolidated Statements of Changes in Stockholders' Equity Consolidated Statements of Changes in Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityConsolidatedStatementsOfChangesInStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders' Equity Consolidated Statements of Changes in Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1004001 - Statement - Consolidated Statements of Changes in Stockholders' Equity Consolidated Statements of Changes in Stockholders' Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityConsolidatedStatementsOfChangesInStockholdersEquityParenthetical</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders' Equity Consolidated Statements of Changes in Stockholders' Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>1005000 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Cash and Due from Banks</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/CashAndDueFromBanks</Role>
      <ShortName>Cash and Due from Banks</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Investment Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/InvestmentSecurities</Role>
      <ShortName>Investment Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Loans and Allowance for Loan Losses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/LoansAndAllowanceForLoanLosses</Role>
      <ShortName>Loans and Allowance for Loan Losses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Premises and Equipment, Net (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.firstmid.com/role/PremisesAndEquipmentNetNotes</Role>
      <ShortName>Premises and Equipment, Net (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/GoodwillAndIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Deposits (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.firstmid.com/role/DepositsNotes</Role>
      <ShortName>Deposits (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Borrowings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/Borrowings</Role>
      <ShortName>Borrowings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Regulatory Capital (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.firstmid.com/role/RegulatoryCapitalNotes</Role>
      <ShortName>Regulatory Capital (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Disclosures of Fair Values of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/DisclosuresOfFairValuesOfFinancialInstruments</Role>
      <ShortName>Disclosures of Fair Values of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Deferred Compensation Plan (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.firstmid.com/role/DeferredCompensationPlanNotes</Role>
      <ShortName>Deferred Compensation Plan (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2114100 - Disclosure - Stock Incentive Plan (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.firstmid.com/role/StockIncentivePlanNotes</Role>
      <ShortName>Stock Incentive Plan (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2115100 - Disclosure - Retirement Plans (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.firstmid.com/role/RetirementPlansNotes</Role>
      <ShortName>Retirement Plans (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Income Taxes (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.firstmid.com/role/IncomeTaxesNotes</Role>
      <ShortName>Income Taxes (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2117100 - Disclosure - Dividend Restrictions (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.firstmid.com/role/DividendRestrictionsNotes</Role>
      <ShortName>Dividend Restrictions (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2118100 - Disclosure - Commitments and Contingent Liabilities (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.firstmid.com/role/CommitmentsAndContingentLiabilitiesNotes</Role>
      <ShortName>Commitments and Contingent Liabilities (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2119100 - Disclosure - Related Party Transactions (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.firstmid.com/role/RelatedPartyTransactionsNotes</Role>
      <ShortName>Related Party Transactions (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2120100 - Disclosure - Business Combinations (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.firstmid.com/role/BusinessCombinationsNotes</Role>
      <ShortName>Business Combinations (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2121100 - Disclosure - Leases (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.firstmid.com/role/LeasesNotes</Role>
      <ShortName>Leases (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2122100 - Disclosure - Parent Company Only Financial Statements (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.firstmid.com/role/ParentCompanyOnlyFinancialStatementsNotes</Role>
      <ShortName>Parent Company Only Financial Statements (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2123100 - Disclosure - Quarterly Financial Data -- Unaudited (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.firstmid.com/role/QuarterlyFinancialDataUnauditedNotes</Role>
      <ShortName>Quarterly Financial Data -- Unaudited (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2201201 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2301302 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2302301 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/EarningsPerShare</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Investment Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/InvestmentSecuritiesTables</Role>
      <ShortName>Investment Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/InvestmentSecurities</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Loans and Allowance for Loan Losses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/LoansAndAllowanceForLoanLossesTables</Role>
      <ShortName>Loans and Allowance for Loan Losses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/LoansAndAllowanceForLoanLosses</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - Premises and Equipment, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/PremisesAndEquipmentNetTables</Role>
      <ShortName>Premises and Equipment, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/PremisesAndEquipmentNetNotes</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Goodwill and Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/GoodwillAndIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/GoodwillAndIntangibleAssets</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2308301 - Disclosure - Deposits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/DepositsTables</Role>
      <ShortName>Deposits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/DepositsNotes</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2309301 - Disclosure - Borrowings (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/BorrowingsTables</Role>
      <ShortName>Borrowings (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/Borrowings</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Regulatory Capital (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/RegulatoryCapitalTables</Role>
      <ShortName>Regulatory Capital (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/RegulatoryCapitalNotes</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2312301 - Disclosure - Disclosures of Fair Values of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/DisclosuresOfFairValuesOfFinancialInstrumentsTables</Role>
      <ShortName>Disclosures of Fair Values of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/DisclosuresOfFairValuesOfFinancialInstruments</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2314301 - Disclosure - Stock Incentive Plan (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/StockIncentivePlanTables</Role>
      <ShortName>Stock Incentive Plan (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/StockIncentivePlanNotes</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2316301 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/IncomeTaxesNotes</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2318301 - Disclosure - Commitments and Contingent Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/CommitmentsAndContingentLiabilitiesTables</Role>
      <ShortName>Commitments and Contingent Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/CommitmentsAndContingentLiabilitiesNotes</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2319301 - Disclosure - Related Party Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/RelatedPartyTransactionsTables</Role>
      <ShortName>Related Party Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/RelatedPartyTransactionsNotes</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2320301 - Disclosure - Business Combinations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/BusinessCombinationsTables</Role>
      <ShortName>Business Combinations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/BusinessCombinationsNotes</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2321301 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/LeasesNotes</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2322301 - Disclosure - Parent Company Only Financial Statements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/ParentCompanyOnlyFinancialStatementsTables</Role>
      <ShortName>Parent Company Only Financial Statements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/ParentCompanyOnlyFinancialStatementsNotes</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2323301 - Disclosure - Quarterly Financial Data -- Unaudited (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/QuarterlyFinancialDataUnauditedTables</Role>
      <ShortName>Quarterly Financial Data -- Unaudited (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.firstmid.com/role/QuarterlyFinancialDataUnauditedNotes</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2401403 - Disclosure - Summary of Significant Accounting Policies Summary of Significant Accounting Policies (PP&amp;E)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesPpe</Role>
      <ShortName>Summary of Significant Accounting Policies Summary of Significant Accounting Policies (PP&amp;E)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2401404 - Disclosure - Summary of Significant Accounting Policies Summary of Significant Accounting Policies (Trust Assets)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesTrustAssets</Role>
      <ShortName>Summary of Significant Accounting Policies Summary of Significant Accounting Policies (Trust Assets)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2401405 - Disclosure - Summary of Significant Accounting Policies Summary of Significant Accounting Policies (Preferred Stock)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesPreferredStock</Role>
      <ShortName>Summary of Significant Accounting Policies Summary of Significant Accounting Policies (Preferred Stock)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2401406 - Disclosure - Summary of Significant Accounting Policies Summary of Significant Accounting Policies (SIP)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesSip</Role>
      <ShortName>Summary of Significant Accounting Policies Summary of Significant Accounting Policies (SIP)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2401407 - Disclosure - Summary of Significant Accounting Policies (AOCI)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/SummaryOfSignificantAccountingPoliciesAoci</Role>
      <ShortName>Summary of Significant Accounting Policies (AOCI)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/EarningsPerShareDetails</Role>
      <ShortName>Earnings Per Share (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2403401 - Disclosure - Cash and Due from Banks Cash and Due from Banks (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/CashAndDueFromBanksCashAndDueFromBanksDetails</Role>
      <ShortName>Cash and Due from Banks Cash and Due from Banks (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Investment Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/InvestmentSecuritiesDetails</Role>
      <ShortName>Investment Securities (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Investment Securities, Part II (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/InvestmentSecuritiesPartIiDetails</Role>
      <ShortName>Investment Securities, Part II (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2404404 - Disclosure - Investment Securities Investment Securities, Part III (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/InvestmentSecuritiesInvestmentSecuritiesPartIiiDetails</Role>
      <ShortName>Investment Securities Investment Securities, Part III (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Loans and Allowance for Loan Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/LoansAndAllowanceForLoanLossesDetails</Role>
      <ShortName>Loans and Allowance for Loan Losses (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2405403 - Disclosure - Loans and Allowance for Loan Losses, Part II (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/LoansAndAllowanceForLoanLossesPartIiDetails</Role>
      <ShortName>Loans and Allowance for Loan Losses, Part II (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2405404 - Disclosure - Loans and Allowance for Loan Losses Loans and Allowance for Loan Losses - Allowance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/LoansAndAllowanceForLoanLossesLoansAndAllowanceForLoanLossesAllowanceDetails</Role>
      <ShortName>Loans and Allowance for Loan Losses Loans and Allowance for Loan Losses - Allowance (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2405405 - Disclosure - Loans and Allowance for Loan Losses Loans and Allowance for Loan Losses (PCI Loans) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/LoansAndAllowanceForLoanLossesLoansAndAllowanceForLoanLossesPciLoansDetails</Role>
      <ShortName>Loans and Allowance for Loan Losses Loans and Allowance for Loan Losses (PCI Loans) (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Premises and Equipment, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/PremisesAndEquipmentNetDetails</Role>
      <ShortName>Premises and Equipment, Net (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Goodwill and Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/GoodwillAndIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Intangible Assets (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Goodwill and Intangible Assets Reconciliation of purchase price to goodwill recorded (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/GoodwillAndIntangibleAssetsReconciliationOfPurchasePriceToGoodwillRecordedDetails</Role>
      <ShortName>Goodwill and Intangible Assets Reconciliation of purchase price to goodwill recorded (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2407404 - Disclosure - Goodwill and Intangible Assets Mortgage Servicing Rights (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/GoodwillAndIntangibleAssetsMortgageServicingRightsDetails</Role>
      <ShortName>Goodwill and Intangible Assets Mortgage Servicing Rights (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2408402 - Disclosure - Deposits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/DepositsDetails</Role>
      <ShortName>Deposits (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2408403 - Disclosure - Deposits Deposit Interest Components (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/DepositsDepositInterestComponentsDetails</Role>
      <ShortName>Deposits Deposit Interest Components (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Borrowings Schedule of Borrowings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/BorrowingsScheduleOfBorrowingsDetails</Role>
      <ShortName>Borrowings Schedule of Borrowings (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - FHLB Advances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/FhlbAdvancesDetails</Role>
      <ShortName>FHLB Advances (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2409404 - Disclosure - Borrowings Repurchase Agreements and Other Borrowings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/BorrowingsRepurchaseAgreementsAndOtherBorrowingsDetails</Role>
      <ShortName>Borrowings Repurchase Agreements and Other Borrowings (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2409405 - Disclosure - Borrowings Securities Sold under Agreement to Repurchase (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/BorrowingsSecuritiesSoldUnderAgreementToRepurchaseDetails</Role>
      <ShortName>Borrowings Securities Sold under Agreement to Repurchase (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2409406 - Disclosure - Borrowings Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/BorrowingsDebtDetails</Role>
      <ShortName>Borrowings Debt (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2409407 - Disclosure - Borrowings Subordinated Debentures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/BorrowingsSubordinatedDebenturesDetails</Role>
      <ShortName>Borrowings Subordinated Debentures (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Regulatory Capital (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/RegulatoryCapitalDetails</Role>
      <ShortName>Regulatory Capital (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Regulatory Capital Details 2 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/RegulatoryCapitalDetails2Details</Role>
      <ShortName>Regulatory Capital Details 2 (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - Disclosures of Fair Values of Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/DisclosuresOfFairValuesOfFinancialInstrumentsDetails</Role>
      <ShortName>Disclosures of Fair Values of Financial Instruments (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2412403 - Disclosure - Disclosures of Fair Values of Financial Instruments, Part II (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/DisclosuresOfFairValuesOfFinancialInstrumentsPartIiDetails</Role>
      <ShortName>Disclosures of Fair Values of Financial Instruments, Part II (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2413401 - Disclosure - Deferred Compensation Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/DeferredCompensationPlanDetails</Role>
      <ShortName>Deferred Compensation Plan (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2414402 - Disclosure - Stock Incentive Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/StockIncentivePlanDetails</Role>
      <ShortName>Stock Incentive Plan (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2414403 - Disclosure - Stock Incentive Plan Compensation Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/StockIncentivePlanCompensationCostDetails</Role>
      <ShortName>Stock Incentive Plan Compensation Cost (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2414404 - Disclosure - Stock Incentive Plan Summary of Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/StockIncentivePlanSummaryOfStockOptionActivityDetails</Role>
      <ShortName>Stock Incentive Plan Summary of Stock Option Activity (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2414406 - Disclosure - Stock Incentive Plan Summary of Options by Range of Exercise Price (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/StockIncentivePlanSummaryOfOptionsByRangeOfExercisePriceDetails</Role>
      <ShortName>Stock Incentive Plan Summary of Options by Range of Exercise Price (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>2414407 - Disclosure - Stock Incentive Plan Summary of Unvested Stock and Stock Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/StockIncentivePlanSummaryOfUnvestedStockAndStockUnitsDetails</Role>
      <ShortName>Stock Incentive Plan Summary of Unvested Stock and Stock Units (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>2415401 - Disclosure - Retirement Plans SERP (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/RetirementPlansSerpDetails</Role>
      <ShortName>Retirement Plans SERP (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>2415402 - Disclosure - Retirement Plans Employee Retirement Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/RetirementPlansEmployeeRetirementPlanDetails</Role>
      <ShortName>Retirement Plans Employee Retirement Plan (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/IncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>2416403 - Disclosure - Income Taxes Income Tax Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/IncomeTaxesIncomeTaxReconciliationDetails</Role>
      <ShortName>Income Taxes Income Tax Reconciliation (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>2416404 - Disclosure - Income Taxes Temporary Differences (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/IncomeTaxesTemporaryDifferencesDetails</Role>
      <ShortName>Income Taxes Temporary Differences (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>2417401 - Disclosure - Dividend Restrictions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/DividendRestrictionsDetails</Role>
      <ShortName>Dividend Restrictions (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>2418402 - Disclosure - Commitments and Contingent Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/CommitmentsAndContingentLiabilitiesDetails</Role>
      <ShortName>Commitments and Contingent Liabilities (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>2419402 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>2420402 - Disclosure - Business Combinations Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/BusinessCombinationsNarrativeDetails</Role>
      <ShortName>Business Combinations Narrative (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>2420403 - Disclosure - Business Combinations Estimated Fair Values Of Assets Acquired And Liabilities Assumed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/BusinessCombinationsEstimatedFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails</Role>
      <ShortName>Business Combinations Estimated Fair Values Of Assets Acquired And Liabilities Assumed (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>2420404 - Disclosure - Business Combinations Pro Forma Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/BusinessCombinationsProFormaInformationDetails</Role>
      <ShortName>Business Combinations Pro Forma Information (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>2421402 - Disclosure - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/LeasesDetails</Role>
      <ShortName>Leases (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>2421403 - Disclosure - Leases Lease Terms Details (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/LeasesLeaseTermsDetailsDetails</Role>
      <ShortName>Leases Lease Terms Details (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>2422402 - Disclosure - Parent Company Only Financial Statements Condensed balance sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/ParentCompanyOnlyFinancialStatementsCondensedBalanceSheetsDetails</Role>
      <ShortName>Parent Company Only Financial Statements Condensed balance sheets (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>2422403 - Disclosure - Parent Company Only Financial Statements Condensed statements of income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/ParentCompanyOnlyFinancialStatementsCondensedStatementsOfIncomeDetails</Role>
      <ShortName>Parent Company Only Financial Statements Condensed statements of income (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>2422404 - Disclosure - Parent Company Only Financial Statements Condensed statements of cash flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/ParentCompanyOnlyFinancialStatementsCondensedStatementsOfCashFlowsDetails</Role>
      <ShortName>Parent Company Only Financial Statements Condensed statements of cash flows (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="fmbh-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>2423402 - Disclosure - Quarterly Financial Data -- Unaudited (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.firstmid.com/role/QuarterlyFinancialDataUnauditedDetails</Role>
      <ShortName>Quarterly Financial Data -- Unaudited (Details)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>fmbh-20161231.xml</File>
    <File>fmbh-20161231.xsd</File>
    <File>fmbh-20161231_cal.xml</File>
    <File>fmbh-20161231_def.xml</File>
    <File>fmbh-20161231_lab.xml</File>
    <File>fmbh-20161231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
