<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>495</ContextCount>
  <ElementCount>311</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>77</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001002 - Statement - Condensed Consolidated Statements of Financial Condition (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/CondensedConsolidatedStatementsofFinancialConditionUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Financial Condition (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002003 - Statement - Condensed Consolidated Statements of Financial Condition (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/CondensedConsolidatedStatementsofFinancialConditionUnauditedParenthetical</Role>
      <ShortName>Condensed Consolidated Statements of Financial Condition (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003004 - Statement - Condensed Consolidated Statements of Income (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/CondensedConsolidatedStatementsofIncomeUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Income (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004005 - Statement - Condensed Consolidated Statements of Comprehensive Income (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1005006 - Statement - Condensed Consolidated Statements of Comprehensive Income (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeUnauditedParenthetical</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1006007 - Statement - Condensed Consolidated Statements of Stockholders' Equity (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/CondensedConsolidatedStatementsofStockholdersEquityUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Stockholders' Equity (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1007008 - Statement - Condensed Consolidated Statements of Stockholders' Equity (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/CondensedConsolidatedStatementsofStockholdersEquityUnauditedParenthetical</Role>
      <ShortName>Condensed Consolidated Statements of Stockholders' Equity (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>1008009 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2101101 - Disclosure - Description of Business, Basis of Presentation and Significant Accounting Policies and Recently Issued Accounting Pronouncements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/DescriptionofBusinessBasisofPresentationandSignificantAccountingPoliciesandRecentlyIssuedAccountingPronouncements</Role>
      <ShortName>Description of Business, Basis of Presentation and Significant Accounting Policies and Recently Issued Accounting Pronouncements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2104102 - Disclosure - Investment Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/InvestmentSecurities</Role>
      <ShortName>Investment Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2112103 - Disclosure - Loans Receivable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/LoansReceivable</Role>
      <ShortName>Loans Receivable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2121104 - Disclosure - Allowance for Credit Losses on Loans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/AllowanceforCreditLossesonLoans</Role>
      <ShortName>Allowance for Credit Losses on Loans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2124105 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/GoodwillandOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2127106 - Disclosure - Derivative Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/DerivativeFinancialInstruments</Role>
      <ShortName>Derivative Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2130107 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2136108 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2142109 - Disclosure - Cash Restriction</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/CashRestriction</Role>
      <ShortName>Cash Restriction</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2144110 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2202201 - Disclosure - Description of Business, Basis of Presentation and Significant Accounting Policies and Recently Issued Accounting Pronouncements (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/DescriptionofBusinessBasisofPresentationandSignificantAccountingPoliciesandRecentlyIssuedAccountingPronouncementsPolicies</Role>
      <ShortName>Description of Business, Basis of Presentation and Significant Accounting Policies and Recently Issued Accounting Pronouncements (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.hf-wa.com/role/DescriptionofBusinessBasisofPresentationandSignificantAccountingPoliciesandRecentlyIssuedAccountingPronouncements</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Investment Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/InvestmentSecuritiesTables</Role>
      <ShortName>Investment Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hf-wa.com/role/InvestmentSecurities</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2313302 - Disclosure - Loans Receivable (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/LoansReceivableTables</Role>
      <ShortName>Loans Receivable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hf-wa.com/role/LoansReceivable</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2322303 - Disclosure - Allowance for Loan Losses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/AllowanceforLoanLossesTables</Role>
      <ShortName>Allowance for Loan Losses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2328304 - Disclosure - Derivative Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/DerivativeFinancialInstrumentsTables</Role>
      <ShortName>Derivative Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hf-wa.com/role/DerivativeFinancialInstruments</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2331305 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/StockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hf-wa.com/role/StockholdersEquity</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2337306 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hf-wa.com/role/FairValueMeasurements</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2345307 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/CommitmentsandContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hf-wa.com/role/CommitmentsandContingencies</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2403401 - Disclosure - Description of Business, Basis of Presentation and Significant Accounting Policies and Recently Issued Accounting Pronouncements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/DescriptionofBusinessBasisofPresentationandSignificantAccountingPoliciesandRecentlyIssuedAccountingPronouncementsDetails</Role>
      <ShortName>Description of Business, Basis of Presentation and Significant Accounting Policies and Recently Issued Accounting Pronouncements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hf-wa.com/role/DescriptionofBusinessBasisofPresentationandSignificantAccountingPoliciesandRecentlyIssuedAccountingPronouncementsPolicies</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Investment Securities - Textual (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/InvestmentSecuritiesTextualDetails</Role>
      <ShortName>Investment Securities - Textual (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Investment Securities - Amortized Cost, Gross Unrealized Gains and Losses and Fair Values (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/InvestmentSecuritiesAmortizedCostGrossUnrealizedGainsandLossesandFairValuesDetails</Role>
      <ShortName>Investment Securities - Amortized Cost, Gross Unrealized Gains and Losses and Fair Values (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2408404 - Disclosure - Investment Securities - Contractual Maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/InvestmentSecuritiesContractualMaturitiesDetails</Role>
      <ShortName>Investment Securities - Contractual Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2409405 - Disclosure - Investment Securities - Unrealized Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/InvestmentSecuritiesUnrealizedLossesDetails</Role>
      <ShortName>Investment Securities - Unrealized Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2410406 - Disclosure - Investment Securities - Realized Gains and Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/InvestmentSecuritiesRealizedGainsandLossesDetails</Role>
      <ShortName>Investment Securities - Realized Gains and Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2411407 - Disclosure - Investment Securities - Amortized Cost and Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/InvestmentSecuritiesAmortizedCostandFairValueDetails</Role>
      <ShortName>Investment Securities - Amortized Cost and Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2414408 - Disclosure - Loans Receivable - Loan Origination/Risk Management (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/LoansReceivableLoanOriginationRiskManagementDetails</Role>
      <ShortName>Loans Receivable - Loan Origination/Risk Management (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2415409 - Disclosure - Loans Receivable - Credit Quality Indicators (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/LoansReceivableCreditQualityIndicatorsDetails</Role>
      <ShortName>Loans Receivable - Credit Quality Indicators (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2416410 - Disclosure - Loans Receivable - Nonaccrual Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/LoansReceivableNonaccrualLoansDetails</Role>
      <ShortName>Loans Receivable - Nonaccrual Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2417411 - Disclosure - Loans Receivable - Past Due Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/LoansReceivablePastDueLoansDetails</Role>
      <ShortName>Loans Receivable - Past Due Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2418412 - Disclosure - Loans Receivable - Modified TDRs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/LoansReceivableModifiedTDRsDetails</Role>
      <ShortName>Loans Receivable - Modified TDRs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2419413 - Disclosure - Loans Receivable - TDRs Subsequently Defaulted (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/LoansReceivableTDRsSubsequentlyDefaultedDetails</Role>
      <ShortName>Loans Receivable - TDRs Subsequently Defaulted (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2420414 - Disclosure - Loans Receivable - Collateral Dependent (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/LoansReceivableCollateralDependentDetails</Role>
      <ShortName>Loans Receivable - Collateral Dependent (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2423415 - Disclosure - Allowance for Credit Losses on Loans - Summary of Changes in Loan Allowance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/AllowanceforCreditLossesonLoansSummaryofChangesinLoanAllowanceDetails</Role>
      <ShortName>Allowance for Credit Losses on Loans - Summary of Changes in Loan Allowance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2425416 - Disclosure - Goodwill and Other Intangible Assets - Other Intangible Assets, Textual (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/GoodwillandOtherIntangibleAssetsOtherIntangibleAssetsTextualDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Other Intangible Assets, Textual (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2429418 - Disclosure - Derivative Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/DerivativeFinancialInstrumentsDetails</Role>
      <ShortName>Derivative Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hf-wa.com/role/DerivativeFinancialInstrumentsTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2432419 - Disclosure - Stockholders' Equity - Reconciliation of Weighted Average Shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/StockholdersEquityReconciliationofWeightedAverageSharesDetails</Role>
      <ShortName>Stockholders' Equity - Reconciliation of Weighted Average Shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2433420 - Disclosure - Stockholders' Equity - Dividends (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/StockholdersEquityDividendsDetails</Role>
      <ShortName>Stockholders' Equity - Dividends (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2434421 - Disclosure - Stockholders' Equity - Stock Repurchase Program (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/StockholdersEquityStockRepurchaseProgramDetails</Role>
      <ShortName>Stockholders' Equity - Stock Repurchase Program (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2435422 - Disclosure - Stockholders' Equity - Shares Repurchased (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/StockholdersEquitySharesRepurchasedDetails</Role>
      <ShortName>Stockholders' Equity - Shares Repurchased (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2438423 - Disclosure - Fair Value Measurements - Fair Value Measurement on Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/FairValueMeasurementsFairValueMeasurementonRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements - Fair Value Measurement on Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2439424 - Disclosure - Fair Value Measurements - Fair Value Measurement on Nonrecurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/FairValueMeasurementsFairValueMeasurementonNonrecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements - Fair Value Measurement on Nonrecurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2440425 - Disclosure - Fair Value Measurements - Quantitative Information, Level 3 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/FairValueMeasurementsQuantitativeInformationLevel3Details</Role>
      <ShortName>Fair Value Measurements - Quantitative Information, Level 3 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2441426 - Disclosure - Fair Value Measurements - Carrying Value and Fair Value of Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/FairValueMeasurementsCarryingValueandFairValueofFinancialInstrumentsDetails</Role>
      <ShortName>Fair Value Measurements - Carrying Value and Fair Value of Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2443427 - Disclosure - Cash Restriction (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/CashRestrictionDetails</Role>
      <ShortName>Cash Restriction (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hf-wa.com/role/CashRestriction</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="hfwa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2446428 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hf-wa.com/role/CommitmentsandContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hf-wa.com/role/CommitmentsandContingenciesTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="hfwa-20220331.htm">hfwa-20220331.htm</File>
    <File>ex-31110q033122.htm</File>
    <File>ex-31210q033122.htm</File>
    <File>ex-32110q033122.htm</File>
    <File>hfwa-20220331.xsd</File>
    <File>hfwa-20220331_cal.xml</File>
    <File>hfwa-20220331_def.xml</File>
    <File>hfwa-20220331_lab.xml</File>
    <File>hfwa-20220331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="1816">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
