<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>4548</ContextCount>
  <ElementCount>1060</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>479</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>31</UnitCount>
  <MyReports>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - Consolidated Statements of Income - Southern</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern</Role>
      <ShortName>Consolidated Statements of Income - Southern</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Statement - Consolidated Statements of Comprehensive Income - Southern</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern</Role>
      <ShortName>Consolidated Statements of Comprehensive Income - Southern</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Statement - Consolidated Statements of Comprehensive Income - Southern (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthernParenthetical</Role>
      <ShortName>Consolidated Statements of Comprehensive Income - Southern (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Statement - Consolidated Statements of Cash Flows - Southern</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern</Role>
      <ShortName>Consolidated Statements of Cash Flows - Southern</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Statement - Consolidated Statements of Cash Flows - Southern (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthernParenthetical</Role>
      <ShortName>Consolidated Statements of Cash Flows - Southern (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Statement - Consolidated Balance Sheets - Southern</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern</Role>
      <ShortName>Consolidated Balance Sheets - Southern</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Statement - Consolidated Balance Sheets - Southern (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical</Role>
      <ShortName>Consolidated Balance Sheets - Southern (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Statement - Consolidated Statements of Stockholders' Equity - Southern</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity - Southern</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Statement - Consolidated Statements of Stockholders' Equity - Southern (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthernParenthetical</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity - Southern (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Statement - Statements of Income - APC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofIncomeAPC</Role>
      <ShortName>Statements of Income - APC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Statement - Statements of Comprehensive Income (Loss) - APC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPC</Role>
      <ShortName>Statements of Comprehensive Income (Loss) - APC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Statement - Statements of Comprehensive Income (Loss) - APC (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPCParenthetical</Role>
      <ShortName>Statements of Comprehensive Income (Loss) - APC (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Statement - Statements of Cash Flows - APC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofCashFlowsAPC</Role>
      <ShortName>Statements of Cash Flows - APC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - Statement - Statements of Cash Flows - APC (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofCashFlowsAPCParenthetical</Role>
      <ShortName>Statements of Cash Flows - APC (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - Statement - Balance Sheets - APC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/BalanceSheetsAPC</Role>
      <ShortName>Balance Sheets - APC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000018 - Statement - Balance Sheets - APC (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/BalanceSheetsAPCParenthetical</Role>
      <ShortName>Balance Sheets - APC (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000019 - Statement - Statements of Common Stockholders' Equity - APC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC</Role>
      <ShortName>Statements of Common Stockholders' Equity - APC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000020 - Statement - Statements of Income - GPC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofIncomeGPC</Role>
      <ShortName>Statements of Income - GPC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000021 - Statement - Statements of Comprehensive Income (Loss) - GPC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPC</Role>
      <ShortName>Statements of Comprehensive Income (Loss) - GPC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000022 - Statement - Statements of Comprehensive Income (Loss) - GPC (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPCParenthetical</Role>
      <ShortName>Statements of Comprehensive Income (Loss) - GPC (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000023 - Statement - Statements of Cash Flows - GPC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofCashFlowsGPC</Role>
      <ShortName>Statements of Cash Flows - GPC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0000024 - Statement - Statements of Cash Flows - GPC (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofCashFlowsGPCParenthetical</Role>
      <ShortName>Statements of Cash Flows - GPC (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>0000025 - Statement - Balance Sheets - GPC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/BalanceSheetsGPC</Role>
      <ShortName>Balance Sheets - GPC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>0000026 - Statement - Balance Sheets - GPC (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/BalanceSheetsGPCParenthetical</Role>
      <ShortName>Balance Sheets - GPC (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>0000027 - Statement - Statements of Common Stockholders' Equity - GPC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC</Role>
      <ShortName>Statements of Common Stockholders' Equity - GPC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>0000028 - Statement - Statements of Common Stockholders' Equity - GPC (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPCParenthetical</Role>
      <ShortName>Statements of Common Stockholders' Equity - GPC (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>0000029 - Statement - Statements of Income - MPC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofIncomeMPC</Role>
      <ShortName>Statements of Income - MPC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>0000030 - Statement - Statements of Comprehensive Income - MPC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofComprehensiveIncomeMPC</Role>
      <ShortName>Statements of Comprehensive Income - MPC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>0000031 - Statement - Statements of Comprehensive Income - MPC (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofComprehensiveIncomeMPCParenthetical</Role>
      <ShortName>Statements of Comprehensive Income - MPC (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>0000032 - Statement - Statements of Cash Flows - MPC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofCashFlowsMPC</Role>
      <ShortName>Statements of Cash Flows - MPC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>0000033 - Statement - Statements of Cash Flows - MPC (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofCashFlowsMPCParenthetical</Role>
      <ShortName>Statements of Cash Flows - MPC (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>0000034 - Statement - Balance Sheets - MPC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/BalanceSheetsMPC</Role>
      <ShortName>Balance Sheets - MPC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>0000035 - Statement - Balance Sheets - MPC (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/BalanceSheetsMPCParenthetical</Role>
      <ShortName>Balance Sheets - MPC (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>0000036 - Statement - Statements of Common Stockholders' Equity - MPC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC</Role>
      <ShortName>Statements of Common Stockholders' Equity - MPC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>0000037 - Statement - Consolidated Statements of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofIncome</Role>
      <ShortName>Consolidated Statements of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>0000038 - Statement - Consolidated Statements of Comprehensive Income - SPC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC</Role>
      <ShortName>Consolidated Statements of Comprehensive Income - SPC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>0000039 - Statement - Consolidated Statements of Comprehensive Income - SPC (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPCParenthetical</Role>
      <ShortName>Consolidated Statements of Comprehensive Income - SPC (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>0000040 - Statement - Consolidated Statements of Cash Flows - SPC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC</Role>
      <ShortName>Consolidated Statements of Cash Flows - SPC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>0000041 - Statement - Consolidated Statements of Cash Flows - SPC (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPCParenthetical</Role>
      <ShortName>Consolidated Statements of Cash Flows - SPC (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>0000042 - Statement - Consolidated Balance Sheets - SPC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC</Role>
      <ShortName>Consolidated Balance Sheets - SPC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>0000043 - Statement - Consolidated Balance Sheets - SPC (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedBalanceSheetsSPCParenthetical</Role>
      <ShortName>Consolidated Balance Sheets - SPC (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>0000044 - Statement - Consolidated Statements of Stockholders' Equity - SPC</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity - SPC</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>0000045 - Statement - Consolidated Statements of Income - GAS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS</Role>
      <ShortName>Consolidated Statements of Income - GAS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>0000046 - Statement - Consolidated Statements of Income - GAS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofIncomeGASParenthetical</Role>
      <ShortName>Consolidated Statements of Income - GAS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>0000047 - Statement - Consolidated Statements of Comprehensive Income - GAS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGAS</Role>
      <ShortName>Consolidated Statements of Comprehensive Income - GAS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>0000048 - Statement - Consolidated Statements of Comprehensive Income - GAS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGASParenthetical</Role>
      <ShortName>Consolidated Statements of Comprehensive Income - GAS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>0000049 - Statement - Consolidated Statements of Cash Flows - GAS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS</Role>
      <ShortName>Consolidated Statements of Cash Flows - GAS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>0000050 - Statement - Consolidated Statements of Cash Flows - GAS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGASParenthetical</Role>
      <ShortName>Consolidated Statements of Cash Flows - GAS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>0000051 - Statement - Consolidated Balance Sheets - GAS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS</Role>
      <ShortName>Consolidated Balance Sheets - GAS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>0000052 - Statement - Consolidated Balance Sheets - GAS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedBalanceSheetsGASParenthetical</Role>
      <ShortName>Consolidated Balance Sheets - GAS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>0000053 - Statement - Consolidated Statements of Common Stockholders' Equity - GAS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS</Role>
      <ShortName>Consolidated Statements of Common Stockholders' Equity - GAS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>0000054 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>0000055 - Disclosure - REGULATORY MATTERS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERS</Role>
      <ShortName>REGULATORY MATTERS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>0000056 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEES</Role>
      <ShortName>CONTINGENCIES, COMMITMENTS, AND GUARANTEES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>0000057 - Disclosure - REVENUE FROM CONTRACTS WITH CUSTOMERS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERS</Role>
      <ShortName>REVENUE FROM CONTRACTS WITH CUSTOMERS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>0000058 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENT</Role>
      <ShortName>PROPERTY, PLANT, AND EQUIPMENT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>0000059 - Disclosure - ASSET RETIREMENT OBLIGATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONS</Role>
      <ShortName>ASSET RETIREMENT OBLIGATIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>0000060 - Disclosure - CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTS</Role>
      <ShortName>CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>0000061 - Disclosure - FINANCING</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FINANCING</Role>
      <ShortName>FINANCING</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>0000062 - Disclosure - LEASES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/LEASES</Role>
      <ShortName>LEASES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>0000063 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/INCOMETAXES</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>0000064 - Disclosure - RETIREMENT BENEFITS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/RETIREMENTBENEFITS</Role>
      <ShortName>RETIREMENT BENEFITS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>0000065 - Disclosure - STOCK COMPENSATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/STOCKCOMPENSATION</Role>
      <ShortName>STOCK COMPENSATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>0000066 - Disclosure - FAIR VALUE MEASUREMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FAIRVALUEMEASUREMENTS</Role>
      <ShortName>FAIR VALUE MEASUREMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>0000067 - Disclosure - DERIVATIVES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/DERIVATIVES</Role>
      <ShortName>DERIVATIVES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>0000068 - Disclosure - ACQUISITIONS AND DISPOSITIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONS</Role>
      <ShortName>ACQUISITIONS AND DISPOSITIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>0000069 - Disclosure - SEGMENT AND RELATED INFORMATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATION</Role>
      <ShortName>SEGMENT AND RELATED INFORMATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>0000070 - Disclosure - VALUATION AND QUALIFYING ACCOUNTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTS</Role>
      <ShortName>VALUATION AND QUALIFYING ACCOUNTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>0000071 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>0000072 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>0000073 - Disclosure - REGULATORY MATTERS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSTables</Role>
      <ShortName>REGULATORY MATTERS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://southerncompany.com/role/REGULATORYMATTERS</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>0000074 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESTables</Role>
      <ShortName>CONTINGENCIES, COMMITMENTS, AND GUARANTEES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEES</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>0000075 - Disclosure - REVENUE FROM CONTRACTS WITH CUSTOMERS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSTables</Role>
      <ShortName>REVENUE FROM CONTRACTS WITH CUSTOMERS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERS</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>0000076 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTTables</Role>
      <ShortName>PROPERTY, PLANT, AND EQUIPMENT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENT</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>0000077 - Disclosure - ASSET RETIREMENT OBLIGATIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSTables</Role>
      <ShortName>ASSET RETIREMENT OBLIGATIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONS</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>0000078 - Disclosure - CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSTables</Role>
      <ShortName>CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTS</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>0000079 - Disclosure - FINANCING (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FINANCINGTables</Role>
      <ShortName>FINANCING (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://southerncompany.com/role/FINANCING</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>0000080 - Disclosure - LEASES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/LEASESTables</Role>
      <ShortName>LEASES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://southerncompany.com/role/LEASES</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>0000081 - Disclosure - INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/INCOMETAXESTables</Role>
      <ShortName>INCOME TAXES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://southerncompany.com/role/INCOMETAXES</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>0000082 - Disclosure - RETIREMENT BENEFITS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/RETIREMENTBENEFITSTables</Role>
      <ShortName>RETIREMENT BENEFITS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://southerncompany.com/role/RETIREMENTBENEFITS</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>0000083 - Disclosure - STOCK COMPENSATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/STOCKCOMPENSATIONTables</Role>
      <ShortName>STOCK COMPENSATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://southerncompany.com/role/STOCKCOMPENSATION</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>0000084 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FAIRVALUEMEASUREMENTSTables</Role>
      <ShortName>FAIR VALUE MEASUREMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://southerncompany.com/role/FAIRVALUEMEASUREMENTS</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>0000085 - Disclosure - DERIVATIVES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/DERIVATIVESTables</Role>
      <ShortName>DERIVATIVES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://southerncompany.com/role/DERIVATIVES</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>0000086 - Disclosure - ACQUISITIONS AND DISPOSITIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSTables</Role>
      <ShortName>ACQUISITIONS AND DISPOSITIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONS</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>0000087 - Disclosure - SEGMENT AND RELATED INFORMATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONTables</Role>
      <ShortName>SEGMENT AND RELATED INFORMATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATION</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>0000088 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - General (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGeneralNarrativeDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - General (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>0000089 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Costs for Affiliate Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Costs for Affiliate Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>0000090 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Affiliate Transactions (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Affiliate Transactions (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>0000091 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Revenues (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESRevenuesNarrativeDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Revenues (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>0000092 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Concentration of Credit Risk (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofCreditRiskNarrativeDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Concentration of Credit Risk (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>0000093 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Concentration of Revenue (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofRevenueNarrativeDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Concentration of Revenue (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>0000094 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Income and Other Taxes (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESIncomeandOtherTaxesNarrativeDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Income and Other Taxes (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>0000095 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Total AFUDC and Interest Capitalized (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofTotalAFUDCandInterestCapitalizedDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Total AFUDC and Interest Capitalized (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>0000096 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Average AFUDC Composite Rates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAverageAFUDCCompositeRatesDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Average AFUDC Composite Rates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>0000097 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Goodwill and Other Intangible Assets and Liabilities (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGoodwillandOtherIntangibleAssetsandLiabilitiesNarrativeDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Goodwill and Other Intangible Assets and Liabilities (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>0000098 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Goodwill Balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofGoodwillBalancesDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Goodwill Balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>0000099 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Other Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Other Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>0000100 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Amortization of Other Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Amortization of Other Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>0000101 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Transmission Receivables/Prepayments (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTransmissionReceivablesPrepaymentsNarrativeDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Transmission Receivables/Prepayments (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>0000102 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Cash, Cash Equivalents, and Restricted Cash (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Cash, Cash Equivalents, and Restricted Cash (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>0000103 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Storm Damage and Reliability Reserves (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Storm Damage and Reliability Reserves (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>0000104 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Natural Gas for Sale (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNaturalGasforSaleNarrativeDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Natural Gas for Sale (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>0000105 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Provision for Uncollectible Accounts (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESProvisionforUncollectibleAccountsNarrativeDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Provision for Uncollectible Accounts (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>0000106 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Financial Instruments (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESFinancialInstrumentsNarrativeDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Financial Instruments (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>0000107 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of AOCI (Loss) Balances, Net of Tax Effects (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAOCILossBalancesNetofTaxEffectsDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of AOCI (Loss) Balances, Net of Tax Effects (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>0000108 - Disclosure - REGULATORY MATTERS - Schedule of Regulatory Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails</Role>
      <ShortName>REGULATORY MATTERS - Schedule of Regulatory Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>0000109 - Disclosure - REGULATORY MATTERS - APC Certificate of Convenience and Necessity and RGC (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails</Role>
      <ShortName>REGULATORY MATTERS - APC Certificate of Convenience and Necessity and RGC (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>0000110 - Disclosure - REGULATORY MATTERS - APC Rate RSE (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails</Role>
      <ShortName>REGULATORY MATTERS - APC Rate RSE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>0000111 - Disclosure - REGULATORY MATTERS - APC Rate CNP New Plant (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPNewPlantDetails</Role>
      <ShortName>REGULATORY MATTERS - APC Rate CNP New Plant (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>0000112 - Disclosure - REGULATORY MATTERS - APC Rate CNP (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails</Role>
      <ShortName>REGULATORY MATTERS - APC Rate CNP (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>112</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>0000113 - Disclosure - REGULATORY MATTERS - APC Rate ECR (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails</Role>
      <ShortName>REGULATORY MATTERS - APC Rate ECR (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>113</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>0000114 - Disclosure - REGULATORY MATTERS - APC Accounting Orders and Plant Greene County (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSAPCAccountingOrdersandPlantGreeneCountyDetails</Role>
      <ShortName>REGULATORY MATTERS - APC Accounting Orders and Plant Greene County (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>114</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>0000115 - Disclosure - REGULATORY MATTERS - APC Rate NDR and Reliability Reserve Accounting Order (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails</Role>
      <ShortName>REGULATORY MATTERS - APC Rate NDR and Reliability Reserve Accounting Order (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>115</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>0000116 - Disclosure - REGULATORY MATTERS - GPC Tariffs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSGPCTariffsDetails</Role>
      <ShortName>REGULATORY MATTERS - GPC Tariffs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>116</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>0000117 - Disclosure - REGULATORY MATTERS - GPC Rate Plans, Integrated Resource Plan and COVID-19 Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails</Role>
      <ShortName>REGULATORY MATTERS - GPC Rate Plans, Integrated Resource Plan and COVID-19 Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>117</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>0000118 - Disclosure - REGULATORY MATTERS - GPC Fuel Cost and Storm Damage Recovery (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails</Role>
      <ShortName>REGULATORY MATTERS - GPC Fuel Cost and Storm Damage Recovery (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>118</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>0000119 - Disclosure - REGULATORY MATTERS - GPC Nuclear Construction (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails</Role>
      <ShortName>REGULATORY MATTERS - GPC Nuclear Construction (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>119</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>0000120 - Disclosure - REGULATORY MATTERS - GPC Schedule of Nuclear Construction Cost and Schedule (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails</Role>
      <ShortName>REGULATORY MATTERS - GPC Schedule of Nuclear Construction Cost and Schedule (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>120</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R121.htm</HtmlFileName>
      <LongName>0000121 - Disclosure - REGULATORY MATTERS - GPC Joint Ownership Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails</Role>
      <ShortName>REGULATORY MATTERS - GPC Joint Ownership Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>121</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R122.htm</HtmlFileName>
      <LongName>0000122 - Disclosure - REGULATORY MATTERS - GPC Regulatory Matters (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails</Role>
      <ShortName>REGULATORY MATTERS - GPC Regulatory Matters (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>122</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R123.htm</HtmlFileName>
      <LongName>0000123 - Disclosure - REGULATORY MATTERS - MPC 2019 Base Rate Case and Performance Evaluation Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails</Role>
      <ShortName>REGULATORY MATTERS - MPC 2019 Base Rate Case and Performance Evaluation Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>123</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R124.htm</HtmlFileName>
      <LongName>0000124 - Disclosure - REGULATORY MATTERS - MPC Integrated Resource Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails</Role>
      <ShortName>REGULATORY MATTERS - MPC Integrated Resource Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>124</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R125.htm</HtmlFileName>
      <LongName>0000125 - Disclosure - REGULATORY MATTERS - MPC Environmental Compliance Overview Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSMPCEnvironmentalComplianceOverviewPlanDetails</Role>
      <ShortName>REGULATORY MATTERS - MPC Environmental Compliance Overview Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>125</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R126.htm</HtmlFileName>
      <LongName>0000126 - Disclosure - REGULATORY MATTERS - MPC Fuel Cost Recovery and Ad Valorem Tax Adjustment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails</Role>
      <ShortName>REGULATORY MATTERS - MPC Fuel Cost Recovery and Ad Valorem Tax Adjustment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>126</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R127.htm</HtmlFileName>
      <LongName>0000127 - Disclosure - REGULATORY MATTERS - MPC System Restoration Rider (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails</Role>
      <ShortName>REGULATORY MATTERS - MPC System Restoration Rider (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>127</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R128.htm</HtmlFileName>
      <LongName>0000128 - Disclosure - REGULATORY MATTERS - MPC Municipal and Rural Associations Tariff (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails</Role>
      <ShortName>REGULATORY MATTERS - MPC Municipal and Rural Associations Tariff (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>128</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R129.htm</HtmlFileName>
      <LongName>0000129 - Disclosure - REGULATORY MATTERS - GAS Schedule of Utility Regulation and Rate Design (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUtilityRegulationandRateDesignDetails</Role>
      <ShortName>REGULATORY MATTERS - GAS Schedule of Utility Regulation and Rate Design (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>129</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R130.htm</HtmlFileName>
      <LongName>0000130 - Disclosure - REGULATORY MATTERS - GAS Infrastructure Replacement Programs and Capital Projects (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails</Role>
      <ShortName>REGULATORY MATTERS - GAS Infrastructure Replacement Programs and Capital Projects (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>130</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R131.htm</HtmlFileName>
      <LongName>0000131 - Disclosure - REGULATORY MATTERS - GAS Schedule of Infrastructure Replacement Programs and Capital Projects (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails</Role>
      <ShortName>REGULATORY MATTERS - GAS Schedule of Infrastructure Replacement Programs and Capital Projects (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>131</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R132.htm</HtmlFileName>
      <LongName>0000132 - Disclosure - REGULATORY MATTERS - GAS Rate Proceedings and Deferral of Incremental COVID-19 Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails</Role>
      <ShortName>REGULATORY MATTERS - GAS Rate Proceedings and Deferral of Incremental COVID-19 Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>132</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R133.htm</HtmlFileName>
      <LongName>0000133 - Disclosure - REGULATORY MATTERS - GAS Schedule of Unrecognized Ratemaking Amounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUnrecognizedRatemakingAmountsDetails</Role>
      <ShortName>REGULATORY MATTERS - GAS Schedule of Unrecognized Ratemaking Amounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>133</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R134.htm</HtmlFileName>
      <LongName>0000134 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - GPC Litigation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGPCLitigationDetails</Role>
      <ShortName>CONTINGENCIES, COMMITMENTS, AND GUARANTEES - GPC Litigation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>134</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R135.htm</HtmlFileName>
      <LongName>0000135 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - MPC Litigation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCLitigationDetails</Role>
      <ShortName>CONTINGENCIES, COMMITMENTS, AND GUARANTEES - MPC Litigation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>135</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R136.htm</HtmlFileName>
      <LongName>0000136 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - Environmental Remediation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails</Role>
      <ShortName>CONTINGENCIES, COMMITMENTS, AND GUARANTEES - Environmental Remediation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>136</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R137.htm</HtmlFileName>
      <LongName>0000137 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - Nuclear Fuel Disposal Costs and Nuclear Insurance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails</Role>
      <ShortName>CONTINGENCIES, COMMITMENTS, AND GUARANTEES - Nuclear Fuel Disposal Costs and Nuclear Insurance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>137</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R138.htm</HtmlFileName>
      <LongName>0000138 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - APC Litigation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESAPCLitigationDetails</Role>
      <ShortName>CONTINGENCIES, COMMITMENTS, AND GUARANTEES - APC Litigation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>138</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R139.htm</HtmlFileName>
      <LongName>0000139 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - MPC Other Matters (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails</Role>
      <ShortName>CONTINGENCIES, COMMITMENTS, AND GUARANTEES - MPC Other Matters (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>139</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R140.htm</HtmlFileName>
      <LongName>0000140 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails</Role>
      <ShortName>CONTINGENCIES, COMMITMENTS, AND GUARANTEES - Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>140</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R141.htm</HtmlFileName>
      <LongName>0000141 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - GAS Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails</Role>
      <ShortName>CONTINGENCIES, COMMITMENTS, AND GUARANTEES - GAS Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>141</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R142.htm</HtmlFileName>
      <LongName>0000142 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - Guarantees (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGuaranteesDetails</Role>
      <ShortName>CONTINGENCIES, COMMITMENTS, AND GUARANTEES - Guarantees (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>142</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R143.htm</HtmlFileName>
      <LongName>0000143 - Disclosure - REVENUE FROM CONTRACTS WITH CUSTOMERS - Disaggregate Revenue Sources (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails</Role>
      <ShortName>REVENUE FROM CONTRACTS WITH CUSTOMERS - Disaggregate Revenue Sources (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>143</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R144.htm</HtmlFileName>
      <LongName>0000144 - Disclosure - REVENUE FROM CONTRACTS WITH CUSTOMERS - Contract Balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails</Role>
      <ShortName>REVENUE FROM CONTRACTS WITH CUSTOMERS - Contract Balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>144</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R145.htm</HtmlFileName>
      <LongName>0000145 - Disclosure - REVENUE FROM CONTRACTS WITH CUSTOMERS - Performance Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSPerformanceObligationsDetails</Role>
      <ShortName>REVENUE FROM CONTRACTS WITH CUSTOMERS - Performance Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>145</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R146.htm</HtmlFileName>
      <LongName>0000146 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails</Role>
      <ShortName>PROPERTY, PLANT, AND EQUIPMENT - Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>146</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R147.htm</HtmlFileName>
      <LongName>0000147 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Additional Information (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails</Role>
      <ShortName>PROPERTY, PLANT, AND EQUIPMENT - Additional Information (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>147</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R148.htm</HtmlFileName>
      <LongName>0000148 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Deferred Cloud Implementation Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDeferredCloudImplementationCostsDetails</Role>
      <ShortName>PROPERTY, PLANT, AND EQUIPMENT - Deferred Cloud Implementation Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>148</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R149.htm</HtmlFileName>
      <LongName>0000149 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Composite Straight-Line Rates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTCompositeStraightLineRatesDetails</Role>
      <ShortName>PROPERTY, PLANT, AND EQUIPMENT - Composite Straight-Line Rates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>149</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R150.htm</HtmlFileName>
      <LongName>0000150 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Depreciation and Amortization (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails</Role>
      <ShortName>PROPERTY, PLANT, AND EQUIPMENT - Depreciation and Amortization (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>150</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R151.htm</HtmlFileName>
      <LongName>0000151 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Southern Power Useful Lives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails</Role>
      <ShortName>PROPERTY, PLANT, AND EQUIPMENT - Southern Power Useful Lives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>151</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R152.htm</HtmlFileName>
      <LongName>0000152 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Ownership and Investment in Jointly-Owned Facilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails</Role>
      <ShortName>PROPERTY, PLANT, AND EQUIPMENT - Ownership and Investment in Jointly-Owned Facilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>152</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R153.htm</HtmlFileName>
      <LongName>0000153 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Joint Ownership Agreements (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTJointOwnershipAgreementsNarrativeDetails</Role>
      <ShortName>PROPERTY, PLANT, AND EQUIPMENT - Joint Ownership Agreements (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>153</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R154.htm</HtmlFileName>
      <LongName>0000154 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Assets Subject to Lien (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAssetsSubjecttoLienNarrativeDetails</Role>
      <ShortName>PROPERTY, PLANT, AND EQUIPMENT - Assets Subject to Lien (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>154</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R155.htm</HtmlFileName>
      <LongName>0000155 - Disclosure - ASSET RETIREMENT OBLIGATIONS - Details of AROs Included in the Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSDetailsofAROsIncludedintheBalanceSheetsDetails</Role>
      <ShortName>ASSET RETIREMENT OBLIGATIONS - Details of AROs Included in the Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>155</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R156.htm</HtmlFileName>
      <LongName>0000156 - Disclosure - ASSET RETIREMENT OBLIGATIONS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails</Role>
      <ShortName>ASSET RETIREMENT OBLIGATIONS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>156</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R157.htm</HtmlFileName>
      <LongName>0000157 - Disclosure - ASSET RETIREMENT OBLIGATIONS - Investment Securities in the Funds (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSInvestmentSecuritiesintheFundsDetails</Role>
      <ShortName>ASSET RETIREMENT OBLIGATIONS - Investment Securities in the Funds (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>157</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R158.htm</HtmlFileName>
      <LongName>0000158 - Disclosure - ASSET RETIREMENT OBLIGATIONS - Fair Value Increases (Decreases) of the Funds (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSFairValueIncreasesDecreasesoftheFundsDetails</Role>
      <ShortName>ASSET RETIREMENT OBLIGATIONS - Fair Value Increases (Decreases) of the Funds (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>158</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R159.htm</HtmlFileName>
      <LongName>0000159 - Disclosure - ASSET RETIREMENT OBLIGATIONS - Accumulated Provisions for the External Decommissioning Trust Funds (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails</Role>
      <ShortName>ASSET RETIREMENT OBLIGATIONS - Accumulated Provisions for the External Decommissioning Trust Funds (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>159</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R160.htm</HtmlFileName>
      <LongName>0000160 - Disclosure - ASSET RETIREMENT OBLIGATIONS - Estimated Costs of Decommissioning (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails</Role>
      <ShortName>ASSET RETIREMENT OBLIGATIONS - Estimated Costs of Decommissioning (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>160</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R161.htm</HtmlFileName>
      <LongName>0000161 - Disclosure - CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - Southern Company (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSouthernCompanyDetails</Role>
      <ShortName>CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - Southern Company (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>161</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R162.htm</HtmlFileName>
      <LongName>0000162 - Disclosure - CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - SEGCO Equity Method Investments Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails</Role>
      <ShortName>CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - SEGCO Equity Method Investments Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>162</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R163.htm</HtmlFileName>
      <LongName>0000163 - Disclosure - CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - SPC Noncontrolling Interests and VIEs Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails</Role>
      <ShortName>CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - SPC Noncontrolling Interests and VIEs Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>163</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R164.htm</HtmlFileName>
      <LongName>0000164 - Disclosure - CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - Balance Sheet Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSBalanceSheetInformationDetails</Role>
      <ShortName>CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - Balance Sheet Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>164</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R165.htm</HtmlFileName>
      <LongName>0000165 - Disclosure - CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - Income Statement Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSIncomeStatementInformationDetails</Role>
      <ShortName>CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - Income Statement Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>165</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R166.htm</HtmlFileName>
      <LongName>0000166 - Disclosure - CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - GAS Equity Method Investments Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSGASEquityMethodInvestmentsNarrativeDetails</Role>
      <ShortName>CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - GAS Equity Method Investments Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>166</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R167.htm</HtmlFileName>
      <LongName>0000167 - Disclosure - FINANCING - Long-Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FINANCINGLongTermDebtDetails</Role>
      <ShortName>FINANCING - Long-Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>167</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R168.htm</HtmlFileName>
      <LongName>0000168 - Disclosure - FINANCING - Maturities of Long-Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails</Role>
      <ShortName>FINANCING - Maturities of Long-Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>168</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R169.htm</HtmlFileName>
      <LongName>0000169 - Disclosure - FINANCING - DOE Loan Guarantee Borrowings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails</Role>
      <ShortName>FINANCING - DOE Loan Guarantee Borrowings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>169</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R170.htm</HtmlFileName>
      <LongName>0000170 - Disclosure - FINANCING - Equity Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FINANCINGEquityUnitsDetails</Role>
      <ShortName>FINANCING - Equity Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>170</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R171.htm</HtmlFileName>
      <LongName>0000171 - Disclosure - FINANCING - Bank Credit Arrangements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails</Role>
      <ShortName>FINANCING - Bank Credit Arrangements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>171</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R172.htm</HtmlFileName>
      <LongName>0000172 - Disclosure - FINANCING - Bank Credit Arrangements Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails</Role>
      <ShortName>FINANCING - Bank Credit Arrangements Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>172</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R173.htm</HtmlFileName>
      <LongName>0000173 - Disclosure - FINANCING - Notes Payable (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://southerncompany.com/role/FINANCINGNotesPayableDetails</Role>
      <ShortName>FINANCING - Notes Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>173</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R174.htm</HtmlFileName>
      <LongName>0000174 - Disclosure - FINANCING - Outstanding Classes of Capital Stock Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FINANCINGOutstandingClassesofCapitalStockNarrativeDetails</Role>
      <ShortName>FINANCING - Outstanding Classes of Capital Stock Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>174</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R175.htm</HtmlFileName>
      <LongName>0000175 - Disclosure - FINANCING - Diluted Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FINANCINGDilutedEarningsPerShareDetails</Role>
      <ShortName>FINANCING - Diluted Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>175</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R176.htm</HtmlFileName>
      <LongName>0000176 - Disclosure - FINANCING - Preferred Stock Redemption (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails</Role>
      <ShortName>FINANCING - Preferred Stock Redemption (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>176</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R177.htm</HtmlFileName>
      <LongName>0000177 - Disclosure - FINANCING - Dividend Restrictions and Structural Considerations Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FINANCINGDividendRestrictionsandStructuralConsiderationsNarrativeDetails</Role>
      <ShortName>FINANCING - Dividend Restrictions and Structural Considerations Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>177</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R178.htm</HtmlFileName>
      <LongName>0000178 - Disclosure - LEASES - Major Categories of Lease Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails</Role>
      <ShortName>LEASES - Major Categories of Lease Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>178</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R179.htm</HtmlFileName>
      <LongName>0000179 - Disclosure - LEASES - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/LEASESAdditionalInformationDetails</Role>
      <ShortName>LEASES - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>179</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R180.htm</HtmlFileName>
      <LongName>0000180 - Disclosure - LEASES - Balance Sheet Amounts Recorded for Operating and Financing Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails</Role>
      <ShortName>LEASES - Balance Sheet Amounts Recorded for Operating and Financing Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>180</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R181.htm</HtmlFileName>
      <LongName>0000181 - Disclosure - LEASES - Lease Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/LEASESLeaseCostsDetails</Role>
      <ShortName>LEASES - Lease Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>181</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R182.htm</HtmlFileName>
      <LongName>0000182 - Disclosure - LEASES - Other Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/LEASESOtherInformationDetails</Role>
      <ShortName>LEASES - Other Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>182</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R183.htm</HtmlFileName>
      <LongName>0000183 - Disclosure - LEASES - Maturities of Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails</Role>
      <ShortName>LEASES - Maturities of Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>183</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R184.htm</HtmlFileName>
      <LongName>0000184 - Disclosure - LEASES - Lease Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/LEASESLeaseIncomeDetails</Role>
      <ShortName>LEASES - Lease Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>184</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R185.htm</HtmlFileName>
      <LongName>0000185 - Disclosure - LEASES - Undiscounted Cash Flows to be Received Under Tolling Arrangements Accounted for as Sales-type Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails</Role>
      <ShortName>LEASES - Undiscounted Cash Flows to be Received Under Tolling Arrangements Accounted for as Sales-type Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>185</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R186.htm</HtmlFileName>
      <LongName>0000186 - Disclosure - LEASES - Undiscounted Cash Flows to be Received Under PPAs Accounted for as Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails</Role>
      <ShortName>LEASES - Undiscounted Cash Flows to be Received Under PPAs Accounted for as Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>186</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R187.htm</HtmlFileName>
      <LongName>0000187 - Disclosure - LEASES - Leveraged Leases (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/LEASESLeveragedLeasesNarrativeDetails</Role>
      <ShortName>LEASES - Leveraged Leases (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>187</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R188.htm</HtmlFileName>
      <LongName>0000188 - Disclosure - LEASES - Summary of the Components of Income from Leveraged Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/LEASESSummaryoftheComponentsofIncomefromLeveragedLeasesDetails</Role>
      <ShortName>LEASES - Summary of the Components of Income from Leveraged Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>188</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R189.htm</HtmlFileName>
      <LongName>0000189 - Disclosure - INCOME TAXES - Current and Deferred Income Tax Provisions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails</Role>
      <ShortName>INCOME TAXES - Current and Deferred Income Tax Provisions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>189</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R190.htm</HtmlFileName>
      <LongName>0000190 - Disclosure - INCOME TAXES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/INCOMETAXESNarrativeDetails</Role>
      <ShortName>INCOME TAXES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>190</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R191.htm</HtmlFileName>
      <LongName>0000191 - Disclosure - INCOME TAXES - Amortization of Deferred Credits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/INCOMETAXESAmortizationofDeferredCreditsDetails</Role>
      <ShortName>INCOME TAXES - Amortization of Deferred Credits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>191</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R192.htm</HtmlFileName>
      <LongName>0000192 - Disclosure - INCOME TAXES - Reconciliation of Federal Statutory Income Tax Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails</Role>
      <ShortName>INCOME TAXES - Reconciliation of Federal Statutory Income Tax Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>192</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R193.htm</HtmlFileName>
      <LongName>0000193 - Disclosure - INCOME TAXES - Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails</Role>
      <ShortName>INCOME TAXES - Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>193</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R194.htm</HtmlFileName>
      <LongName>0000194 - Disclosure - INCOME TAXES - Federal ITC/PTC Carryforwards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/INCOMETAXESFederalITCPTCCarryforwardsDetails</Role>
      <ShortName>INCOME TAXES - Federal ITC/PTC Carryforwards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>194</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R195.htm</HtmlFileName>
      <LongName>0000195 - Disclosure - INCOME TAXES - NOL Carryforwards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails</Role>
      <ShortName>INCOME TAXES - NOL Carryforwards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>195</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R196.htm</HtmlFileName>
      <LongName>0000196 - Disclosure - INCOME TAXES - Changes in Unrecognized Tax Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/INCOMETAXESChangesinUnrecognizedTaxBenefitsDetails</Role>
      <ShortName>INCOME TAXES - Changes in Unrecognized Tax Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>196</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R197.htm</HtmlFileName>
      <LongName>0000197 - Disclosure - RETIREMENT BENEFITS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/RETIREMENTBENEFITSNarrativeDetails</Role>
      <ShortName>RETIREMENT BENEFITS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>197</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R198.htm</HtmlFileName>
      <LongName>0000198 - Disclosure - RETIREMENT BENEFITS - Actuarial Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails</Role>
      <ShortName>RETIREMENT BENEFITS - Actuarial Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>198</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R199.htm</HtmlFileName>
      <LongName>0000199 - Disclosure - RETIREMENT BENEFITS - Schedule of Health Care Cost Trend Rates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/RETIREMENTBENEFITSScheduleofHealthCareCostTrendRatesDetails</Role>
      <ShortName>RETIREMENT BENEFITS - Schedule of Health Care Cost Trend Rates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>199</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R200.htm</HtmlFileName>
      <LongName>0000200 - Disclosure - RETIREMENT BENEFITS - Accumulated Benefit Obligation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/RETIREMENTBENEFITSAccumulatedBenefitObligationDetails</Role>
      <ShortName>RETIREMENT BENEFITS - Accumulated Benefit Obligation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>200</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R201.htm</HtmlFileName>
      <LongName>0000201 - Disclosure - RETIREMENT BENEFITS - Changes in Projected Benefit Obligations and Fair Value of Plan Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails</Role>
      <ShortName>RETIREMENT BENEFITS - Changes in Projected Benefit Obligations and Fair Value of Plan Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>201</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R202.htm</HtmlFileName>
      <LongName>0000202 - Disclosure - RETIREMENT BENEFITS - Amounts Recognized in Balance Sheets and Amounts in AOCI (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails</Role>
      <ShortName>RETIREMENT BENEFITS - Amounts Recognized in Balance Sheets and Amounts in AOCI (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>202</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R203.htm</HtmlFileName>
      <LongName>0000203 - Disclosure - RETIREMENT BENEFITS - Components of Accumulated OCI and Changes in Regulatory Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails</Role>
      <ShortName>RETIREMENT BENEFITS - Components of Accumulated OCI and Changes in Regulatory Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>203</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R204.htm</HtmlFileName>
      <LongName>0000204 - Disclosure - RETIREMENT BENEFITS - Components of Net Periodic Benefit Cost and Estimated Future Benefit Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails</Role>
      <ShortName>RETIREMENT BENEFITS - Components of Net Periodic Benefit Cost and Estimated Future Benefit Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>204</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R205.htm</HtmlFileName>
      <LongName>0000205 - Disclosure - RETIREMENT BENEFITS - Fair Values of Pension Plan and Other Postretirement Benefit Plan Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails</Role>
      <ShortName>RETIREMENT BENEFITS - Fair Values of Pension Plan and Other Postretirement Benefit Plan Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>205</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R206.htm</HtmlFileName>
      <LongName>0000206 - Disclosure - RETIREMENT BENEFITS - 401K Plan Matching Contributions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/RETIREMENTBENEFITS401KPlanMatchingContributionsDetails</Role>
      <ShortName>RETIREMENT BENEFITS - 401K Plan Matching Contributions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>206</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R207.htm</HtmlFileName>
      <LongName>0000207 - Disclosure - STOCK COMPENSATION - Schedule of Employees Participating in Stock-Based Compensation Programs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/STOCKCOMPENSATIONScheduleofEmployeesParticipatinginStockBasedCompensationProgramsDetails</Role>
      <ShortName>STOCK COMPENSATION - Schedule of Employees Participating in Stock-Based Compensation Programs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>207</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R208.htm</HtmlFileName>
      <LongName>0000208 - Disclosure - STOCK COMPENSATION - Performance Shares Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails</Role>
      <ShortName>STOCK COMPENSATION - Performance Shares Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>208</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R209.htm</HtmlFileName>
      <LongName>0000209 - Disclosure - STOCK COMPENSATION - Performance Shares, Assumptions Used (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesAssumptionsUsedDetails</Role>
      <ShortName>STOCK COMPENSATION - Performance Shares, Assumptions Used (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>209</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R210.htm</HtmlFileName>
      <LongName>0000210 - Disclosure - STOCK COMPENSATION - Performance Shares, Compensation Costs and Related Tax Benefit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesCompensationCostsandRelatedTaxBenefitDetails</Role>
      <ShortName>STOCK COMPENSATION - Performance Shares, Compensation Costs and Related Tax Benefit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>210</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R211.htm</HtmlFileName>
      <LongName>0000211 - Disclosure - STOCK COMPENSATION - Restricted Stock Units Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails</Role>
      <ShortName>STOCK COMPENSATION - Restricted Stock Units Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>211</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R212.htm</HtmlFileName>
      <LongName>0000212 - Disclosure - STOCK COMPENSATION - Stock Options Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionsNarrativeDetails</Role>
      <ShortName>STOCK COMPENSATION - Stock Options Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>212</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R213.htm</HtmlFileName>
      <LongName>0000213 - Disclosure - STOCK COMPENSATION - Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionActivityDetails</Role>
      <ShortName>STOCK COMPENSATION - Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>213</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R214.htm</HtmlFileName>
      <LongName>0000214 - Disclosure - STOCK COMPENSATION - Aggregate Intrinsic Value for Options Exercised (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/STOCKCOMPENSATIONAggregateIntrinsicValueforOptionsExercisedDetails</Role>
      <ShortName>STOCK COMPENSATION - Aggregate Intrinsic Value for Options Exercised (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>214</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R215.htm</HtmlFileName>
      <LongName>0000215 - Disclosure - FAIR VALUE MEASUREMENTS - Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>215</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R216.htm</HtmlFileName>
      <LongName>0000216 - Disclosure - FAIR VALUE MEASUREMENTS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>216</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R217.htm</HtmlFileName>
      <LongName>0000217 - Disclosure - FAIR VALUE MEASUREMENTS - Financial Instruments, Carrying Amount Not Equal to Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/FAIRVALUEMEASUREMENTSFinancialInstrumentsCarryingAmountNotEqualtoFairValueDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - Financial Instruments, Carrying Amount Not Equal to Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>217</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R218.htm</HtmlFileName>
      <LongName>0000218 - Disclosure - DERIVATIVES - Energy-Related Derivative Contracts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails</Role>
      <ShortName>DERIVATIVES - Energy-Related Derivative Contracts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>218</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R219.htm</HtmlFileName>
      <LongName>0000219 - Disclosure - DERIVATIVES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/DERIVATIVESNarrativeDetails</Role>
      <ShortName>DERIVATIVES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>219</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R220.htm</HtmlFileName>
      <LongName>0000220 - Disclosure - DERIVATIVES - Interest Rate Derivatives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails</Role>
      <ShortName>DERIVATIVES - Interest Rate Derivatives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>220</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R221.htm</HtmlFileName>
      <LongName>0000221 - Disclosure - DERIVATIVES - Foreign Currency Derivatives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails</Role>
      <ShortName>DERIVATIVES - Foreign Currency Derivatives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>221</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R222.htm</HtmlFileName>
      <LongName>0000222 - Disclosure - DERIVATIVES - Derivative Financial Statement Presentation and Amounts With Balance Sheet Offsetting (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails</Role>
      <ShortName>DERIVATIVES - Derivative Financial Statement Presentation and Amounts With Balance Sheet Offsetting (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>222</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R223.htm</HtmlFileName>
      <LongName>0000223 - Disclosure - DERIVATIVES - Schedule of Unrealized Gain (Loss) Recognized in the Balance Sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails</Role>
      <ShortName>DERIVATIVES - Schedule of Unrealized Gain (Loss) Recognized in the Balance Sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>223</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R224.htm</HtmlFileName>
      <LongName>0000224 - Disclosure - DERIVATIVES - Pre-Tax Effects of Derivatives Designated as Hedges on AOCI (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails</Role>
      <ShortName>DERIVATIVES - Pre-Tax Effects of Derivatives Designated as Hedges on AOCI (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>224</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R225.htm</HtmlFileName>
      <LongName>0000225 - Disclosure - DERIVATIVES - Pre-Tax Effects of Derivatives Designated as Hedges on Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails</Role>
      <ShortName>DERIVATIVES - Pre-Tax Effects of Derivatives Designated as Hedges on Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>225</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R226.htm</HtmlFileName>
      <LongName>0000226 - Disclosure - DERIVATIVES - Cumulative Basis Adjustments for Fair Value Hedges (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/DERIVATIVESCumulativeBasisAdjustmentsforFairValueHedgesDetails</Role>
      <ShortName>DERIVATIVES - Cumulative Basis Adjustments for Fair Value Hedges (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>226</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R227.htm</HtmlFileName>
      <LongName>0000227 - Disclosure - DERIVATIVES - Pre-Tax Effects of Derivatives Not Designated as Hedging (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails</Role>
      <ShortName>DERIVATIVES - Pre-Tax Effects of Derivatives Not Designated as Hedging (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>227</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R228.htm</HtmlFileName>
      <LongName>0000228 - Disclosure - ACQUISITIONS AND DISPOSITIONS - Southern Company Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails</Role>
      <ShortName>ACQUISITIONS AND DISPOSITIONS - Southern Company Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>228</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R229.htm</HtmlFileName>
      <LongName>0000229 - Disclosure - ACQUISITIONS AND DISPOSITIONS - Alabama Power Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails</Role>
      <ShortName>ACQUISITIONS AND DISPOSITIONS - Alabama Power Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>229</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R230.htm</HtmlFileName>
      <LongName>0000230 - Disclosure - ACQUISITIONS AND DISPOSITIONS - Schedule of Asset Acquisitions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails</Role>
      <ShortName>ACQUISITIONS AND DISPOSITIONS - Schedule of Asset Acquisitions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>230</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R231.htm</HtmlFileName>
      <LongName>0000231 - Disclosure - ACQUISITIONS AND DISPOSITIONS - Southern Power Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails</Role>
      <ShortName>ACQUISITIONS AND DISPOSITIONS - Southern Power Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>231</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R232.htm</HtmlFileName>
      <LongName>0000232 - Disclosure - ACQUISITIONS AND DISPOSITIONS - Schedule of Construction Projects (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails</Role>
      <ShortName>ACQUISITIONS AND DISPOSITIONS - Schedule of Construction Projects (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>232</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R233.htm</HtmlFileName>
      <LongName>0000233 - Disclosure - ACQUISITIONS AND DISPOSITIONS - GAS Acquisitions and Dispositions Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails</Role>
      <ShortName>ACQUISITIONS AND DISPOSITIONS - GAS Acquisitions and Dispositions Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>233</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R234.htm</HtmlFileName>
      <LongName>0000234 - Disclosure - SEGMENT AND RELATED INFORMATION - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails</Role>
      <ShortName>SEGMENT AND RELATED INFORMATION - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>234</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R235.htm</HtmlFileName>
      <LongName>0000235 - Disclosure - SEGMENT AND RELATED INFORMATION - Financial Data for Business Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails</Role>
      <ShortName>SEGMENT AND RELATED INFORMATION - Financial Data for Business Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>235</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R236.htm</HtmlFileName>
      <LongName>0000236 - Disclosure - SEGMENT AND RELATED INFORMATION - Electric Utilities' Revenues (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONElectricUtilitiesRevenuesDetails</Role>
      <ShortName>SEGMENT AND RELATED INFORMATION - Electric Utilities' Revenues (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>236</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R237.htm</HtmlFileName>
      <LongName>0000237 - Disclosure - SEGMENT AND RELATED INFORMATION - Gas Revenues (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails</Role>
      <ShortName>SEGMENT AND RELATED INFORMATION - Gas Revenues (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>237</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R238.htm</HtmlFileName>
      <LongName>0000238 - Disclosure - VALUATION AND QUALIFYING ACCOUNTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails</Role>
      <ShortName>VALUATION AND QUALIFYING ACCOUNTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTS</ParentRole>
      <Position>238</Position>
    </Report>
    <Report instance="so-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9999.htm</HtmlFileName>
      <LongName>Uncategorized Items - so-20221231.htm</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/role/uncategorizedFacts</Role>
      <ShortName>Uncategorized Items - so-20221231.htm</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>239</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">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 35 fact(s) appearing in ix:hidden were eligible for transformation: so:ElectedDeductibleWaitingPeriod, so:LossContingencyEstimateOfPossibleLossLossOfProductivityTerm, so:MaximumDeductibleWaitingPeriod, us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1, us-gaap:LesseeOperatingLeaseRemainingLeaseTerm, us-gaap:PublicUtilitiesPropertyPlantAndEquipmentOtherPropertyPlantAndEquipmentUsefulLife, us-gaap:RegulatoryAssetAmortizationPeriod, us-gaap:RegulatoryLiabilityAmortizationPeriod, us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1, us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1 -  so-20221231.htm 4</Log>
    <Log type="Warning">[ix-0514-Hidden-Fact-Not-Referenced] WARN: 5 fact(s) appearing in ix:hidden were not referenced by any -sec-ix-hidden style property: us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1 -  so-20221231.htm 4</Log>
    <Log type="Warning">[dqc-0015-Negative-Values] Fact us-gaap:SubleaseIncome has a value of -1000000 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:SubleaseIncome fact are: Context: id3bea28439a14ef4808145db32edb28a_D20210101-20211231, Unit: usd, Rule Element Id: 7095. so-20221231.htm 4</Log>
    <Log type="Warning">[dqc-0015-Negative-Values] Fact us-gaap:LeveragedLeasesIncomeStatementIncomeFromLeveragedLeases has a value of -180000000 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:LeveragedLeasesIncomeStatementIncomeFromLeveragedLeases fact are: Context: i25fdb9d5f44b4e81b918e121ae1109ea_D20200101-20201231, Unit: usd, Rule Element Id: 6046. so-20221231.htm 4</Log>
    <Log type="Warning">[dqc-0015-Negative-Values] Fact us-gaap:LeveragedLeasesIncomeStatementIncomeTaxExpenseOnLeveragedLeases has a value of -98000000 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:LeveragedLeasesIncomeStatementIncomeTaxExpenseOnLeveragedLeases fact are: Context: i25fdb9d5f44b4e81b918e121ae1109ea_D20200101-20201231, Unit: usd, Rule Element Id: 6047. so-20221231.htm 4</Log>
    <Log type="Warning">[dqc-0015-Negative-Values] Fact us-gaap:LeveragedLeasesIncomeStatementNetIncomeFromLeveragedLeases has a value of -82000000 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:LeveragedLeasesIncomeStatementNetIncomeFromLeveragedLeases fact are: Context: i25fdb9d5f44b4e81b918e121ae1109ea_D20200101-20201231, Unit: usd, Rule Element Id: 1504. so-20221231.htm 4</Log>
    <Log type="Warning">[dqc-0015-Negative-Values] Fact us-gaap:DefinedBenefitPlanContributionsByEmployer has a value of -2000000 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:DefinedBenefitPlanContributionsByEmployer fact are: Context: i43a53602e988410cbb816bf1164d3671_D20210101-20211231, Unit: usd, Rule Element Id: 2928. so-20221231.htm 4</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-K" original="so-20221231.htm">so-20221231.htm</File>
    <File>so-20221231.xsd</File>
    <File>so-20221231_cal.xml</File>
    <File>so-20221231_def.xml</File>
    <File>so-20221231_lab.xml</File>
    <File>so-20221231_pre.xml</File>
    <File>x10a15-q42022xcrosswhiteag.htm</File>
    <File>x10a17-q42022ax7thamendesp.htm</File>
    <File>x21a-q42022xsubsidiariesof.htm</File>
    <File>x23a1-q42022xsoconsent.htm</File>
    <File>x23b1-q42022xalconsent.htm</File>
    <File>x23c1-q42022xgaconsent.htm</File>
    <File>x23d1-q42022xmsconsent.htm</File>
    <File>x23e1-q42022xsopoconsent.htm</File>
    <File>x23f1-q42022xdtgasconsent.htm</File>
    <File>x23f2-q42022xbdogasconsent.htm</File>
    <File>x24a1-q42022xsopoa.htm</File>
    <File>x24b1q42022-alpoa.htm</File>
    <File>x24c1-q42022xgapoa.htm</File>
    <File>x24d1-q42022xmspoa.htm</File>
    <File>x24e1-q42022xsopopoa.htm</File>
    <File>x24f1-q42022xgaspoa.htm</File>
    <File>x31a1-q42022.htm</File>
    <File>x31a2-q42022.htm</File>
    <File>x31b1-q42022.htm</File>
    <File>x31b2-q42022.htm</File>
    <File>x31c1-q42022.htm</File>
    <File>x31c2-q42022.htm</File>
    <File>x31d1-q42022.htm</File>
    <File>x31d2-q42022.htm</File>
    <File>x31e1-q42022.htm</File>
    <File>x31e2-q42022.htm</File>
    <File>x31f1-q42022.htm</File>
    <File>x31f2-q42022.htm</File>
    <File>x32a-q42022.htm</File>
    <File>x32b-q42022.htm</File>
    <File>x32c-q42022.htm</File>
    <File>x32d-q42022.htm</File>
    <File>x32e-q42022.htm</File>
    <File>x32f-q42022.htm</File>
    <File>x4a3-q42022sodescriptionof.htm</File>
    <File>x4e2-q42022spcdescriptiono.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="2">http://fasb.org/srt/2022</BaseTaxonomy>
    <BaseTaxonomy items="8472">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="178">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
