<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>635</ContextCount>
  <ElementCount>668</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>148</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Document and Entity Information Document</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/DocumentandEntityInformationDocument</Role>
      <ShortName>Document and Entity Information Document</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/ConsolidatedStatementsofOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/ConsolidatedStatementsofComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Statement - Consolidated Statements of Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/ConsolidatedStatementsofShareholdersEquity</Role>
      <ShortName>Consolidated Statements of Shareholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Statement - Consolidated Statements of Shareholders' Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/ConsolidatedStatementsofShareholdersEquityParenthetical</Role>
      <ShortName>Consolidated Statements of Shareholders' Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Statement - Parent Company Only Condensed Financial Statements (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/ParentCompanyOnlyCondensedFinancialStatementsParentheticalDetails</Role>
      <ShortName>Parent Company Only Condensed Financial Statements (Parenthetical) (Details)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/Investments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - Portfolio Loans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/PortfolioLoans</Role>
      <ShortName>Portfolio Loans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - Leases (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.enterprisebank.com/role/LeasesNotes</Role>
      <ShortName>Leases (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - Disclosure - Derivative Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/DerivativeFinancialInstruments</Role>
      <ShortName>Derivative Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - Disclosure - Fixed Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/FixedAssets</Role>
      <ShortName>Fixed Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000018 - Disclosure - Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/GoodwillandIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - Deposits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/Deposits</Role>
      <ShortName>Deposits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000020 - Disclosure - Subordinated Debentures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/SubordinatedDebentures</Role>
      <ShortName>Subordinated Debentures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000021 - Disclosure - Federal Home Loan Bank Advances</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/FederalHomeLoanBankAdvances</Role>
      <ShortName>Federal Home Loan Bank Advances</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000022 - Disclosure - Other Borrowings and Notes Payable</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.enterprisebank.com/role/OtherBorrowingsandNotesPayable</Role>
      <ShortName>Other Borrowings and Notes Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000023 - Disclosure - Litigation and Other Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/LitigationandOtherContingencies</Role>
      <ShortName>Litigation and Other Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0000024 - Disclosure - Regulatory Matters</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/RegulatoryMatters</Role>
      <ShortName>Regulatory Matters</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>0000025 - Disclosure - Compensation Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/CompensationPlans</Role>
      <ShortName>Compensation Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>0000026 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>0000027 - Disclosure - Commitments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/Commitments</Role>
      <ShortName>Commitments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>0000028 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>0000029 - Disclosure - Parent Company Only Condensed Financial Statements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/ParentCompanyOnlyCondensedFinancialStatements</Role>
      <ShortName>Parent Company Only Condensed Financial Statements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>0000030 - Disclosure - Supplemental Financial Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/SupplementalFinancialInformation</Role>
      <ShortName>Supplemental Financial Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>0000031 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/SummaryofSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>0000032 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/EarningsPerShare</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>0000033 - Disclosure - Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/InvestmentsTables</Role>
      <ShortName>Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/Investments</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>0000034 - Disclosure - Portfolio Loans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/PortfolioLoansTables</Role>
      <ShortName>Portfolio Loans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/PortfolioLoans</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>0000035 - Disclosure - Leases Lease Cost (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/LeasesLeaseCostTables</Role>
      <ShortName>Leases Lease Cost (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>0000036 - Disclosure - Derivative Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/DerivativeFinancialInstrumentsTables</Role>
      <ShortName>Derivative Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/DerivativeFinancialInstruments</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>0000037 - Disclosure - Fixed Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/FixedAssetsTables</Role>
      <ShortName>Fixed Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/FixedAssets</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>0000038 - Disclosure - Goodwill and Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/GoodwillandIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/GoodwillandIntangibleAssets</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>0000039 - Disclosure - Deposits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/DepositsTables</Role>
      <ShortName>Deposits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/Deposits</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>0000040 - Disclosure - Subordinated Debentures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/SubordinatedDebenturesTables</Role>
      <ShortName>Subordinated Debentures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/SubordinatedDebentures</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>0000041 - Disclosure - Federal Home Loan Bank Advances (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/FederalHomeLoanBankAdvancesTables</Role>
      <ShortName>Federal Home Loan Bank Advances (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/FederalHomeLoanBankAdvances</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>0000042 - Disclosure - Other Borrowings and Notes Payable (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.enterprisebank.com/role/OtherBorrowingsandNotesPayableTables</Role>
      <ShortName>Other Borrowings and Notes Payable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/OtherBorrowingsandNotesPayable</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>0000043 - Disclosure - Regulatory Matters (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/RegulatoryMattersTables</Role>
      <ShortName>Regulatory Matters (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/RegulatoryMatters</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>0000044 - Disclosure - Compensation Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/CompensationPlansTables</Role>
      <ShortName>Compensation Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/CompensationPlans</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>0000045 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/IncomeTaxes</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>0000046 - Disclosure - Commitments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/CommitmentsTables</Role>
      <ShortName>Commitments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/Commitments</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>0000047 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/FairValueMeasurements</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>0000048 - Disclosure - Parent Company Only Condensed Financial Statements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/ParentCompanyOnlyCondensedFinancialStatementsTables</Role>
      <ShortName>Parent Company Only Condensed Financial Statements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/ParentCompanyOnlyCondensedFinancialStatements</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>0000049 - Disclosure - Supplemental Financial Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/SupplementalFinancialInformationTables</Role>
      <ShortName>Supplemental Financial Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/SupplementalFinancialInformation</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>0000050 - Disclosure - Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/SummaryofSignificantAccountingPoliciesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/SummaryofSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>0000051 - Disclosure - Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/EarningsPerShareDetails</Role>
      <ShortName>Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/EarningsPerShareTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>0000052 - Disclosure - Investments - Schedule of Available-for-sale and Held-to-Maturity Securities Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/InvestmentsScheduleofAvailableforsaleandHeldtoMaturitySecuritiesReconciliationDetails</Role>
      <ShortName>Investments - Schedule of Available-for-sale and Held-to-Maturity Securities Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>0000053 - Disclosure - Investments - Investments Classified by Contractual Maturity Date (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/InvestmentsInvestmentsClassifiedbyContractualMaturityDateDetails</Role>
      <ShortName>Investments - Investments Classified by Contractual Maturity Date (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>0000054 - Disclosure - Investments - Schedule of Unrealized Loss on Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/InvestmentsScheduleofUnrealizedLossonInvestmentsDetails</Role>
      <ShortName>Investments - Schedule of Unrealized Loss on Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>0000055 - Disclosure - Investments - Schedule of Realized Gain (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/InvestmentsScheduleofRealizedGainLossDetails</Role>
      <ShortName>Investments - Schedule of Realized Gain (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>0000056 - Disclosure - Investments - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/InvestmentsNarrativeDetails</Role>
      <ShortName>Investments - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>0000057 - Disclosure - Portfolio Loans - Summary of Portfolio Loans by Category (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/PortfolioLoansSummaryofPortfolioLoansbyCategoryDetails</Role>
      <ShortName>Portfolio Loans - Summary of Portfolio Loans by Category (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>0000058 - Disclosure - Portfolio Loans - Summary of Allowance for Loan Losses by Portfolio Class and Category (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/PortfolioLoansSummaryofAllowanceforLoanLossesbyPortfolioClassandCategoryDetails</Role>
      <ShortName>Portfolio Loans - Summary of Allowance for Loan Losses by Portfolio Class and Category (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>0000059 - Disclosure - Portfolio Loans - Collateral Dependent Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/PortfolioLoansCollateralDependentLoansDetails</Role>
      <ShortName>Portfolio Loans - Collateral Dependent Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>0000060 - Disclosure - Portfolio Loans - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/PortfolioLoansNarrativeDetails</Role>
      <ShortName>Portfolio Loans - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>0000061 - Disclosure - Portfolio Loans - Summary of Recorded Investment in Impaired Portfolio Loans by Category (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/PortfolioLoansSummaryofRecordedInvestmentinImpairedPortfolioLoansbyCategoryDetails</Role>
      <ShortName>Portfolio Loans - Summary of Recorded Investment in Impaired Portfolio Loans by Category (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>0000062 - Disclosure - Portfolio Loans - Summary of Recorded Investment by Category for Portfolio Loans Restructured (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/PortfolioLoansSummaryofRecordedInvestmentbyCategoryforPortfolioLoansRestructuredDetails</Role>
      <ShortName>Portfolio Loans - Summary of Recorded Investment by Category for Portfolio Loans Restructured (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>0000063 - Disclosure - Portfolio Loans - Summary of Recorded Investment by Category for Portfolio Loans Restructured and Subsequently Defaulted (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/PortfolioLoansSummaryofRecordedInvestmentbyCategoryforPortfolioLoansRestructuredandSubsequentlyDefaultedDetails</Role>
      <ShortName>Portfolio Loans - Summary of Recorded Investment by Category for Portfolio Loans Restructured and Subsequently Defaulted (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>0000064 - Disclosure - Portfolio Loans - Summary of Aging of Recorded Investment in Past Due Portfolio Loans by Portfolio Class and Category (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/PortfolioLoansSummaryofAgingofRecordedInvestmentinPastDuePortfolioLoansbyPortfolioClassandCategoryDetails</Role>
      <ShortName>Portfolio Loans - Summary of Aging of Recorded Investment in Past Due Portfolio Loans by Portfolio Class and Category (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>0000065 - Disclosure - Portfolio Loans - Summary of Term Loans by Origination Year (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/PortfolioLoansSummaryofTermLoansbyOriginationYearDetails</Role>
      <ShortName>Portfolio Loans - Summary of Term Loans by Origination Year (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>0000066 - Disclosure - Portfolio Loans - Credit Quality Based on Aging Status (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/PortfolioLoansCreditQualityBasedonAgingStatusDetails</Role>
      <ShortName>Portfolio Loans - Credit Quality Based on Aging Status (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>0000067 - Disclosure - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/LeasesDetails</Role>
      <ShortName>Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/LeasesLeaseCostTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>0000068 - Disclosure - Derivative Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/DerivativeFinancialInstrumentsDetails</Role>
      <ShortName>Derivative Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/DerivativeFinancialInstrumentsTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>0000069 - Disclosure - Derivative Financial Instruments - Cash Flow Hedges (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/DerivativeFinancialInstrumentsCashFlowHedgesDetails</Role>
      <ShortName>Derivative Financial Instruments - Cash Flow Hedges (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>0000070 - Disclosure - Fixed Assets - Summary of Fixed Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/FixedAssetsSummaryofFixedAssetsDetails</Role>
      <ShortName>Fixed Assets - Summary of Fixed Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>0000071 - Disclosure - Fixed Assets - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/FixedAssetsNarrativeDetails</Role>
      <ShortName>Fixed Assets - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>0000072 - Disclosure - Goodwill and Intangible Assets - (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/GoodwillandIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Intangible Assets - (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/GoodwillandIntangibleAssetsTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>0000073 - Disclosure - Goodwill and Intangible Assets - Expected Amortization Schedule for the Core Deposit Intangible (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/GoodwillandIntangibleAssetsExpectedAmortizationSchedulefortheCoreDepositIntangibleDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Expected Amortization Schedule for the Core Deposit Intangible (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>0000074 - Disclosure - Deposits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/DepositsDetails</Role>
      <ShortName>Deposits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/DepositsTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>0000075 - Disclosure - Subordinated Debentures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/SubordinatedDebenturesDetails</Role>
      <ShortName>Subordinated Debentures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/SubordinatedDebenturesTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>0000076 - Disclosure - Federal Home Loan Bank Advances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/FederalHomeLoanBankAdvancesDetails</Role>
      <ShortName>Federal Home Loan Bank Advances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/FederalHomeLoanBankAdvancesTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>0000077 - Disclosure - Other Borrowings and Notes Payable (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.enterprisebank.com/role/OtherBorrowingsandNotesPayableDetails</Role>
      <ShortName>Other Borrowings and Notes Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/OtherBorrowingsandNotesPayableTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>0000078 - Disclosure - Regulatory Matters (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/RegulatoryMattersDetails</Role>
      <ShortName>Regulatory Matters (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/RegulatoryMattersTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>0000079 - Disclosure - Compensation Plans - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/CompensationPlansNarrativeDetails</Role>
      <ShortName>Compensation Plans - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>0000080 - Disclosure - Compensation Plans - Common Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/CompensationPlansCommonStockDetails</Role>
      <ShortName>Compensation Plans - Common Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>0000081 - Disclosure - Compensation Plans - Changes in OCI (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/CompensationPlansChangesinOCIDetails</Role>
      <ShortName>Compensation Plans - Changes in OCI (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>0000082 - Disclosure - Compensation Plans - Components of Other Comprehensive Income (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/CompensationPlansComponentsofOtherComprehensiveIncomeLossDetails</Role>
      <ShortName>Compensation Plans - Components of Other Comprehensive Income (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>0000083 - Disclosure - Compensation Plans - Reclassifications Out of AOCI (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/CompensationPlansReclassificationsOutofAOCIDetails</Role>
      <ShortName>Compensation Plans - Reclassifications Out of AOCI (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>0000084 - Disclosure - Compensation Plans - Schedule of Various Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/CompensationPlansScheduleofVariousInformationDetails</Role>
      <ShortName>Compensation Plans - Schedule of Various Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>0000085 - Disclosure - Compensation Plans - Weighted-Average Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/CompensationPlansWeightedAverageAssumptionsDetails</Role>
      <ShortName>Compensation Plans - Weighted-Average Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>0000086 - Disclosure - Compensation Plans - Schedule of Employee Stock Options and SSARs Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/CompensationPlansScheduleofEmployeeStockOptionsandSSARsActivityDetails</Role>
      <ShortName>Compensation Plans - Schedule of Employee Stock Options and SSARs Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>0000087 - Disclosure - Compensation Plans - Summary of Restricted Stock Units Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/CompensationPlansSummaryofRestrictedStockUnitsActivityDetails</Role>
      <ShortName>Compensation Plans - Summary of Restricted Stock Units Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>0000088 - Disclosure - Compensation Plans Outstanding Longer Term Incentive Awards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/CompensationPlansOutstandingLongerTermIncentiveAwardsDetails</Role>
      <ShortName>Compensation Plans Outstanding Longer Term Incentive Awards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>0000089 - Disclosure - Income Taxes - Schedule of Components of Income Tax Expense (Benefit) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/IncomeTaxesScheduleofComponentsofIncomeTaxExpenseBenefitDetails</Role>
      <ShortName>Income Taxes - Schedule of Components of Income Tax Expense (Benefit) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>0000090 - Disclosure - Income Taxes - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/IncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>0000091 - Disclosure - Income Taxes - Schedule of Income Tax Rate Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/IncomeTaxesScheduleofIncomeTaxRateReconciliationDetails</Role>
      <ShortName>Income Taxes - Schedule of Income Tax Rate Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>0000092 - Disclosure - Income Taxes - Schedule of Deferred Tax Assets and Deferred Tax Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/IncomeTaxesScheduleofDeferredTaxAssetsandDeferredTaxLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Schedule of Deferred Tax Assets and Deferred Tax Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>0000093 - Disclosure - Income Taxes - Schedule of Unrecognized Tax Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/IncomeTaxesScheduleofUnrecognizedTaxBenefitsDetails</Role>
      <ShortName>Income Taxes - Schedule of Unrecognized Tax Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>0000094 - Disclosure - Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/CommitmentsDetails</Role>
      <ShortName>Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/CommitmentsTables</ParentRole>
      <Position>94</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>0000095 - Disclosure - Fair Value Measurements - Summary of Financial Instruments Measured at Fair Value on a Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/FairValueMeasurementsSummaryofFinancialInstrumentsMeasuredatFairValueonaRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements - Summary of Financial Instruments Measured at Fair Value on a Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>0000096 - Disclosure - Fair Value Measurements - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/FairValueMeasurementsNarrativeDetails</Role>
      <ShortName>Fair Value Measurements - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>0000097 - Disclosure - Fair Value Measurements - Summary of Financial Instruments and Non-Financial Assets Measured at Fair Value on a Non-Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/FairValueMeasurementsSummaryofFinancialInstrumentsandNonFinancialAssetsMeasuredatFairValueonaNonRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements - Summary of Financial Instruments and Non-Financial Assets Measured at Fair Value on a Non-Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>0000098 - Disclosure - Fair Value Measurements - Summary of Carrying Amount and Fair Values of Financial Instruments Reported on the Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/FairValueMeasurementsSummaryofCarryingAmountandFairValuesofFinancialInstrumentsReportedontheBalanceSheetsDetails</Role>
      <ShortName>Fair Value Measurements - Summary of Carrying Amount and Fair Values of Financial Instruments Reported on the Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>0000099 - Disclosure - Parent Company Only Condensed Financial Statements - Condensed Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/ParentCompanyOnlyCondensedFinancialStatementsCondensedBalanceSheetsDetails</Role>
      <ShortName>Parent Company Only Condensed Financial Statements - Condensed Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>0000100 - Disclosure - Parent Company Only Condensed Financial Statements - Condensed Statements of Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/ParentCompanyOnlyCondensedFinancialStatementsCondensedStatementsofOperationsDetails</Role>
      <ShortName>Parent Company Only Condensed Financial Statements - Condensed Statements of Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>0000101 - Disclosure - Parent Company Only Condensed Financial Statements - Consolidated Statements of Cash Flow (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/ParentCompanyOnlyCondensedFinancialStatementsConsolidatedStatementsofCashFlowDetails</Role>
      <ShortName>Parent Company Only Condensed Financial Statements - Consolidated Statements of Cash Flow (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="efsc-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>0000102 - Disclosure - Supplemental Financial Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.enterprisebank.com/role/SupplementalFinancialInformationDetails</Role>
      <ShortName>Supplemental Financial Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.enterprisebank.com/role/SupplementalFinancialInformationTables</ParentRole>
      <Position>102</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept SecurityOwnedAndPledgedAsCollateralFairValue in us-gaap/2021 used in 2 facts was deprecated in us-gaap/2022 as of 2022 and should not be used. efsc-20221231.htm 4</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept PledgedFinancialInstrumentsNotSeparatelyReportedLoansReceivablePledgedForFederalHomeLoanBankDebt in us-gaap/2021 used in 1 facts was deprecated in us-gaap/2022 as of 2022 and should not be used. efsc-20221231.htm 4</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept CashAndCashEquivalentsPeriodIncreaseDecrease in us-gaap/2021 used in 3 facts was deprecated in us-gaap/2022 as of 2022 and should not be used. efsc-20221231.htm 4</Log>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 4 fact(s) appearing in ix:hidden were eligible for transformation: us-gaap:PropertyPlantAndEquipmentUsefulLife, us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1 -  efsc-20221231.htm 4</Log>
    <Log type="Warning">[dqc-0015-Negative-Values] Fact us-gaap:IncomeTaxReconciliationTaxCredits has a value of -146000 which is less than zero. This element should not have a negative value. The preparer should consider if the value is input correctly for this assertion and, after considering the appropriateness of the input, if incorrect, input the amount as a positive (i.e., absolute) value and provide a negated label. The properties of this us-gaap:IncomeTaxReconciliationTaxCredits fact are: Context: ie06d20574fee46c29d893f8770fb6a47_D20210101-20211231, Unit: usd, Rule Element Id: 1307. efsc-20221231.htm 4</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-K" original="efsc-20221231.htm">efsc-20221231.htm</File>
    <File>a20221231-ex1019.htm</File>
    <File>a20221231-ex211.htm</File>
    <File>a20221231-ex231.htm</File>
    <File>a20221231-ex241.htm</File>
    <File>a20221231-ex311.htm</File>
    <File>a20221231-ex312.htm</File>
    <File>a20221231-ex321.htm</File>
    <File>a20221231-ex322.htm</File>
    <File>efsc-20221231.xsd</File>
    <File>efsc-20221231_cal.xml</File>
    <File>efsc-20221231_def.xml</File>
    <File>efsc-20221231_lab.xml</File>
    <File>efsc-20221231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>efsc-20221231_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="2361">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="37">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
