<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.7.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>315</ContextCount>
  <ElementCount>251</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>63</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/CondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/CondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003000 - Statement - Condensed Consolidated Statements of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/CondensedConsolidatedStatementsOfIncome</Role>
      <ShortName>Condensed Consolidated Statements of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003001 - Statement - Condensed Consolidated Statements of Income (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/CondensedConsolidatedStatementsOfIncomeParenthetical</Role>
      <ShortName>Condensed Consolidated Statements of Income (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1005000 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/ConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1006000 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/CondensedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1006001 - Statement - Condensed Consolidated Statements of Cash Flows (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/CondensedConsolidatedStatementsOfCashFlowsParenthetical</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/BasisOfPresentation</Role>
      <ShortName>Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/Investments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/FairValueOfFinancialInstruments</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Losses and Loss Expenses Payable Losses and Loss Expenses Payable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/LossesAndLossExpensesPayableLossesAndLossExpensesPayable</Role>
      <ShortName>Losses and Loss Expenses Payable Losses and Loss Expenses Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Reinsurance</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/Reinsurance</Role>
      <ShortName>Reinsurance</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Pension and Postretirement Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/PensionAndPostretirementBenefitPlans</Role>
      <ShortName>Pension and Postretirement Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - Other Comprehensive Income and Accumulated Other Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/OtherComprehensiveIncomeAndAccumulatedOtherComprehensiveIncome</Role>
      <ShortName>Other Comprehensive Income and Accumulated Other Comprehensive Income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Earnings per Common Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/EarningsPerCommonShare</Role>
      <ShortName>Earnings per Common Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/SegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2114100 - Disclosure - Contingencies and Litigation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/ContingenciesAndLitigation</Role>
      <ShortName>Contingencies and Litigation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2302301 - Disclosure - Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/InvestmentsTables</Role>
      <ShortName>Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.stateauto.com/role/Investments</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Fair Value of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/FairValueOfFinancialInstrumentsTables</Role>
      <ShortName>Fair Value of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.stateauto.com/role/FairValueOfFinancialInstruments</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Losses and Loss Expenses Payable Losses and Loss Expenses Payable (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/LossesAndLossExpensesPayableLossesAndLossExpensesPayableTables</Role>
      <ShortName>Losses and Loss Expenses Payable Losses and Loss Expenses Payable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.stateauto.com/role/LossesAndLossExpensesPayableLossesAndLossExpensesPayable</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - Reinsurance (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/ReinsuranceTables</Role>
      <ShortName>Reinsurance (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.stateauto.com/role/Reinsurance</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2309301 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.stateauto.com/role/IncomeTaxes</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Pension and Postretirement Benefit Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/PensionAndPostretirementBenefitPlansTables</Role>
      <ShortName>Pension and Postretirement Benefit Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.stateauto.com/role/PensionAndPostretirementBenefitPlans</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2311301 - Disclosure - Other Comprehensive Income and Accumulated Other Comprehensive Income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/OtherComprehensiveIncomeAndAccumulatedOtherComprehensiveIncomeTables</Role>
      <ShortName>Other Comprehensive Income and Accumulated Other Comprehensive Income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.stateauto.com/role/OtherComprehensiveIncomeAndAccumulatedOtherComprehensiveIncome</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2312301 - Disclosure - Earnings per Common Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/EarningsPerCommonShareTables</Role>
      <ShortName>Earnings per Common Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.stateauto.com/role/EarningsPerCommonShare</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2313301 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/SegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.stateauto.com/role/SegmentInformation</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2401401 - Disclosure - Basis of Presentation Adoption of Recent Accounting Pronouncements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/BasisOfPresentationAdoptionOfRecentAccountingPronouncementsDetails</Role>
      <ShortName>Basis of Presentation Adoption of Recent Accounting Pronouncements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Investments - Cost or Amortized Cost and Fair Value of Available-for-Sale Securities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/InvestmentsCostOrAmortizedCostAndFairValueOfAvailableForSaleSecuritiesDetail</Role>
      <ShortName>Investments - Cost or Amortized Cost and Fair Value of Available-for-Sale Securities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2402403 - Disclosure - Investments - Gross Unrealized Losses and Fair Value on its Investments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/InvestmentsGrossUnrealizedLossesAndFairValueOnItsInvestmentsDetail</Role>
      <ShortName>Investments - Gross Unrealized Losses and Fair Value on its Investments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2402404 - Disclosure - Investments - Realized Losses Related to Other-than-Temporary Impairments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/InvestmentsRealizedLossesRelatedToOtherThanTemporaryImpairmentsDetail</Role>
      <ShortName>Investments - Realized Losses Related to Other-than-Temporary Impairments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2402405 - Disclosure - Investments - Amortized Cost and Fair Value of Available-for-Sale Fixed Maturities by Contractual Maturity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/InvestmentsAmortizedCostAndFairValueOfAvailableForSaleFixedMaturitiesByContractualMaturityDetail</Role>
      <ShortName>Investments - Amortized Cost and Fair Value of Available-for-Sale Fixed Maturities by Contractual Maturity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2402406 - Disclosure - Investments - Components of Net Investment Income (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/InvestmentsComponentsOfNetInvestmentIncomeDetail</Role>
      <ShortName>Investments - Components of Net Investment Income (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2402407 - Disclosure - Investments - Realized and Unrealized Holding Gains (Losses) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/InvestmentsRealizedAndUnrealizedHoldingGainsLossesDetail</Role>
      <ShortName>Investments - Realized and Unrealized Holding Gains (Losses) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2402408 - Disclosure - Investments - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/InvestmentsAdditionalInformationDetail</Role>
      <ShortName>Investments - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Fair Value of Financial Instruments - Company's Available-for-Sale Investments within Fair Value Hierarchy (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/FairValueOfFinancialInstrumentsCompanysAvailableForSaleInvestmentsWithinFairValueHierarchyDetail</Role>
      <ShortName>Fair Value of Financial Instruments - Company's Available-for-Sale Investments within Fair Value Hierarchy (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2403403 - Disclosure - Fair Value of Financial Instruments - Assets Measured at Fair Value on Recurring Basis Using Significant Unobservable Inputs (Level 3) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/FairValueOfFinancialInstrumentsAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsLevel3Detail</Role>
      <ShortName>Fair Value of Financial Instruments - Assets Measured at Fair Value on Recurring Basis Using Significant Unobservable Inputs (Level 3) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2403404 - Disclosure - Fair Value of Financial Instruments - Company Estimates Receivable from Affiliate using Market Quotations for U.S. Treasury Securities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/FairValueOfFinancialInstrumentsCompanyEstimatesReceivableFromAffiliateUsingMarketQuotationsForUSTreasurySecuritiesDetail</Role>
      <ShortName>Fair Value of Financial Instruments - Company Estimates Receivable from Affiliate using Market Quotations for U.S. Treasury Securities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2403405 - Disclosure - Fair Value of Financial Instruments - Included in Notes Payable are the FHLB loan and Subordinated Debentures (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.stateauto.com/role/FairValueOfFinancialInstrumentsIncludedInNotesPayableAreFhlbLoanAndSubordinatedDebenturesDetail</Role>
      <ShortName>Fair Value of Financial Instruments - Included in Notes Payable are the FHLB loan and Subordinated Debentures (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2403406 - Disclosure - Fair Value of Financial Instruments - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/FairValueOfFinancialInstrumentsAdditionalInformationDetail</Role>
      <ShortName>Fair Value of Financial Instruments - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Losses and Loss Expenses Payable Losses and Loss Expenses Payable - Schedule of Activity in Liability for Unpaid Losses and Loss Expenses Payable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/LossesAndLossExpensesPayableLossesAndLossExpensesPayableScheduleOfActivityInLiabilityForUnpaidLossesAndLossExpensesPayableDetails</Role>
      <ShortName>Losses and Loss Expenses Payable Losses and Loss Expenses Payable - Schedule of Activity in Liability for Unpaid Losses and Loss Expenses Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Losses and Loss Expenses Payable Losses and Loss Expenses Payable - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/LossesAndLossExpensesPayableLossesAndLossExpensesPayableAdditionalInformationDetails</Role>
      <ShortName>Losses and Loss Expenses Payable Losses and Loss Expenses Payable - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Reinsurance - Summary of External Reinsurance Transactions, as well as reinsurance transactions with State Auto Mutual Under the Pooling Arrangement (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/ReinsuranceSummaryOfExternalReinsuranceTransactionsAsWellAsReinsuranceTransactionsWithStateAutoMutualUnderPoolingArrangementDetail</Role>
      <ShortName>Reinsurance - Summary of External Reinsurance Transactions, as well as reinsurance transactions with State Auto Mutual Under the Pooling Arrangement (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Income Taxes - Reconciliation Between Actual Federal Income Tax Expense (Benefit) and Amount Computed at Indicated Statutory Rate (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/IncomeTaxesReconciliationBetweenActualFederalIncomeTaxExpenseBenefitAndAmountComputedAtIndicatedStatutoryRateDetail</Role>
      <ShortName>Income Taxes - Reconciliation Between Actual Federal Income Tax Expense (Benefit) and Amount Computed at Indicated Statutory Rate (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Pension and Postretirement Benefit Plans - Company's Share of Net Periodic Cost Components (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/PensionAndPostretirementBenefitPlansCompanysShareOfNetPeriodicCostComponentsDetail</Role>
      <ShortName>Pension and Postretirement Benefit Plans - Company's Share of Net Periodic Cost Components (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Pension and Postretirement Benefit Plans - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/PensionAndPostretirementBenefitPlansAdditionalInformationDetail</Role>
      <ShortName>Pension and Postretirement Benefit Plans - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2411402 - Disclosure - Other Comprehensive Income and Accumulated Other Comprehensive Income - Schedule of Changes in Accumulated Other Comprehensive Income by Component, Net of Tax (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/OtherComprehensiveIncomeAndAccumulatedOtherComprehensiveIncomeScheduleOfChangesInAccumulatedOtherComprehensiveIncomeByComponentNetOfTaxDetail</Role>
      <ShortName>Other Comprehensive Income and Accumulated Other Comprehensive Income - Schedule of Changes in Accumulated Other Comprehensive Income by Component, Net of Tax (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2411403 - Disclosure - Other Comprehensive Income and Accumulated Other Comprehensive Income - Schedule of Reclassifications Out of Accumulated Other Comprehensive Income by Component (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/OtherComprehensiveIncomeAndAccumulatedOtherComprehensiveIncomeScheduleOfReclassificationsOutOfAccumulatedOtherComprehensiveIncomeByComponentDetail</Role>
      <ShortName>Other Comprehensive Income and Accumulated Other Comprehensive Income - Schedule of Reclassifications Out of Accumulated Other Comprehensive Income by Component (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - Earnings Per Common Share - Compilation of Basic and Diluted Earnings (Loss) Per Common Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/EarningsPerCommonShareCompilationOfBasicAndDilutedEarningsLossPerCommonShareDetail</Role>
      <ShortName>Earnings Per Common Share - Compilation of Basic and Diluted Earnings (Loss) Per Common Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2412403 - Disclosure - Earnings Per Common Share - Options to Purchase Shares of Common Stock (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/EarningsPerCommonShareOptionsToPurchaseSharesOfCommonStockDetail</Role>
      <ShortName>Earnings Per Common Share - Options to Purchase Shares of Common Stock (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Segment Information - Financial Information Regarding Company's Reportable Segments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/SegmentInformationFinancialInformationRegardingCompanysReportableSegmentsDetail</Role>
      <ShortName>Segment Information - Financial Information Regarding Company's Reportable Segments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="stfc201763010q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2413403 - Disclosure - Segment Information - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.stateauto.com/role/SegmentInformationAdditionalInformationDetail</Role>
      <ShortName>Segment Information - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</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="stfc201763010q.htm">stfc201763010q.htm</File>
    <File>stfc-20170630.xsd</File>
    <File>stfc-20170630_cal.xml</File>
    <File>stfc-20170630_def.xml</File>
    <File>stfc-20170630_lab.xml</File>
    <File>stfc-20170630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
