{
 "instance": {
  "so-20221231.htm": {
   "axisCustom": 11,
   "axisStandard": 67,
   "baseTaxonomies": {
    "http://fasb.org/srt/2022": 2,
    "http://fasb.org/us-gaap/2022": 8472,
    "http://xbrl.sec.gov/dei/2022": 178
   },
   "contextCount": 4548,
   "dts": {
    "calculationLink": {
     "local": [
      "so-20221231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "so-20221231_def.xml"
     ]
    },
    "inline": {
     "local": [
      "so-20221231.htm"
     ]
    },
    "labelLink": {
     "local": [
      "so-20221231_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "so-20221231_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "so-20221231.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
      "https://xbrl.sec.gov/country/2022/country-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022.xsd",
      "https://xbrl.sec.gov/stpr/2022/stpr-2022.xsd"
     ]
    }
   },
   "elementCount": 1854,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2022": 74,
    "http://southerncompany.com/20221231": 3,
    "http://xbrl.sec.gov/dei/2022": 9,
    "total": 86
   },
   "keyCustom": 420,
   "keyStandard": 640,
   "memberCustom": 322,
   "memberStandard": 111,
   "nsprefix": "so",
   "nsuri": "http://southerncompany.com/20221231",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "0000001 - Document - Cover Page",
     "menuCat": "Cover",
     "order": "1",
     "role": "http://southerncompany.com/role/CoverPage",
     "shortName": "Cover Page",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i6aae7ad74adb4cb2b7c00ae1cafa8d7e_I20191231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SharesIssued",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000010 - Statement - Consolidated Statements of Stockholders' Equity - Southern",
     "menuCat": "Statements",
     "order": "10",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern",
     "shortName": "Consolidated Statements of Stockholders' Equity - Southern",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i16c2c69d01264092a1acd86efe0f91e3_I20191231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:SharesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R100": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AmortizationOfIntangibleAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000100 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Amortization of Other Intangible Assets (Details)",
     "menuCat": "Details",
     "order": "100",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Amortization of Other Intangible Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AmortizationOfIntangibleAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R101": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "so:ReceivablesPrepaymentsTransmissionPolicyTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0b65e73351c4472bbdfd75a9f5f0a8a5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "so:PeriodOfReimbursementOfTransmissionCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000101 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Transmission Receivables/Prepayments (Narrative) (Details)",
     "menuCat": "Details",
     "order": "101",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTransmissionReceivablesPrepaymentsNarrativeDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Transmission Receivables/Prepayments (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "so:ReceivablesPrepaymentsTransmissionPolicyTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0b65e73351c4472bbdfd75a9f5f0a8a5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "so:PeriodOfReimbursementOfTransmissionCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R102": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000102 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Cash, Cash Equivalents, and Restricted Cash (Details)",
     "menuCat": "Details",
     "order": "102",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Cash, Cash Equivalents, and Restricted Cash (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "iaf6fb70e3d3a41fbac2aa7ac7da792f4_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:RestrictedCashAndCashEquivalents",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R103": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:PublicUtilitiesDeferredAmountReliabilityReserve",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000103 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Storm Damage and Reliability Reserves (Details)",
     "menuCat": "Details",
     "order": "103",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Storm Damage and Reliability Reserves (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i1c5fc894d5ac470fb6e03d02e041f9f1_D20210101-20211231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "so:LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseCertainAdditionalAmountsPeriodIncreaseDecrease",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R104": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "so:NaturalGasForSalePolicyPolicyTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia3bf5d6eb80e4d93b344e50b892bd077_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LIFOInventoryAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000104 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Natural Gas for Sale (Narrative) (Details)",
     "menuCat": "Details",
     "order": "104",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNaturalGasforSaleNarrativeDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Natural Gas for Sale (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "so:NaturalGasForSalePolicyPolicyTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia3bf5d6eb80e4d93b344e50b892bd077_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LIFOInventoryAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R105": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "us-gaap:ReceivablesTradeAndOtherAccountsReceivableAllowanceForDoubtfulAccountsPolicy",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "2",
      "first": true,
      "lang": "en-US",
      "name": "so:UncollectibleAccounts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000105 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Provision for Uncollectible Accounts (Narrative) (Details)",
     "menuCat": "Details",
     "order": "105",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESProvisionforUncollectibleAccountsNarrativeDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Provision for Uncollectible Accounts (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "us-gaap:ReceivablesTradeAndOtherAccountsReceivableAllowanceForDoubtfulAccountsPolicy",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "2",
      "first": true,
      "lang": "en-US",
      "name": "so:UncollectibleAccounts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R106": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "us-gaap:DerivativesPolicyTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i07a8c57d64de49a58126e64dd73a57af_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeCollateralObligationToReturnCash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000106 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Financial Instruments (Narrative) (Details)",
     "menuCat": "Details",
     "order": "106",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESFinancialInstrumentsNarrativeDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Financial Instruments (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "us-gaap:DerivativesPolicyTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i07a8c57d64de49a58126e64dd73a57af_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeCollateralObligationToReturnCash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R107": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i8235082fb87e4f059144c65af3343879_I20211231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000107 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of AOCI (Loss) Balances, Net of Tax Effects (Details)",
     "menuCat": "Details",
     "order": "107",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAOCILossBalancesNetofTaxEffectsDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of AOCI (Loss) Balances, Net of Tax Effects (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i67e45808245243c993dbf7c8540767e5_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossNetOfTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R108": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRegulatoryAssetsTextBlock",
       "us-gaap:ScheduleOfRegulatoryLiabilitiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NetRegulatoryAssets",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000108 - Disclosure - REGULATORY MATTERS - Schedule of Regulatory Assets and Liabilities (Details)",
     "menuCat": "Details",
     "order": "108",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
     "shortName": "REGULATORY MATTERS - Schedule of Regulatory Assets and Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia14bdc6b547541e1836c0fe6ad62813d_I20211231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:NetRegulatoryAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R109": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConstructionInProgressGross",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000109 - Disclosure - REGULATORY MATTERS - APC Certificate of Convenience and Necessity and RGC (Details)",
     "menuCat": "Details",
     "order": "109",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails",
     "shortName": "REGULATORY MATTERS - APC Certificate of Convenience and Necessity and RGC (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i8a2fe9ff880149848dd69ff2c8133e6c_I20201231",
      "decimals": "0",
      "lang": "en-US",
      "name": "so:PublicUtilitiesApprovedAdditionalGeneratingCapacityDemandsideManagementAndDistributedEnergyResourcePrograms",
      "reportCount": 1,
      "unique": true,
      "unitRef": "mw",
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommonStockDividendsPerShareCashPaid",
      "reportCount": 1,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000011 - Statement - Consolidated Statements of Stockholders' Equity - Southern (Parenthetical)",
     "menuCat": "Statements",
     "order": "11",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthernParenthetical",
     "shortName": "Consolidated Statements of Stockholders' Equity - Southern (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R110": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia80a9c53bab843d2a5fcdde055274563_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "so:RateAdjustmentPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000110 - Disclosure - REGULATORY MATTERS - APC Rate RSE (Details)",
     "menuCat": "Details",
     "order": "110",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails",
     "shortName": "REGULATORY MATTERS - APC Rate RSE (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia80a9c53bab843d2a5fcdde055274563_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "so:RateAdjustmentPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R111": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i066107ea74704fac9e09e2f55c1bc1a7_I20221003",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:CertificatedNewPlantRevenueRequirementIncrease",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000111 - Disclosure - REGULATORY MATTERS - APC Rate CNP New Plant (Details)",
     "menuCat": "Details",
     "order": "111",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPNewPlantDetails",
     "shortName": "REGULATORY MATTERS - APC Rate CNP New Plant (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i066107ea74704fac9e09e2f55c1bc1a7_I20221003",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:CertificatedNewPlantRevenueRequirementIncrease",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R112": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i07a8c57d64de49a58126e64dd73a57af_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:UnderRecoveredCertifiedPowerPurchaseAgreements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000112 - Disclosure - REGULATORY MATTERS - APC Rate CNP (Details)",
     "menuCat": "Details",
     "order": "112",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails",
     "shortName": "REGULATORY MATTERS - APC Rate CNP (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i07a8c57d64de49a58126e64dd73a57af_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:UnderRecoveredCertifiedPowerPurchaseAgreements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R113": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i10bac29f4be5437299e6a917c398f0a5_D20221201-20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "so:CurrentBillingRatesUnderRateECRinTermsofPerUnits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerKWH_Kilowatt_hour",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000113 - Disclosure - REGULATORY MATTERS - APC Rate ECR (Details)",
     "menuCat": "Details",
     "order": "113",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails",
     "shortName": "REGULATORY MATTERS - APC Rate ECR (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i10bac29f4be5437299e6a917c398f0a5_D20221201-20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "so:CurrentBillingRatesUnderRateECRinTermsofPerUnits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerKWH_Kilowatt_hour",
      "xsiNil": "false"
     }
    },
    "R114": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:DeferredChargesAndOtherAssets",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000114 - Disclosure - REGULATORY MATTERS - APC Accounting Orders and Plant Greene County (Details)",
     "menuCat": "Details",
     "order": "114",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSAPCAccountingOrdersandPlantGreeneCountyDetails",
     "shortName": "REGULATORY MATTERS - APC Accounting Orders and Plant Greene County (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ifbc17c4cec7c4931930b28a69a5a5d9a_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "so:DeferredChargesAndOtherAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R115": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:PlantInServiceNetOfDepreciation",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000115 - Disclosure - REGULATORY MATTERS - APC Rate NDR and Reliability Reserve Accounting Order (Details)",
     "menuCat": "Details",
     "order": "115",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails",
     "shortName": "REGULATORY MATTERS - APC Rate NDR and Reliability Reserve Accounting Order (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "so:OtherRegulatoryAssetsCurrent",
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i5affeed2b0ad44deb629b9bfa7491ceb_I20221205",
      "decimals": "-6",
      "lang": "en-US",
      "name": "so:PlantInServiceNetOfDepreciation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R116": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i6ab524ec3dc54cac934b481ce63abeb0_I20221220",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:PublicUtilitiesRequestedRateIncreaseDecreaseAmountDueInNextFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000116 - Disclosure - REGULATORY MATTERS - GPC Tariffs (Details)",
     "menuCat": "Details",
     "order": "116",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSGPCTariffsDetails",
     "shortName": "REGULATORY MATTERS - GPC Tariffs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i6ab524ec3dc54cac934b481ce63abeb0_I20221220",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:PublicUtilitiesRequestedRateIncreaseDecreaseAmountDueInNextFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R117": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRegulatoryAssetsTextBlock",
       "us-gaap:ScheduleOfRegulatoryLiabilitiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NetRegulatoryAssets",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000117 - Disclosure - REGULATORY MATTERS - GPC Rate Plans, Integrated Resource Plan and COVID-19 Costs (Details)",
     "menuCat": "Details",
     "order": "117",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
     "shortName": "REGULATORY MATTERS - GPC Rate Plans, Integrated Resource Plan and COVID-19 Costs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i555400dade9446ffb4320b65fca7f75e_D20220101-20220101",
      "decimals": "-6",
      "lang": "en-US",
      "name": "so:PublicUtilitiesApprovedRateDecreaseAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R118": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i8235082fb87e4f059144c65af3343879_I20211231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NetRegulatoryAssets",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000118 - Disclosure - REGULATORY MATTERS - GPC Fuel Cost and Storm Damage Recovery (Details)",
     "menuCat": "Details",
     "order": "118",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
     "shortName": "REGULATORY MATTERS - GPC Fuel Cost and Storm Damage Recovery (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i6e641e6b421246488e2bd2e1ffc602d1_I20201231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "so:ApprovedIncreaseDecreaseInAnnualBillingBasedOnFuelCostRecoveryRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R119": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:EstimatedLossOnPlantVogtleUnits3And4",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000119 - Disclosure - REGULATORY MATTERS - GPC Nuclear Construction (Details)",
     "menuCat": "Details",
     "order": "119",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
     "shortName": "REGULATORY MATTERS - GPC Nuclear Construction (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ic3829a0a35db4e20b048e532fac475d6_D20120101-20121231",
      "decimals": "INF",
      "lang": "en-US",
      "name": "so:NumberOfConstructionUnitsApproved",
      "reportCount": 1,
      "unique": true,
      "unitRef": "utility",
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000012 - Statement - Statements of Income - APC",
     "menuCat": "Statements",
     "order": "12",
     "role": "http://southerncompany.com/role/StatementsofIncomeAPC",
     "shortName": "Statements of Income - APC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia80a9c53bab843d2a5fcdde055274563_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:UtilitiesOperatingExpenseMaintenanceAndOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R120": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:AllowanceForFundsUsedDuringConstructionAndInterestCapitalizedTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedInterest",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000120 - Disclosure - REGULATORY MATTERS - GPC Schedule of Nuclear Construction Cost and Schedule (Details)",
     "menuCat": "Details",
     "order": "120",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails",
     "shortName": "REGULATORY MATTERS - GPC Schedule of Nuclear Construction Cost and Schedule (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "so:RevisedCostandScheduleTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ic1f924fcd5944b8c8bad6706ced9c420_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R121": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ib7868ba5318544dbb424742ef1cb1f24_D20220929-20220929",
      "decimals": "4",
      "first": true,
      "lang": "en-US",
      "name": "so:PublicUtilitiesAgreementWithThirdPartyConstructionCostsOverProjectedForecastToBePaidPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000121 - Disclosure - REGULATORY MATTERS - GPC Joint Ownership Agreements (Details)",
     "menuCat": "Details",
     "order": "121",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
     "shortName": "REGULATORY MATTERS - GPC Joint Ownership Agreements (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ib7868ba5318544dbb424742ef1cb1f24_D20220929-20220929",
      "decimals": "4",
      "first": true,
      "lang": "en-US",
      "name": "so:PublicUtilitiesAgreementWithThirdPartyConstructionCostsOverProjectedForecastToBePaidPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R122": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i8da7987800394a5a8fd85bc702a61945_D20090101-20091231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:EstimatedInServiceCapitalCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000122 - Disclosure - REGULATORY MATTERS - GPC Regulatory Matters (Details)",
     "menuCat": "Details",
     "order": "122",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails",
     "shortName": "REGULATORY MATTERS - GPC Regulatory Matters (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i8da7987800394a5a8fd85bc702a61945_D20090101-20091231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:EstimatedInServiceCapitalCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R123": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ic63bca0ae62148b8bb271d6c3d1a247d_D20220601-20220630",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesApprovedRateIncreaseDecreaseAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000123 - Disclosure - REGULATORY MATTERS - MPC 2019 Base Rate Case and Performance Evaluation Plan (Details)",
     "menuCat": "Details",
     "order": "123",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails",
     "shortName": "REGULATORY MATTERS - MPC 2019 Base Rate Case and Performance Evaluation Plan (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i207155192a564640922a8cf3ae4c0960_I20201231",
      "decimals": "2",
      "lang": "en-US",
      "name": "so:BaseRateCaseFilingMeasurementInputAverageEquityRatio",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R124": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRegulatoryAssetsTextBlock",
       "us-gaap:ScheduleOfRegulatoryLiabilitiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NetRegulatoryAssets",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000124 - Disclosure - REGULATORY MATTERS - MPC Integrated Resource Plan (Details)",
     "menuCat": "Details",
     "order": "124",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails",
     "shortName": "REGULATORY MATTERS - MPC Integrated Resource Plan (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i55b375e083d3426db8549676020f5a70_I20191231",
      "decimals": "0",
      "lang": "en-US",
      "name": "so:PublicUtilitiesRequiredFossilStreamGenerationRetirements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "mw",
      "xsiNil": "false"
     }
    },
    "R125": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ic63bca0ae62148b8bb271d6c3d1a247d_D20220601-20220630",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesApprovedRateIncreaseDecreaseAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000125 - Disclosure - REGULATORY MATTERS - MPC Environmental Compliance Overview Plan (Details)",
     "menuCat": "Details",
     "order": "125",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSMPCEnvironmentalComplianceOverviewPlanDetails",
     "shortName": "REGULATORY MATTERS - MPC Environmental Compliance Overview Plan (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0ab2056727cb49a6a35124db6abd9737_D20220405-20220405",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesApprovedRateIncreaseDecreaseAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R126": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ic63bca0ae62148b8bb271d6c3d1a247d_D20220601-20220630",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesApprovedRateIncreaseDecreaseAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000126 - Disclosure - REGULATORY MATTERS - MPC Fuel Cost Recovery and Ad Valorem Tax Adjustment (Details)",
     "menuCat": "Details",
     "order": "126",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
     "shortName": "REGULATORY MATTERS - MPC Fuel Cost Recovery and Ad Valorem Tax Adjustment (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i559211fe69914e1892d397d1bae4451f_I20200430",
      "decimals": "-6",
      "lang": "en-US",
      "name": "so:PSCRetailRateIncreaseDecrease",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R127": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:PublicUtilitiesDeferredAmountReliabilityReserve",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000127 - Disclosure - REGULATORY MATTERS - MPC System Restoration Rider (Details)",
     "menuCat": "Details",
     "order": "127",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails",
     "shortName": "REGULATORY MATTERS - MPC System Restoration Rider (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i3b62f3570cdf4e5484478f1251839cd7_D20230213-20230213",
      "decimals": "-6",
      "lang": "en-US",
      "name": "so:PublicUtilitiesApprovedRateIncreaseDecreaseMinimumAnnualAccrualAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R128": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i71f95d0fb69c4e108a1aaac0b6c23d2f_D20220715-20220715",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesRequestedRateIncreaseDecreaseAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000128 - Disclosure - REGULATORY MATTERS - MPC Municipal and Rural Associations Tariff (Details)",
     "menuCat": "Details",
     "order": "128",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails",
     "shortName": "REGULATORY MATTERS - MPC Municipal and Rural Associations Tariff (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i71f95d0fb69c4e108a1aaac0b6c23d2f_D20220715-20220715",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesRequestedRateIncreaseDecreaseAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R129": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i7cc131b2cf1f441683068d46d167f284_D20211101-20211130",
      "decimals": "4",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesApprovedReturnOnEquityPercentage",
      "reportCount": 1,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000129 - Disclosure - REGULATORY MATTERS - GAS Schedule of Utility Regulation and Rate Design (Details)",
     "menuCat": "Details",
     "order": "129",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUtilityRegulationandRateDesignDetails",
     "shortName": "REGULATORY MATTERS - GAS Schedule of Utility Regulation and Rate Design (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i4765e0add04f4d108671be87a0eaef98_D20220101-20221231",
      "decimals": "4",
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesApprovedReturnOnEquityPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000013 - Statement - Statements of Comprehensive Income (Loss) - APC",
     "menuCat": "Statements",
     "order": "13",
     "role": "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPC",
     "shortName": "Statements of Comprehensive Income (Loss) - APC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia80a9c53bab843d2a5fcdde055274563_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R130": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PaymentsToAcquirePropertyPlantAndEquipment",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000130 - Disclosure - REGULATORY MATTERS - GAS Infrastructure Replacement Programs and Capital Projects (Details)",
     "menuCat": "Details",
     "order": "130",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
     "shortName": "REGULATORY MATTERS - GAS Infrastructure Replacement Programs and Capital Projects (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i44abbdbba36f453b968791a4f48ca439_I20211231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "so:OverUnderRecoveredFuelCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R131": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i5d32bb20e5a441c1b624c31abe7bb0e3_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:PublicUtilitiesInfrastructureReplacementProgramsAndCapitalProjectsExpenditures",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000131 - Disclosure - REGULATORY MATTERS - GAS Schedule of Infrastructure Replacement Programs and Capital Projects (Details)",
     "menuCat": "Details",
     "order": "131",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails",
     "shortName": "REGULATORY MATTERS - GAS Schedule of Infrastructure Replacement Programs and Capital Projects (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ief707f352bd8465a9ca4bf1ccb157479_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "so:PublicUtilitiesInfrastructureReplacementProgramsAndCapitalProjectsExpendituresSinceProjectInception",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R132": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRegulatoryAssetsTextBlock",
       "us-gaap:ScheduleOfRegulatoryLiabilitiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NetRegulatoryAssets",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000132 - Disclosure - REGULATORY MATTERS - GAS Rate Proceedings and Deferral of Incremental COVID-19 Costs (Details)",
     "menuCat": "Details",
     "order": "132",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
     "shortName": "REGULATORY MATTERS - GAS Rate Proceedings and Deferral of Incremental COVID-19 Costs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i7cc131b2cf1f441683068d46d167f284_D20211101-20211130",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesApprovedRateIncreaseDecreaseAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R133": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i7953414cd05f477098744d114dc85853_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RegulatoryAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000133 - Disclosure - REGULATORY MATTERS - GAS Schedule of Unrecognized Ratemaking Amounts (Details)",
     "menuCat": "Details",
     "order": "133",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUnrecognizedRatemakingAmountsDetails",
     "shortName": "REGULATORY MATTERS - GAS Schedule of Unrecognized Ratemaking Amounts (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i7953414cd05f477098744d114dc85853_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RegulatoryAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R134": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:LossContingencyNewClaimsFiledNumber",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "icde301c6a496474d8390a514a8b6ffa3_D20220207-20220207",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LossContingencyNewClaimsFiledNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "claim",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000134 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - GPC Litigation (Details)",
     "menuCat": "Details",
     "order": "134",
     "role": "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGPCLitigationDetails",
     "shortName": "CONTINGENCIES, COMMITMENTS, AND GUARANTEES - GPC Litigation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:LossContingencyNewClaimsFiledNumber",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "icde301c6a496474d8390a514a8b6ffa3_D20220207-20220207",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LossContingencyNewClaimsFiledNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "claim",
      "xsiNil": "false"
     }
    },
    "R135": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0f29bf11b3e14bbbb167db0307939143_D20190301-20190331",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LossContingencyNumberOfPlaintiffs",
      "reportCount": 1,
      "unique": true,
      "unitRef": "plaintiff",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000135 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - MPC Litigation (Details)",
     "menuCat": "Details",
     "order": "135",
     "role": "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCLitigationDetails",
     "shortName": "CONTINGENCIES, COMMITMENTS, AND GUARANTEES - MPC Litigation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0f29bf11b3e14bbbb167db0307939143_D20190301-20190331",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LossContingencyNumberOfPlaintiffs",
      "reportCount": 1,
      "unique": true,
      "unitRef": "plaintiff",
      "xsiNil": "false"
     }
    },
    "R136": {
     "firstAnchor": {
      "ancestors": [
       "so:CostsRecoveredAnnuallyUnderRatePlan",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "iaa065783f8b8411abdc5843c108223e0_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:CostsRecoveredAnnuallyUnderRatePlan",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000136 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - Environmental Remediation (Details)",
     "menuCat": "Details",
     "order": "136",
     "role": "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails",
     "shortName": "CONTINGENCIES, COMMITMENTS, AND GUARANTEES - Environmental Remediation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRegulatoryAssetsAndLiabilitiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i65eaa5f8cda34cc7a2c3ebdf5aeb8e84_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:AccruedEnvironmentalLossContingenciesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R137": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-8",
      "first": true,
      "lang": "en-US",
      "name": "so:MaximumFundProvidedForPublicLiabilityClaims",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000137 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - Nuclear Fuel Disposal Costs and Nuclear Insurance (Details)",
     "menuCat": "Details",
     "order": "137",
     "role": "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails",
     "shortName": "CONTINGENCIES, COMMITMENTS, AND GUARANTEES - Nuclear Fuel Disposal Costs and Nuclear Insurance (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-8",
      "first": true,
      "lang": "en-US",
      "name": "so:MaximumFundProvidedForPublicLiabilityClaims",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R138": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i12f7a0f7bcde4c54b2f7c4806bd7e7ed_D20190401-20190430",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:OtherCommitmentsPotentialClaim",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000138 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - APC Litigation (Details)",
     "menuCat": "Details",
     "order": "138",
     "role": "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESAPCLitigationDetails",
     "shortName": "CONTINGENCIES, COMMITMENTS, AND GUARANTEES - APC Litigation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i12f7a0f7bcde4c54b2f7c4806bd7e7ed_D20190401-20190430",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:OtherCommitmentsPotentialClaim",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R139": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfChangeInAssetRetirementObligationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AssetRetirementObligationLiabilitiesIncurred",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000139 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - MPC Other Matters (Details)",
     "menuCat": "Details",
     "order": "139",
     "role": "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
     "shortName": "CONTINGENCIES, COMMITMENTS, AND GUARANTEES - MPC Other Matters (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i7af6bfc49b4b48fc9ce4b586ffe5ab75_D20220831-20220831",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxExaminationEstimateOfPossibleLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000014 - Statement - Statements of Comprehensive Income (Loss) - APC (Parenthetical)",
     "menuCat": "Statements",
     "order": "14",
     "role": "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPCParenthetical",
     "shortName": "Statements of Comprehensive Income (Loss) - APC (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia80a9c53bab843d2a5fcdde055274563_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R140": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i1101b7e56d7c4d249abf9476d7a99580_I20221231",
      "decimals": "2",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:JointlyOwnedUtilityPlantProportionateOwnershipShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000140 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - Commitments (Details)",
     "menuCat": "Details",
     "order": "140",
     "role": "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails",
     "shortName": "CONTINGENCIES, COMMITMENTS, AND GUARANTEES - Commitments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i1101b7e56d7c4d249abf9476d7a99580_I20221231",
      "decimals": "2",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:JointlyOwnedUtilityPlantProportionateOwnershipShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R141": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ief707f352bd8465a9ca4bf1ccb157479_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:NaturalGasPipelineCapacityEnergy",
      "reportCount": 1,
      "unique": true,
      "unitRef": "mmbtu",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000141 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - GAS Commitments (Details)",
     "menuCat": "Details",
     "order": "141",
     "role": "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails",
     "shortName": "CONTINGENCIES, COMMITMENTS, AND GUARANTEES - GAS Commitments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ief707f352bd8465a9ca4bf1ccb157479_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:NaturalGasPipelineCapacityEnergy",
      "reportCount": 1,
      "unique": true,
      "unitRef": "mmbtu",
      "xsiNil": "false"
     }
    },
    "R142": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShortTermBorrowings",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000142 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES - Guarantees (Details)",
     "menuCat": "Details",
     "order": "142",
     "role": "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGuaranteesDetails",
     "shortName": "CONTINGENCIES, COMMITMENTS, AND GUARANTEES - Guarantees (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia80a9c53bab843d2a5fcdde055274563_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "so:JointlyOwnedAffiliateEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R143": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000143 - Disclosure - REVENUE FROM CONTRACTS WITH CUSTOMERS - Disaggregate Revenue Sources (Details)",
     "menuCat": "Details",
     "order": "143",
     "role": "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails",
     "shortName": "REVENUE FROM CONTRACTS WITH CUSTOMERS - Disaggregate Revenue Sources (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i9c27af5efe194e4cac1336196e623d50_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R144": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccountsReceivableNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000144 - Disclosure - REVENUE FROM CONTRACTS WITH CUSTOMERS - Contract Balances (Details)",
     "menuCat": "Details",
     "order": "144",
     "role": "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails",
     "shortName": "REVENUE FROM CONTRACTS WITH CUSTOMERS - Contract Balances (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccountsReceivableNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R145": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i216d5fc3a47d430283ed49a3df8dae33_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RevenueRemainingPerformanceObligation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000145 - Disclosure - REVENUE FROM CONTRACTS WITH CUSTOMERS - Performance Obligations (Details)",
     "menuCat": "Details",
     "order": "145",
     "role": "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSPerformanceObligationsDetails",
     "shortName": "REVENUE FROM CONTRACTS WITH CUSTOMERS - Performance Obligations (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i216d5fc3a47d430283ed49a3df8dae33_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RevenueRemainingPerformanceObligation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R146": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesPropertyPlantAndEquipmentGenerationOrProcessing",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000146 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Property, Plant and Equipment (Details)",
     "menuCat": "Details",
     "order": "146",
     "role": "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails",
     "shortName": "PROPERTY, PLANT, AND EQUIPMENT - Property, Plant and Equipment (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesPropertyPlantAndEquipmentGenerationOrProcessing",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R147": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "iab06a00e88a04cd3a933f4f2a7f22349_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RegulatoryAssetAmortizationPeriod",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000147 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Additional Information (Narrative) (Details)",
     "menuCat": "Details",
     "order": "147",
     "role": "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
     "shortName": "PROPERTY, PLANT, AND EQUIPMENT - Additional Information (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i1d604e9b1d1045c0a7daacacb3270291_D20220101-20221231",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:RegulatoryAssetAmortizationPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R148": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:DeferredChargesAndOtherAssets",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000148 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Deferred Cloud Implementation Costs (Details)",
     "menuCat": "Details",
     "order": "148",
     "role": "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDeferredCloudImplementationCostsDetails",
     "shortName": "PROPERTY, PLANT, AND EQUIPMENT - Deferred Cloud Implementation Costs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "iafc24bc42b5441fbb4a1c9d2d707e6b8_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "so:DeferredChargesAndOtherAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R149": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i4e9303c84562477a945891c2dbdd320a_D20220101-20221231",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesPropertyPlantAndEquipmentDisclosureOfCompositeDepreciationRateForPlantsInService",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000149 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Composite Straight-Line Rates (Details)",
     "menuCat": "Details",
     "order": "149",
     "role": "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTCompositeStraightLineRatesDetails",
     "shortName": "PROPERTY, PLANT, AND EQUIPMENT - Composite Straight-Line Rates (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i4e9303c84562477a945891c2dbdd320a_D20220101-20221231",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesPropertyPlantAndEquipmentDisclosureOfCompositeDepreciationRateForPlantsInService",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000015 - Statement - Statements of Cash Flows - APC",
     "menuCat": "Statements",
     "order": "15",
     "role": "http://southerncompany.com/role/StatementsofCashFlowsAPC",
     "shortName": "Statements of Cash Flows - APC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:PaymentsForRepurchaseOfPreferredStockAndPreferenceStock",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R150": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000150 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Depreciation and Amortization (Narrative) (Details)",
     "menuCat": "Details",
     "order": "150",
     "role": "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails",
     "shortName": "PROPERTY, PLANT, AND EQUIPMENT - Depreciation and Amortization (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ie26233f3ae2c4298836871bfa16f32a8_I20221231",
      "decimals": "-8",
      "lang": "en-US",
      "name": "us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R151": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i38e4706f420445728d22e8031322331e_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000151 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Southern Power Useful Lives (Details)",
     "menuCat": "Details",
     "order": "151",
     "role": "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails",
     "shortName": "PROPERTY, PLANT, AND EQUIPMENT - Southern Power Useful Lives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i38e4706f420445728d22e8031322331e_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R152": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i07a8c57d64de49a58126e64dd73a57af_I20221231",
      "decimals": "2",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:JointlyOwnedUtilityPlantProportionateOwnershipShare",
      "reportCount": 1,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000152 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Ownership and Investment in Jointly-Owned Facilities (Details)",
     "menuCat": "Details",
     "order": "152",
     "role": "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
     "shortName": "PROPERTY, PLANT, AND EQUIPMENT - Ownership and Investment in Jointly-Owned Facilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfOtherOwnershipInterestsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i44161aa47e844588884155dbadb25317_I20221231",
      "decimals": "3",
      "lang": "en-US",
      "name": "us-gaap:JointlyOwnedUtilityPlantProportionateOwnershipShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R153": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConstructionInProgressGross",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000153 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Joint Ownership Agreements (Narrative) (Details)",
     "menuCat": "Details",
     "order": "153",
     "role": "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTJointOwnershipAgreementsNarrativeDetails",
     "shortName": "PROPERTY, PLANT, AND EQUIPMENT - Joint Ownership Agreements (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i8f4ec89e458b4edc8c042b09626a83cd_I20221231",
      "decimals": "-8",
      "lang": "en-US",
      "name": "us-gaap:ConstructionInProgressGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R154": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ifb78a244593640cdb88e6d42b3e3ead7_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:CogenerationAssetsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000154 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT - Assets Subject to Lien (Narrative) (Details)",
     "menuCat": "Details",
     "order": "154",
     "role": "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAssetsSubjecttoLienNarrativeDetails",
     "shortName": "PROPERTY, PLANT, AND EQUIPMENT - Assets Subject to Lien (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ifb78a244593640cdb88e6d42b3e3ead7_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:CogenerationAssetsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R155": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfChangeInAssetRetirementObligationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i8235082fb87e4f059144c65af3343879_I20211231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AssetRetirementObligation",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000155 - Disclosure - ASSET RETIREMENT OBLIGATIONS - Details of AROs Included in the Balance Sheets (Details)",
     "menuCat": "Details",
     "order": "155",
     "role": "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSDetailsofAROsIncludedintheBalanceSheetsDetails",
     "shortName": "ASSET RETIREMENT OBLIGATIONS - Details of AROs Included in the Balance Sheets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfChangeInAssetRetirementObligationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:AssetRetirementObligationLiabilitiesSettled",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R156": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfChangeInAssetRetirementObligationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AssetRetirementObligationRevisionOfEstimate",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000156 - Disclosure - ASSET RETIREMENT OBLIGATIONS - Narrative (Details)",
     "menuCat": "Details",
     "order": "156",
     "role": "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
     "shortName": "ASSET RETIREMENT OBLIGATIONS - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia80a9c53bab843d2a5fcdde055274563_D20220101-20221231",
      "decimals": "3",
      "lang": "en-US",
      "name": "so:SignificantAssumptionOfInflationRateUsedToDetermineCostsForRateMaking",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R157": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:MarketableSecuritiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:DecommissioningFundInvestmentsNetOfReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000157 - Disclosure - ASSET RETIREMENT OBLIGATIONS - Investment Securities in the Funds (Details)",
     "menuCat": "Details",
     "order": "157",
     "role": "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSInvestmentSecuritiesintheFundsDetails",
     "shortName": "ASSET RETIREMENT OBLIGATIONS - Investment Securities in the Funds (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:MarketableSecuritiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:DecommissioningFundInvestmentsNetOfReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R158": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ib8825fe078534b42b3e843bd6e36ccbc_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:IncreaseDecreaseinFairValueofSecuritiesRelatedtoNuclearDecommissioning",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000158 - Disclosure - ASSET RETIREMENT OBLIGATIONS - Fair Value Increases (Decreases) of the Funds (Details)",
     "menuCat": "Details",
     "order": "158",
     "role": "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSFairValueIncreasesDecreasesoftheFundsDetails",
     "shortName": "ASSET RETIREMENT OBLIGATIONS - Fair Value Increases (Decreases) of the Funds (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ib8825fe078534b42b3e843bd6e36ccbc_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:IncreaseDecreaseinFairValueofSecuritiesRelatedtoNuclearDecommissioning",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R159": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:AccumulatedProvisionsForDecommissioningTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i49c7e03465a44c83947f21f0706fab76_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:AccumulatedProvisionsForDecommissioning",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000159 - Disclosure - ASSET RETIREMENT OBLIGATIONS - Accumulated Provisions for the External Decommissioning Trust Funds (Details)",
     "menuCat": "Details",
     "order": "159",
     "role": "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails",
     "shortName": "ASSET RETIREMENT OBLIGATIONS - Accumulated Provisions for the External Decommissioning Trust Funds (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:AccumulatedProvisionsForDecommissioningTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i49c7e03465a44c83947f21f0706fab76_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:AccumulatedProvisionsForDecommissioning",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InterestPaidCapitalized",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000016 - Statement - Statements of Cash Flows - APC (Parenthetical)",
     "menuCat": "Statements",
     "order": "16",
     "role": "http://southerncompany.com/role/StatementsofCashFlowsAPCParenthetical",
     "shortName": "Statements of Cash Flows - APC (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia80a9c53bab843d2a5fcdde055274563_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:InterestPaidCapitalized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R160": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia3023539695e4d95bde2eb4cd40a799c_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "so:EstimatedCostOfDecommissioningBeginningYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000160 - Disclosure - ASSET RETIREMENT OBLIGATIONS - Estimated Costs of Decommissioning (Details)",
     "menuCat": "Details",
     "order": "160",
     "role": "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails",
     "shortName": "ASSET RETIREMENT OBLIGATIONS - Estimated Costs of Decommissioning (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia3023539695e4d95bde2eb4cd40a799c_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "so:EstimatedCostOfDecommissioningBeginningYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R161": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestments",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000161 - Disclosure - CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - Southern Company (Details)",
     "menuCat": "Details",
     "order": "161",
     "role": "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSouthernCompanyDetails",
     "shortName": "CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - Southern Company (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i3daa769029714ca9a00c26f581fed66c_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R162": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i07a8c57d64de49a58126e64dd73a57af_I20221231",
      "decimals": "2",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:JointlyOwnedUtilityPlantProportionateOwnershipShare",
      "reportCount": 1,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000162 - Disclosure - CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - SEGCO Equity Method Investments Narrative (Details)",
     "menuCat": "Details",
     "order": "162",
     "role": "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails",
     "shortName": "CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - SEGCO Equity Method Investments Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ic1a32a5fa35042909a6caf158bc5cd35_I20221231",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentOwnershipPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R163": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:Assets",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000163 - Disclosure - CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - SPC Noncontrolling Interests and VIEs Narrative (Details)",
     "menuCat": "Details",
     "order": "163",
     "role": "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails",
     "shortName": "CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - SPC Noncontrolling Interests and VIEs Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0b65e73351c4472bbdfd75a9f5f0a8a5_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:ProceedsFromSaleOfEquityMethodInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R164": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestments",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000164 - Disclosure - CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - Balance Sheet Information (Details)",
     "menuCat": "Details",
     "order": "164",
     "role": "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSBalanceSheetInformationDetails",
     "shortName": "CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - Balance Sheet Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:EquityMethodInvestmentsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "id22cf9a538d8488793ea89b68a437a90_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R165": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeLossFromEquityMethodInvestments",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000165 - Disclosure - CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - Income Statement Information (Details)",
     "menuCat": "Details",
     "order": "165",
     "role": "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSIncomeStatementInformationDetails",
     "shortName": "CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - Income Statement Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfOtherNonoperatingIncomeByComponentTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0c64809a7683472c8b1b6272e3a8480c_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:IncomeLossFromEquityMethodInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R166": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AssetImpairmentCharges",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000166 - Disclosure - CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - GAS Equity Method Investments Narrative (Details)",
     "menuCat": "Details",
     "order": "166",
     "role": "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSGASEquityMethodInvestmentsNarrativeDetails",
     "shortName": "CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS - GAS Equity Method Investments Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i99742a98cf57498a83594861a393230e_I20141231",
      "decimals": "0",
      "lang": "en-US",
      "name": "so:PipelineInfrastructure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "mi",
      "xsiNil": "false"
     }
    },
    "R167": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:FinancialInstrumentsNotHavingCarryingAmountEqualToFairValueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000167 - Disclosure - FINANCING - Long-Term Debt (Details)",
     "menuCat": "Details",
     "order": "167",
     "role": "http://southerncompany.com/role/FINANCINGLongTermDebtDetails",
     "shortName": "FINANCING - Long-Term Debt (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "so:UnamortizedFairValueAdjustmentofLongtermDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R168": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000168 - Disclosure - FINANCING - Maturities of Long-Term Debt (Details)",
     "menuCat": "Details",
     "order": "168",
     "role": "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails",
     "shortName": "FINANCING - Maturities of Long-Term Debt (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R169": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LineOfCreditFacilityRemainingBorrowingCapacity",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000169 - Disclosure - FINANCING - DOE Loan Guarantee Borrowings (Details)",
     "menuCat": "Details",
     "order": "169",
     "role": "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails",
     "shortName": "FINANCING - DOE Loan Guarantee Borrowings (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i3941f218ef004f91a28b814dc2229061_D20190101-20191231",
      "decimals": "INF",
      "lang": "en-US",
      "name": "so:PercentOfEligibleProjectCostsToBeReimbursed",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000017 - Statement - Balance Sheets - APC",
     "menuCat": "Statements",
     "order": "17",
     "role": "http://southerncompany.com/role/BalanceSheetsAPC",
     "shortName": "Balance Sheets - APC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i07a8c57d64de49a58126e64dd73a57af_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R170": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ProceedsFromIssuanceOfCommonStock",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000170 - Disclosure - FINANCING - Equity Units (Details)",
     "menuCat": "Details",
     "order": "170",
     "role": "http://southerncompany.com/role/FINANCINGEquityUnitsDetails",
     "shortName": "FINANCING - Equity Units (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i95408b8c58d4446e94a3e58da66d0cb8_I20220531",
      "decimals": "-5",
      "lang": "en-US",
      "name": "so:DebtInstrumentFaceAmountRemarketed",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R171": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:LineOfCreditExpireYearOne",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000171 - Disclosure - FINANCING - Bank Credit Arrangements (Details)",
     "menuCat": "Details",
     "order": "171",
     "role": "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
     "shortName": "FINANCING - Bank Credit Arrangements (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:LineOfCreditExpireYearOne",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R172": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "so:RatioOfIndebtednessToCapitalizationCovenant",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000172 - Disclosure - FINANCING - Bank Credit Arrangements Narrative (Details)",
     "menuCat": "Details",
     "order": "172",
     "role": "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails",
     "shortName": "FINANCING - Bank Credit Arrangements Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "so:RatioOfIndebtednessToCapitalizationCovenant",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R173": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShortTermBorrowings",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000173 - Disclosure - FINANCING - Notes Payable (Details)",
     "menuCat": "Details",
     "order": "173",
     "role": "http://southerncompany.com/role/FINANCINGNotesPayableDetails",
     "shortName": "FINANCING - Notes Payable (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "3",
      "lang": "en-US",
      "name": "us-gaap:ShortTermDebtWeightedAverageInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R174": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-5",
      "first": true,
      "lang": "en-US",
      "name": "so:StockIssuedDuringPeriodSharesCompanyInvestmentPlanAndEmployeeAndDirectorStockPlans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000174 - Disclosure - FINANCING - Outstanding Classes of Capital Stock Narrative (Details)",
     "menuCat": "Details",
     "order": "174",
     "role": "http://southerncompany.com/role/FINANCINGOutstandingClassesofCapitalStockNarrativeDetails",
     "shortName": "FINANCING - Outstanding Classes of Capital Stock Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-5",
      "first": true,
      "lang": "en-US",
      "name": "so:StockIssuedDuringPeriodSharesCompanyInvestmentPlanAndEmployeeAndDirectorStockPlans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R175": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:WeightedAverageNumberOfSharesOutstandingBasic",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000175 - Disclosure - FINANCING - Diluted Earnings Per Share (Details)",
     "menuCat": "Details",
     "order": "175",
     "role": "http://southerncompany.com/role/FINANCINGDilutedEarningsPerShareDetails",
     "shortName": "FINANCING - Diluted Earnings Per Share (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R176": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:TemporaryEquityTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ic83a970888984ea1b2b152f9a4e4ac31_D20220101-20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "so:TemporaryEquityDividendRatePercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000176 - Disclosure - FINANCING - Preferred Stock Redemption (Details)",
     "menuCat": "Details",
     "order": "176",
     "role": "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails",
     "shortName": "FINANCING - Preferred Stock Redemption (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:TemporaryEquityTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ic83a970888984ea1b2b152f9a4e4ac31_D20220101-20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "so:TemporaryEquityDividendRatePercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R177": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-8",
      "first": true,
      "lang": "en-US",
      "name": "so:UndistributedRetainedEarningsOfSubsidiaries",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000177 - Disclosure - FINANCING - Dividend Restrictions and Structural Considerations Narrative (Details)",
     "menuCat": "Details",
     "order": "177",
     "role": "http://southerncompany.com/role/FINANCINGDividendRestrictionsandStructuralConsiderationsNarrativeDetails",
     "shortName": "FINANCING - Dividend Restrictions and Structural Considerations Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-8",
      "first": true,
      "lang": "en-US",
      "name": "so:UndistributedRetainedEarningsOfSubsidiaries",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R178": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:LeaseLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000178 - Disclosure - LEASES - Major Categories of Lease Obligations (Details)",
     "menuCat": "Details",
     "order": "178",
     "role": "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails",
     "shortName": "LEASES - Major Categories of Lease Obligations (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:LeaseLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R179": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "us-gaap:FinanceLeaseLiabilityMaturityTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OperatingLeaseLiability",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000179 - Disclosure - LEASES - Additional Information (Details)",
     "menuCat": "Details",
     "order": "179",
     "role": "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
     "shortName": "LEASES - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:SalesTypeLeaseLeaseReceivable",
       "ix:continuation",
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "id3bea28439a14ef4808145db32edb28a_D20210101-20211231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "so:TransferOfConstructionWorkInProgressToLeaseReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:CommonStockParOrStatedValuePerShare",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000018 - Statement - Balance Sheets - APC (Parenthetical)",
     "menuCat": "Statements",
     "order": "18",
     "role": "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
     "shortName": "Balance Sheets - APC (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i07a8c57d64de49a58126e64dd73a57af_I20221231",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     }
    },
    "R180": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:AssetsAndLiabilitiesLesseeTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OperatingLeaseRightOfUseAsset",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000180 - Disclosure - LEASES - Balance Sheet Amounts Recorded for Operating and Financing Leases (Details)",
     "menuCat": "Details",
     "order": "180",
     "role": "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails",
     "shortName": "LEASES - Balance Sheet Amounts Recorded for Operating and Financing Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:AssetsAndLiabilitiesLesseeTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:FinanceLeaseRightOfUseAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R181": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:LeaseCostTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OperatingLeaseCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000181 - Disclosure - LEASES - Lease Costs (Details)",
     "menuCat": "Details",
     "order": "181",
     "role": "http://southerncompany.com/role/LEASESLeaseCostsDetails",
     "shortName": "LEASES - Lease Costs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:LeaseCostTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OperatingLeaseCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R182": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OperatingLeasePayments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000182 - Disclosure - LEASES - Other Information (Details)",
     "menuCat": "Details",
     "order": "182",
     "role": "http://southerncompany.com/role/LEASESOtherInformationDetails",
     "shortName": "LEASES - Other Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OperatingLeasePayments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R183": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "us-gaap:FinanceLeaseLiabilityMaturityTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000183 - Disclosure - LEASES - Maturities of Lease Liabilities (Details)",
     "menuCat": "Details",
     "order": "183",
     "role": "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails",
     "shortName": "LEASES - Maturities of Lease Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "us-gaap:FinanceLeaseLiabilityMaturityTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R184": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:OperatingLeaseLeaseIncomeTableTextBlock",
       "us-gaap:SalesTypeLeaseLeaseIncomeTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SalesTypeLeaseInterestIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000184 - Disclosure - LEASES - Lease Income (Details)",
     "menuCat": "Details",
     "order": "184",
     "role": "http://southerncompany.com/role/LEASESLeaseIncomeDetails",
     "shortName": "LEASES - Lease Income (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:OperatingLeaseLeaseIncomeTableTextBlock",
       "us-gaap:SalesTypeLeaseLeaseIncomeTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SalesTypeLeaseInterestIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R185": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000185 - Disclosure - LEASES - Undiscounted Cash Flows to be Received Under Tolling Arrangements Accounted for as Sales-type Leases (Details)",
     "menuCat": "Details",
     "order": "185",
     "role": "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails",
     "shortName": "LEASES - Undiscounted Cash Flows to be Received Under Tolling Arrangements Accounted for as Sales-type Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R186": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000186 - Disclosure - LEASES - Undiscounted Cash Flows to be Received Under PPAs Accounted for as Operating Leases (Details)",
     "menuCat": "Details",
     "order": "186",
     "role": "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails",
     "shortName": "LEASES - Undiscounted Cash Flows to be Received Under PPAs Accounted for as Operating Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R187": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "so:NumberOfLeveragedLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "leveragedlease",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000187 - Disclosure - LEASES - Leveraged Leases (Narrative) (Details)",
     "menuCat": "Details",
     "order": "187",
     "role": "http://southerncompany.com/role/LEASESLeveragedLeasesNarrativeDetails",
     "shortName": "LEASES - Leveraged Leases (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "so:NumberOfLeveragedLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "leveragedlease",
      "xsiNil": "false"
     }
    },
    "R188": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:ComponentsOfIncomeFromLeveragedLeaseTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i7a76b9f572de415f89c1ed89c5313372_D20210101-20211231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeveragedLeasesIncomeStatementIncomeFromLeveragedLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000188 - Disclosure - LEASES - Summary of the Components of Income from Leveraged Leases (Details)",
     "menuCat": "Details",
     "order": "188",
     "role": "http://southerncompany.com/role/LEASESSummaryoftheComponentsofIncomefromLeveragedLeasesDetails",
     "shortName": "LEASES - Summary of the Components of Income from Leveraged Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:ComponentsOfIncomeFromLeveragedLeaseTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i7a76b9f572de415f89c1ed89c5313372_D20210101-20211231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeveragedLeasesIncomeStatementIncomeFromLeveragedLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R189": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:DetailsOfIncomeTaxProvisionsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CurrentFederalTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000189 - Disclosure - INCOME TAXES - Current and Deferred Income Tax Provisions (Details)",
     "menuCat": "Details",
     "order": "189",
     "role": "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails",
     "shortName": "INCOME TAXES - Current and Deferred Income Tax Provisions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:DetailsOfIncomeTaxProvisionsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CurrentFederalTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i6aae7ad74adb4cb2b7c00ae1cafa8d7e_I20191231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SharesIssued",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000019 - Statement - Statements of Common Stockholders' Equity - APC",
     "menuCat": "Statements",
     "order": "19",
     "role": "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
     "shortName": "Statements of Common Stockholders' Equity - APC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "iec08cd05e5174ee38ff18e3e014adc01_I20191231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:SharesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R190": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i8235082fb87e4f059144c65af3343879_I20211231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredTaxAssetsGross",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000190 - Disclosure - INCOME TAXES - Narrative (Details)",
     "menuCat": "Details",
     "order": "190",
     "role": "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
     "shortName": "INCOME TAXES - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0b471f8da6f84008b22aedec4c96c876_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxReconciliationTaxCreditsInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R191": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:AmortizationOfDeferredInvestmentTaxCredits",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000191 - Disclosure - INCOME TAXES - Amortization of Deferred Credits (Details)",
     "menuCat": "Details",
     "order": "191",
     "role": "http://southerncompany.com/role/INCOMETAXESAmortizationofDeferredCreditsDetails",
     "shortName": "INCOME TAXES - Amortization of Deferred Credits (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R192": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000192 - Disclosure - INCOME TAXES - Reconciliation of Federal Statutory Income Tax Rate (Details)",
     "menuCat": "Details",
     "order": "192",
     "role": "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails",
     "shortName": "INCOME TAXES - Reconciliation of Federal Statutory Income Tax Rate (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R193": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredIncomeTaxLiabilities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000193 - Disclosure - INCOME TAXES - Deferred Tax Assets and Liabilities (Details)",
     "menuCat": "Details",
     "order": "193",
     "role": "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails",
     "shortName": "INCOME TAXES - Deferred Tax Assets and Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredIncomeTaxLiabilities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R194": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:SummaryOfTaxCreditCarryforwardsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i7ff6edc1b9494cbc863f8c9ccf297dd4_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TaxCreditCarryforwardAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000194 - Disclosure - INCOME TAXES - Federal ITC/PTC Carryforwards (Details)",
     "menuCat": "Details",
     "order": "194",
     "role": "http://southerncompany.com/role/INCOMETAXESFederalITCPTCCarryforwardsDetails",
     "shortName": "INCOME TAXES - Federal ITC/PTC Carryforwards (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:SummaryOfTaxCreditCarryforwardsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i7ff6edc1b9494cbc863f8c9ccf297dd4_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TaxCreditCarryforwardAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R195": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:SummaryOfOperatingLossCarryforwardsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredTaxAssetsOperatingLossCarryforwardsStateAndLocal",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000195 - Disclosure - INCOME TAXES - NOL Carryforwards (Details)",
     "menuCat": "Details",
     "order": "195",
     "role": "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails",
     "shortName": "INCOME TAXES - NOL Carryforwards (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:SummaryOfOperatingLossCarryforwardsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredTaxAssetsOperatingLossCarryforwardsStateAndLocal",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R196": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:SummaryOfIncomeTaxContingenciesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i8235082fb87e4f059144c65af3343879_I20211231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:UnrecognizedTaxBenefits",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000196 - Disclosure - INCOME TAXES - Changes in Unrecognized Tax Benefits (Details)",
     "menuCat": "Details",
     "order": "196",
     "role": "http://southerncompany.com/role/INCOMETAXESChangesinUnrecognizedTaxBenefitsDetails",
     "shortName": "INCOME TAXES - Changes in Unrecognized Tax Benefits (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:SummaryOfIncomeTaxContingenciesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i919741b3c5f34f75aaff5a1a8da9c794_I20191231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:UnrecognizedTaxBenefits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R197": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "so:PeriodOverWhichCompanyHasElectedToAmortizeChangesInMarketValueOfAllPlanAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000197 - Disclosure - RETIREMENT BENEFITS - Narrative (Details)",
     "menuCat": "Details",
     "order": "197",
     "role": "http://southerncompany.com/role/RETIREMENTBENEFITSNarrativeDetails",
     "shortName": "RETIREMENT BENEFITS - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "so:PeriodOverWhichCompanyHasElectedToAmortizeChangesInMarketValueOfAllPlanAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R198": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAssumptionsUsedTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i423c665f3c0c4c809164bb456c7be385_I20221231",
      "decimals": "4",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000198 - Disclosure - RETIREMENT BENEFITS - Actuarial Assumptions (Details)",
     "menuCat": "Details",
     "order": "198",
     "role": "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails",
     "shortName": "RETIREMENT BENEFITS - Actuarial Assumptions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAssumptionsUsedTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i423c665f3c0c4c809164bb456c7be385_I20221231",
      "decimals": "4",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R199": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i429b3e49d3f94dd4bd400b0bea6f593f_I20221231",
      "decimals": "4",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanHealthCareCostTrendRateAssumedNextFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000199 - Disclosure - RETIREMENT BENEFITS - Schedule of Health Care Cost Trend Rates (Details)",
     "menuCat": "Details",
     "order": "199",
     "role": "http://southerncompany.com/role/RETIREMENTBENEFITSScheduleofHealthCareCostTrendRatesDetails",
     "shortName": "RETIREMENT BENEFITS - Schedule of Health Care Cost Trend Rates (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i429b3e49d3f94dd4bd400b0bea6f593f_I20221231",
      "decimals": "4",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanHealthCareCostTrendRateAssumedNextFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "dei:AuditorName",
       "dei:AuditorName",
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:AuditorName",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "false",
     "longName": "0000002 - Document - Audit Information",
     "menuCat": "Cover",
     "order": "2",
     "role": "http://southerncompany.com/role/AuditInformation",
     "shortName": "Audit Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "dei:AuditorName",
       "dei:AuditorName",
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:AuditorName",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000020 - Statement - Statements of Income - GPC",
     "menuCat": "Statements",
     "order": "20",
     "role": "http://southerncompany.com/role/StatementsofIncomeGPC",
     "shortName": "Statements of Income - GPC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "iaa065783f8b8411abdc5843c108223e0_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:UtilitiesOperatingExpenseMaintenanceAndOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R200": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAccumulatedAndProjectedBenefitObligationsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i423c665f3c0c4c809164bb456c7be385_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanAccumulatedBenefitObligation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000200 - Disclosure - RETIREMENT BENEFITS - Accumulated Benefit Obligation (Details)",
     "menuCat": "Details",
     "order": "200",
     "role": "http://southerncompany.com/role/RETIREMENTBENEFITSAccumulatedBenefitObligationDetails",
     "shortName": "RETIREMENT BENEFITS - Accumulated Benefit Obligation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAccumulatedAndProjectedBenefitObligationsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i423c665f3c0c4c809164bb456c7be385_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanAccumulatedBenefitObligation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R201": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i8d00bf03b90d4de68405c1258c7b285c_I20211231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanBenefitObligation",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000201 - Disclosure - RETIREMENT BENEFITS - Changes in Projected Benefit Obligations and Fair Value of Plan Assets (Details)",
     "menuCat": "Details",
     "order": "201",
     "role": "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
     "shortName": "RETIREMENT BENEFITS - Changes in Projected Benefit Obligations and Fair Value of Plan Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i3166abe09335482baf8ccae7c2db7b88_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanBenefitObligationBenefitsPaid",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R202": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:OtherRegulatoryAssetsDeferred",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000202 - Disclosure - RETIREMENT BENEFITS - Amounts Recognized in Balance Sheets and Amounts in AOCI (Details)",
     "menuCat": "Details",
     "order": "202",
     "role": "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails",
     "shortName": "RETIREMENT BENEFITS - Amounts Recognized in Balance Sheets and Amounts in AOCI (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAmountsRecognizedInBalanceSheetTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i423c665f3c0c4c809164bb456c7be385_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "so:NoncurrentPrepaidPensionExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R203": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i8235082fb87e4f059144c65af3343879_I20211231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000203 - Disclosure - RETIREMENT BENEFITS - Components of Accumulated OCI and Changes in Regulatory Assets (Details)",
     "menuCat": "Details",
     "order": "203",
     "role": "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
     "shortName": "RETIREMENT BENEFITS - Components of Accumulated OCI and Changes in Regulatory Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i423c665f3c0c4c809164bb456c7be385_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R204": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i3166abe09335482baf8ccae7c2db7b88_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanServiceCost",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000204 - Disclosure - RETIREMENT BENEFITS - Components of Net Periodic Benefit Cost and Estimated Future Benefit Payments (Details)",
     "menuCat": "Details",
     "order": "204",
     "role": "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails",
     "shortName": "RETIREMENT BENEFITS - Components of Net Periodic Benefit Cost and Estimated Future Benefit Payments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfNetBenefitCostsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i3166abe09335482baf8ccae7c2db7b88_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanExpectedReturnOnPlanAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R205": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAllocationOfPlanAssetsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanPlanAssetsTargetAllocationPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000205 - Disclosure - RETIREMENT BENEFITS - Fair Values of Pension Plan and Other Postretirement Benefit Plan Assets (Details)",
     "menuCat": "Details",
     "order": "205",
     "role": "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails",
     "shortName": "RETIREMENT BENEFITS - Fair Values of Pension Plan and Other Postretirement Benefit Plan Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAllocationOfPlanAssetsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanPlanAssetsTargetAllocationPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R206": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i62d486e34a3e4abc92de5e54281f9f3f_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedContributionPlanCostRecognized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000206 - Disclosure - RETIREMENT BENEFITS - 401K Plan Matching Contributions (Details)",
     "menuCat": "Details",
     "order": "206",
     "role": "http://southerncompany.com/role/RETIREMENTBENEFITS401KPlanMatchingContributionsDetails",
     "shortName": "RETIREMENT BENEFITS - 401K Plan Matching Contributions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i62d486e34a3e4abc92de5e54281f9f3f_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedContributionPlanCostRecognized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R207": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:ScheduleOfShareBasedCompensationNumberOfParticipatingEmployeesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "so:NumberOfEmployeesParticipatinginStockOptionandPerformanceShareUnitsProgram",
      "reportCount": 1,
      "unique": true,
      "unitRef": "employee",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000207 - Disclosure - STOCK COMPENSATION - Schedule of Employees Participating in Stock-Based Compensation Programs (Details)",
     "menuCat": "Details",
     "order": "207",
     "role": "http://southerncompany.com/role/STOCKCOMPENSATIONScheduleofEmployeesParticipatinginStockBasedCompensationProgramsDetails",
     "shortName": "STOCK COMPENSATION - Schedule of Employees Participating in Stock-Based Compensation Programs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:ScheduleOfShareBasedCompensationNumberOfParticipatingEmployeesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "so:NumberOfEmployeesParticipatinginStockOptionandPerformanceShareUnitsProgram",
      "reportCount": 1,
      "unique": true,
      "unitRef": "employee",
      "xsiNil": "false"
     }
    },
    "R208": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i7df7d2628a0e4be184c494a955ff5532_D20220201-20220228",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConversionOfStockSharesConverted1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000208 - Disclosure - STOCK COMPENSATION - Performance Shares Narrative (Details)",
     "menuCat": "Details",
     "order": "208",
     "role": "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails",
     "shortName": "STOCK COMPENSATION - Performance Shares Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i7df7d2628a0e4be184c494a955ff5532_D20220201-20220228",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConversionOfStockSharesConverted1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R209": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ie51efefd9877400eb388e0279f680ec6_D20220101-20221231",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000209 - Disclosure - STOCK COMPENSATION - Performance Shares, Assumptions Used (Details)",
     "menuCat": "Details",
     "order": "209",
     "role": "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesAssumptionsUsedDetails",
     "shortName": "STOCK COMPENSATION - Performance Shares, Assumptions Used (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ie51efefd9877400eb388e0279f680ec6_D20220101-20221231",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000021 - Statement - Statements of Comprehensive Income (Loss) - GPC",
     "menuCat": "Statements",
     "order": "21",
     "role": "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPC",
     "shortName": "Statements of Comprehensive Income (Loss) - GPC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "iaa065783f8b8411abdc5843c108223e0_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R210": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ie51efefd9877400eb388e0279f680ec6_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000210 - Disclosure - STOCK COMPENSATION - Performance Shares, Compensation Costs and Related Tax Benefit (Details)",
     "menuCat": "Details",
     "order": "210",
     "role": "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesCompensationCostsandRelatedTaxBenefitDetails",
     "shortName": "STOCK COMPENSATION - Performance Shares, Compensation Costs and Related Tax Benefit (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ie51efefd9877400eb388e0279f680ec6_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R211": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i4dbe31f9001b4ebe91fcfd9b6336f62c_D20220101-20221231",
      "decimals": "2",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000211 - Disclosure - STOCK COMPENSATION - Restricted Stock Units Narrative (Details)",
     "menuCat": "Details",
     "order": "211",
     "role": "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails",
     "shortName": "STOCK COMPENSATION - Restricted Stock Units Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i4dbe31f9001b4ebe91fcfd9b6336f62c_D20220101-20221231",
      "decimals": "2",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     }
    },
    "R212": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000212 - Disclosure - STOCK COMPENSATION - Stock Options Narrative (Details)",
     "menuCat": "Details",
     "order": "212",
     "role": "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionsNarrativeDetails",
     "shortName": "STOCK COMPENSATION - Stock Options Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R213": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i8235082fb87e4f059144c65af3343879_I20211231",
      "decimals": "-5",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000213 - Disclosure - STOCK COMPENSATION - Stock Option Activity (Details)",
     "menuCat": "Details",
     "order": "213",
     "role": "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionActivityDetails",
     "shortName": "STOCK COMPENSATION - Stock Option Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i8235082fb87e4f059144c65af3343879_I20211231",
      "decimals": "-5",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R214": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000214 - Disclosure - STOCK COMPENSATION - Aggregate Intrinsic Value for Options Exercised (Details)",
     "menuCat": "Details",
     "order": "214",
     "role": "http://southerncompany.com/role/STOCKCOMPENSATIONAggregateIntrinsicValueforOptionsExercisedDetails",
     "shortName": "STOCK COMPENSATION - Aggregate Intrinsic Value for Options Exercised (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R215": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDerivativesInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeAssets",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000215 - Disclosure - FAIR VALUE MEASUREMENTS - Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)",
     "menuCat": "Details",
     "order": "215",
     "role": "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
     "shortName": "FAIR VALUE MEASUREMENTS - Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i3b11c215e78940b39aa3811e0bc04ae9_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R216": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i2b6e1f80dad94703a5c4f5b7187e937d_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AlternativeInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000216 - Disclosure - FAIR VALUE MEASUREMENTS - Narrative (Details)",
     "menuCat": "Details",
     "order": "216",
     "role": "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails",
     "shortName": "FAIR VALUE MEASUREMENTS - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i2b6e1f80dad94703a5c4f5b7187e937d_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AlternativeInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R217": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:FinancialInstrumentsNotHavingCarryingAmountEqualToFairValueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000217 - Disclosure - FAIR VALUE MEASUREMENTS - Financial Instruments, Carrying Amount Not Equal to Fair Value (Details)",
     "menuCat": "Details",
     "order": "217",
     "role": "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSFinancialInstrumentsCarryingAmountNotEqualtoFairValueDetails",
     "shortName": "FAIR VALUE MEASUREMENTS - Financial Instruments, Carrying Amount Not Equal to Fair Value (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:FinancialInstrumentsNotHavingCarryingAmountEqualToFairValueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:DebtInstrumentFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R218": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "idd712d89cfb94483b1013c9a6b881c74_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:NetQuantityPurchaseOfDerivativesNotDesignatedAsHedges",
      "reportCount": 1,
      "unique": true,
      "unitRef": "mmbtu",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000218 - Disclosure - DERIVATIVES - Energy-Related Derivative Contracts (Details)",
     "menuCat": "Details",
     "order": "218",
     "role": "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails",
     "shortName": "DERIVATIVES - Energy-Related Derivative Contracts (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "idd712d89cfb94483b1013c9a6b881c74_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:NetQuantityPurchaseOfDerivativesNotDesignatedAsHedges",
      "reportCount": 1,
      "unique": true,
      "unitRef": "mmbtu",
      "xsiNil": "false"
     }
    },
    "R219": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:ExpectedVolumeOfNaturalGasSubjectToOptionToSellBackExcessGasDueToOperationalConstraints",
      "reportCount": 1,
      "unique": true,
      "unitRef": "mmbtu",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000219 - Disclosure - DERIVATIVES - Narrative (Details)",
     "menuCat": "Details",
     "order": "219",
     "role": "http://southerncompany.com/role/DERIVATIVESNarrativeDetails",
     "shortName": "DERIVATIVES - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:ExpectedVolumeOfNaturalGasSubjectToOptionToSellBackExcessGasDueToOperationalConstraints",
      "reportCount": 1,
      "unique": true,
      "unitRef": "mmbtu",
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000022 - Statement - Statements of Comprehensive Income (Loss) - GPC (Parenthetical)",
     "menuCat": "Statements",
     "order": "22",
     "role": "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPCParenthetical",
     "shortName": "Statements of Comprehensive Income (Loss) - GPC (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "iaa065783f8b8411abdc5843c108223e0_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R220": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfInterestRateDerivativesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i2ab5edd9bee64e478000fe5f4d842333_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeLiabilityNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000220 - Disclosure - DERIVATIVES - Interest Rate Derivatives (Details)",
     "menuCat": "Details",
     "order": "220",
     "role": "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails",
     "shortName": "DERIVATIVES - Interest Rate Derivatives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfInterestRateDerivativesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i2ab5edd9bee64e478000fe5f4d842333_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeLiabilityNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R221": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:ScheduleOfForeignExchangeContractsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia95b58dee7ac46d08e3b9851a8030cfb_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:DerivativeNotionalAmountPay",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000221 - Disclosure - DERIVATIVES - Foreign Currency Derivatives (Details)",
     "menuCat": "Details",
     "order": "221",
     "role": "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
     "shortName": "DERIVATIVES - Foreign Currency Derivatives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:ScheduleOfForeignExchangeContractsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia95b58dee7ac46d08e3b9851a8030cfb_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:DerivativeNotionalAmountPay",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R222": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDerivativesInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000222 - Disclosure - DERIVATIVES - Derivative Financial Statement Presentation and Amounts With Balance Sheet Offsetting (Details)",
     "menuCat": "Details",
     "order": "222",
     "role": "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
     "shortName": "DERIVATIVES - Derivative Financial Statement Presentation and Amounts With Balance Sheet Offsetting (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDerivativesInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R223": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:PreTaxEffectOfUnrealizedDerivativeGainsLossesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i00cb843bd9f047ec849b7aad0e9695e9_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:RegulatoryHedgeUnrealizedGainLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000223 - Disclosure - DERIVATIVES - Schedule of Unrealized Gain (Loss) Recognized in the Balance Sheet (Details)",
     "menuCat": "Details",
     "order": "223",
     "role": "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails",
     "shortName": "DERIVATIVES - Schedule of Unrealized Gain (Loss) Recognized in the Balance Sheet (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:PreTaxEffectOfUnrealizedDerivativeGainsLossesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i00cb843bd9f047ec849b7aad0e9695e9_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:RegulatoryHedgeUnrealizedGainLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R224": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:OtherComprehensiveIncomeLossDerivativeGainLossAfterReclassificationBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000224 - Disclosure - DERIVATIVES - Pre-Tax Effects of Derivatives Designated as Hedges on AOCI (Details)",
     "menuCat": "Details",
     "order": "224",
     "role": "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
     "shortName": "DERIVATIVES - Pre-Tax Effects of Derivatives Designated as Hedges on AOCI (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:OtherComprehensiveIncomeLossDerivativeGainLossAfterReclassificationBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R225": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:DepreciationAndAmortizationExcludingNuclearFuel",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000225 - Disclosure - DERIVATIVES - Pre-Tax Effects of Derivatives Designated as Hedges on Income (Details)",
     "menuCat": "Details",
     "order": "225",
     "role": "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
     "shortName": "DERIVATIVES - Pre-Tax Effects of Derivatives Designated as Hedges on Income (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfCashFlowHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i73f99f79893f410883b6bfbe9e6b5d0b_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R226": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i711572f0fa46405fb0d63cde81d3e159_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeAmountOfHedgedItem",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000226 - Disclosure - DERIVATIVES - Cumulative Basis Adjustments for Fair Value Hedges (Details)",
     "menuCat": "Details",
     "order": "226",
     "role": "http://southerncompany.com/role/DERIVATIVESCumulativeBasisAdjustmentsforFairValueHedgesDetails",
     "shortName": "DERIVATIVES - Cumulative Basis Adjustments for Fair Value Hedges (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i711572f0fa46405fb0d63cde81d3e159_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeAmountOfHedgedItem",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R227": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:PretaxEffectofInterestRateandEnergyRelatedDerivativesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i74453837c01c414ba5145d8a44f8b2ec_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000227 - Disclosure - DERIVATIVES - Pre-Tax Effects of Derivatives Not Designated as Hedging (Details)",
     "menuCat": "Details",
     "order": "227",
     "role": "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails",
     "shortName": "DERIVATIVES - Pre-Tax Effects of Derivatives Not Designated as Hedging (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:PretaxEffectofInterestRateandEnergyRelatedDerivativesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i74453837c01c414ba5145d8a44f8b2ec_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R228": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i2c2affbeea9e4913bdb49e01f88e4327_D20201001-20201231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:LeaseInitialImpairmentLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000228 - Disclosure - ACQUISITIONS AND DISPOSITIONS - Southern Company Narrative (Details)",
     "menuCat": "Details",
     "order": "228",
     "role": "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails",
     "shortName": "ACQUISITIONS AND DISPOSITIONS - Southern Company Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i2c2affbeea9e4913bdb49e01f88e4327_D20201001-20201231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "so:LeaseInitialImpairmentLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R229": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PaymentsToAcquirePropertyPlantAndEquipment",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000229 - Disclosure - ACQUISITIONS AND DISPOSITIONS - Alabama Power Narrative (Details)",
     "menuCat": "Details",
     "order": "229",
     "role": "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails",
     "shortName": "ACQUISITIONS AND DISPOSITIONS - Alabama Power Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i62447d3e0ffe496db68fba5e692c5d5f_D20220930-20220930",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:AssetAcquisitionConsiderationTransferred",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000023 - Statement - Statements of Cash Flows - GPC",
     "menuCat": "Statements",
     "order": "23",
     "role": "http://southerncompany.com/role/StatementsofCashFlowsGPC",
     "shortName": "Statements of Cash Flows - GPC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "iaa065783f8b8411abdc5843c108223e0_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:DepreciationAmortizationAndAccretionNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R230": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:AssetAcquisitionTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "id254709917f245309b01617cd78bf6f5_D20210201-20210228",
      "decimals": "0",
      "first": true,
      "lang": "en-US",
      "name": "so:ApproximateNameplateCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "mw",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000230 - Disclosure - ACQUISITIONS AND DISPOSITIONS - Schedule of Asset Acquisitions (Details)",
     "menuCat": "Details",
     "order": "230",
     "role": "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
     "shortName": "ACQUISITIONS AND DISPOSITIONS - Schedule of Asset Acquisitions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:AssetAcquisitionTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "id254709917f245309b01617cd78bf6f5_D20210201-20210228",
      "decimals": "0",
      "first": true,
      "lang": "en-US",
      "name": "so:ApproximateNameplateCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "mw",
      "xsiNil": "false"
     }
    },
    "R231": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConstructionInProgressGross",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000231 - Disclosure - ACQUISITIONS AND DISPOSITIONS - Southern Power Narrative (Details)",
     "menuCat": "Details",
     "order": "231",
     "role": "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
     "shortName": "ACQUISITIONS AND DISPOSITIONS - Southern Power Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "id9d90a2bc36b4619b583418050fa3dac_D20220101-20221231",
      "decimals": "0",
      "lang": "en-US",
      "name": "so:NameplateCapacityPlacedInService",
      "reportCount": 1,
      "unique": true,
      "unitRef": "mw",
      "xsiNil": "false"
     }
    },
    "R232": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "so:ScheduleofConstructionProjectsTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "iddfa2bb245db4c6fa93d01be36b876b0_D20211101-20220331",
      "decimals": "0",
      "first": true,
      "lang": "en-US",
      "name": "so:ApproximateNameplateCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "mw",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000232 - Disclosure - ACQUISITIONS AND DISPOSITIONS - Schedule of Construction Projects (Details)",
     "menuCat": "Details",
     "order": "232",
     "role": "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails",
     "shortName": "ACQUISITIONS AND DISPOSITIONS - Schedule of Construction Projects (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "so:ScheduleofConstructionProjectsTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "iddfa2bb245db4c6fa93d01be36b876b0_D20211101-20220331",
      "decimals": "0",
      "first": true,
      "lang": "en-US",
      "name": "so:ApproximateNameplateCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "mw",
      "xsiNil": "false"
     }
    },
    "R233": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisposalGroupNotDiscontinuedOperationGainLossOnDisposal",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000233 - Disclosure - ACQUISITIONS AND DISPOSITIONS - GAS Acquisitions and Dispositions Narrative (Details)",
     "menuCat": "Details",
     "order": "233",
     "role": "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
     "shortName": "ACQUISITIONS AND DISPOSITIONS - GAS Acquisitions and Dispositions Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ibc1ec7cb717d4221ba67d8978ee6c351_I20210701",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:DisposalGroupIncludingDiscontinuedOperationConsideration",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R234": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000234 - Disclosure - SEGMENT AND RELATED INFORMATION - Narrative (Details)",
     "menuCat": "Details",
     "order": "234",
     "role": "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails",
     "shortName": "SEGMENT AND RELATED INFORMATION - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i5d32bb20e5a441c1b624c31abe7bb0e3_D20220101-20221231",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:NumberOfReportableSegments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "segment",
      "xsiNil": "false"
     }
    },
    "R235": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000235 - Disclosure - SEGMENT AND RELATED INFORMATION - Financial Data for Business Segments (Details)",
     "menuCat": "Details",
     "order": "235",
     "role": "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
     "shortName": "SEGMENT AND RELATED INFORMATION - Financial Data for Business Segments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:InvestmentIncomeInterestAndDividend",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R236": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000236 - Disclosure - SEGMENT AND RELATED INFORMATION - Electric Utilities' Revenues (Details)",
     "menuCat": "Details",
     "order": "236",
     "role": "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONElectricUtilitiesRevenuesDetails",
     "shortName": "SEGMENT AND RELATED INFORMATION - Electric Utilities' Revenues (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:FinancialDataForProductsAndServicesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "if8d0396707d6442f9ddd84a7a3bd28fd_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R237": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000237 - Disclosure - SEGMENT AND RELATED INFORMATION - Gas Revenues (Details)",
     "menuCat": "Details",
     "order": "237",
     "role": "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
     "shortName": "SEGMENT AND RELATED INFORMATION - Gas Revenues (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:FinancialDataForProductsAndServicesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i473e4c33b1b642bb97d565b2fb70950e_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R238": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "srt:ScheduleOfValuationAndQualifyingAccountsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ib2c67ffb816f4c749b773013acaf4285_I20211231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ValuationAllowancesAndReservesBalance",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000238 - Disclosure - VALUATION AND QUALIFYING ACCOUNTS (Details)",
     "menuCat": "Details",
     "order": "238",
     "role": "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails",
     "shortName": "VALUATION AND QUALIFYING ACCOUNTS (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "srt:ScheduleOfValuationAndQualifyingAccountsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i7204382826c049e8be78c3d88eadbba3_I20191231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:ValuationAllowancesAndReservesBalance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InterestPaidCapitalized",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000024 - Statement - Statements of Cash Flows - GPC (Parenthetical)",
     "menuCat": "Statements",
     "order": "24",
     "role": "http://southerncompany.com/role/StatementsofCashFlowsGPCParenthetical",
     "shortName": "Statements of Cash Flows - GPC (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "iaa065783f8b8411abdc5843c108223e0_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:InterestPaidCapitalized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000025 - Statement - Balance Sheets - GPC",
     "menuCat": "Statements",
     "order": "25",
     "role": "http://southerncompany.com/role/BalanceSheetsGPC",
     "shortName": "Balance Sheets - GPC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i65eaa5f8cda34cc7a2c3ebdf5aeb8e84_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:AccountsReceivableGrossCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:CommonStockSharesAuthorized",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommonStockSharesAuthorized",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000026 - Statement - Balance Sheets - GPC (Parenthetical)",
     "menuCat": "Statements",
     "order": "26",
     "role": "http://southerncompany.com/role/BalanceSheetsGPCParenthetical",
     "shortName": "Balance Sheets - GPC (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:CommonStockSharesAuthorized",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i65eaa5f8cda34cc7a2c3ebdf5aeb8e84_I20221231",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:CommonStockSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i6aae7ad74adb4cb2b7c00ae1cafa8d7e_I20191231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SharesIssued",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000027 - Statement - Statements of Common Stockholders' Equity - GPC",
     "menuCat": "Statements",
     "order": "27",
     "role": "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
     "shortName": "Statements of Common Stockholders' Equity - GPC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia751b46fcbe64564abd773165b2626de_I20191231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:SharesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommonStockDividendsPerShareCashPaid",
      "reportCount": 1,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000028 - Statement - Statements of Common Stockholders' Equity - GPC (Parenthetical)",
     "menuCat": "Statements",
     "order": "28",
     "role": "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPCParenthetical",
     "shortName": "Statements of Common Stockholders' Equity - GPC (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000029 - Statement - Statements of Income - MPC",
     "menuCat": "Statements",
     "order": "29",
     "role": "http://southerncompany.com/role/StatementsofIncomeMPC",
     "shortName": "Statements of Income - MPC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i1f4cb6de07294a22a478e77acb2af0d1_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:UtilitiesOperatingExpenseMaintenanceAndOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000003 - Statement - Consolidated Statements of Income - Southern",
     "menuCat": "Statements",
     "order": "3",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
     "shortName": "Consolidated Statements of Income - Southern",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "2",
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareBasic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000030 - Statement - Statements of Comprehensive Income - MPC",
     "menuCat": "Statements",
     "order": "30",
     "role": "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPC",
     "shortName": "Statements of Comprehensive Income - MPC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i1f4cb6de07294a22a478e77acb2af0d1_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationTax",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000031 - Statement - Statements of Comprehensive Income - MPC (Parenthetical)",
     "menuCat": "Statements",
     "order": "31",
     "role": "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPCParenthetical",
     "shortName": "Statements of Comprehensive Income - MPC (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i1f4cb6de07294a22a478e77acb2af0d1_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000032 - Statement - Statements of Cash Flows - MPC",
     "menuCat": "Statements",
     "order": "32",
     "role": "http://southerncompany.com/role/StatementsofCashFlowsMPC",
     "shortName": "Statements of Cash Flows - MPC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i1f4cb6de07294a22a478e77acb2af0d1_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:DepreciationAmortizationAndAccretionNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InterestPaidCapitalized",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000033 - Statement - Statements of Cash Flows - MPC (Parenthetical)",
     "menuCat": "Statements",
     "order": "33",
     "role": "http://southerncompany.com/role/StatementsofCashFlowsMPCParenthetical",
     "shortName": "Statements of Cash Flows - MPC (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000034 - Statement - Balance Sheets - MPC",
     "menuCat": "Statements",
     "order": "34",
     "role": "http://southerncompany.com/role/BalanceSheetsMPC",
     "shortName": "Balance Sheets - MPC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i073c66a844b34727a9659cbf6a63278f_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:CommonStockSharesAuthorized",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommonStockSharesAuthorized",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000035 - Statement - Balance Sheets - MPC (Parenthetical)",
     "menuCat": "Statements",
     "order": "35",
     "role": "http://southerncompany.com/role/BalanceSheetsMPCParenthetical",
     "shortName": "Balance Sheets - MPC (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:CommonStockSharesAuthorized",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i073c66a844b34727a9659cbf6a63278f_I20221231",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:CommonStockSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i6aae7ad74adb4cb2b7c00ae1cafa8d7e_I20191231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SharesIssued",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000036 - Statement - Statements of Common Stockholders' Equity - MPC",
     "menuCat": "Statements",
     "order": "36",
     "role": "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC",
     "shortName": "Statements of Common Stockholders' Equity - MPC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i3b83872316d74a7dbe2fbc7762ba9a84_I20191231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:SharesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000037 - Statement - Consolidated Statements of Income",
     "menuCat": "Statements",
     "order": "37",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
     "shortName": "Consolidated Statements of Income",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0b65e73351c4472bbdfd75a9f5f0a8a5_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:UtilitiesOperatingExpenseMaintenanceAndOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000038 - Statement - Consolidated Statements of Comprehensive Income - SPC",
     "menuCat": "Statements",
     "order": "38",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
     "shortName": "Consolidated Statements of Comprehensive Income - SPC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0b65e73351c4472bbdfd75a9f5f0a8a5_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000039 - Statement - Consolidated Statements of Comprehensive Income - SPC (Parenthetical)",
     "menuCat": "Statements",
     "order": "39",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPCParenthetical",
     "shortName": "Consolidated Statements of Comprehensive Income - SPC (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0b65e73351c4472bbdfd75a9f5f0a8a5_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000004 - Statement - Consolidated Statements of Comprehensive Income - Southern",
     "menuCat": "Statements",
     "order": "4",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern",
     "shortName": "Consolidated Statements of Comprehensive Income - Southern",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000040 - Statement - Consolidated Statements of Cash Flows - SPC",
     "menuCat": "Statements",
     "order": "40",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
     "shortName": "Consolidated Statements of Cash Flows - SPC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0b65e73351c4472bbdfd75a9f5f0a8a5_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:DepreciationAmortizationAndAccretionNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InterestPaidCapitalized",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000041 - Statement - Consolidated Statements of Cash Flows - SPC (Parenthetical)",
     "menuCat": "Statements",
     "order": "41",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPCParenthetical",
     "shortName": "Consolidated Statements of Cash Flows - SPC (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0b65e73351c4472bbdfd75a9f5f0a8a5_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:InterestPaidCapitalized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000042 - Statement - Consolidated Balance Sheets - SPC",
     "menuCat": "Statements",
     "order": "42",
     "role": "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
     "shortName": "Consolidated Balance Sheets - SPC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "iace64eafc4b44f6cbcd8297819f4523a_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:AccountsReceivableGrossCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "us-gaap:ScheduleOfIndefiniteLivedIntangibleAssetsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetsAccumulatedAmortization",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000043 - Statement - Consolidated Balance Sheets - SPC (Parenthetical)",
     "menuCat": "Statements",
     "order": "43",
     "role": "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPCParenthetical",
     "shortName": "Consolidated Balance Sheets - SPC (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "iace64eafc4b44f6cbcd8297819f4523a_I20221231",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:PreferredStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i919741b3c5f34f75aaff5a1a8da9c794_I20191231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000044 - Statement - Consolidated Statements of Stockholders' Equity - SPC",
     "menuCat": "Statements",
     "order": "44",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
     "shortName": "Consolidated Statements of Stockholders' Equity - SPC",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ibe5c20b2673340b8b3d83b5aaf0024d7_I20191231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000045 - Statement - Consolidated Statements of Income - GAS",
     "menuCat": "Statements",
     "order": "45",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
     "shortName": "Consolidated Statements of Income - GAS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i5d32bb20e5a441c1b624c31abe7bb0e3_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:UtilitiesOperatingExpenseMaintenanceAndOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i5d32bb20e5a441c1b624c31abe7bb0e3_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ExciseTaxesCollected",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000046 - Statement - Consolidated Statements of Income - GAS (Parenthetical)",
     "menuCat": "Statements",
     "order": "46",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGASParenthetical",
     "shortName": "Consolidated Statements of Income - GAS (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000047 - Statement - Consolidated Statements of Comprehensive Income - GAS",
     "menuCat": "Statements",
     "order": "47",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGAS",
     "shortName": "Consolidated Statements of Comprehensive Income - GAS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i5d32bb20e5a441c1b624c31abe7bb0e3_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000048 - Statement - Consolidated Statements of Comprehensive Income - GAS (Parenthetical)",
     "menuCat": "Statements",
     "order": "48",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGASParenthetical",
     "shortName": "Consolidated Statements of Comprehensive Income - GAS (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i5d32bb20e5a441c1b624c31abe7bb0e3_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000049 - Statement - Consolidated Statements of Cash Flows - GAS",
     "menuCat": "Statements",
     "order": "49",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
     "shortName": "Consolidated Statements of Cash Flows - GAS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i5d32bb20e5a441c1b624c31abe7bb0e3_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:DepreciationAmortizationAndAccretionNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000005 - Statement - Consolidated Statements of Comprehensive Income - Southern (Parenthetical)",
     "menuCat": "Statements",
     "order": "5",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthernParenthetical",
     "shortName": "Consolidated Statements of Comprehensive Income - Southern (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InterestPaidCapitalized",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000050 - Statement - Consolidated Statements of Cash Flows - GAS (Parenthetical)",
     "menuCat": "Statements",
     "order": "50",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGASParenthetical",
     "shortName": "Consolidated Statements of Cash Flows - GAS (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i5d32bb20e5a441c1b624c31abe7bb0e3_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:InterestPaidCapitalized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000051 - Statement - Consolidated Balance Sheets - GAS",
     "menuCat": "Statements",
     "order": "51",
     "role": "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
     "shortName": "Consolidated Balance Sheets - GAS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ief707f352bd8465a9ca4bf1ccb157479_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:AccountsReceivableGrossCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "us-gaap:ScheduleOfIndefiniteLivedIntangibleAssetsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetsAccumulatedAmortization",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000052 - Statement - Consolidated Balance Sheets - GAS (Parenthetical)",
     "menuCat": "Statements",
     "order": "52",
     "role": "http://southerncompany.com/role/ConsolidatedBalanceSheetsGASParenthetical",
     "shortName": "Consolidated Balance Sheets - GAS (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ief707f352bd8465a9ca4bf1ccb157479_I20221231",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i919741b3c5f34f75aaff5a1a8da9c794_I20191231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000053 - Statement - Consolidated Statements of Common Stockholders' Equity - GAS",
     "menuCat": "Statements",
     "order": "53",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
     "shortName": "Consolidated Statements of Common Stockholders' Equity - GAS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i8a25a6b02da34a8bac3f66976db21d8c_I20191231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000054 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES",
     "menuCat": "Notes",
     "order": "54",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000055 - Disclosure - REGULATORY MATTERS",
     "menuCat": "Notes",
     "order": "55",
     "role": "http://southerncompany.com/role/REGULATORYMATTERS",
     "shortName": "REGULATORY MATTERS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LegalMattersAndContingenciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000056 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES",
     "menuCat": "Notes",
     "order": "56",
     "role": "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEES",
     "shortName": "CONTINGENCIES, COMMITMENTS, AND GUARANTEES",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LegalMattersAndContingenciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RevenueFromContractWithCustomerTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000057 - Disclosure - REVENUE FROM CONTRACTS WITH CUSTOMERS",
     "menuCat": "Notes",
     "order": "57",
     "role": "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERS",
     "shortName": "REVENUE FROM CONTRACTS WITH CUSTOMERS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RevenueFromContractWithCustomerTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000058 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT",
     "menuCat": "Notes",
     "order": "58",
     "role": "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENT",
     "shortName": "PROPERTY, PLANT, AND EQUIPMENT",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AssetRetirementObligationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000059 - Disclosure - ASSET RETIREMENT OBLIGATIONS",
     "menuCat": "Notes",
     "order": "59",
     "role": "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONS",
     "shortName": "ASSET RETIREMENT OBLIGATIONS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AssetRetirementObligationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000006 - Statement - Consolidated Statements of Cash Flows - Southern",
     "menuCat": "Statements",
     "order": "6",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
     "shortName": "Consolidated Statements of Cash Flows - Southern",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:StockOptionPlanExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:MinorityInterestDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000060 - Disclosure - CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS",
     "menuCat": "Notes",
     "order": "60",
     "role": "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTS",
     "shortName": "CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:MinorityInterestDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000061 - Disclosure - FINANCING",
     "menuCat": "Notes",
     "order": "61",
     "role": "http://southerncompany.com/role/FINANCING",
     "shortName": "FINANCING",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LessorSalesTypeLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000062 - Disclosure - LEASES",
     "menuCat": "Notes",
     "order": "62",
     "role": "http://southerncompany.com/role/LEASES",
     "shortName": "LEASES",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LessorSalesTypeLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000063 - Disclosure - INCOME TAXES",
     "menuCat": "Notes",
     "order": "63",
     "role": "http://southerncompany.com/role/INCOMETAXES",
     "shortName": "INCOME TAXES",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000064 - Disclosure - RETIREMENT BENEFITS",
     "menuCat": "Notes",
     "order": "64",
     "role": "http://southerncompany.com/role/RETIREMENTBENEFITS",
     "shortName": "RETIREMENT BENEFITS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "so:CommonStockTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000065 - Disclosure - STOCK COMPENSATION",
     "menuCat": "Notes",
     "order": "65",
     "role": "http://southerncompany.com/role/STOCKCOMPENSATION",
     "shortName": "STOCK COMPENSATION",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "so:CommonStockTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000066 - Disclosure - FAIR VALUE MEASUREMENTS",
     "menuCat": "Notes",
     "order": "66",
     "role": "http://southerncompany.com/role/FAIRVALUEMEASUREMENTS",
     "shortName": "FAIR VALUE MEASUREMENTS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000067 - Disclosure - DERIVATIVES",
     "menuCat": "Notes",
     "order": "67",
     "role": "http://southerncompany.com/role/DERIVATIVES",
     "shortName": "DERIVATIVES",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:MergersAcquisitionsAndDispositionsDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000068 - Disclosure - ACQUISITIONS AND DISPOSITIONS",
     "menuCat": "Notes",
     "order": "68",
     "role": "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONS",
     "shortName": "ACQUISITIONS AND DISPOSITIONS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:MergersAcquisitionsAndDispositionsDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000069 - Disclosure - SEGMENT AND RELATED INFORMATION",
     "menuCat": "Notes",
     "order": "69",
     "role": "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATION",
     "shortName": "SEGMENT AND RELATED INFORMATION",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InterestPaidCapitalized",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000007 - Statement - Consolidated Statements of Cash Flows - Southern (Parenthetical)",
     "menuCat": "Statements",
     "order": "7",
     "role": "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthernParenthetical",
     "shortName": "Consolidated Statements of Cash Flows - Southern (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ScheduleOfValuationAndQualifyingAccountsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000070 - Disclosure - VALUATION AND QUALIFYING ACCOUNTS",
     "menuCat": "Notes",
     "order": "70",
     "role": "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTS",
     "shortName": "VALUATION AND QUALIFYING ACCOUNTS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ScheduleOfValuationAndQualifyingAccountsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000071 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)",
     "menuCat": "Policies",
     "order": "71",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000072 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)",
     "menuCat": "Tables",
     "order": "72",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "lang": "en-US",
      "name": "so:AllowanceForFundsUsedDuringConstructionAndInterestCapitalizedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:ScheduleOfRegulatoryLiabilitiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRegulatoryAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000073 - Disclosure - REGULATORY MATTERS (Tables)",
     "menuCat": "Tables",
     "order": "73",
     "role": "http://southerncompany.com/role/REGULATORYMATTERSTables",
     "shortName": "REGULATORY MATTERS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:ScheduleOfRegulatoryLiabilitiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRegulatoryAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRegulatoryAssetsAndLiabilitiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000074 - Disclosure - CONTINGENCIES, COMMITMENTS, AND GUARANTEES (Tables)",
     "menuCat": "Tables",
     "order": "74",
     "role": "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESTables",
     "shortName": "CONTINGENCIES, COMMITMENTS, AND GUARANTEES (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRegulatoryAssetsAndLiabilitiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000075 - Disclosure - REVENUE FROM CONTRACTS WITH CUSTOMERS (Tables)",
     "menuCat": "Tables",
     "order": "75",
     "role": "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSTables",
     "shortName": "REVENUE FROM CONTRACTS WITH CUSTOMERS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000076 - Disclosure - PROPERTY, PLANT, AND EQUIPMENT (Tables)",
     "menuCat": "Tables",
     "order": "76",
     "role": "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTTables",
     "shortName": "PROPERTY, PLANT, AND EQUIPMENT (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfChangeInAssetRetirementObligationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000077 - Disclosure - ASSET RETIREMENT OBLIGATIONS (Tables)",
     "menuCat": "Tables",
     "order": "77",
     "role": "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSTables",
     "shortName": "ASSET RETIREMENT OBLIGATIONS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfChangeInAssetRetirementObligationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000078 - Disclosure - CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS (Tables)",
     "menuCat": "Tables",
     "order": "78",
     "role": "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSTables",
     "shortName": "CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000079 - Disclosure - FINANCING (Tables)",
     "menuCat": "Tables",
     "order": "79",
     "role": "http://southerncompany.com/role/FINANCINGTables",
     "shortName": "FINANCING (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000008 - Statement - Consolidated Balance Sheets - Southern",
     "menuCat": "Statements",
     "order": "8",
     "role": "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
     "shortName": "Consolidated Balance Sheets - Southern",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:DerivativeAssetsCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "so:ScheduleOfOperatingLeaseRightOfUseAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000080 - Disclosure - LEASES (Tables)",
     "menuCat": "Tables",
     "order": "80",
     "role": "http://southerncompany.com/role/LEASESTables",
     "shortName": "LEASES (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "so:ScheduleOfOperatingLeaseRightOfUseAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "so:DetailsOfIncomeTaxProvisionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000081 - Disclosure - INCOME TAXES (Tables)",
     "menuCat": "Tables",
     "order": "81",
     "role": "http://southerncompany.com/role/INCOMETAXESTables",
     "shortName": "INCOME TAXES (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "so:DetailsOfIncomeTaxProvisionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAssumptionsUsedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000082 - Disclosure - RETIREMENT BENEFITS (Tables)",
     "menuCat": "Tables",
     "order": "82",
     "role": "http://southerncompany.com/role/RETIREMENTBENEFITSTables",
     "shortName": "RETIREMENT BENEFITS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAssumptionsUsedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "so:ScheduleOfShareBasedCompensationNumberOfParticipatingEmployeesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000083 - Disclosure - STOCK COMPENSATION (Tables)",
     "menuCat": "Tables",
     "order": "83",
     "role": "http://southerncompany.com/role/STOCKCOMPENSATIONTables",
     "shortName": "STOCK COMPENSATION (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "so:ScheduleOfShareBasedCompensationNumberOfParticipatingEmployeesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000084 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)",
     "menuCat": "Tables",
     "order": "84",
     "role": "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSTables",
     "shortName": "FAIR VALUE MEASUREMENTS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "lang": "en-US",
      "name": "so:FinancialInstrumentsNotHavingCarryingAmountEqualToFairValueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000085 - Disclosure - DERIVATIVES (Tables)",
     "menuCat": "Tables",
     "order": "85",
     "role": "http://southerncompany.com/role/DERIVATIVESTables",
     "shortName": "DERIVATIVES (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AssetAcquisitionTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000086 - Disclosure - ACQUISITIONS AND DISPOSITIONS (Tables)",
     "menuCat": "Tables",
     "order": "86",
     "role": "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSTables",
     "shortName": "ACQUISITIONS AND DISPOSITIONS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AssetAcquisitionTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000087 - Disclosure - SEGMENT AND RELATED INFORMATION (Tables)",
     "menuCat": "Tables",
     "order": "87",
     "role": "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONTables",
     "shortName": "SEGMENT AND RELATED INFORMATION (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "so:NumberOfTraditionalElectricOperatingCompanies",
      "reportCount": 1,
      "unique": true,
      "unitRef": "company",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000088 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - General (Narrative) (Details)",
     "menuCat": "Details",
     "order": "88",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGeneralNarrativeDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - General (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "so:NumberOfTraditionalElectricOperatingCompanies",
      "reportCount": 1,
      "unique": true,
      "unitRef": "company",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i45aba0ff52124c6986884a7d2471ca7e_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionAmountsOfTransaction",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000089 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Costs for Affiliate Transactions (Details)",
     "menuCat": "Details",
     "order": "89",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Costs for Affiliate Transactions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "if918b236923644bb9e3187e7ea2b0a07_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionAmountsOfTransaction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "us-gaap:ScheduleOfIndefiniteLivedIntangibleAssetsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetsAccumulatedAmortization",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000009 - Statement - Consolidated Balance Sheets - Southern (Parenthetical)",
     "menuCat": "Statements",
     "order": "9",
     "role": "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical",
     "shortName": "Consolidated Balance Sheets - Southern (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:CommonStockSharesIssued",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:CommonStockSharesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i13b2c1bb78014c3e8075815958c359a1_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionAmountsOfTransaction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000090 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Affiliate Transactions (Narrative) (Details)",
     "menuCat": "Details",
     "order": "90",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Affiliate Transactions (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i13b2c1bb78014c3e8075815958c359a1_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionAmountsOfTransaction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000091 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Revenues (Narrative) (Details)",
     "menuCat": "Details",
     "order": "91",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESRevenuesNarrativeDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Revenues (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i5d32bb20e5a441c1b624c31abe7bb0e3_D20220101-20221231",
      "decimals": null,
      "lang": "en-US",
      "name": "so:PeriodForCollectionOfRevenuePriorToBillingWNAs",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "us-gaap:ConcentrationRiskCreditRisk",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ib1fe6e0e8aa146d3921735e45c1f2e15_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "so:ConcentrationRiskNumberOfCustomers",
      "reportCount": 1,
      "unique": true,
      "unitRef": "customer",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000092 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Concentration of Credit Risk (Narrative) (Details)",
     "menuCat": "Details",
     "order": "92",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofCreditRiskNarrativeDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Concentration of Credit Risk (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "us-gaap:ConcentrationRiskCreditRisk",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ib1fe6e0e8aa146d3921735e45c1f2e15_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "so:ConcentrationRiskNumberOfCustomers",
      "reportCount": 1,
      "unique": true,
      "unitRef": "customer",
      "xsiNil": "false"
     }
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i1f4cb6de07294a22a478e77acb2af0d1_D20220101-20221231",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "so:PercentageOfWholesaleCustomersToOperatingRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000093 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Concentration of Revenue (Narrative) (Details)",
     "menuCat": "Details",
     "order": "93",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofRevenueNarrativeDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Concentration of Revenue (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i1f4cb6de07294a22a478e77acb2af0d1_D20220101-20221231",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "so:PercentageOfWholesaleCustomersToOperatingRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "us-gaap:IncomeTaxPolicyTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0b65e73351c4472bbdfd75a9f5f0a8a5_D20220101-20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "so:ReductionInTaxBasisOfAssetsUnderOptionOne",
      "reportCount": 1,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000094 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Income and Other Taxes (Narrative) (Details)",
     "menuCat": "Details",
     "order": "94",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESIncomeandOtherTaxesNarrativeDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Income and Other Taxes (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i1e681bea5a074f738655053b83b9b27e_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:ExciseTaxesCollected",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:AllowanceForFundsUsedDuringConstructionAndInterestCapitalizedTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i797a47b893994a269e7ff343a1cbafd5_D20220101-20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedInterest",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000095 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Total AFUDC and Interest Capitalized (Details)",
     "menuCat": "Details",
     "order": "95",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofTotalAFUDCandInterestCapitalizedDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Total AFUDC and Interest Capitalized (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:AllowanceForFundsUsedDuringConstructionAndInterestCapitalizedTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ia80a9c53bab843d2a5fcdde055274563_D20220101-20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R96": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:AllowanceForFundsUsedDuringConstructionAndInterestCapitalizedCompositeRatesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i07a8c57d64de49a58126e64dd73a57af_I20221231",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "so:CompositeRateUsedForAllowanceForFundsUsedDuringConstruction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000096 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Average AFUDC Composite Rates (Details)",
     "menuCat": "Details",
     "order": "96",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAverageAFUDCCompositeRatesDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Average AFUDC Composite Rates (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "so:AllowanceForFundsUsedDuringConstructionAndInterestCapitalizedCompositeRatesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i07a8c57d64de49a58126e64dd73a57af_I20221231",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "so:CompositeRateUsedForAllowanceForFundsUsedDuringConstruction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R97": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i2ea95150b679489dbb7cb60aeea8d32f_D20221001-20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillImpairmentLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000097 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Goodwill and Other Intangible Assets and Liabilities (Narrative) (Details)",
     "menuCat": "Details",
     "order": "97",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGoodwillandOtherIntangibleAssetsandLiabilitiesNarrativeDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Goodwill and Other Intangible Assets and Liabilities (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i2ea95150b679489dbb7cb60aeea8d32f_D20221001-20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillImpairmentLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R98": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfGoodwillTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:Goodwill",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000098 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Goodwill Balances (Details)",
     "menuCat": "Details",
     "order": "98",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofGoodwillBalancesDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Goodwill Balances (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfGoodwillTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i9c352eaa4e5646969625c343cc29e5dc_I20221231",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:Goodwill",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R99": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "us-gaap:ScheduleOfIndefiniteLivedIntangibleAssetsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000099 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Other Intangible Assets (Details)",
     "menuCat": "Details",
     "order": "99",
     "role": "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Other Intangible Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "us-gaap:ScheduleOfIndefiniteLivedIntangibleAssetsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "i0d67dc8cdde94eecae39ff5387b7e359_I20221231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R9999": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "so-20221231.htm",
      "contextRef": "ib718923c2f8b461c94a07de6168ef41c_D20210101-20211231",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxExpenseBenefit",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "",
     "isDefault": "false",
     "longName": "Uncategorized Items - so-20221231.htm",
     "menuCat": "Cover",
     "order": "239",
     "role": "http://xbrl.sec.gov/role/uncategorizedFacts",
     "shortName": "Uncategorized Items - so-20221231.htm",
     "subGroupType": "",
     "uniqueAnchor": null
    }
   },
   "segmentCount": 479,
   "tag": {
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AuditorFirmId": {
     "auth_ref": [
      "r1107",
      "r1108",
      "r1109"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PCAOB issued Audit Firm Identifier",
        "label": "Auditor Firm ID",
        "terseLabel": "Auditor Firm ID"
       }
      }
     },
     "localname": "AuditorFirmId",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/AuditInformation"
     ],
     "xbrltype": "nonemptySequenceNumberItemType"
    },
    "dei_AuditorLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor [Line Items]",
        "verboseLabel": "Auditor [Line Items]"
       }
      }
     },
     "localname": "AuditorLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/AuditInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_AuditorLocation": {
     "auth_ref": [
      "r1107",
      "r1108",
      "r1109"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location",
        "terseLabel": "Auditor Location"
       }
      }
     },
     "localname": "AuditorLocation",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/AuditInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_AuditorName": {
     "auth_ref": [
      "r1107",
      "r1108",
      "r1109"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name",
        "terseLabel": "Auditor Name"
       }
      }
     },
     "localname": "AuditorName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/AuditInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_AuditorTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor [Table]",
        "terseLabel": "Auditor [Table]"
       }
      }
     },
     "localname": "AuditorTable",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/AuditInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code",
        "terseLabel": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]",
        "terseLabel": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentAnnualReport": {
     "auth_ref": [
      "r1107",
      "r1108",
      "r1109"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an annual report.",
        "label": "Document Annual Report",
        "terseLabel": "Document Annual Report"
       }
      }
     },
     "localname": "DocumentAnnualReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Document Information [Line Items]",
        "terseLabel": "Document Information [Line Items]"
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package.",
        "label": "Document Information [Table]",
        "terseLabel": "Document Information [Table]"
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r1110"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_DocumentsIncorporatedByReferenceTextBlock": {
     "auth_ref": [
      "r1105"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Documents incorporated by reference.",
        "label": "Documents Incorporated by Reference [Text Block]",
        "terseLabel": "Documents Incorporated by Reference"
       }
      }
     },
     "localname": "DocumentsIncorporatedByReferenceTextBlock",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "textBlockItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r1104"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding (in shares)"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]",
        "terseLabel": "Entity [Domain]"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSDetailsofAROsIncludedintheBalanceSheetsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSFairValueIncreasesDecreasesoftheFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSInvestmentSecuritiesintheFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/AuditInformation",
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsGPCParenthetical",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/BalanceSheetsMPCParenthetical",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSBalanceSheetInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSGASEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSIncomeStatementInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSouthernCompanyDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESAPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGuaranteesDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/CoverPage",
      "http://southerncompany.com/role/DERIVATIVESCumulativeBasisAdjustmentsforFairValueHedgesDetails",
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails",
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails",
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSFinancialInstrumentsCarryingAmountNotEqualtoFairValueDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails",
      "http://southerncompany.com/role/FINANCINGDividendRestrictionsandStructuralConsiderationsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGNotesPayableDetails",
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails",
      "http://southerncompany.com/role/INCOMETAXESAmortizationofDeferredCreditsDetails",
      "http://southerncompany.com/role/INCOMETAXESChangesinUnrecognizedTaxBenefitsDetails",
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails",
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/INCOMETAXESFederalITCPTCCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails",
      "http://southerncompany.com/role/LEASESLeaseCostsDetails",
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails",
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails",
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails",
      "http://southerncompany.com/role/LEASESOtherInformationDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAssetsSubjecttoLienNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTCompositeStraightLineRatesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDeferredCloudImplementationCostsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTJointOwnershipAgreementsNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCAccountingOrdersandPlantGreeneCountyDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPNewPlantDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUnrecognizedRatemakingAmountsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUtilityRegulationandRateDesignDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCTariffsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCEnvironmentalComplianceOverviewPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITS401KPlanMatchingContributionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAccumulatedBenefitObligationDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSPerformanceObligationsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONAggregateIntrinsicValueforOptionsExercisedDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesCompensationCostsandRelatedTaxBenefitDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONScheduleofEmployeesParticipatinginStockBasedCompensationProgramsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofCreditRiskNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofRevenueNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESFinancialInstrumentsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGeneralNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGoodwillandOtherIntangibleAssetsandLiabilitiesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESIncomeandOtherTaxesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNaturalGasforSaleNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESRevenuesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAOCILossBalancesNetofTaxEffectsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAverageAFUDCCompositeRatesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofGoodwillBalancesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofTotalAFUDCandInterestCapitalizedDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTransmissionReceivablesPrepaymentsNarrativeDetails",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsAPCParenthetical",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPCParenthetical",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPCParenthetical",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPCParenthetical",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPCParenthetical",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPCParenthetical",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC",
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r1104"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r1104"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r1111"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityPublicFloat": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate market value of the voting and non-voting common equity held by non-affiliates computed by reference to the price at which the common equity was last sold, or the average bid and asked price of such common equity, as of the last business day of the registrant's most recently completed second fiscal quarter.",
        "label": "Entity Public Float",
        "terseLabel": "Entity Public Float"
       }
      }
     },
     "localname": "EntityPublicFloat",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "monetaryItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r1104"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r1104"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r1104"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r1104"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_EntityVoluntaryFilers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.",
        "label": "Entity Voluntary Filers",
        "terseLabel": "Entity Voluntary Filers"
       }
      }
     },
     "localname": "EntityVoluntaryFilers",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r1112"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well-known Seasoned Issuer",
        "terseLabel": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_IcfrAuditorAttestationFlag": {
     "auth_ref": [
      "r1107",
      "r1108",
      "r1109"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag",
        "terseLabel": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "localname": "IcfrAuditorAttestationFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]",
        "terseLabel": "Legal Entity [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSDetailsofAROsIncludedintheBalanceSheetsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSFairValueIncreasesDecreasesoftheFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSInvestmentSecuritiesintheFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/AuditInformation",
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsGPCParenthetical",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/BalanceSheetsMPCParenthetical",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSBalanceSheetInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSGASEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSIncomeStatementInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSouthernCompanyDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESAPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGuaranteesDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/CoverPage",
      "http://southerncompany.com/role/DERIVATIVESCumulativeBasisAdjustmentsforFairValueHedgesDetails",
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails",
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails",
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSFinancialInstrumentsCarryingAmountNotEqualtoFairValueDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails",
      "http://southerncompany.com/role/FINANCINGDividendRestrictionsandStructuralConsiderationsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGNotesPayableDetails",
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails",
      "http://southerncompany.com/role/INCOMETAXESAmortizationofDeferredCreditsDetails",
      "http://southerncompany.com/role/INCOMETAXESChangesinUnrecognizedTaxBenefitsDetails",
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails",
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/INCOMETAXESFederalITCPTCCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails",
      "http://southerncompany.com/role/LEASESLeaseCostsDetails",
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails",
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails",
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails",
      "http://southerncompany.com/role/LEASESOtherInformationDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAssetsSubjecttoLienNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTCompositeStraightLineRatesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDeferredCloudImplementationCostsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTJointOwnershipAgreementsNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCAccountingOrdersandPlantGreeneCountyDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPNewPlantDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUnrecognizedRatemakingAmountsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUtilityRegulationandRateDesignDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCTariffsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCEnvironmentalComplianceOverviewPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITS401KPlanMatchingContributionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAccumulatedBenefitObligationDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSPerformanceObligationsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONAggregateIntrinsicValueforOptionsExercisedDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesCompensationCostsandRelatedTaxBenefitDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONScheduleofEmployeesParticipatinginStockBasedCompensationProgramsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofCreditRiskNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofRevenueNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESFinancialInstrumentsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGeneralNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGoodwillandOtherIntangibleAssetsandLiabilitiesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESIncomeandOtherTaxesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNaturalGasforSaleNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESRevenuesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAOCILossBalancesNetofTaxEffectsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAverageAFUDCCompositeRatesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofGoodwillBalancesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofTotalAFUDCandInterestCapitalizedDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTransmissionReceivablesPrepaymentsNarrativeDetails",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsAPCParenthetical",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPCParenthetical",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPCParenthetical",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPCParenthetical",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPCParenthetical",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPCParenthetical",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC",
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r1103"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r1106"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "so_A2019AlternateRatePlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "2019 Alternate Rate Plan",
        "label": "2019 Alternate Rate Plan [Member]",
        "terseLabel": "2019 Alternate Rate Plan"
       }
      }
     },
     "localname": "A2019AlternateRatePlanMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_A2019SeriesAEquityUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "2019 Series A Equity Units",
        "label": "2019 Series A Equity Units [Member]",
        "terseLabel": "2019 Series A Equity Units"
       }
      }
     },
     "localname": "A2019SeriesAEquityUnitsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGEquityUnitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_A2022AlternateRatePlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "2022 Alternate Rate Plan",
        "label": "2022 Alternate Rate Plan [Member]",
        "terseLabel": "2022 Alternate Rate Plan"
       }
      }
     },
     "localname": "A2022AlternateRatePlanMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ATTMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "AT&amp;T",
        "label": "AT&amp;T [Member]",
        "terseLabel": "AT&amp;T"
       }
      }
     },
     "localname": "ATTMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESAPCLitigationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_AcceleratedDepreciationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accelerated depreciation.",
        "label": "Accelerated Depreciation [Member]",
        "verboseLabel": "Accelerated depreciation"
       }
      }
     },
     "localname": "AcceleratedDepreciationMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_AccumulatedDeferredTaxAssets": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredTaxLiabilities",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated Deferred Tax Assets",
        "label": "Accumulated Deferred Tax Assets",
        "negatedLabel": "Accumulated deferred income taxes \u2013 assets"
       }
      }
     },
     "localname": "AccumulatedDeferredTaxAssets",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AccumulatedDeferredTaxLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated Deferred Tax Liabilities",
        "label": "Accumulated Deferred Tax Liabilities",
        "terseLabel": "Accumulated deferred income taxes \u2013 liabilities"
       }
      }
     },
     "localname": "AccumulatedDeferredTaxLiabilities",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AccumulatedDefinedBenefitPlansAdjustmentAmortizationOfRegulatoryAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated Defined Benefit Plans Adjustment, Amortization Of Regulatory Assets [Member]",
        "label": "Accumulated Defined Benefit Plans Adjustment, Amortization Of Regulatory Assets [Member]",
        "terseLabel": "Amortization of regulatory assets"
       }
      }
     },
     "localname": "AccumulatedDefinedBenefitPlansAdjustmentAmortizationOfRegulatoryAssetsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_AccumulatedProvisionsForDecommissioning": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated Provisions for Decommissioning.",
        "label": "Accumulated Provisions for Decommissioning",
        "terseLabel": "Accumulated provisions for decommissioning"
       }
      }
     },
     "localname": "AccumulatedProvisionsForDecommissioning",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AccumulatedProvisionsForDecommissioningExternalTrustFundsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated Provisions For Decommissioning External Trust Funds.",
        "label": "Accumulated Provisions for Decommissioning External Trust Funds [Member]",
        "terseLabel": "External decommissioning trust funds"
       }
      }
     },
     "localname": "AccumulatedProvisionsForDecommissioningExternalTrustFundsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_AccumulatedProvisionsForDecommissioningInternalReservesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated Provisions For Decommissioning Internal Reserves.",
        "label": "Accumulated Provisions for Decommissioning Internal Reserves [Member]",
        "terseLabel": "Internal reserves"
       }
      }
     },
     "localname": "AccumulatedProvisionsForDecommissioningInternalReservesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_AccumulatedProvisionsForDecommissioningTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated provisions for decommissioning.",
        "label": "Accumulated Provisions for Decommissioning [Table Text Block]",
        "terseLabel": "Accumulated provisions for the external decommissioning trust funds"
       }
      }
     },
     "localname": "AccumulatedProvisionsForDecommissioningTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_AdValoremTaxAdjustmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ad Valorem Tax Adjustment",
        "label": "Ad Valorem Tax Adjustment [Member]",
        "terseLabel": "Ad Valorem Tax Adjustment"
       }
      }
     },
     "localname": "AdValoremTaxAdjustmentMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_AdditionalConstructionCapitalCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional Construction Capital Costs",
        "label": "Additional Construction Capital Costs",
        "terseLabel": "Additional construction capital costs"
       }
      }
     },
     "localname": "AdditionalConstructionCapitalCosts",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AdditionalConstructionCapitalCostsThreshold": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional Construction Capital Costs, Threshold",
        "label": "Additional Construction Capital Costs, Threshold",
        "terseLabel": "Additional construction capital costs, threshold"
       }
      }
     },
     "localname": "AdditionalConstructionCapitalCostsThreshold",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AdditionalGeneratingCapacityPetitionedMegawattsTotal": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional Generating Capacity, Petitioned Megawatts, Total",
        "label": "Additional Generating Capacity, Petitioned Megawatts, Total",
        "terseLabel": "Additional generating capacity, petitioned megawatts, total"
       }
      }
     },
     "localname": "AdditionalGeneratingCapacityPetitionedMegawattsTotal",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails"
     ],
     "xbrltype": "powerItemType"
    },
    "so_AdjustingPointOfWeightedCostOfEquity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjusting Point Of Weighted Cost Of Equity",
        "label": "Adjusting Point Of Weighted Cost Of Equity",
        "terseLabel": "Adjusting point of weighted cost of equity"
       }
      }
     },
     "localname": "AdjustingPointOfWeightedCostOfEquity",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_AdjustmentToFuelCostRecoveryRateIfUnderRecoveredFuelBalanceExceedsBudgetThereafter": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustment To Fuel Cost Recovery Rate If Under Recovered Fuel Balance Exceeds Budget Thereafter",
        "label": "Adjustment To Fuel Cost Recovery Rate If Under Recovered Fuel Balance Exceeds Budget Thereafter",
        "terseLabel": "Adjustment to fuel cost recovery rate if under recovered fuel balance exceeds budget thereafter"
       }
      }
     },
     "localname": "AdjustmentToFuelCostRecoveryRateIfUnderRecoveredFuelBalanceExceedsBudgetThereafter",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AfterTaxChargeToIncome": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "After Tax Charge To Income",
        "label": "After Tax Charge To Income",
        "terseLabel": "After tax charge to income"
       }
      }
     },
     "localname": "AfterTaxChargeToIncome",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AfudcEquity": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": -1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "AFUDC equity.",
        "label": "AFUDC Equity",
        "negatedLabel": "AFUDC-Equity"
       }
      }
     },
     "localname": "AfudcEquity",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_AggregatePaymentForClaimsResultingFromTerroristActsInOneYearPeriod": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate Payment For Claims Resulting From Terrorist Acts In One Year Period",
        "label": "Aggregate Payment For Claims Resulting From Terrorist Acts In One Year Period",
        "verboseLabel": "Aggregate payment for claims resulting from terrorist acts in one year period"
       }
      }
     },
     "localname": "AggregatePaymentForClaimsResultingFromTerroristActsInOneYearPeriod",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AlabamaPowerAndGeorgiaPowerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Alabama Power And Georgia Power [Member]",
        "label": "Alabama Power And Georgia Power [Member]",
        "terseLabel": "Alabama Power and Georgia Power"
       }
      }
     },
     "localname": "AlabamaPowerAndGeorgiaPowerMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_AlabamaPowerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Alabama Power.",
        "label": "Alabama Power [Member]",
        "verboseLabel": "Alabama Power"
       }
      }
     },
     "localname": "AlabamaPowerMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSDetailsofAROsIncludedintheBalanceSheetsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSFairValueIncreasesDecreasesoftheFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSInvestmentSecuritiesintheFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/AuditInformation",
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESAPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGuaranteesDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails",
      "http://southerncompany.com/role/CoverPage",
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails",
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails",
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSFinancialInstrumentsCarryingAmountNotEqualtoFairValueDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails",
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails",
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/INCOMETAXESFederalITCPTCCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails",
      "http://southerncompany.com/role/LEASESLeaseCostsDetails",
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails",
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails",
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails",
      "http://southerncompany.com/role/LEASESOtherInformationDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTCompositeStraightLineRatesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDeferredCloudImplementationCostsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCAccountingOrdersandPlantGreeneCountyDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPNewPlantDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITS401KPlanMatchingContributionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAccumulatedBenefitObligationDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSPerformanceObligationsDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONAggregateIntrinsicValueforOptionsExercisedDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONScheduleofEmployeesParticipatinginStockBasedCompensationProgramsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESFinancialInstrumentsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAverageAFUDCCompositeRatesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofTotalAFUDCandInterestCapitalizedDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsAPCParenthetical",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPCParenthetical",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_AllowanceForFundsUsedDuringConstructionAndInterestCapitalizedCompositeRatesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance For Funds Used During Construction And Interest Capitalized, Composite Rates [Table Text Block]",
        "label": "Allowance For Funds Used During Construction And Interest Capitalized, Composite Rates [Table Text Block]",
        "terseLabel": "Schedule of average AFUDC composite rates"
       }
      }
     },
     "localname": "AllowanceForFundsUsedDuringConstructionAndInterestCapitalizedCompositeRatesTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_AllowanceForFundsUsedDuringConstructionAndInterestCapitalizedPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance for Funds Used During Construction and Interest Capitalized.",
        "label": "Allowance for Funds Used During Construction and Interest Capitalized [Policy Text Block]",
        "verboseLabel": "Allowance for Funds Used During Construction and Interest Capitalized"
       }
      }
     },
     "localname": "AllowanceForFundsUsedDuringConstructionAndInterestCapitalizedPolicyTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_AllowanceForFundsUsedDuringConstructionAndInterestCapitalizedTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance For Funds Used During Construction And Interest Capitalized [Table Text Block]",
        "label": "Allowance For Funds Used During Construction And Interest Capitalized [Table Text Block]",
        "terseLabel": "Schedule of total AFUDC and interest capitalized"
       }
      }
     },
     "localname": "AllowanceForFundsUsedDuringConstructionAndInterestCapitalizedTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_AllowanceForFundsUsedDuringConstructionCapitalizedInterestAccrued": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance For Funds Used During Construction, Capitalized Interest Accrued",
        "label": "Allowance For Funds Used During Construction, Capitalized Interest Accrued",
        "terseLabel": "Total AFUDC and interest capitalized, accrual amount"
       }
      }
     },
     "localname": "AllowanceForFundsUsedDuringConstructionCapitalizedInterestAccrued",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AmendmentToEstimatedInserviceCapitalCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment To Estimated In-service Capital Cost",
        "label": "Amendment To Estimated In-service Capital Cost",
        "terseLabel": "Amendment to estimated in-service capital cost"
       }
      }
     },
     "localname": "AmendmentToEstimatedInserviceCapitalCost",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AmortizationOfDeferredInvestmentTaxCredits": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortization of deferred investment tax credits.",
        "label": "Amortization of Deferred Investment Tax Credits",
        "negatedTerseLabel": "Amortization of investment tax credits",
        "verboseLabel": "Amortization of deferred investment tax credits"
       }
      }
     },
     "localname": "AmortizationOfDeferredInvestmentTaxCredits",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/INCOMETAXESAmortizationofDeferredCreditsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AmortizationPeriodForLineOfCreditFacility": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortization Period For Line Of Credit Facility",
        "label": "Amortization Period For Line Of Credit Facility",
        "terseLabel": "Amortization period"
       }
      }
     },
     "localname": "AmortizationPeriodForLineOfCreditFacility",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_AmountExpensedForRateMakingPurpose": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount expensed for rate making purpose.",
        "label": "Amount Expensed for Rate Making Purpose",
        "terseLabel": "Annual decommissioning cost for ratemaking"
       }
      }
     },
     "localname": "AmountExpensedForRateMakingPurpose",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AmountOfVariableRatePollutionControlRevenueBondsOutstandingRequiringLiquiditySupport": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of variable rate pollution control revenue bonds outstanding requiring liquidity support.",
        "label": "Amount of Variable Rate Pollution Control Revenue Bonds Outstanding Requiring Liquidity Support",
        "terseLabel": "Amount of variable rate pollution control revenue bonds outstanding requiring liquidity support"
       }
      }
     },
     "localname": "AmountOfVariableRatePollutionControlRevenueBondsOutstandingRequiringLiquiditySupport",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AnnualBaseRateAdjustmentCompensationCostsExcluded": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Annual Base Rate Adjustment, Compensation Costs Excluded",
        "label": "Annual Base Rate Adjustment, Compensation Costs Excluded",
        "terseLabel": "Annual base rate adjustment, compensation costs excluded"
       }
      }
     },
     "localname": "AnnualBaseRateAdjustmentCompensationCostsExcluded",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AnnualBaseRateAdjustmentIncreaseInDepreciation": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Annual Base Rate Adjustment, Increase In Depreciation",
        "label": "Annual Base Rate Adjustment, Increase In Depreciation",
        "terseLabel": "Annual base rate adjustment, increase in depreciation"
       }
      }
     },
     "localname": "AnnualBaseRateAdjustmentIncreaseInDepreciation",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AnnualDividendPreferredAndPreferenceStock": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Annual dividend preferred and preference stock.",
        "label": "Annual Dividend Preferred and Preference Stock",
        "verboseLabel": "Annual dividend requirement"
       }
      }
     },
     "localname": "AnnualDividendPreferredAndPreferenceStock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AnnualProceedsfromStrategicEconomicDevelopmentProjects": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Annual Proceeds from Strategic Economic Development Projects",
        "label": "Annual Proceeds from Strategic Economic Development Projects",
        "terseLabel": "Annual proceeds from strategic economic development projects"
       }
      }
     },
     "localname": "AnnualProceedsfromStrategicEconomicDevelopmentProjects",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_ApprovedIncreaseDecreaseInAnnualBillingBasedOnFuelCostRecoveryRate": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Approved increase (decrease) in annual billing based on fuel cost recovery rate.",
        "label": "Approved Increase (Decrease) in Annual Billing Based on Fuel Cost Recovery Rate",
        "negatedLabel": "Approved decrease in annual billing based on fuel cost recovery rate"
       }
      }
     },
     "localname": "ApprovedIncreaseDecreaseInAnnualBillingBasedOnFuelCostRecoveryRate",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_ApprovedInfrastructureReplacementProgramApprovedInvestmentAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Approved Infrastructure Replacement Program, Approved Investment Amount",
        "label": "Approved Infrastructure Replacement Program, Approved Investment Amount",
        "terseLabel": "Approved infrastructure replacement program, approved investment amount, current fiscal year"
       }
      }
     },
     "localname": "ApprovedInfrastructureReplacementProgramApprovedInvestmentAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_ApproximateNameplateCapacity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Approximate Nameplate Capacity",
        "label": "Approximate Nameplate Capacity",
        "terseLabel": "Approximate Nameplate Capacity (MW)",
        "verboseLabel": "Approximate nameplate capacity (in MWs)"
       }
      }
     },
     "localname": "ApproximateNameplateCapacity",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails"
     ],
     "xbrltype": "powerItemType"
    },
    "so_AssetImpairmentChargesNetOfTax": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset Impairment Charges, Net Of Tax",
        "label": "Asset Impairment Charges, Net Of Tax",
        "terseLabel": "Impairment charges, after tax"
       }
      }
     },
     "localname": "AssetImpairmentChargesNetOfTax",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSGASEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AssetImpairmentChargesOperatingActivities": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset Impairment Charges, Operating Activities",
        "label": "Asset Impairment Charges, Operating Activities",
        "verboseLabel": "Impairment charges"
       }
      }
     },
     "localname": "AssetImpairmentChargesOperatingActivities",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_AssetRetirementObligationFrequencyOfDecommissioningCostsEstimates": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset Retirement Obligation, Frequency Of Decommissioning Costs Estimates",
        "label": "Asset Retirement Obligation, Frequency Of Decommissioning Costs Estimates",
        "terseLabel": "Site-specific estimate of decommissioning costs, period of updates made"
       }
      }
     },
     "localname": "AssetRetirementObligationFrequencyOfDecommissioningCostsEstimates",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_AssetRetirementObligationLiabilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset Retirement Obligation Liability.",
        "label": "Asset Retirement Obligation Liability [Member]",
        "terseLabel": "AROs"
       }
      }
     },
     "localname": "AssetRetirementObligationLiabilityMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_AssetsAndLiabilitiesFinanceLeaseLesseeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assets And Liabilities, Finance Lease, Lessee [Abstract]",
        "label": "Assets And Liabilities, Finance Lease, Lessee [Abstract]",
        "terseLabel": "Finance Leases"
       }
      }
     },
     "localname": "AssetsAndLiabilitiesFinanceLeaseLesseeAbstract",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_AssetsAndLiabilitiesLesseeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assets And Liabilities, Lessee [Table Text Block]",
        "label": "Assets And Liabilities, Lessee [Table Text Block]",
        "terseLabel": "Balance sheet amounts recorded for operating and financing leases"
       }
      }
     },
     "localname": "AssetsAndLiabilitiesLesseeTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_AssetsAndLiabilitiesOperatingLeaseLesseeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assets And Liabilities, Operating Lease, Lessee [Abstract]",
        "label": "Assets And Liabilities, Operating Lease, Lessee [Abstract]",
        "terseLabel": "Operating Leases"
       }
      }
     },
     "localname": "AssetsAndLiabilitiesOperatingLeaseLesseeAbstract",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_AssetsFairValueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assets Fair Value.",
        "label": "Assets Fair Value [Abstract]",
        "verboseLabel": "Assets:"
       }
      }
     },
     "localname": "AssetsFairValueAbstract",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_AssetsFromRiskManagementActivitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assets From Risk Management Activities [Member]",
        "label": "Assets From Risk Management Activities [Member]",
        "terseLabel": "Assets from risk management activities"
       }
      }
     },
     "localname": "AssetsFromRiskManagementActivitiesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_AssetsSubjectToPowerPurchaseAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assets Subject to Power Purchase Agreement",
        "label": "Assets Subject to Power Purchase Agreement [Member]",
        "terseLabel": "Assets Subject to Power Purchase Agreement"
       }
      }
     },
     "localname": "AssetsSubjectToPowerPurchaseAgreementMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails",
      "http://southerncompany.com/role/LEASESLeaseCostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_AtlantaGasLightMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Atlanta Gas Light.",
        "label": "Atlanta Gas Light [Member]",
        "terseLabel": "Atlanta Gas Light"
       }
      }
     },
     "localname": "AtlantaGasLightMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUnrecognizedRatemakingAmountsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUtilityRegulationandRateDesignDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofCreditRiskNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAverageAFUDCCompositeRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_AtlanticCoastPipelineMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Atlantic Coast Pipeline.",
        "label": "Atlantic Coast Pipeline [Member]",
        "terseLabel": "Atlantic Coast Pipeline"
       }
      }
     },
     "localname": "AtlanticCoastPipelineMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSIncomeStatementInformationDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_AuditInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Audit Information",
        "label": "Audit Information [Abstract]",
        "terseLabel": "Audit Information [Abstract]"
       }
      }
     },
     "localname": "AuditInformationAbstract",
     "nsuri": "http://southerncompany.com/20221231",
     "xbrltype": "stringItemType"
    },
    "so_BankCreditArrangementsNoTermLoanDueWithInOneYear": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bank credit arrangements no term loan due with in one year.",
        "label": "Bank Credit Arrangements No Term Loan Due with in One Year",
        "verboseLabel": "Due within One Year"
       }
      }
     },
     "localname": "BankCreditArrangementsNoTermLoanDueWithInOneYear",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_BaseRateCaseFilingMeasurementInputAverageEquityRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Base Rate Case Filing, Measurement Input, Average Equity Ratio",
        "label": "Base Rate Case Filing, Measurement Input, Average Equity Ratio",
        "terseLabel": "Base rate case filing, measurement input, average equity ratio"
       }
      }
     },
     "localname": "BaseRateCaseFilingMeasurementInputAverageEquityRatio",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_BaseRateCaseFilingMeasurementInputMaximumEquityRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Base Rate Case Filing, Measurement Input, Maximum Equity Ratio",
        "label": "Base Rate Case Filing, Measurement Input, Maximum Equity Ratio",
        "terseLabel": "Base rate case filing, measurement input, maximum equity ratio"
       }
      }
     },
     "localname": "BaseRateCaseFilingMeasurementInputMaximumEquityRatio",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_BaseRateCaseFilingMeasurementInputReturnOnInvestment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Base Rate Case Filing, Measurement Input, Return On Investment",
        "label": "Base Rate Case Filing, Measurement Input, Return On Investment",
        "terseLabel": "Base rate case filing, measurement input, return on investment"
       }
      }
     },
     "localname": "BaseRateCaseFilingMeasurementInputReturnOnInvestment",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_BeechRidgeIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Beech Ridge II [Member]",
        "label": "Beech Ridge II [Member]",
        "terseLabel": "Beech Ridge II(b)"
       }
      }
     },
     "localname": "BeechRidgeIIMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_BiomassGenerationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Biomass Generation",
        "label": "Biomass Generation [Member]",
        "terseLabel": "Biomass Generation"
       }
      }
     },
     "localname": "BiomassGenerationMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_BlockPeriodConsideredForInflationAdjustmentAgainstMaximumAssessmentPerReactor": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Block Period Considered For Inflation Adjustment Against Maximum Assessment Per Reactor",
        "label": "Block Period Considered For Inflation Adjustment Against Maximum Assessment Per Reactor",
        "verboseLabel": "Block period considered for inflation adjustment against maximum assessment per reactor"
       }
      }
     },
     "localname": "BlockPeriodConsideredForInflationAdjustmentAgainstMaximumAssessmentPerReactor",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_BusinessCombinationOptionToPurchasePeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business Combination, Option To Purchase, Period",
        "label": "Business Combination, Option To Purchase, Period",
        "terseLabel": "Business combination, option to purchase, period"
       }
      }
     },
     "localname": "BusinessCombinationOptionToPurchasePeriod",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_CCRAssetRetirementObligationsCostMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CCR Asset Retirement Obligations Cost",
        "label": "CCR Asset Retirement Obligations Cost [Member]",
        "terseLabel": "CCR AROs"
       }
      }
     },
     "localname": "CCRAssetRetirementObligationsCostMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_COVID19Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "COVID-19 [Member]",
        "label": "COVID-19 [Member]",
        "terseLabel": "COVID-19"
       }
      }
     },
     "localname": "COVID19Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_CalhounGeneratingStationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Calhoun Generating Station",
        "label": "Calhoun Generating Station [Member]",
        "terseLabel": "Calhoun Generating Station"
       }
      }
     },
     "localname": "CalhounGeneratingStationMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_CalhounPowerCompanyLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Calhoun Power Company, LLC",
        "label": "Calhoun Power Company, LLC [Member]",
        "terseLabel": "Calhoun Power Company, LLC"
       }
      }
     },
     "localname": "CalhounPowerCompanyLLCMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_CapacityOfUnitsIncludedInRequestForDecertificationOfUnits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capacity Of Units Included In request for decertify coal and oil-fired plants.",
        "label": "Capacity Of Units Included In Request For Decertification Of Units",
        "terseLabel": "Capacity of units included in request for decertification of units"
       }
      }
     },
     "localname": "CapacityOfUnitsIncludedInRequestForDecertificationOfUnits",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "powerItemType"
    },
    "so_CapacityPayments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capacity Payments",
        "label": "Capacity Payments",
        "terseLabel": "Capacity payments"
       }
      }
     },
     "localname": "CapacityPayments",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_CapitalContributionsFromToParentCompany": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital Contributions From (To) Parent Company",
        "label": "Capital Contributions From (To) Parent Company",
        "terseLabel": "Capital contributions from parent company"
       }
      }
     },
     "localname": "CapitalContributionsFromToParentCompany",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_CashEquivalentsAndOtherMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash equivalents and other.",
        "label": "Cash Equivalents and Other [Member]",
        "verboseLabel": "Cash equivalents and other"
       }
      }
     },
     "localname": "CashEquivalentsAndOtherMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_CashFlowAndFairValueHedgingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash flow and fair value hedging.",
        "label": "Cash Flow and Fair Value Hedging [Member]",
        "terseLabel": "Cash Flow and Fair Value Hedging"
       }
      }
     },
     "localname": "CashFlowAndFairValueHedgingMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_CashFlowHedgesOfExistingDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash Flow Hedges Of Existing Debt [Member]",
        "label": "Cash Flow Hedges Of Existing Debt [Member]",
        "terseLabel": "Cash Flow Hedges of Forecasted Debt"
       }
      }
     },
     "localname": "CashFlowHedgesOfExistingDebtMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_CashFlowLesseeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash Flow, Lessee [Abstract]",
        "label": "Cash Flow, Lessee [Abstract]",
        "terseLabel": "Cash paid for amounts included in the measurements of lease obligations:"
       }
      }
     },
     "localname": "CashFlowLesseeAbstract",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESOtherInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_CategoryIIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category III [Member]",
        "label": "Category III [Member]",
        "terseLabel": "Category III"
       }
      }
     },
     "localname": "CategoryIIIMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_CategoryIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category II [Member]",
        "label": "Category II [Member]",
        "terseLabel": "Category II"
       }
      }
     },
     "localname": "CategoryIIMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_CategoryIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category I [Member]",
        "label": "Category I [Member]",
        "terseLabel": "Category I"
       }
      }
     },
     "localname": "CategoryIMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_CentralAlabamaGeneratingStationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Central Alabama Generating Station",
        "label": "Central Alabama Generating Station [Member]",
        "terseLabel": "Central Alabama Generating Station"
       }
      }
     },
     "localname": "CentralAlabamaGeneratingStationMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_CertificatedNewPlantRevenueRequirementIncrease": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Certificated New Plant, Revenue Requirement Increase",
        "label": "Certificated New Plant, Revenue Requirement Increase",
        "terseLabel": "Increase to annual revenue requirement"
       }
      }
     },
     "localname": "CertificatedNewPlantRevenueRequirementIncrease",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPNewPlantDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_CertificatedNewPlantRevenueRequirementIncreasePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Certificated New Plant, Revenue Requirement Increase, Percentage",
        "label": "Certificated New Plant, Revenue Requirement Increase, Percentage",
        "terseLabel": "Increase to annual revenue requirement, percentage"
       }
      }
     },
     "localname": "CertificatedNewPlantRevenueRequirementIncreasePercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPNewPlantDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_ChangeInConstructionPayables": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net change during the reporting period in the aggregate amount of construction obligations due within one year (or one business cycle). This includes accounts payable related to construction activities.",
        "label": "Change in Construction Payables",
        "verboseLabel": "Change in construction payables, net"
       }
      }
     },
     "localname": "ChangeInConstructionPayables",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_ChangeInConstructionPayablesNetOfJointOwnerPortion": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net change during the reporting period in the aggregate amount of construction obligations due within one year (or one business cycle) net of joint owner portion. This includes accounts payable related to construction activities.",
        "label": "Change in Construction Payables Net of Joint Owner Portion",
        "terseLabel": "Change in construction payables",
        "verboseLabel": "Change in construction payables, net of joint owner portion"
       }
      }
     },
     "localname": "ChangeInConstructionPayablesNetOfJointOwnerPortion",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_ChattanoogaGasMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Chattanooga Gas [Member]",
        "label": "Chattanooga Gas [Member]",
        "terseLabel": "Chattanooga Gas"
       }
      }
     },
     "localname": "ChattanoogaGasMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUnrecognizedRatemakingAmountsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUtilityRegulationandRateDesignDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAverageAFUDCCompositeRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ChevronProductsCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Chevron Products Company [Member]",
        "label": "Chevron Products Company [Member]",
        "verboseLabel": "Chevron"
       }
      }
     },
     "localname": "ChevronProductsCompanyMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAssetsSubjecttoLienNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ClassActionLawsuitMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class Action Lawsuit",
        "label": "Class Action Lawsuit [Member]",
        "terseLabel": "Class Action Lawsuit"
       }
      }
     },
     "localname": "ClassActionLawsuitMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGPCLitigationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ClassBMembershipInterestMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class B Membership Interest [Member]",
        "label": "Class B Membership Interest [Member]",
        "terseLabel": "Class B Membership Interest"
       }
      }
     },
     "localname": "ClassBMembershipInterestMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_CogenerationAssetsNet": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Co-generation Assets, Net",
        "label": "Co-generation Assets, Net",
        "terseLabel": "Net book value of co-generation assets"
       }
      }
     },
     "localname": "CogenerationAssetsNet",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAssetsSubjecttoLienNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_CommitmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "[Line Items] for Commitments [Table]",
        "label": "Commitments [Line Items]",
        "terseLabel": "Commitments [Line Items]"
       }
      }
     },
     "localname": "CommitmentsLineItems",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_CommitmentsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commitments [Table]",
        "label": "Commitments [Table]",
        "terseLabel": "Commitments [Table]"
       }
      }
     },
     "localname": "CommitmentsTable",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_CommonStockConversionPrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common Stock, Conversion Price",
        "label": "Common Stock, Conversion Price",
        "terseLabel": "Shares converted (in dollars per share)"
       }
      }
     },
     "localname": "CommonStockConversionPrice",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "so_CommonStockTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock.",
        "label": "Common Stock [Text Block]",
        "terseLabel": "STOCK COMPENSATION"
       }
      }
     },
     "localname": "CommonStockTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATION"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_CommonStockholdersEquityNotIncludingNoncontrollingInterestMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common Stockholder's Equity Not Including Noncontrolling Interest [Member]",
        "label": "Common Stockholder's Equity Not Including Noncontrolling Interest [Member]",
        "terseLabel": "Total Common Stockholder's Equity"
       }
      }
     },
     "localname": "CommonStockholdersEquityNotIncludingNoncontrollingInterestMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC"
     ],
     "xbrltype": "domainItemType"
    },
    "so_CommunicationTowersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Communication Towers [Member]",
        "label": "Communication Towers [Member]",
        "terseLabel": "Communication towers"
       }
      }
     },
     "localname": "CommunicationTowersMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ComponentOfOtherIncomeNonoperatingAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Component of Other Income, Nonoperating [Axis]",
        "label": "Component of Other Income, Nonoperating [Axis]",
        "terseLabel": "Component of Other Income, Nonoperating [Axis]"
       }
      }
     },
     "localname": "ComponentOfOtherIncomeNonoperatingAxis",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSFairValueIncreasesDecreasesoftheFundsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_ComponentOfOtherIncomeNonoperatingDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "[Domain] for Component of Other Income, Nonoperating [Axis]",
        "label": "Component of Other Income, Nonoperating [Domain]",
        "terseLabel": "Component of Other Income, Nonoperating [Domain]"
       }
      }
     },
     "localname": "ComponentOfOtherIncomeNonoperatingDomain",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSFairValueIncreasesDecreasesoftheFundsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ComponentofOtherOperatingCostandExpenseAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Component of Other Operating Cost and Expense [Axis]",
        "label": "Component of Other Operating Cost and Expense [Axis]",
        "terseLabel": "Component of Other Operating Cost and Expense [Axis]"
       }
      }
     },
     "localname": "ComponentofOtherOperatingCostandExpenseAxis",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_ComponentofOtherOperatingCostandExpenseDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "[Domain] for Component of Other Operating Cost and Expense [Axis]",
        "label": "Component of Other Operating Cost and Expense [Domain]",
        "terseLabel": "Component of Other Operating Cost and Expense [Domain]"
       }
      }
     },
     "localname": "ComponentofOtherOperatingCostandExpenseDomain",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ComponentsOfIncomeFromLeveragedLeaseTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of income from leveraged lease.",
        "label": "Components of Income from Leveraged Lease [Table Text Block]",
        "verboseLabel": "Summary of the components of income from leveraged leases"
       }
      }
     },
     "localname": "ComponentsOfIncomeFromLeveragedLeaseTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_ComponentsOfOtherComprehensiveIncomeAlongWithChangesInBalancesOfRegulatoryAssetsAndRegulatoryLiabilitiesRelatedToDefinedBenefitPensionPlansTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of other comprehensive income along with changes in balances of regulatory assets and regulatory liabilities related to defined benefit pension plans.",
        "label": "Components of Other Comprehensive Income Along with Changes in Balances of Regulatory Assets and Regulatory Liabilities Related to Defined Benefit Pension Plans [Table Text Block]",
        "verboseLabel": "Changes in balances of regulatory assets and regulatory liabilities related to defined benefit pension plans"
       }
      }
     },
     "localname": "ComponentsOfOtherComprehensiveIncomeAlongWithChangesInBalancesOfRegulatoryAssetsAndRegulatoryLiabilitiesRelatedToDefinedBenefitPensionPlansTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_CompositeRateUsedForAllowanceForFundsUsedDuringConstruction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Composite Rate Used For Allowance For Funds Used During Construction",
        "label": "Composite Rate Used For Allowance For Funds Used During Construction",
        "terseLabel": "Composite rate"
       }
      }
     },
     "localname": "CompositeRateUsedForAllowanceForFundsUsedDuringConstruction",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAverageAFUDCCompositeRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_ConcentrationRiskNumberOfCustomers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Concentration Risk, Number of Customers.",
        "label": "Concentration Risk, Number of Customers",
        "terseLabel": "Number of customers in Georgia"
       }
      }
     },
     "localname": "ConcentrationRiskNumberOfCustomers",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofCreditRiskNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_ConstructionInProgressWorkInProgress": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Construction in Progress, Work In Progress",
        "label": "Construction in Progress, Work In Progress",
        "terseLabel": "Construction in progress, work in progress amount"
       }
      }
     },
     "localname": "ConstructionInProgressWorkInProgress",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_ContinuingLetterOfCreditFacilityAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Continuing Letter of Credit Facility A",
        "label": "Continuing Letter of Credit Facility A [Member]",
        "terseLabel": "Continuing Letter of Credit Facility A"
       }
      }
     },
     "localname": "ContinuingLetterOfCreditFacilityAMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ContinuingLetterOfCreditFacilityBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Continuing Letter of Credit Facility B",
        "label": "Continuing Letter of Credit Facility B [Member]",
        "terseLabel": "Continuing Letter of Credit Facility B"
       }
      }
     },
     "localname": "ContinuingLetterOfCreditFacilityBMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ContractWithCustomerLiabilityBillCredits": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contract With Customer, Liability, Bill Credits",
        "label": "Contract With Customer, Liability, Bill Credits",
        "terseLabel": "Contract with customer, liability, bill credits"
       }
      }
     },
     "localname": "ContractWithCustomerLiabilityBillCredits",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_CooperativeEnergyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cooperative Energy [Member]",
        "label": "Cooperative Energy [Member]",
        "terseLabel": "Cooperative Energy"
       }
      }
     },
     "localname": "CooperativeEnergyMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_CostCategoryAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost Category [Axis]",
        "label": "Cost Category [Axis]",
        "terseLabel": "Cost Category [Axis]"
       }
      }
     },
     "localname": "CostCategoryAxis",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_CostCategoryDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost Category",
        "label": "Cost Category [Domain]",
        "terseLabel": "Cost Category [Domain]"
       }
      }
     },
     "localname": "CostCategoryDomain",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_CostOfNaturalGasPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost Of Natural Gas, Policy [Policy Text Block]",
        "label": "Cost Of Natural Gas, Policy [Policy Text Block]",
        "terseLabel": "Cost of Natural Gas"
       }
      }
     },
     "localname": "CostOfNaturalGasPolicyPolicyTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_CostSettlementAgreementRevisedForecastNetOfPayments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost Settlement Agreement Revised Forecast, Net Of Payments",
        "label": "Cost Settlement Agreement Revised Forecast, Net Of Payments",
        "terseLabel": "Project capital cost forecast"
       }
      }
     },
     "localname": "CostSettlementAgreementRevisedForecastNetOfPayments",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_CostofNaturalGasMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost of Natural Gas [Member]",
        "label": "Cost of Natural Gas [Member]",
        "terseLabel": "Cost of natural gas"
       }
      }
     },
     "localname": "CostofNaturalGasMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_CostsDisallowedForRecoveryPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Costs Disallowed For Recovery, Period",
        "label": "Costs Disallowed For Recovery, Period",
        "terseLabel": "Costs disallowed for recovery, period"
       }
      }
     },
     "localname": "CostsDisallowedForRecoveryPeriod",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_CostsIncurredPercentageOfEstimatedInServiceCost": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Costs Incurred, Percentage Of Estimated In-Service Cost",
        "label": "Costs Incurred, Percentage Of Estimated In-Service Cost",
        "terseLabel": "Costs incurred, percentage of estimated in-service cost"
       }
      }
     },
     "localname": "CostsIncurredPercentageOfEstimatedInServiceCost",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_CostsRecoveredAnnuallyUnderRatePlan": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Costs Recovered Annually Under Rate Plan",
        "label": "Costs Recovered Annually Under Rate Plan",
        "terseLabel": "Costs recovered annually"
       }
      }
     },
     "localname": "CostsRecoveredAnnuallyUnderRatePlan",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_CostsRecoveredAnnuallyUnderRatePlanPeriodOfRecovery": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Costs Recovered Annually Under Rate Plan, Period Of Recovery",
        "label": "Costs Recovered Annually Under Rate Plan, Period Of Recovery",
        "terseLabel": "Costs recovered annually, period of recovery"
       }
      }
     },
     "localname": "CostsRecoveredAnnuallyUnderRatePlanPeriodOfRecovery",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_CurrentBillingRatesUnderRateECRAnnualDecreaseAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Current Billing Rates Under Rate ECR, Annual Decrease, Amount",
        "label": "Current Billing Rates Under Rate ECR, Annual Decrease, Amount",
        "terseLabel": "Current billing rates under rate ECR, decrease, amount"
       }
      }
     },
     "localname": "CurrentBillingRatesUnderRateECRAnnualDecreaseAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_CurrentBillingRatesUnderRateECRAnnualIncreaseAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Current Billing Rates Under Rate ECR, Annual Increase, Amount",
        "label": "Current Billing Rates Under Rate ECR, Annual Increase, Amount",
        "terseLabel": "Current billing rates under rate ECR, amount"
       }
      }
     },
     "localname": "CurrentBillingRatesUnderRateECRAnnualIncreaseAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_CurrentBillingRatesUnderRateECRPercentageDecrease": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Current Billing Rates Under Rate ECR, Percentage Decrease",
        "label": "Current Billing Rates Under Rate ECR, Percentage Decrease",
        "terseLabel": "Current billing rates under rate ECR, percentage decrease"
       }
      }
     },
     "localname": "CurrentBillingRatesUnderRateECRPercentageDecrease",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_CurrentBillingRatesUnderRateECRinTermsofPerUnits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Current billing rates under rate ECR in terms of per units.",
        "label": "Current Billing Rates Under Rate ECR in Terms of Per Units",
        "terseLabel": "Current billing rates under rate ECR (usd per KWH)"
       }
      }
     },
     "localname": "CurrentBillingRatesUnderRateECRinTermsofPerUnits",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails"
     ],
     "xbrltype": "perUnitItemType"
    },
    "so_CurrentMaximumAnnualAssessments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Current Maximum Annual Assessments",
        "label": "Current Maximum Annual Assessments",
        "verboseLabel": "Current maximum annual assessments under NEIL policies"
       }
      }
     },
     "localname": "CurrentMaximumAnnualAssessments",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_CustomerDepositsCurrent1": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 5.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 8.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer Deposits Current1",
        "label": "Customer Deposits, Current1",
        "verboseLabel": "Customer deposits"
       }
      }
     },
     "localname": "CustomerDepositsCurrent1",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_CustomerRefund": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer Refund",
        "label": "Customer Refund",
        "terseLabel": "Customer refund"
       }
      }
     },
     "localname": "CustomerRefund",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_CustomerRefundLiabilityinAbsenceofBaseRateCase": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer Refund Liability in Absence of Base Rate Case",
        "label": "Customer Refund Liability in Absence of Base Rate Case",
        "terseLabel": "Customer refund liability in absence of base rate case"
       }
      }
     },
     "localname": "CustomerRefundLiabilityinAbsenceofBaseRateCase",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_CustomerRefundableFeesRefundPaymentsPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer Refundable Fees, Refund Payments, Percentage",
        "label": "Customer Refundable Fees, Refund Payments, Percentage",
        "terseLabel": "Customer refundable fees, refund payments, percentage"
       }
      }
     },
     "localname": "CustomerRefundableFeesRefundPaymentsPercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_CustomerRefundableFeesRefundPaymentsReviewYearWithRateRSEUpwardAdjustmentPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer Refundable Fees, Refund Payments, Review Year With Rate RSE Upward Adjustment, Percentage",
        "label": "Customer Refundable Fees, Refund Payments, Review Year With Rate RSE Upward Adjustment, Percentage",
        "terseLabel": "Customer refundable fees, refund payments, review year with rate RSE upward adjustment, percentage"
       }
      }
     },
     "localname": "CustomerRefundableFeesRefundPaymentsReviewYearWithRateRSEUpwardAdjustmentPercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_CustomerRefundableFeesRefundPaymentsTrancheOnePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer Refundable Fees, Refund Payments, Tranche One, Percentage",
        "label": "Customer Refundable Fees, Refund Payments, Tranche One, Percentage",
        "terseLabel": "Customer refundable fees, refund payments, tranche one, percentage"
       }
      }
     },
     "localname": "CustomerRefundableFeesRefundPaymentsTrancheOnePercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_CustomerRefundableFeesRefundPaymentsTrancheOneReviewYearWithRateRSEUpwardAdjustmentPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer Refundable Fees, Refund Payments, Tranche One, Review Year With Rate RSE Upward Adjustment, Percentage",
        "label": "Customer Refundable Fees, Refund Payments, Tranche One, Review Year With Rate RSE Upward Adjustment, Percentage",
        "terseLabel": "Customer refundable fees, refund payments, tranche one, review year with rate RSE upward adjustment, percentage"
       }
      }
     },
     "localname": "CustomerRefundableFeesRefundPaymentsTrancheOneReviewYearWithRateRSEUpwardAdjustmentPercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_CustomerRefundableFeesRefundPaymentsTrancheThreePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer Refundable Fees, Refund Payments, Tranche Three, Percentage",
        "label": "Customer Refundable Fees, Refund Payments, Tranche Three, Percentage",
        "terseLabel": "Customer refundable fees, refund payments, tranche two, percentage"
       }
      }
     },
     "localname": "CustomerRefundableFeesRefundPaymentsTrancheThreePercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_CustomerRefundableFeesRefundPaymentsTrancheTwoPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer Refundable Fees, Refund Payments, Tranche Two, Percentage",
        "label": "Customer Refundable Fees, Refund Payments, Tranche Two, Percentage",
        "terseLabel": "Customer refundable fees, refund payments, tranche two, percentage"
       }
      }
     },
     "localname": "CustomerRefundableFeesRefundPaymentsTrancheTwoPercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_CustomerRefundsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer Refunds [Member]",
        "label": "Customer Refunds [Member]",
        "terseLabel": "Customer Refunds"
       }
      }
     },
     "localname": "CustomerRefundsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_DaltonPipelineMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Dalton Pipeline [Member]",
        "label": "Dalton Pipeline [Member]",
        "terseLabel": "Dalton Pipeline"
       }
      }
     },
     "localname": "DaltonPipelineMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_DaltonPipelineNaturalGasPipelineMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Dalton Pipeline (Natural Gas Pipeline) [Member]",
        "label": "Dalton Pipeline (Natural Gas Pipeline) [Member]",
        "verboseLabel": "Dalton Pipeline (natural gas pipeline)"
       }
      }
     },
     "localname": "DaltonPipelineNaturalGasPipelineMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_DebtInstrumentFaceAmountRemarketed": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Instrument, Face Amount, Remarketed",
        "label": "Debt Instrument, Face Amount, Remarketed",
        "terseLabel": "Remarketed principal amount"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmountRemarketed",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGEquityUnitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DecommissioningFundInvestmentsNetOfReceivables": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Decommissioning Fund Investments, Net Of Receivables",
        "label": "Decommissioning Fund Investments, Net Of Receivables",
        "terseLabel": "Total investment securities in the Funds"
       }
      }
     },
     "localname": "DecommissioningFundInvestmentsNetOfReceivables",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSInvestmentSecuritiesintheFundsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DeferredChargesAndOtherAssets": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/BalanceSheetsMPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets, excluding Property, Plant, and Equipment and Other Property and Investments, that are expected to be realized in cash, sold or consumed after one year or beyond the normal operating cycle, if longer.",
        "label": "Deferred Charges and Other Assets",
        "terseLabel": "Deferred cloud implementation costs",
        "totalLabel": "Total deferred charges and other assets",
        "verboseLabel": "Other deferred charges and assets"
       }
      }
     },
     "localname": "DeferredChargesAndOtherAssets",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDeferredCloudImplementationCostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCAccountingOrdersandPlantGreeneCountyDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DeferredChargesAndOtherAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred charges and other assets.",
        "label": "Deferred Charges and Other Assets [Abstract]",
        "verboseLabel": "Deferred Charges and Other Assets:"
       }
      }
     },
     "localname": "DeferredChargesAndOtherAssetsAbstract",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "stringItemType"
    },
    "so_DeferredChargesRelatedToIncomeTaxes": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 4.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      },
      "http://southerncompany.com/role/BalanceSheetsMPC": {
       "order": 1.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 4.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noncurrent regulatory assets associated with deferred income tax liabilities that are expected to be recovered from customers through the ratemaking process.",
        "label": "Deferred Charges Related to Income Taxes",
        "verboseLabel": "Deferred charges related to income taxes"
       }
      }
     },
     "localname": "DeferredChargesRelatedToIncomeTaxes",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DeferredChargesRelatedToIncomeTaxesCurrentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred Charges Related To Income Taxes, Current [Member]",
        "label": "Deferred Charges Related To Income Taxes, Current [Member]",
        "terseLabel": "Deferred Charges Related To Income Taxes, Current"
       }
      }
     },
     "localname": "DeferredChargesRelatedToIncomeTaxesCurrentMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_DeferredCloudImplementationCostsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred Cloud Implementation Costs",
        "label": "Deferred Cloud Implementation Costs [Member]",
        "terseLabel": "Deferred Cloud Implementation Costs"
       }
      }
     },
     "localname": "DeferredCloudImplementationCostsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDeferredCloudImplementationCostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_DeferredCreditsRelatedToIncomeTaxes": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 6.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noncurrent regulatory liabilities associated with deferred income tax liabilities. Regulatory liabilities represent probable future reductions in revenues associated with amounts that are expected to be credited to customers through the ratemaking process. These revenues are not expected to be credited within one year or the normal operating cycle if longer.",
        "label": "Deferred Credits Related to Income Taxes",
        "terseLabel": "Deferred credits related to income taxes"
       }
      }
     },
     "localname": "DeferredCreditsRelatedToIncomeTaxes",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DeferredIncomeTaxCreditsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred Income Tax Credits.",
        "label": "Deferred Income Tax Credits [Member]",
        "terseLabel": "Deferred Income Tax Credits"
       }
      }
     },
     "localname": "DeferredIncomeTaxCreditsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_DeferredStateTaxAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred State Tax Assets [Member]",
        "label": "Deferred State Tax Assets [Member]",
        "terseLabel": "Other state deferred tax attributes"
       }
      }
     },
     "localname": "DeferredStateTaxAssetsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_DeferredTaxAssetFairValueOfSeniorNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred Tax Asset, Fair Value Of Senior Notes",
        "label": "Deferred Tax Asset, Fair Value Of Senior Notes [Member]",
        "terseLabel": "Long-term debt fair value adjustment"
       }
      }
     },
     "localname": "DeferredTaxAssetFairValueOfSeniorNotesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_DeferredTaxAssetsLiabilitiesAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred tax assets liabilities.",
        "label": "Deferred Tax Assets Liabilities [Axis]",
        "terseLabel": "Deferred Tax Assets Liabilities [Axis]"
       }
      }
     },
     "localname": "DeferredTaxAssetsLiabilitiesAxis",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_DeferredTaxAssetsLiabilitiesDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred tax assets liabilities.",
        "label": "Deferred Tax Assets Liabilities [Domain]",
        "terseLabel": "Deferred Tax Assets Liabilities [Domain]"
       }
      }
     },
     "localname": "DeferredTaxAssetsLiabilitiesDomain",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_DeferredUnderRecoveredFuelClauseRevenues": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 6.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred Under Recovered Fuel Clause Revenues",
        "label": "Deferred Under Recovered Fuel Clause Revenues",
        "terseLabel": "Deferred under recovered fuel clause revenues"
       }
      }
     },
     "localname": "DeferredUnderRecoveredFuelClauseRevenues",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeRegulatoryAmortization": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_RegulatoryLiabilities",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Defined Benefit Plan, Accumulated Other Comprehensive Income, Regulatory Amortization",
        "label": "Defined Benefit Plan, Accumulated Other Comprehensive Income, Regulatory Amortization",
        "terseLabel": "Regulatory amortization"
       }
      }
     },
     "localname": "DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeRegulatoryAmortization",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DefinedBenefitPlanChangeInDiscountRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Defined Benefit Plan, Change In Discount Rate",
        "label": "Defined Benefit Plan, Change In Discount Rate",
        "terseLabel": "Change in discount rate"
       }
      }
     },
     "localname": "DefinedBenefitPlanChangeInDiscountRate",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_DefinedBenefitPlanFairValueOfPlanAssetsWithExclusions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair values of pension plan assets excluding cash, receivables related to investment income, pending investments sales, and payables related to pending investment purchases.",
        "label": "Defined Benefit Plan Fair Value of Plan Assets with Exclusions",
        "verboseLabel": "Plan assets"
       }
      }
     },
     "localname": "DefinedBenefitPlanFairValueOfPlanAssetsWithExclusions",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DefinedBenefitPlanPlanAssetsAmountExcludingCashInvestmentIncomeAndPendingInvestmentSalesReceivablesAndPendingInvestmentPurchasePayablesNetOfLiabilities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Defined Benefit Plan, Plan Assets, Amount, Excluding Cash, Investment Income And Pending Investment Sales Receivables, And Pending Investment Purchase Payables, Net Of Liabilities",
        "label": "Defined Benefit Plan, Plan Assets, Amount, Excluding Cash, Investment Income And Pending Investment Sales Receivables, And Pending Investment Purchase Payables, Net Of Liabilities",
        "terseLabel": "Defined Benefit Plan, Plan Assets, Amount, Excluding Cash, Investment Income And Pending Investment Sales Receivables, And Pending Investment Purchase Payables"
       }
      }
     },
     "localname": "DefinedBenefitPlanPlanAssetsAmountExcludingCashInvestmentIncomeAndPendingInvestmentSalesReceivablesAndPendingInvestmentPurchasePayablesNetOfLiabilities",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DefinedBenefitPlanPlanLiabilitiesAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Defined Benefit Plan, Plan Liabilities, Amount",
        "label": "Defined Benefit Plan, Plan Liabilities, Amount",
        "negatedTerseLabel": "Derivatives"
       }
      }
     },
     "localname": "DefinedBenefitPlanPlanLiabilitiesAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DemandSideManagementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Demand-Side Management [Member]",
        "label": "Demand-Side Management [Member]",
        "terseLabel": "DSM"
       }
      }
     },
     "localname": "DemandSideManagementMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCTariffsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_DepreciationAndAmortizationExcludingNuclearFuel": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome": {
       "order": 3.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The current period expense charged against earnings on long-lived, physical assets used in the normal conduct of business and not intended for resale to allocate or recognize the cost of assets over their useful lives; or to record the reduction in book value of an intangible asset over the benefit period of such asset. Excludes amortization of nuclear fuel.",
        "label": "Depreciation and Amortization Excluding Nuclear Fuel",
        "verboseLabel": "Depreciation and amortization"
       }
      }
     },
     "localname": "DepreciationAndAmortizationExcludingNuclearFuel",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DepreciationandAmortizationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Depreciation and Amortization [Member]",
        "label": "Depreciation and Amortization [Member]",
        "terseLabel": "Depreciation and Amortization"
       }
      }
     },
     "localname": "DepreciationandAmortizationMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_DerivativeAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative Asset, Statement Of Financial Position, Extensible Enumeration, Not Disclosed, Flag",
        "label": "Derivative Asset, Statement Of Financial Position, Extensible Enumeration, Not Disclosed, Flag",
        "terseLabel": "Derivative asset, statement of financial position, extensible enumeration, not disclosed, flag"
       }
      }
     },
     "localname": "DerivativeAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_DerivativeCounterpartiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative Counterparties [Member]",
        "label": "Derivative Counterparties [Member]",
        "terseLabel": "Derivative Counterparties"
       }
      }
     },
     "localname": "DerivativeCounterpartiesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_DerivativeCumulativeAmountofFairValueHedgingAdjustmentIncludedinCarryingAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative, Cumulative Amount of Fair Value Hedging Adjustment Included in Carrying Amount",
        "label": "Derivative, Cumulative Amount of Fair Value Hedging Adjustment Included in Carrying Amount",
        "terseLabel": "Cumulative Amount of Fair Value Hedging Adjustment included in Carrying Amount of the Hedged Item"
       }
      }
     },
     "localname": "DerivativeCumulativeAmountofFairValueHedgingAdjustmentIncludedinCarryingAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESCumulativeBasisAdjustmentsforFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DerivativeNonmonetaryNotionalAmountNetLongShortPositionVolume": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative Nonmonetary Notional Amount Net Long Short Position Volume",
        "label": "Derivative Nonmonetary Notional Amount Net Long Short Position Volume",
        "terseLabel": "Derivative nonmonetary notional amount net long short position volume"
       }
      }
     },
     "localname": "DerivativeNonmonetaryNotionalAmountNetLongShortPositionVolume",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails"
     ],
     "xbrltype": "energyItemType"
    },
    "so_DerivativeNotionalAmountPay": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative Notional Amount, Pay",
        "label": "Derivative Notional Amount, Pay",
        "terseLabel": "Pay Notional"
       }
      }
     },
     "localname": "DerivativeNotionalAmountPay",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DerivativeNotionalAmountReceive": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative Notional Amount, Receive",
        "label": "Derivative Notional Amount, Receive",
        "terseLabel": "Receive Notional",
        "verboseLabel": "Derivative notional amount, receive"
       }
      }
     },
     "localname": "DerivativeNotionalAmountReceive",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DetailsOfIncomeTaxProvisionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Details of income tax provisions.",
        "label": "Details of Income Tax Provisions [Table Text Block]",
        "verboseLabel": "Details of income tax provisions"
       }
      }
     },
     "localname": "DetailsOfIncomeTaxProvisionsTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_DeuelHarvestMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deuel Harvest",
        "label": "Deuel Harvest [Member]",
        "terseLabel": "Deuel Harvest"
       }
      }
     },
     "localname": "DeuelHarvestMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_DisposalGroupIncludingDiscontinuedOperationNumberOfFacilitiesSold": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disposal Group, Including Discontinued Operation, Number Of Facilities Sold",
        "label": "Disposal Group, Including Discontinued Operation, Number Of Facilities Sold",
        "terseLabel": "Number of natural gas storage facilities sold"
       }
      }
     },
     "localname": "DisposalGroupIncludingDiscontinuedOperationNumberOfFacilitiesSold",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_DisposalGroupNotDiscontinuedOperationContingentMilestonePaymentAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disposal Group, Not Discontinued Operation, Contingent Milestone Payment, Amount",
        "label": "Disposal Group, Not Discontinued Operation, Contingent Milestone Payment, Amount",
        "terseLabel": "Contingent milestone payment, amount"
       }
      }
     },
     "localname": "DisposalGroupNotDiscontinuedOperationContingentMilestonePaymentAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DisposalGroupNotDiscontinuedOperationContingentMilestonePaymentNumberOfPayments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disposal Group, Not Discontinued Operation, Contingent Milestone Payment, Number Of Payments",
        "label": "Disposal Group, Not Discontinued Operation, Contingent Milestone Payment, Number Of Payments",
        "terseLabel": "Number of contingent milestone payments"
       }
      }
     },
     "localname": "DisposalGroupNotDiscontinuedOperationContingentMilestonePaymentNumberOfPayments",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_DisposalGroupNotDiscontinuedOperationDeferredTaxExpenseIncreaseFromChangeInAppointmentRate": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disposal Group, Not Discontinued Operation, Deferred Tax Expense, Increase From Change In Appointment Rate",
        "label": "Disposal Group, Not Discontinued Operation, Deferred Tax Expense, Increase From Change In Appointment Rate",
        "terseLabel": "Deferred tax expense, increase from change in appointment rate"
       }
      }
     },
     "localname": "DisposalGroupNotDiscontinuedOperationDeferredTaxExpenseIncreaseFromChangeInAppointmentRate",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DisposalGroupNotDiscontinuedOperationGainLossonDisposalAfterTax": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disposal Group, Not Discontinued Operation, Gain (Loss) on Disposal, After Tax",
        "label": "Disposal Group, Not Discontinued Operation, Gain (Loss) on Disposal, After Tax",
        "terseLabel": "Gain (loss) on dispositions, after tax"
       }
      }
     },
     "localname": "DisposalGroupNotDiscontinuedOperationGainLossonDisposalAfterTax",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_DistributionMadeToLimitedPartnerCashDistributionsPaidPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Distribution Made To Limited Partner, Cash Distributions Paid, Percentage",
        "label": "Distribution Made To Limited Partner, Cash Distributions Paid, Percentage",
        "terseLabel": "Distribution made to limited partner, cash distributions paid, percentage"
       }
      }
     },
     "localname": "DistributionMadeToLimitedPartnerCashDistributionsPaidPercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_DomesticAndInternationalLeveragedLeaseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Domestic And International Leveraged Lease [Member]",
        "label": "Domestic And International Leveraged Lease [Member]",
        "terseLabel": "Domestic and international leveraged leases"
       }
      }
     },
     "localname": "DomesticAndInternationalLeveragedLeaseMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESSummaryoftheComponentsofIncomefromLeveragedLeasesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_DomesticEquityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Domestic equity.",
        "label": "Domestic Equity [Member]",
        "terseLabel": "Domestic equity"
       }
      }
     },
     "localname": "DomesticEquityMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_EPSbasedandROEbasedPerformanceShareUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "EPS-based and ROE-based Performance Share Units [Member]",
        "label": "EPS-based and ROE-based Performance Share Units [Member]",
        "terseLabel": "EPS-based and ROE-based Performance Share Units"
       }
      }
     },
     "localname": "EPSbasedandROEbasedPerformanceShareUnitsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_EarningPerShareTableTextBlockTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Calculation of diluted shares used to determined diluted earnings per share.",
        "label": "Earning Per Share Table Text Block [Table Text Block]",
        "terseLabel": "Shares used to compute diluted EPS"
       }
      }
     },
     "localname": "EarningPerShareTableTextBlockTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_EffectiveIncomeTaxRateReconciliationAmortizationTaxCreditsInvestment": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": -1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective Income Tax Rate Reconciliation Amortization Tax Credits Investment",
        "label": "Effective Income Tax Rate Reconciliation Amortization Tax Credits Investment",
        "negatedLabel": "ITC amortization"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAmortizationTaxCreditsInvestment",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_EffectiveIncomeTaxRateReconciliationTaxCreditProductionAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective Income Tax Rate Reconciliation, Tax Credit, Production, Amount",
        "label": "Effective Income Tax Rate Reconciliation, Tax Credit, Production, Amount",
        "terseLabel": "Effective income tax rate reconciliation, tax credit, production, amount"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationTaxCreditProductionAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EffectiveIncomeTaxRateReconciliationTaxCreditProductionPercent": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": -1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective Income Tax Rate Reconciliation, Tax Credit, Production, Percent",
        "label": "Effective Income Tax Rate Reconciliation, Tax Credit, Production, Percent",
        "negatedLabel": "Federal PTCs"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationTaxCreditProductionPercent",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_ElectedDeductibleWaitingPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Elected Deductible Waiting Period",
        "label": "Elected Deductible Waiting Period",
        "terseLabel": "Elected deductible waiting period"
       }
      }
     },
     "localname": "ElectedDeductibleWaitingPeriod",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_ElectricGeneratingCapacityInMegaWattsUnderConsortiumAgreement": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Electric generating capacity in mega watts under consortium agreement.",
        "label": "Electric Generating Capacity in Mega Watts Under Consortium Agreement",
        "terseLabel": "Electric generating capacity (in MWs)"
       }
      }
     },
     "localname": "ElectricGeneratingCapacityInMegaWattsUnderConsortiumAgreement",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "powerItemType"
    },
    "so_ElectricGeneratingUnitsCapacity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Electric Generating Units, Capacity",
        "label": "Electric Generating Units, Capacity",
        "verboseLabel": "Total megawatt capacity (in MWs)"
       }
      }
     },
     "localname": "ElectricGeneratingUnitsCapacity",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails"
     ],
     "xbrltype": "powerItemType"
    },
    "so_ElectricGeneratingUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Electric Generating Units [Member]",
        "label": "Electric Generating Units [Member]",
        "terseLabel": "Electric generating units(*)",
        "verboseLabel": "Electric generating units"
       }
      }
     },
     "localname": "ElectricGeneratingUnitsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ElectricUtilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Electric utilities.",
        "label": "Electric Utilities [Member]",
        "verboseLabel": "Electric Utilities"
       }
      }
     },
     "localname": "ElectricUtilitiesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONElectricUtilitiesRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ElectricUtilityPlantinService": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_PublicUtilitiesPropertyPlantAndEquipmentPlantInService",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Electric Utility Plant in Service",
        "label": "Electric Utility Plant in Service",
        "totalLabel": "Electric utilities' plant in service"
       }
      }
     },
     "localname": "ElectricUtilityPlantinService",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_ElectricityPurchasedAffiliatesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Electricity, Purchased, Affiliates",
        "label": "Electricity, Purchased, Affiliates [Member]",
        "terseLabel": "Purchased power, affiliates"
       }
      }
     },
     "localname": "ElectricityPurchasedAffiliatesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC"
     ],
     "xbrltype": "domainItemType"
    },
    "so_EligibleProjectCostsToBeReimbursed": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eligible Project Costs To Be Reimbursed",
        "label": "Eligible Project Costs To Be Reimbursed",
        "terseLabel": "Eligible project costs to be reimbursed"
       }
      }
     },
     "localname": "EligibleProjectCostsToBeReimbursed",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EmployeeBenefitObligationsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employee benefit obligations.",
        "label": "Employee Benefit Obligations [Member]",
        "terseLabel": "Employee benefit obligations"
       }
      }
     },
     "localname": "EmployeeBenefitObligationsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_EmployeeSavingsPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employee savings plan.",
        "label": "Employee Savings Plan [Member]",
        "terseLabel": "Employee Savings Plan"
       }
      }
     },
     "localname": "EmployeeSavingsPlanMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITS401KPlanMatchingContributionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_EnergyRelatedDerivativeCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Energy-Related Derivative, Cash Flow Hedge Gain (Loss) to be Reclassified During Next 12 Months, Net",
        "label": "Energy-Related Derivative, Cash Flow Hedge Gain (Loss) to be Reclassified During Next 12 Months, Net",
        "terseLabel": "Estimated pre-tax gains (losses) expected to be reclassified from AOCI"
       }
      }
     },
     "localname": "EnergyRelatedDerivativeCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EnergyStorageMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Energy Storage",
        "label": "Energy Storage [Member]",
        "terseLabel": "Energy Storage"
       }
      }
     },
     "localname": "EnergyStorageMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_EnvironmentalComplianceCostRecoveryTraditionalMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Environmental Compliance Cost Recovery, Traditional",
        "label": "Environmental Compliance Cost Recovery, Traditional [Member]",
        "terseLabel": "ECCR"
       }
      }
     },
     "localname": "EnvironmentalComplianceCostRecoveryTraditionalMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCTariffsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_EnvironmentalComplianceOverviewPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Environmental Compliance Overview Plan",
        "label": "Environmental Compliance Overview Plan [Member]",
        "verboseLabel": "Environmental Compliance Overview Plan"
       }
      }
     },
     "localname": "EnvironmentalComplianceOverviewPlanMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCEnvironmentalComplianceOverviewPlanDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_EnvironmentalComplianceUnrecoveredRetailRevenue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Environmental Compliance, Unrecovered Retail Revenue",
        "label": "Environmental Compliance, Unrecovered Retail Revenue",
        "terseLabel": "Retail revenue requirement for environmental compliance"
       }
      }
     },
     "localname": "EnvironmentalComplianceUnrecoveredRetailRevenue",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EnvironmentalComplianceUnrecoveredRetailRevenuePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Environmental Compliance, Unrecovered Retail Revenue, Percentage",
        "label": "Environmental Compliance, Unrecovered Retail Revenue, Percentage",
        "terseLabel": "Retail revenue requirement for environmental compliance, as a percentage"
       }
      }
     },
     "localname": "EnvironmentalComplianceUnrecoveredRetailRevenuePercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_EquityRateOfReturnOnCommonEquity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Rate Of Return On Common Equity",
        "label": "Equity Rate Of Return On Common Equity",
        "terseLabel": "Equity rate of return on common equity"
       }
      }
     },
     "localname": "EquityRateOfReturnOnCommonEquity",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_EstimatedConstructionCompletionCostsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Construction Completion Costs",
        "label": "Estimated Construction Completion Costs [Member]",
        "terseLabel": "Estimated Construction Completion Costs"
       }
      }
     },
     "localname": "EstimatedConstructionCompletionCostsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_EstimatedCostOfDecommissioningBeginningYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost Of Decommissioning Beginning Year",
        "label": "Estimated Cost Of Decommissioning Beginning Year",
        "terseLabel": "Decommissioning periods: Beginning year"
       }
      }
     },
     "localname": "EstimatedCostOfDecommissioningBeginningYear",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails"
     ],
     "xbrltype": "gYearItemType"
    },
    "so_EstimatedCostOfDecommissioningCompletionYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost Of Decommissioning Completion Year",
        "label": "Estimated Cost Of Decommissioning Completion Year",
        "terseLabel": "Decommissioning periods: Completion year"
       }
      }
     },
     "localname": "EstimatedCostOfDecommissioningCompletionYear",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails"
     ],
     "xbrltype": "gYearItemType"
    },
    "so_EstimatedCostOfDecommissioningTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost Of Decommissioning [Table Text Block]",
        "label": "Estimated Cost Of Decommissioning [Table Text Block]",
        "terseLabel": "Estimated costs of decommissioning"
       }
      }
     },
     "localname": "EstimatedCostOfDecommissioningTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_EstimatedCostToCompleteAdditionalConstructionContingencyEstimateSubjectToRateRecoveryEvaluation": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost To Complete, Additional Construction Contingency Estimate, Subject To Rate Recovery Evaluation",
        "label": "Estimated Cost To Complete, Additional Construction Contingency Estimate, Subject To Rate Recovery Evaluation",
        "terseLabel": "Estimated cost to complete, additional construction contingency estimate"
       }
      }
     },
     "localname": "EstimatedCostToCompleteAdditionalConstructionContingencyEstimateSubjectToRateRecoveryEvaluation",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedCostToCompleteAdditionalConstructionMonitoringCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost To Complete, Additional Construction Monitoring Costs",
        "label": "Estimated Cost To Complete, Additional Construction Monitoring Costs",
        "terseLabel": "Estimated cost to complete, additional construction monitoring costs"
       }
      }
     },
     "localname": "EstimatedCostToCompleteAdditionalConstructionMonitoringCosts",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedCostToCompleteBaseProjectCapitalCostForecast": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails": {
       "order": 1.0,
       "parentTag": "so_PreliminaryEstimatedCosttoComplete",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost to Complete, Base Project Capital Cost Forecast",
        "label": "Estimated Cost To Complete, Base Project Capital Cost Forecast",
        "terseLabel": "Base project capital cost forecast"
       }
      }
     },
     "localname": "EstimatedCostToCompleteBaseProjectCapitalCostForecast",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedCostToCompleteBaseProjectCapitalCostForecastMonthly": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost to Complete, Base Project Capital Cost Forecast, Monthly",
        "label": "Estimated Cost To Complete, Base Project Capital Cost Forecast, Monthly",
        "terseLabel": "Additional base capital costs per month (up to)"
       }
      }
     },
     "localname": "EstimatedCostToCompleteBaseProjectCapitalCostForecastMonthly",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedCostToCompleteBaseProjectCapitalCostForecastNotSeekingRecovery": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost To Complete, Base Project Capital Cost Forecast, Not Seeking Recovery",
        "label": "Estimated Cost To Complete, Base Project Capital Cost Forecast, Not Seeking Recovery",
        "terseLabel": "Increase to base capital cost forecast not seeking recovery"
       }
      }
     },
     "localname": "EstimatedCostToCompleteBaseProjectCapitalCostForecastNotSeekingRecovery",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedCostToCompleteConstructionContingencyEstimateAndAdditionalCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost to Complete, Construction Contingency Estimate and Additional Costs",
        "label": "Estimated Cost to Complete, Construction Contingency Estimate and Additional Costs",
        "terseLabel": "Estimated cost to complete, construction contingency estimate and additional costs"
       }
      }
     },
     "localname": "EstimatedCostToCompleteConstructionContingencyEstimateAndAdditionalCosts",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedCostToCompleteConstructionContingencyEstimateFinancingCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost To Complete, Construction Contingency Estimate, Financing Costs",
        "label": "Estimated Cost To Complete, Construction Contingency Estimate, Financing Costs",
        "terseLabel": "Estimated construction financing costs"
       }
      }
     },
     "localname": "EstimatedCostToCompleteConstructionContingencyEstimateFinancingCosts",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedCostToCompleteConstructionContingencyEstimateFinancingCostsIncurredToDate": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost To Complete, Construction Contingency Estimate, Financing Costs, Incurred To Date",
        "label": "Estimated Cost To Complete, Construction Contingency Estimate, Financing Costs, Incurred To Date",
        "terseLabel": "Construction financing costs incurred to date"
       }
      }
     },
     "localname": "EstimatedCostToCompleteConstructionContingencyEstimateFinancingCostsIncurredToDate",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedCostToCompleteConstructionContingencyEstimateIncreaseDecrease": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost To Complete, Construction Contingency Estimate, Increase (Decrease)",
        "label": "Estimated Cost To Complete, Construction Contingency Estimate, Increase (Decrease)",
        "terseLabel": "Estimated cost to complete, pre-tax charge to income"
       }
      }
     },
     "localname": "EstimatedCostToCompleteConstructionContingencyEstimateIncreaseDecrease",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedCostToCompleteConstructionContingencyEstimateIncreaseDecreaseNetOfTax": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost To Complete, Construction Contingency Estimate, Increase (Decrease), Net Of Tax",
        "label": "Estimated Cost To Complete, Construction Contingency Estimate, Increase (Decrease), Net Of Tax",
        "terseLabel": "Estimated cost to complete, pre-tax charge to income, net of tax"
       }
      }
     },
     "localname": "EstimatedCostToCompleteConstructionContingencyEstimateIncreaseDecreaseNetOfTax",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedCostToCompleteCostsNotSharedWithOtherOwners": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost To Complete, Costs Not Shared With Other Owners",
        "label": "Estimated Cost To Complete, Costs Not Shared With Other Owners",
        "terseLabel": "Estimated cost to complete, costs not shared with other owners"
       }
      }
     },
     "localname": "EstimatedCostToCompleteCostsNotSharedWithOtherOwners",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedCostToCompleteCostsNotSharedWithOtherOwnersConstructionMonitoringCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost To Complete, Costs Not Shared With Other Owners, Construction Monitoring Costs",
        "label": "Estimated Cost To Complete, Costs Not Shared With Other Owners, Construction Monitoring Costs",
        "terseLabel": "Estimated cost to complete, construction monitoring costs approved for recovery"
       }
      }
     },
     "localname": "EstimatedCostToCompleteCostsNotSharedWithOtherOwnersConstructionMonitoringCosts",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedCostToCompleteStartingDollarAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost To Complete, Starting Dollar Amount",
        "label": "Estimated Cost To Complete, Starting Dollar Amount",
        "terseLabel": "Estimated cost to complete, starting dollar amount"
       }
      }
     },
     "localname": "EstimatedCostToCompleteStartingDollarAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedCosttoCompleteConstructionContingencyEstimate": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails": {
       "order": 2.0,
       "parentTag": "so_PreliminaryEstimatedCosttoComplete",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Cost To Complete, Construction Contingency Estimate",
        "label": "Estimated Cost to Complete, Construction Contingency Estimate",
        "terseLabel": "Construction contingency estimate"
       }
      }
     },
     "localname": "EstimatedCosttoCompleteConstructionContingencyEstimate",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedInServiceCapitalCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase Estimated In-service Capital Cost",
        "label": "Estimated In-service Capital Cost",
        "terseLabel": "Estimated in-service capital cost"
       }
      }
     },
     "localname": "EstimatedInServiceCapitalCost",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedLossOnPlantVogtleUnits3And4": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 6.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Loss On Plant Vogtle Units 3 And 4",
        "label": "Estimated Loss On Plant Vogtle Units 3 And 4",
        "verboseLabel": "Estimated loss on Plant Vogtle Units 3 and 4"
       }
      }
     },
     "localname": "EstimatedLossOnPlantVogtleUnits3And4",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/StatementsofIncomeGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedLossOnPlantVogtleUnits3And4NetOfTax": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Loss On Plant Vogtle Units 3 And 4, Net Of Tax",
        "label": "Estimated Loss On Plant Vogtle Units 3 And 4, Net Of Tax",
        "terseLabel": "Estimated loss on Plant Vogtle Units 3 and 4, net of tax"
       }
      }
     },
     "localname": "EstimatedLossOnPlantVogtleUnits3And4NetOfTax",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EstimatedLossOnPlantVogtleUnits3And4NonCashAdjusted": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated Loss On Plant Vogtle Units 3 And 4, Non-Cash Adjusted",
        "label": "Estimated Loss On Plant Vogtle Units 3 And 4, Non-Cash Adjusted",
        "terseLabel": "Estimated loss on Plant Vogtle Units 3 and 4"
       }
      }
     },
     "localname": "EstimatedLossOnPlantVogtleUnits3And4NonCashAdjusted",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_EuroDenominatedDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Euro-denominated Debt",
        "label": "Euro-denominated Debt [Member]",
        "terseLabel": "Euro-denominated Debt"
       }
      }
     },
     "localname": "EuroDenominatedDebtMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ExcessDeferredIncomeTaxLiabilitiesNotSubjectToNormalizationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess Deferred Income Tax Liabilities Not Subject To Normalization [Member]",
        "label": "Excess Deferred Income Tax Liabilities Not Subject To Normalization [Member]",
        "terseLabel": "Excess Deferred Income Tax Liabilities Not Subject to Normalization"
       }
      }
     },
     "localname": "ExcessDeferredIncomeTaxLiabilitiesNotSubjectToNormalizationMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ExpectedVolumeOfNaturalGasSubjectToOptionToSellBackExcessGasDueToOperationalConstraints": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected volume of natural gas subject to option to sell back excess gas due to operational constraints.",
        "label": "Expected Volume of Natural Gas Subject to Option to Sell Back Excess Gas Due to Operational Constraints",
        "verboseLabel": "Expected volume of natural gas subject to option to sell back excess gas due to operational constraints"
       }
      }
     },
     "localname": "ExpectedVolumeOfNaturalGasSubjectToOptionToSellBackExcessGasDueToOperationalConstraints",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails"
     ],
     "xbrltype": "energyItemType"
    },
    "so_FCCLicensesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "FCC Licenses [Member]",
        "label": "FCC Licenses [Member]",
        "terseLabel": "FCC licenses"
       }
      }
     },
     "localname": "FCCLicensesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FFBCreditFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "FFB Credit Facility [Member]",
        "label": "FFB Credit Facility [Member]",
        "terseLabel": "FFB Credit Facility"
       }
      }
     },
     "localname": "FFBCreditFacilityMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FairMarketValueOfFundsSecuritiesOnLoanUnderFundsManagersSecuritiesLendingProgram": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair market value of fund's securities on loan under fund's managers securities lending program.",
        "label": "Fair Market Value of Fund's Securities on Loan Under Fund's Managers Securities Lending Program",
        "terseLabel": "Fair market value of securities on loan and pledged to creditors"
       }
      }
     },
     "localname": "FairMarketValueOfFundsSecuritiesOnLoanUnderFundsManagersSecuritiesLendingProgram",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_FairValueGainLoss": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value gain (Loss).",
        "label": "Fair Value Gain (Loss)",
        "terseLabel": "Fair Value Gain (Loss) December 31, 2022",
        "verboseLabel": "Fair value gain (loss)"
       }
      }
     },
     "localname": "FairValueGainLoss",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_FairValueHedgesOfExistingDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair Value Hedges Of Existing Debt [Member]",
        "label": "Fair Value Hedges Of Existing Debt [Member]",
        "terseLabel": "Fair Value Hedges of Existing Debt"
       }
      }
     },
     "localname": "FairValueHedgesOfExistingDebtMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FairValueIncreasesDecreasesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair Value Increases (Decreases) [Member]",
        "label": "Fair Value Increases (Decreases) [Member]",
        "terseLabel": "Fair value increases (decreases)"
       }
      }
     },
     "localname": "FairValueIncreasesDecreasesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSFairValueIncreasesDecreasesoftheFundsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FairValueOfCollateralReceivedAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of collateral received amount.",
        "label": "Fair Value of Collateral Received Amount",
        "terseLabel": "Fair value of collateral received"
       }
      }
     },
     "localname": "FairValueOfCollateralReceivedAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_FederalEffectOfStateDeferredTaxesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal effect of state deferred taxes.",
        "label": "Federal Effect of State Deferred Taxes [Member]",
        "verboseLabel": "Federal effect of net state deferred tax assets/liabilities"
       }
      }
     },
     "localname": "FederalEffectOfStateDeferredTaxesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FederalFinancingBankLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal Financing Bank Loans",
        "label": "Federal Financing Bank Loans [Member]",
        "terseLabel": "FFB loans"
       }
      }
     },
     "localname": "FederalFinancingBankLoansMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FinanceLeaseCost": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/LEASESLeaseCostsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finance Lease, Cost",
        "label": "Finance Lease, Cost",
        "totalLabel": "Total finance lease cost"
       }
      }
     },
     "localname": "FinanceLeaseCost",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_FinanceLeaseCost1Abstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finance Lease, Cost",
        "label": "Finance Lease, Cost1 [Abstract]",
        "terseLabel": "Finance lease cost:"
       }
      }
     },
     "localname": "FinanceLeaseCost1Abstract",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseCostsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_FinancialDataForProductsAndServicesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial data for products and services.",
        "label": "Financial data for Products and Services [Table Text Block]",
        "verboseLabel": "Financial data for products and services"
       }
      }
     },
     "localname": "FinancialDataForProductsAndServicesTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_FinancialInstrumentsNotHavingCarryingAmountEqualToFairValueTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial instruments not having carrying amount equal to fair value.",
        "label": "Financial Instruments Not Having Carrying Amount Equal to Fair Value [Table Text Block]",
        "verboseLabel": "Financial instruments not having carrying amount equal to fair value"
       }
      }
     },
     "localname": "FinancialInstrumentsNotHavingCarryingAmountEqualToFairValueTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_FinancialInvestorsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial Investors [Member]",
        "label": "Financial Investors [Member]",
        "terseLabel": "Financial Investors"
       }
      }
     },
     "localname": "FinancialInvestorsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FirstMortgageBondsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First Mortgage Bonds [Member]",
        "label": "First Mortgage Bonds [Member]",
        "terseLabel": "First mortgage bonds"
       }
      }
     },
     "localname": "FirstMortgageBondsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FivePercentClassAPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Five Percent Class A Preferred Stock [Member]",
        "label": "Five Percent Class A Preferred Stock [Member]",
        "terseLabel": "5.00% Class A Preferred Stock"
       }
      }
     },
     "localname": "FivePercentClassAPreferredStockMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ForeignEquityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foreign equity.",
        "label": "Foreign Equity [Member]",
        "terseLabel": "Foreign equity"
       }
      }
     },
     "localname": "ForeignEquityMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FourPointFiveTwoPercentRedeemablePreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Four Point Five Two Percent Redeemable Preferred Stock [Member]",
        "label": "Four Point Five Two Percent Redeemable Preferred Stock [Member]",
        "terseLabel": "4.52% Preferred Stock"
       }
      }
     },
     "localname": "FourPointFiveTwoPercentRedeemablePreferredStockMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FourPointNineTwoPercentRedeemablePreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Four Point Nine Two Percent Redeemable Preferred Stock [Member]",
        "label": "Four Point Nine Two Percent Redeemable Preferred Stock [Member]",
        "terseLabel": "4.92% Preferred Stock"
       }
      }
     },
     "localname": "FourPointNineTwoPercentRedeemablePreferredStockMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FourPointSevenTwoPercentRedeemablePreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Four Point Seven Two Percent Redeemable Preferred Stock [Member]",
        "label": "Four Point Seven Two Percent Redeemable Preferred Stock [Member]",
        "terseLabel": "4.72% Preferred Stock"
       }
      }
     },
     "localname": "FourPointSevenTwoPercentRedeemablePreferredStockMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FourPointSixFourPercentRedeemablePreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Four Point Six Four Percent Redeemable Preferred Stock [Member]",
        "label": "Four Point Six Four Percent Redeemable Preferred Stock [Member]",
        "terseLabel": "4.64% Preferred Stock"
       }
      }
     },
     "localname": "FourPointSixFourPercentRedeemablePreferredStockMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FourPointSixZeroPercentRedeemablePreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Four Point Six Zero Percent Redeemable Preferred Stock [Member]",
        "label": "Four Point Six Zero Percent Redeemable Preferred Stock [Member]",
        "terseLabel": "4.60% Preferred Stock"
       }
      }
     },
     "localname": "FourPointSixZeroPercentRedeemablePreferredStockMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FourPointTwoZeroPercentRedeemablePreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Four Point Two Zero Percent Redeemable Preferred Stock [Member]",
        "label": "Four Point Two Zero Percent Redeemable Preferred Stock [Member]",
        "terseLabel": "4.20% Preferred Stock"
       }
      }
     },
     "localname": "FourPointTwoZeroPercentRedeemablePreferredStockMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FuelAndPurchasedPowerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fuel And Purchased Power",
        "label": "Fuel And Purchased Power [Member]",
        "terseLabel": "Fuel and purchased power"
       }
      }
     },
     "localname": "FuelAndPurchasedPowerMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FuelCellsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fuel Cells [Member]",
        "label": "Fuel Cells [Member]",
        "terseLabel": "Fuel cells"
       }
      }
     },
     "localname": "FuelCellsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FuelCostsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fuel Costs.",
        "label": "Fuel Costs [Policy Text Block]",
        "verboseLabel": "Fuel Costs"
       }
      }
     },
     "localname": "FuelCostsPolicyTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_FuelHedgingRealizedAndUnrealizedGainsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fuel Hedging (Realized And Unrealized) Gains",
        "label": "Fuel Hedging (Realized And Unrealized) Gains [Member]",
        "terseLabel": "Fuel Hedging (Realized And Unrealized) gains"
       }
      }
     },
     "localname": "FuelHedgingRealizedAndUnrealizedGainsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FuelHedgingRealizedAndUnrealizedLossesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fuel Hedging (Realized And Unrealized) Losses [Member]",
        "label": "Fuel Hedging (Realized And Unrealized) Losses [Member]",
        "terseLabel": "Fuel Hedging (Realized And Unrealized) losses"
       }
      }
     },
     "localname": "FuelHedgingRealizedAndUnrealizedLossesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_FuelInventoryPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fuel Inventory.",
        "label": "Fuel Inventory [Policy Text Block]",
        "verboseLabel": "Fuel Inventory"
       }
      }
     },
     "localname": "FuelInventoryPolicyTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_FundsReceivedUnderGuaranteeSettlementAgreementLessCustomerRefunds": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Funds Received Under Guarantee Settlement Agreement, Less Customer Refunds",
        "label": "Funds Received Under Guarantee Settlement Agreement, Less Customer Refunds",
        "terseLabel": "Funds received under guarantee settlement agreement, less customer refunds"
       }
      }
     },
     "localname": "FundsReceivedUnderGuaranteeSettlementAgreementLessCustomerRefunds",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_GainContingencyDamagesSoughtValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gain Contingency, Damages Sought, Value",
        "label": "Gain Contingency, Damages Sought, Value",
        "terseLabel": "Outstanding claims"
       }
      }
     },
     "localname": "GainContingencyDamagesSoughtValue",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_GainLossOnContractTerminationNetOfTax": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gain (Loss) On Contract Termination, Net Of Tax",
        "label": "Gain (Loss) On Contract Termination, Net Of Tax",
        "terseLabel": "Gain (loss) on termination of leveraged leases, after tax"
       }
      }
     },
     "localname": "GainLossOnContractTerminationNetOfTax",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_GainLossOnDispositionOfPropertyPlantEquipmentNetOfTax": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gain (Loss) On Disposition Of Property Plant Equipment, Net Of Tax",
        "label": "Gain (Loss) On Disposition Of Property Plant Equipment, Net Of Tax",
        "terseLabel": "Gain on sale, after tax"
       }
      }
     },
     "localname": "GainLossOnDispositionOfPropertyPlantEquipmentNetOfTax",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_GainLossOnSaleOfAssetsSubjectToLeveragedLease": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gain (Loss) on Sale of Assets Subject to Leveraged Lease",
        "label": "Gain (Loss) on Sale of Assets Subject to Leveraged Lease",
        "terseLabel": "Gain (loss) on sale of assets subject to leveraged lease"
       }
      }
     },
     "localname": "GainLossOnSaleOfAssetsSubjectToLeveragedLease",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_GarlandMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Garland",
        "label": "Garland [Member]",
        "terseLabel": "Garland"
       }
      }
     },
     "localname": "GarlandMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_GarlandSolarStorageMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Garland Solar Storage",
        "label": "Garland Solar Storage [Member]",
        "terseLabel": "Garland Solar Storage"
       }
      }
     },
     "localname": "GarlandSolarStorageMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_GasDistributionOperationsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gas Distribution Operations [Member]",
        "label": "Gas Distribution Operations [Member]",
        "terseLabel": "Gas distribution operations"
       }
      }
     },
     "localname": "GasDistributionOperationsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofGoodwillBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_GasMarketingServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gas Marketing Services [Member]",
        "label": "Gas Marketing Services [Member]",
        "terseLabel": "Gas marketing services"
       }
      }
     },
     "localname": "GasMarketingServicesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofGoodwillBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_GasPipelineInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gas Pipeline Investments [Member]",
        "label": "Gas Pipeline Investments [Member]",
        "terseLabel": "Gas Pipeline Investments"
       }
      }
     },
     "localname": "GasPipelineInvestmentsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_GeorgiaPowerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Georgia Power.",
        "label": "Georgia Power [Member]",
        "verboseLabel": "Georgia Power"
       }
      }
     },
     "localname": "GeorgiaPowerMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSDetailsofAROsIncludedintheBalanceSheetsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSFairValueIncreasesDecreasesoftheFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSInvestmentSecuritiesintheFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/AuditInformation",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsGPCParenthetical",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails",
      "http://southerncompany.com/role/CoverPage",
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails",
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSFinancialInstrumentsCarryingAmountNotEqualtoFairValueDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGNotesPayableDetails",
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails",
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/INCOMETAXESFederalITCPTCCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails",
      "http://southerncompany.com/role/LEASESLeaseCostsDetails",
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails",
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails",
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails",
      "http://southerncompany.com/role/LEASESOtherInformationDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTCompositeStraightLineRatesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDeferredCloudImplementationCostsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTJointOwnershipAgreementsNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCTariffsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITS401KPlanMatchingContributionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAccumulatedBenefitObligationDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSPerformanceObligationsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONAggregateIntrinsicValueforOptionsExercisedDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONScheduleofEmployeesParticipatinginStockBasedCompensationProgramsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAverageAFUDCCompositeRatesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofTotalAFUDCandInterestCapitalizedDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPCParenthetical",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPCParenthetical",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_GlassSandsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Glass Sands",
        "label": "Glass Sands [Member]",
        "terseLabel": "Glass Sands"
       }
      }
     },
     "localname": "GlassSandsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_GlobalAtlanticMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Global Atlantic [Member]",
        "label": "Global Atlantic [Member]",
        "terseLabel": "Global Atlantic"
       }
      }
     },
     "localname": "GlobalAtlanticMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_GovernmentGrantsExpected": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Government Grants Expected",
        "label": "Government Grants Expected",
        "terseLabel": "Government grants expected"
       }
      }
     },
     "localname": "GovernmentGrantsExpected",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_GovernmentGrantsReceived": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Government Grants Received",
        "label": "Government Grants Received",
        "terseLabel": "Government grants received"
       }
      }
     },
     "localname": "GovernmentGrantsReceived",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_GreeneCountyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Greene County [Member]",
        "label": "Greene County [Member]",
        "verboseLabel": "Greene County (natural gas) Units 1 and 2"
       }
      }
     },
     "localname": "GreeneCountyMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_GuaranteeObligationsofContractorsParent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Guarantee Obligations of Contractor's Parent",
        "label": "Guarantee Obligations of Contractor's Parent",
        "terseLabel": "Remaining estimate to complete"
       }
      }
     },
     "localname": "GuaranteeObligationsofContractorsParent",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_GuaranteeOfUnsecuredSeniorNotes": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Guarantee of Unsecured Senior Notes",
        "label": "Guarantee of Unsecured Senior Notes",
        "terseLabel": "Guarantee of unsecured senior notes"
       }
      }
     },
     "localname": "GuaranteeOfUnsecuredSeniorNotes",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGuaranteesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_GulfPowerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gulf Power.",
        "label": "Gulf Power [Member]",
        "verboseLabel": "Gulf Power"
       }
      }
     },
     "localname": "GulfPowerMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_HedgingInstrumentsForRegulatoryPurposesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hedging instruments for regulatory purposes.",
        "label": "Hedging Instruments for Regulatory Purposes [Member]",
        "terseLabel": "Hedging Instruments for Regulatory Purposes"
       }
      }
     },
     "localname": "HedgingInstrumentsForRegulatoryPurposesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_HedgingMaturityDateAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hedging Maturity Date [Axis]",
        "label": "Hedging Maturity Date [Axis]",
        "terseLabel": "Hedging Maturity Date [Axis]"
       }
      }
     },
     "localname": "HedgingMaturityDateAxis",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_HedgingMaturityDateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hedging Maturity Date [Domain]",
        "label": "Hedging Maturity Date [Domain]",
        "terseLabel": "Hedging Maturity Date [Domain]"
       }
      }
     },
     "localname": "HedgingMaturityDateDomain",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_HedgingMaturityDateOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hedging Maturity Date One [Member]",
        "label": "Hedging Maturity Date One [Member]",
        "verboseLabel": "March 2028"
       }
      }
     },
     "localname": "HedgingMaturityDateOneMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_HedgingMaturityDateTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hedging Maturity Date Two [Member]",
        "label": "Hedging Maturity Date Two [Member]",
        "verboseLabel": "April 2030"
       }
      }
     },
     "localname": "HedgingMaturityDateTwoMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_IncludedInOperatingExpensesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents included in operating expenses.",
        "label": "Included In Operating Expenses [Member]",
        "terseLabel": "Included In Operating Expenses"
       }
      }
     },
     "localname": "IncludedInOperatingExpensesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESIncomeandOtherTaxesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_IncreaseDecreaseInAccruedTaxes": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 20.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net change during the period in the amount of cash payments due to taxing authorities for income and non income-related taxes.",
        "label": "Increase Decrease in Accrued Taxes",
        "verboseLabel": "-Accrued taxes"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedTaxes",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_IncreaseDecreaseInCustomerRefunds": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (Decrease) In Customer Refunds",
        "label": "Increase (Decrease) In Customer Refunds",
        "terseLabel": "-Customer refunds"
       }
      }
     },
     "localname": "IncreaseDecreaseInCustomerRefunds",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_IncreaseDecreaseInNaturalGasCostUnderRecoveryCurrentPortion": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 24.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (Decrease) In Natural Gas Cost Under Recovery, Current Portion",
        "label": "Increase (Decrease) In Natural Gas Cost Under Recovery, Current Portion",
        "negatedTerseLabel": "-Natural gas cost under recovery"
       }
      }
     },
     "localname": "IncreaseDecreaseInNaturalGasCostUnderRecoveryCurrentPortion",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_IncreaseDecreaseInTariff": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (Decrease) In Tariff",
        "label": "Increase (Decrease) In Tariff",
        "negatedLabel": "Requested decrease in NCCR tariff",
        "negatedTerseLabel": "Decrease in tariff"
       }
      }
     },
     "localname": "IncreaseDecreaseInTariff",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_IncreaseDecreaseRetailFuelCostOverRecoveryShortTerm": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase decrease retail fuel cost over recovery short-term.",
        "label": "Increase (Decrease) Retail Fuel Cost Over Recovery Short Term",
        "negatedTerseLabel": "-Retail fuel cost over recovery"
       }
      }
     },
     "localname": "IncreaseDecreaseRetailFuelCostOverRecoveryShortTerm",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_IncreaseDecreaseRetailFuelCostUnderRecoveryShortTerm": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (Decrease) Retail Fuel Cost Under Recovery Short Term",
        "label": "Increase (Decrease) Retail Fuel Cost Under Recovery Short Term",
        "terseLabel": "-Retail fuel cost under recovery"
       }
      }
     },
     "localname": "IncreaseDecreaseRetailFuelCostUnderRecoveryShortTerm",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/StatementsofCashFlowsAPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_IncreaseDecreaseinEnergyRelatedInventoryNaturalGasinStorage": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (Decrease) in Energy Related Inventory, Natural Gas in Storage",
        "label": "Increase (Decrease) in Energy Related Inventory, Natural Gas in Storage",
        "negatedTerseLabel": "-Natural gas for sale, net of temporary LIFO liquidation"
       }
      }
     },
     "localname": "IncreaseDecreaseinEnergyRelatedInventoryNaturalGasinStorage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_IncreaseDecreaseinFairValueofSecuritiesRelatedtoNuclearDecommissioning": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in fair value of securities related to nuclear decommissioning.",
        "label": "Increase (Decrease) in Fair Value of Securities Related to Nuclear Decommissioning",
        "terseLabel": "Fair value increases (decreases) of the Funds"
       }
      }
     },
     "localname": "IncreaseDecreaseinFairValueofSecuritiesRelatedtoNuclearDecommissioning",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSFairValueIncreasesDecreasesoftheFundsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_InfrastructureInvestmentAnnualCustomerRateIncrease": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Infrastructure Investment, Annual Customer Rate Increase",
        "label": "Infrastructure Investment, Annual Customer Rate Increase",
        "terseLabel": "Infrastructure investment, annual customer rate increase"
       }
      }
     },
     "localname": "InfrastructureInvestmentAnnualCustomerRateIncrease",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_InfrastructureInvestmentAnnualCustomerRateIncreaseInAnyGivenYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Infrastructure Investment, Annual Customer Rate Increase In Any Given Year",
        "label": "Infrastructure Investment, Annual Customer Rate Increase In Any Given Year",
        "terseLabel": "Infrastructure investment, annual customer rate increase in any given year"
       }
      }
     },
     "localname": "InfrastructureInvestmentAnnualCustomerRateIncreaseInAnyGivenYear",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_InfrastructureReplacementProgramApprovedInvestmentVarianceAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Infrastructure Replacement Program, Approved Investment Variance Amount",
        "label": "Infrastructure Replacement Program, Approved Investment Variance Amount",
        "terseLabel": "Infrastructure replacement program, approved investment variance amount"
       }
      }
     },
     "localname": "InfrastructureReplacementProgramApprovedInvestmentVarianceAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_IntegratedCapacityDeliveryPlanCapitalBudgetsAndRelatedOperationsAndMaintenanceSpendingTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Integrated Capacity Delivery Plan, Capital Budgets and Related Operations and Maintenance Spending, Term",
        "label": "Integrated Capacity Delivery Plan, Capital Budgets and Related Operations and Maintenance Spending, Term",
        "terseLabel": "Integrated capacity delivery plan, capital budgets and related operations and maintenance spending, term"
       }
      }
     },
     "localname": "IntegratedCapacityDeliveryPlanCapitalBudgetsAndRelatedOperationsAndMaintenanceSpendingTerm",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_IntegratedCapacityDeliveryPlanCapitalForecastPlanAmountYearsOneThroughTen": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Integrated Capacity Delivery Plan, Capital Forecast Plan, Amount, Years One Through Ten",
        "label": "Integrated Capacity Delivery Plan, Capital Forecast Plan, Amount, Years One Through Ten",
        "terseLabel": "Integrated capacity delivery plan, capital forecast plan, years one through ten"
       }
      }
     },
     "localname": "IntegratedCapacityDeliveryPlanCapitalForecastPlanAmountYearsOneThroughTen",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_IntegratedCapacityDeliveryPlanCapitalForecastPlanAmountYearsOneThroughThree": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Integrated Capacity Delivery Plan, Capital Forecast Plan, Amount, Years One Through Three",
        "label": "Integrated Capacity Delivery Plan, Capital Forecast Plan, Amount, Years One Through Three",
        "terseLabel": "Integrated capacity delivery plan, capital forecast plan, years one through three"
       }
      }
     },
     "localname": "IntegratedCapacityDeliveryPlanCapitalForecastPlanAmountYearsOneThroughThree",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_IntegratedCapacityDeliveryPlanInterstateAndIntrastateCapacityAssetRequirementsDetailedPlanTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Integrated Capacity Delivery Plan, Interstate and Intrastate Capacity Asset Requirements, Detailed Plan Term",
        "label": "Integrated Capacity Delivery Plan, Interstate and Intrastate Capacity Asset Requirements, Detailed Plan Term",
        "terseLabel": "Integrated capacity delivery plan, interstate and intrastate capacity asset requirements, detailed plan term"
       }
      }
     },
     "localname": "IntegratedCapacityDeliveryPlanInterstateAndIntrastateCapacityAssetRequirementsDetailedPlanTerm",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_IntegratedCapacityDeliveryPlanInterstateAndIntrastateCapacityAssetRequirementsTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Integrated Capacity Delivery Plan, Interstate and Intrastate Capacity Asset Requirements, Term",
        "label": "Integrated Capacity Delivery Plan, Interstate and Intrastate Capacity Asset Requirements, Term",
        "terseLabel": "Integrated capacity delivery plan, interstate and intrastate capacity asset requirements, term"
       }
      }
     },
     "localname": "IntegratedCapacityDeliveryPlanInterstateAndIntrastateCapacityAssetRequirementsTerm",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_IntercompanyRevenuesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of intercompany revenues.",
        "label": "Intercompany Revenues [Member]",
        "terseLabel": "Intercompany Revenues"
       }
      }
     },
     "localname": "IntercompanyRevenuesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_InventoryMaterialsAndSuppliesPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory materials and supplies.",
        "label": "Inventory Materials and Supplies [Policy Text Block]",
        "verboseLabel": "Materials and Supplies"
       }
      }
     },
     "localname": "InventoryMaterialsAndSuppliesPolicyTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_InvestingInIllinoisMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investing In Illinois [Member]",
        "label": "Investing In Illinois [Member]",
        "terseLabel": "Investing In Illinois"
       }
      }
     },
     "localname": "InvestingInIllinoisMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_InvestmentTaxAndOtherCreditCarryforwardMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Tax And Other Credit Carryforward [Member]",
        "label": "Investment Tax And Other Credit Carryforward [Member]",
        "terseLabel": "ITCs and other credits carryforward"
       }
      }
     },
     "localname": "InvestmentTaxAndOtherCreditCarryforwardMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_JeffersonIslandMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Jefferson Island",
        "label": "Jefferson Island [Member]",
        "terseLabel": "Jefferson Island"
       }
      }
     },
     "localname": "JeffersonIslandMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_JointOwnerAccountsReceivable": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amounts due from joint owners related to jointly-owned assets within one year of the balance sheet date.",
        "label": "Joint Owner Accounts Receivable",
        "verboseLabel": "Joint owner accounts"
       }
      }
     },
     "localname": "JointOwnerAccountsReceivable",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_JointlyOwnedAffiliateEquity": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "jointly owned affiliate equity",
        "label": "Jointly Owned Affiliate Equity",
        "terseLabel": "Jointly owned affiliate equity"
       }
      }
     },
     "localname": "JointlyOwnedAffiliateEquity",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGuaranteesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_JointlyOwnedAffiliateLongTermDebt": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Jointly Owned Affiliate Long Term Debt",
        "label": "Jointly Owned Affiliate Long Term Debt",
        "terseLabel": "Jointly owned affiliate long term debt"
       }
      }
     },
     "localname": "JointlyOwnedAffiliateLongTermDebt",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGuaranteesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_JointlyOwnedUtilityPlantFutureMinimumPaymentsReceivable": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Jointly Owned Utility Plant, Future Minimum Payments Receivable",
        "label": "Jointly Owned Utility Plant, Future Minimum Payments Receivable",
        "terseLabel": "Future minimum payments receivable"
       }
      }
     },
     "localname": "JointlyOwnedUtilityPlantFutureMinimumPaymentsReceivable",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_KemperIGCCLossMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Kemper IGCC Loss [Member]",
        "label": "Kemper IGCC Loss [Member]",
        "terseLabel": "Estimated loss on plants under construction"
       }
      }
     },
     "localname": "KemperIGCCLossMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_KemperIgccMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Kemper IGCC.",
        "label": "Kemper Igcc [Member]",
        "terseLabel": "Kemper County energy facility assets, net"
       }
      }
     },
     "localname": "KemperIgccMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_LeaseAndAssetImpairmentCharges": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease And Asset Impairment Charges",
        "label": "Lease And Asset Impairment Charges",
        "terseLabel": "Impairment charges"
       }
      }
     },
     "localname": "LeaseAndAssetImpairmentCharges",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_LeaseImpairmentLoss": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 5.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease, Impairment Loss",
        "label": "Lease, Impairment Loss",
        "negatedTerseLabel": "Impairment of leveraged leases",
        "terseLabel": "Lease, impairment loss"
       }
      }
     },
     "localname": "LeaseImpairmentLoss",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/LEASESLeveragedLeasesNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_LeaseImpairmentLossAfterTax": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease, Impairment Loss, After Tax",
        "label": "Lease, Impairment Loss, After Tax",
        "terseLabel": "Lease, impairment loss, after tax"
       }
      }
     },
     "localname": "LeaseImpairmentLossAfterTax",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails",
      "http://southerncompany.com/role/LEASESLeveragedLeasesNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_LeaseInitialImpairmentLoss": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease, Initial Impairment Loss",
        "label": "Lease, Initial Impairment Loss",
        "terseLabel": "Lease, initial impairment loss"
       }
      }
     },
     "localname": "LeaseInitialImpairmentLoss",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_LeaseInitialImpairmentLossAfterTax": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease, Initial Impairment Loss, After Tax",
        "label": "Lease, Initial Impairment Loss, After Tax",
        "terseLabel": "Lease, initial impairment loss, after tax"
       }
      }
     },
     "localname": "LeaseInitialImpairmentLossAfterTax",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_LeaseLiability": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease, Liability",
        "label": "Lease, Liability",
        "terseLabel": "Lease obligations"
       }
      }
     },
     "localname": "LeaseLiability",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_LeaseWeightedAverageDiscountRatePercentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease, Weighted Average Discount Rate, Percent [Abstract]",
        "label": "Lease, Weighted Average Discount Rate, Percent [Abstract]",
        "terseLabel": "Weighted-average discount rate:"
       }
      }
     },
     "localname": "LeaseWeightedAverageDiscountRatePercentAbstract",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESOtherInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_LeaseWeightedAverageRemainingLeaseTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease, Weighted Average Remaining Lease Term",
        "label": "Lease, Weighted Average Remaining Lease Term",
        "terseLabel": "Remaining terms"
       }
      }
     },
     "localname": "LeaseWeightedAverageRemainingLeaseTerm",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_LeaseWeightedAverageRemainingLeaseTermAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease, Weighted Average Remaining Lease Term [Abstract]",
        "label": "Lease, Weighted Average Remaining Lease Term [Abstract]",
        "terseLabel": "Weighted-average remaining lease term in years:"
       }
      }
     },
     "localname": "LeaseWeightedAverageRemainingLeaseTermAbstract",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESOtherInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_LesseeLeaseRenewalTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lessee, Lease, Renewal Term",
        "label": "Lessee, Lease, Renewal Term",
        "terseLabel": "Lessee, renewal period"
       }
      }
     },
     "localname": "LesseeLeaseRenewalTerm",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_LesseeLeaseTermOfContract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lessee, Lease, Term Of Contract",
        "label": "Lessee, Lease, Term Of Contract",
        "terseLabel": "Lessee, lease term"
       }
      }
     },
     "localname": "LesseeLeaseTermOfContract",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_LessorOperatingLeaseRemainingLeaseTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lessor, Operating Lease, Remaining Lease Term",
        "label": "Lessor, Operating Lease, Remaining Lease Term",
        "terseLabel": "Lessor, remaining term"
       }
      }
     },
     "localname": "LessorOperatingLeaseRemainingLeaseTerm",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_LeveragedLeaseBasisDifferencesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Leveraged lease basis differences.",
        "label": "Leveraged Lease Basis Differences [Member]",
        "verboseLabel": "Leveraged lease basis differences"
       }
      }
     },
     "localname": "LeveragedLeaseBasisDifferencesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_LeveragedLeaseLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Leveraged Lease Line Items.",
        "label": "Leveraged Lease [Line Items]",
        "terseLabel": "Leveraged Lease [Line Items]"
       }
      }
     },
     "localname": "LeveragedLeaseLineItems",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeveragedLeasesNarrativeDetails",
      "http://southerncompany.com/role/LEASESSummaryoftheComponentsofIncomefromLeveragedLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_LeveragedLeasesAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Leveraged Leases Axis.",
        "label": "Leveraged Leases [Axis]",
        "terseLabel": "Leveraged Leases [Axis]"
       }
      }
     },
     "localname": "LeveragedLeasesAxis",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESSummaryoftheComponentsofIncomefromLeveragedLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_LeveragedLeasesDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Leveraged Leases Domain.",
        "label": "Leveraged Leases [Domain]",
        "terseLabel": "Leveraged Leases [Domain]"
       }
      }
     },
     "localname": "LeveragedLeasesDomain",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESSummaryoftheComponentsofIncomefromLeveragedLeasesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_LeveragedLeasesRemainingLeaseTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Leveraged Leases, Remaining Lease Term",
        "label": "Leveraged Leases, Remaining Lease Term",
        "terseLabel": "Remaining lease term"
       }
      }
     },
     "localname": "LeveragedLeasesRemainingLeaseTerm",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeveragedLeasesNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_LeveragedLeasesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Leveraged Leases Table.",
        "label": "Leveraged Leases [Table]",
        "terseLabel": "Leveraged Leases [Table]"
       }
      }
     },
     "localname": "LeveragedLeasesTable",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeveragedLeasesNarrativeDetails",
      "http://southerncompany.com/role/LEASESSummaryoftheComponentsofIncomefromLeveragedLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_LiabilityForClaimsAndClaimsAdjustmentExpenseAnnualRecoveryAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Liability For Claims And Claims Adjustment Expense, Annual Recovery Amount",
        "label": "Liability For Claims And Claims Adjustment Expense, Annual Recovery Amount",
        "verboseLabel": "Annual recovery amount"
       }
      }
     },
     "localname": "LiabilityForClaimsAndClaimsAdjustmentExpenseAnnualRecoveryAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseCertainAdditionalAmountsPeriodIncreaseDecrease": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Liability For Unpaid Claims And Claims Adjustment Expense, Certain Additional Amounts, Period Increase (Decrease)",
        "label": "Liability For Unpaid Claims And Claims Adjustment Expense, Certain Additional Amounts, Period Increase (Decrease)",
        "terseLabel": "Additional accruals authorized by state PSCs"
       }
      }
     },
     "localname": "LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseCertainAdditionalAmountsPeriodIncreaseDecrease",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_LifeOutputOfPlant": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The contracted life output of the plant.",
        "label": "Life Output Of Plant",
        "terseLabel": "PPA Contract Period"
       }
      }
     },
     "localname": "LifeOutputOfPlant",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_LineOfCreditExpireYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line Of Credit Expire Year Four",
        "label": "Line Of Credit Expire Year Four",
        "terseLabel": "Expires, 2025"
       }
      }
     },
     "localname": "LineOfCreditExpireYearFour",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_LineOfCreditExpireYearOne": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line Of Credit Expire Year One",
        "label": "Line Of Credit Expire Year One",
        "terseLabel": "Expires, 2022"
       }
      }
     },
     "localname": "LineOfCreditExpireYearOne",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_LineOfCreditExpireYearThree": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line Of Credit Expire Year Three",
        "label": "Line Of Credit Expire Year Three",
        "terseLabel": "Expires, 2024"
       }
      }
     },
     "localname": "LineOfCreditExpireYearThree",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_LineOfCreditExpireYearTwo": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line Of Credit Expire Year Two",
        "label": "Line Of Credit Expire Year Two",
        "terseLabel": "Expires, 2023"
       }
      }
     },
     "localname": "LineOfCreditExpireYearTwo",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_LongTermDebtFairValueAdjustmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents long-term debt fair value adjustment.",
        "label": "Long Term Debt Fair Value Adjustment [Member]",
        "terseLabel": "Long Term Debt Fair Value Adjustment"
       }
      }
     },
     "localname": "LongTermDebtFairValueAdjustmentMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_LongTermDebtandFinanceLeaseObligationNet": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails_1": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying values as of the balance sheet date of all long-term debt, which is debt initially having maturities due after one year from the balance sheet date or beyond the operating cycle, if longer, plus capital lease obligations.",
        "label": "Long Term Debt and Finance Lease Obligation Net",
        "totalLabel": "Total long-term debt"
       }
      }
     },
     "localname": "LongTermDebtandFinanceLeaseObligationNet",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_LongTermServiceAgreementsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long-Term Service Agreements [Policy Text Block]",
        "label": "Long-Term Service Agreements [Policy Text Block]",
        "terseLabel": "Long-Term Service Agreements"
       }
      }
     },
     "localname": "LongTermServiceAgreementsPolicyTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_LossContingencyEstimateOfPossibleLossLossOfProductivityTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loss Contingency, Estimate Of Possible Loss, Loss Of Productivity, Term",
        "label": "Loss Contingency, Estimate Of Possible Loss, Loss Of Productivity, Term",
        "terseLabel": "Estimated months of productivity loss"
       }
      }
     },
     "localname": "LossContingencyEstimateOfPossibleLossLossOfProductivityTerm",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_MEAGPowerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MEAG Power",
        "label": "MEAG Power [Member]",
        "terseLabel": "MEAG Power"
       }
      }
     },
     "localname": "MEAGPowerMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_MRATariffTermsCounterpartysElectricityRequirementsAtDeliveryPointsPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MRA Tariff, Terms, Counterparty's Electricity Requirements At Delivery Points, Percentage",
        "label": "MRA Tariff, Terms, Counterparty's Electricity Requirements At Delivery Points, Percentage",
        "terseLabel": "Counterparty's electricity requirement at MRA delivery points"
       }
      }
     },
     "localname": "MRATariffTermsCounterpartysElectricityRequirementsAtDeliveryPointsPercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_MRATariffTermsCounterpartysOptionToReduceUseOfServicesPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MRA Tariff, Terms, Counterparty's Option To Reduce Use Of Services, Percentage",
        "label": "MRA Tariff, Terms, Counterparty's Option To Reduce Use Of Services, Percentage",
        "terseLabel": "Counterparty's option to decrease services, percentage"
       }
      }
     },
     "localname": "MRATariffTermsCounterpartysOptionToReduceUseOfServicesPercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_MRATariffTermsPowerSuppliedToCounterpartyAnnually": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MRA Tariff, Terms, Power Supplied To Counterparty Annually",
        "label": "MRA Tariff, Terms, Power Supplied To Counterparty Annually",
        "terseLabel": "Power being supplied to counterparty"
       }
      }
     },
     "localname": "MRATariffTermsPowerSuppliedToCounterpartyAnnually",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails"
     ],
     "xbrltype": "powerItemType"
    },
    "so_MajorStormMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Major Storm [Member]",
        "label": "Major Storm [Member]",
        "terseLabel": "Major storms"
       }
      }
     },
     "localname": "MajorStormMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_MankatoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mankato [Member]",
        "label": "Mankato [Member]",
        "terseLabel": "Mankato"
       }
      }
     },
     "localname": "MankatoMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ManufacturedGasPlantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Manufactured Gas Plants [Member]",
        "label": "Manufactured Gas Plants [Member]",
        "terseLabel": "Manufactured Gas Plants"
       }
      }
     },
     "localname": "ManufacturedGasPlantsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_MaximumAdditionalCoverageProvidedForLossesUnderExcessInsurance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Additional Coverage Provided For Losses Under Excess Insurance",
        "label": "Maximum Additional Coverage Provided For Losses Under Excess Insurance",
        "verboseLabel": "Maximum additional coverage provided for losses under excess insurance"
       }
      }
     },
     "localname": "MaximumAdditionalCoverageProvidedForLossesUnderExcessInsurance",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_MaximumAdditionalCoverageProvidedForLossesUnderExcessInsuranceNonNuclearLosses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Additional Coverage Provided For Losses Under Excess Insurance, Non-Nuclear Losses",
        "label": "Maximum Additional Coverage Provided For Losses Under Excess Insurance, Non-Nuclear Losses",
        "terseLabel": "Maximum additional coverage provided for losses under excess insurance, non-nuclear losses"
       }
      }
     },
     "localname": "MaximumAdditionalCoverageProvidedForLossesUnderExcessInsuranceNonNuclearLosses",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_MaximumAggregateAmountForEachIncident": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Aggregate Amount For Each Incident",
        "label": "Maximum Aggregate Amount For Each Incident",
        "verboseLabel": "Maximum aggregate amount that a reactor can assess in a calendar period for each incident"
       }
      }
     },
     "localname": "MaximumAggregateAmountForEachIncident",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_MaximumAggregateAmountToBePaidInOneYear": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Aggregate Amount To Be Paid In One Year",
        "label": "Maximum Aggregate Amount To Be Paid In One Year",
        "verboseLabel": "Maximum aggregate amount to be paid in one year"
       }
      }
     },
     "localname": "MaximumAggregateAmountToBePaidInOneYear",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_MaximumAmountForEachLicensedReactor": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Amount For Each Licensed Reactor",
        "label": "Maximum Amount For Each Licensed Reactor",
        "verboseLabel": "Maximum amount that a company could be assessed per incident for each licensed reactor"
       }
      }
     },
     "localname": "MaximumAmountForEachLicensedReactor",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_MaximumAnnualPercentageOfRatioRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum annual percentage of ratio rate.",
        "label": "Maximum Annual Percentage of Ratio Rate",
        "terseLabel": "Maximum annual percentage of ratio rate"
       }
      }
     },
     "localname": "MaximumAnnualPercentageOfRatioRate",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_MaximumAssessmentExcludingApplicableStatePremiumTaxes": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Assessment Excluding Applicable State Premium Taxes",
        "label": "Maximum Assessment Excluding Applicable State Premium Taxes",
        "verboseLabel": "Maximum assessment, excluding any applicable state premium taxes"
       }
      }
     },
     "localname": "MaximumAssessmentExcludingApplicableStatePremiumTaxes",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_MaximumCoveragePerOccurrencePerUnitLimitToObtainReplacementPower": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Coverage Per Occurrence Per Unit Limit To Obtain Replacement Power",
        "label": "Maximum Coverage Per Occurrence Per Unit Limit To Obtain Replacement Power",
        "verboseLabel": "Maximum coverage per occurrence per unit limit to obtain replacement power"
       }
      }
     },
     "localname": "MaximumCoveragePerOccurrencePerUnitLimitToObtainReplacementPower",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_MaximumDeductibleWaitingPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Deductible Waiting Period",
        "label": "Maximum Deductible Waiting Period",
        "terseLabel": "Maximum deductible waiting period"
       }
      }
     },
     "localname": "MaximumDeductibleWaitingPeriod",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_MaximumFundProvidedForPublicLiabilityClaims": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum fund provided for public liability claims arising from a single nuclear incident under Price-Anderson Amendments Act.",
        "label": "Maximum Fund Provided for Public Liability Claims",
        "verboseLabel": "Maximum fund for public liability claims arising from a single nuclear incident under price - anderson amendments act"
       }
      }
     },
     "localname": "MaximumFundProvidedForPublicLiabilityClaims",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_MaximumInsuranceCoverage": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Insurance Coverage",
        "label": "Maximum Insurance Coverage",
        "verboseLabel": "Maximum insurance coverage provided by American Nuclear Insurers to each nuclear plant"
       }
      }
     },
     "localname": "MaximumInsuranceCoverage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_MaximumLimitsForAccidentalPropertyDamageOccurringDuringConstruction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Limits For Accidental Property Damage Occurring During Construction",
        "label": "Maximum Limits For Accidental Property Damage Occurring During Construction",
        "verboseLabel": "Maximum limits for accidental property damage occurring during construction"
       }
      }
     },
     "localname": "MaximumLimitsForAccidentalPropertyDamageOccurringDuringConstruction",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_MaximumPercentageOfRateRse": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum percentage of rate RSE.",
        "label": "Maximum Percentage of Rate RSE",
        "terseLabel": "Maximum percentage of rate RSE"
       }
      }
     },
     "localname": "MaximumPercentageOfRateRse",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_MaximumPercentageOfTransferPerformanceSharesToCommonStockBasedOnActualShareholderReturn": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Percentage of transfer performance shares to common stock based on actual Shareholder Return.",
        "label": "Maximum Percentage of Transfer Performance Shares to Common Stock Based on Actual Shareholder Return",
        "verboseLabel": "Maximum percentage of transfer performance shares to common stock based on actual total shareholder return"
       }
      }
     },
     "localname": "MaximumPercentageOfTransferPerformanceSharesToCommonStockBasedOnActualShareholderReturn",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_MaximumPeriodForRecoveryDeferredStormRelatedOperationsAndMaintenanceCostsAndAnyFutureReserveDeficits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Period for recovery deferred storm-related operations and maintenance costs and any future reserve deficits.",
        "label": "Maximum Period for Recovery Deferred Storm Related Operations and Maintenance Costs and Any Future Reserve Deficits",
        "terseLabel": "Maximum period for recovery deferred stock related operations and maintenance costs and any future reserve deficits"
       }
      }
     },
     "localname": "MaximumPeriodForRecoveryDeferredStormRelatedOperationsAndMaintenanceCostsAndAnyFutureReserveDeficits",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_MaximumPropertyDamageInsuranceProvidedToNuclearGeneratingFacilities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Property Damage Insurance Provided To Nuclear Generating Facilities",
        "label": "Maximum Property Damage Insurance Provided To Nuclear Generating Facilities",
        "verboseLabel": "Maximum property damage insurance provided to nuclear generating facilities"
       }
      }
     },
     "localname": "MaximumPropertyDamageInsuranceProvidedToNuclearGeneratingFacilities",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_MaximumRateNdrChargePerMonthMonthlyNonresidentialCustomerAccount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Total Rate NDR Charge Per Month, Monthly Nonresidential Customer Account",
        "label": "Maximum Rate NDR Charge Per Month, Monthly Nonresidential Customer Account",
        "terseLabel": "Maximum rate NDR charge per month, monthly nonresidential customer account"
       }
      }
     },
     "localname": "MaximumRateNdrChargePerMonthMonthlyNonresidentialCustomerAccount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_MaximumRateNdrChargePerMonthMonthlyResidentialCustomerAccount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Total Rate NDR Charge Per Month, Monthly Residential Customer Account",
        "label": "Maximum Rate NDR Charge Per Month, Monthly Residential Customer Account",
        "terseLabel": "Maximum rate NDR charge per month, monthly residential customer account"
       }
      }
     },
     "localname": "MaximumRateNdrChargePerMonthMonthlyResidentialCustomerAccount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_MeasurementInputAverageCustomerPriceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement Input, Average Customer Price",
        "label": "Measurement Input, Average Customer Price [Member]",
        "terseLabel": "Measurement Input, Average Customer Price"
       }
      }
     },
     "localname": "MeasurementInputAverageCustomerPriceMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_MeasurementInputCustomerSatisfactionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement Input, Customer Satisfaction",
        "label": "Measurement Input, Customer Satisfaction [Member]",
        "terseLabel": "Measurement Input, Customer Satisfaction"
       }
      }
     },
     "localname": "MeasurementInputCustomerSatisfactionMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_MeasurementInputDiscountRateInterestCostsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement Input, Discount Rate, Interest Costs",
        "label": "Measurement Input, Discount Rate, Interest Costs [Member]",
        "terseLabel": "Discount rate \u2013 interest costs"
       }
      }
     },
     "localname": "MeasurementInputDiscountRateInterestCostsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_MeasurementInputDiscountRateServiceCostsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement Input, Discount Rate, Service Costs",
        "label": "Measurement Input, Discount Rate, Service Costs [Member]",
        "terseLabel": "Discount rate \u2013 service costs"
       }
      }
     },
     "localname": "MeasurementInputDiscountRateServiceCostsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_MeasurementInputServiceReliabilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement Input, Service Reliability",
        "label": "Measurement Input, Service Reliability [Member]",
        "terseLabel": "Measurement Input, Service Reliability"
       }
      }
     },
     "localname": "MeasurementInputServiceReliabilityMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_MinimumNaturalDisasterReserveBalanceTriggeringEstablishmentCharge": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum Natural Disaster Reserve Balance, Triggering Establishment Charge",
        "label": "Minimum Natural Disaster Reserve Balance, Triggering Establishment Charge",
        "terseLabel": "Minimum natural disaster reserve balance, triggering establishment charge"
       }
      }
     },
     "localname": "MinimumNaturalDisasterReserveBalanceTriggeringEstablishmentCharge",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_MinimumPercentageOfTransferPerformanceSharesToCommonStockBasedOnActualShareholderReturn": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum Percentage of transfer performance shares to common stock based on actual Shareholder Return.",
        "label": "Minimum Percentage of Transfer Performance Shares to Common Stock Based on Actual Shareholder Return",
        "verboseLabel": "Minimum percentage of transfer performance shares to common stock based on actual total shareholder return"
       }
      }
     },
     "localname": "MinimumPercentageOfTransferPerformanceSharesToCommonStockBasedOnActualShareholderReturn",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_MississippiPowerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mississippi Power.",
        "label": "Mississippi Power [Member]",
        "terseLabel": "Mississippi Power [Member]",
        "verboseLabel": "Mississippi Power"
       }
      }
     },
     "localname": "MississippiPowerMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSDetailsofAROsIncludedintheBalanceSheetsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/AuditInformation",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/BalanceSheetsMPCParenthetical",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/CoverPage",
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails",
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails",
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSFinancialInstrumentsCarryingAmountNotEqualtoFairValueDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails",
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails",
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails",
      "http://southerncompany.com/role/LEASESLeaseCostsDetails",
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails",
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails",
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails",
      "http://southerncompany.com/role/LEASESOtherInformationDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAssetsSubjecttoLienNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTCompositeStraightLineRatesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDeferredCloudImplementationCostsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCAccountingOrdersandPlantGreeneCountyDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCEnvironmentalComplianceOverviewPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITS401KPlanMatchingContributionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAccumulatedBenefitObligationDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONAggregateIntrinsicValueforOptionsExercisedDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONScheduleofEmployeesParticipatinginStockBasedCompensationProgramsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofRevenueNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAverageAFUDCCompositeRatesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofTotalAFUDCandInterestCapitalizedDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPCParenthetical",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPCParenthetical",
      "http://southerncompany.com/role/StatementsofIncomeMPC",
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_MraRevenueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MRA Revenue.",
        "label": "MRA Revenue [Member]",
        "terseLabel": "MRA Revenue"
       }
      }
     },
     "localname": "MraRevenueMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_MunicipalAndRuralAssociationsTariffMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Municipal and Rural Associations Tariff",
        "label": "Municipal and Rural Associations Tariff [Member]",
        "terseLabel": "Municipal and Rural Associations Tariff"
       }
      }
     },
     "localname": "MunicipalAndRuralAssociationsTariffMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_MunicipalFranchiseFeeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Municipal Franchise Fee [Member]",
        "label": "Municipal Franchise Fee [Member]",
        "terseLabel": "MFF"
       }
      }
     },
     "localname": "MunicipalFranchiseFeeMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCTariffsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NameplateCapacityPlacedInService": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nameplate Capacity Placed In Service",
        "label": "Nameplate Capacity Placed In Service",
        "terseLabel": "Nameplate capacity placed in service (in MWs)"
       }
      }
     },
     "localname": "NameplateCapacityPlacedInService",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails"
     ],
     "xbrltype": "powerItemType"
    },
    "so_NaturalDisasterReserveAuthorizedLimit": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Disaster Reserve Authorized Limit",
        "label": "Natural Disaster Reserve Authorized Limit",
        "terseLabel": "Natural disaster reserve authorized limit"
       }
      }
     },
     "localname": "NaturalDisasterReserveAuthorizedLimit",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_NaturalDisasterReserveExpectedRecoveryAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Disaster Reserve, Expected Recovery Amount",
        "label": "Natural Disaster Reserve, Expected Recovery Amount",
        "terseLabel": "NDR, expected recovery amount"
       }
      }
     },
     "localname": "NaturalDisasterReserveExpectedRecoveryAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_NaturalGasCostUnderRecoveryLongTerm": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 25.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Gas Cost Under Recovery Long Term",
        "label": "Natural Gas Cost Under Recovery Long Term",
        "negatedTerseLabel": "Natural gas cost under recovery \u2013 long-term"
       }
      }
     },
     "localname": "NaturalGasCostUnderRecoveryLongTerm",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_NaturalGasCostUnderRecoveryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Gas Cost Under Recovery",
        "label": "Natural Gas Cost Under Recovery [Member]",
        "terseLabel": "Natural Gas Cost Under Recovery"
       }
      }
     },
     "localname": "NaturalGasCostUnderRecoveryMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NaturalGasDistributionCommercialMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Gas Distribution - Commercial [Member]",
        "label": "Natural Gas Distribution - Commercial [Member]",
        "terseLabel": "Commercial"
       }
      }
     },
     "localname": "NaturalGasDistributionCommercialMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NaturalGasDistributionIndustrialMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Gas Distribution - Industrial [Member]",
        "label": "Natural Gas Distribution - Industrial [Member]",
        "terseLabel": "Industrial"
       }
      }
     },
     "localname": "NaturalGasDistributionIndustrialMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NaturalGasDistributionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Gas Distribution [Member]",
        "label": "Natural Gas Distribution [Member]",
        "terseLabel": "Natural gas distribution revenues"
       }
      }
     },
     "localname": "NaturalGasDistributionMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NaturalGasDistributionOtherMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Gas Distribution - Other [Member]",
        "label": "Natural Gas Distribution - Other [Member]",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "NaturalGasDistributionOtherMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NaturalGasDistributionResidentialMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Gas Distribution - Residential [Member]",
        "label": "Natural Gas Distribution - Residential [Member]",
        "terseLabel": "Residential"
       }
      }
     },
     "localname": "NaturalGasDistributionResidentialMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NaturalGasDistributionTransportationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Gas Distribution - Transportation [Member]",
        "label": "Natural Gas Distribution - Transportation [Member]",
        "terseLabel": "Transportation"
       }
      }
     },
     "localname": "NaturalGasDistributionTransportationMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NaturalGasForSalePolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Gas For Sale, Policy [Policy Text Block]",
        "label": "Natural Gas For Sale, Policy [Policy Text Block]",
        "terseLabel": "Natural Gas for Sale"
       }
      }
     },
     "localname": "NaturalGasForSalePolicyPolicyTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_NaturalGasGeneratingFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Gas Generating Facility [Member]",
        "label": "Natural Gas Generating Facility [Member]",
        "terseLabel": "Natural Gas Generating Facility"
       }
      }
     },
     "localname": "NaturalGasGeneratingFacilityMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NaturalGasMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Gas",
        "label": "Natural Gas [Member]",
        "terseLabel": "Natural Gas"
       }
      }
     },
     "localname": "NaturalGasMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NaturalGasPipelineCapacityEnergy": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the capacity of a natural gas pipeline.",
        "label": "Natural Gas Pipeline Capacity (Energy)",
        "terseLabel": "Natural gas pipeline capacity"
       }
      }
     },
     "localname": "NaturalGasPipelineCapacityEnergy",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails"
     ],
     "xbrltype": "energyItemType"
    },
    "so_NaturalGasRevenuesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Gas Revenues [Member]",
        "label": "Natural Gas Revenues [Member]",
        "terseLabel": "Natural gas revenues"
       }
      }
     },
     "localname": "NaturalGasRevenuesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NaturalGasStorageFacilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Gas Storage Facilities",
        "label": "Natural Gas Storage Facilities [Member]",
        "terseLabel": "Natural Gas Storage Facilities"
       }
      }
     },
     "localname": "NaturalGasStorageFacilitiesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NaturalGasStorageFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Gas Storage Facility [Member]",
        "label": "Natural Gas Storage Facility [Member]",
        "terseLabel": "Natural Gas Storage Facility"
       }
      }
     },
     "localname": "NaturalGasStorageFacilityMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NetIncomeLossIncludingPortionAttributableToNoncontrollingInterestNetOfPreferredStockDividends": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net Income (Loss), Including Portion Attributable To Noncontrolling Interest, Net Of Preferred Stock Dividends",
        "label": "Net Income (Loss), Including Portion Attributable To Noncontrolling Interest, Net Of Preferred Stock Dividends",
        "terseLabel": "Consolidated net income (loss)"
       }
      }
     },
     "localname": "NetIncomeLossIncludingPortionAttributableToNoncontrollingInterestNetOfPreferredStockDividends",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_NetQuantityPurchaseOfDerivativesNotDesignatedAsHedges": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net Quantity Purchase Of Derivatives Not Designated As Hedges",
        "label": "Net Quantity Purchase Of Derivatives Not Designated As Hedges",
        "terseLabel": "Net Purchased mmBtu"
       }
      }
     },
     "localname": "NetQuantityPurchaseOfDerivativesNotDesignatedAsHedges",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails"
     ],
     "xbrltype": "energyItemType"
    },
    "so_NetRegulatoryAssetsEstimatedAmountRemainingAtRetirement": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net Regulatory Assets, Estimated Amount Remaining At Retirement",
        "label": "Net Regulatory Assets, Estimated Amount Remaining At Retirement",
        "terseLabel": "Estimated amount remaining at retirement"
       }
      }
     },
     "localname": "NetRegulatoryAssetsEstimatedAmountRemainingAtRetirement",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_NewYorkCityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "New York City [Member]",
        "label": "New York City [Member]",
        "terseLabel": "New York City"
       }
      }
     },
     "localname": "NewYorkCityMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NicorGasMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nicor Gas [Member]",
        "label": "Nicor Gas [Member]",
        "terseLabel": "Nicor Gas"
       }
      }
     },
     "localname": "NicorGasMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/FINANCINGNotesPayableDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUnrecognizedRatemakingAmountsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUtilityRegulationandRateDesignDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNaturalGasforSaleNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAverageAFUDCCompositeRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NonFuelExpenseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-Fuel Expense [Member]",
        "label": "Non-Fuel Expense [Member]",
        "terseLabel": "Non-Fuel Expense"
       }
      }
     },
     "localname": "NonFuelExpenseMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NonQualifiedDeferredCompensationTrustsFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-Qualified Deferred Compensation Trusts, Fair Value Disclosure",
        "label": "Non-Qualified Deferred Compensation Trusts, Fair Value Disclosure",
        "terseLabel": "Non-qualified deferred compensation trusts"
       }
      }
     },
     "localname": "NonQualifiedDeferredCompensationTrustsFairValueDisclosure",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_NoncashOrPartNoncashTransactionContributionsFromNoncontrollingInterests": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noncash Or Part Noncash Transaction, Contributions From Noncontrolling Interests",
        "label": "Noncash Or Part Noncash Transaction, Contributions From Noncontrolling Interests",
        "terseLabel": "Contributions from noncontrolling interests"
       }
      }
     },
     "localname": "NoncashOrPartNoncashTransactionContributionsFromNoncontrollingInterests",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_NoncontrollingInterestIncreasefromContributionsfromNoncontrollingInterestHolders": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noncontrolling Interest, Increase from Contributions from Noncontrolling Interest Holders",
        "label": "Noncontrolling Interest, Increase from Contributions from Noncontrolling Interest Holders",
        "verboseLabel": "Contributions from noncontrolling interests"
       }
      }
     },
     "localname": "NoncontrollingInterestIncreasefromContributionsfromNoncontrollingInterestHolders",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_NoncontrollingInterestOwnershipByParentPercentageSold": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noncontrolling Interest, Ownership By Parent, Percentage Sold",
        "label": "Noncontrolling Interest, Ownership By Parent, Percentage Sold",
        "terseLabel": "Noncontrolling ownership percentage sold by parent"
       }
      }
     },
     "localname": "NoncontrollingInterestOwnershipByParentPercentageSold",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_NoncurrentPrepaidPensionExpense": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsMPC": {
       "order": 6.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noncurrent Prepaid Pension Expense",
        "label": "Noncurrent Prepaid Pension Expense",
        "terseLabel": "Prepaid pension costs(a)"
       }
      }
     },
     "localname": "NoncurrentPrepaidPensionExpense",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_NotionalAmountOfForeignCurrencyDerivativesPayRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Notional Amount Of Foreign Currency Derivatives, Pay Rate",
        "label": "Notional Amount Of Foreign Currency Derivatives, Pay Rate",
        "terseLabel": "Pay Rate"
       }
      }
     },
     "localname": "NotionalAmountOfForeignCurrencyDerivativesPayRate",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_NotionalAmountOfForeignCurrencyDerivativesReceiveRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Notional Amount Of Foreign Currency Derivatives, Receive Rate",
        "label": "Notional Amount Of Foreign Currency Derivatives, Receive Rate",
        "terseLabel": "Receive Rate"
       }
      }
     },
     "localname": "NotionalAmountOfForeignCurrencyDerivativesReceiveRate",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_NotionalAmountofInterestRateDerivativesInterestRatePaid": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Notional amount of interest rate derivatives, interest rate paid.",
        "label": "Notional Amount of Interest Rate Derivatives Interest Rate Paid",
        "terseLabel": "Weighted Average Interest Rate Paid"
       }
      }
     },
     "localname": "NotionalAmountofInterestRateDerivativesInterestRatePaid",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_NotionalAmountofInterestRateDerivativesInterestRateReceived": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Notional amount of interest rate derivatives, interest rate received.",
        "label": "Notional Amount of Interest Rate Derivatives Interest Rate Received",
        "terseLabel": "Interest Rate Received"
       }
      }
     },
     "localname": "NotionalAmountofInterestRateDerivativesInterestRateReceived",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_NuclearDecommissioningPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nuclear Decommissioning [Policy Text Block]",
        "label": "Nuclear Decommissioning [Policy Text Block]",
        "terseLabel": "Nuclear Decommissioning"
       }
      }
     },
     "localname": "NuclearDecommissioningPolicyTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_NuclearFuelAtAmortizedCost": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount as of the balance sheet of nuclear fuel held as property plant and equipment. This amount is net of amortization based on the energy produced over the life of the fuel.",
        "label": "Nuclear Fuel at Amortized Cost",
        "verboseLabel": "Nuclear fuel, at amortized cost"
       }
      }
     },
     "localname": "NuclearFuelAtAmortizedCost",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_NuclearOutageMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nuclear Outage [Member]",
        "label": "Nuclear Outage [Member]",
        "terseLabel": "Nuclear Outage"
       }
      }
     },
     "localname": "NuclearOutageMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_NumberOfAdditionalConstructionMonitoringReportsReviewed": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number Of Additional Construction Monitoring Reports Reviewed",
        "label": "Number Of Additional Construction Monitoring Reports Reviewed",
        "terseLabel": "Number of additional reports reviewed"
       }
      }
     },
     "localname": "NumberOfAdditionalConstructionMonitoringReportsReviewed",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_NumberOfApprovedConstructionMonitoringReports": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number Of Approved Construction Monitoring Reports",
        "label": "Number Of Approved Construction Monitoring Reports",
        "terseLabel": "Number of approved construction monitoring reports"
       }
      }
     },
     "localname": "NumberOfApprovedConstructionMonitoringReports",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_NumberOfConstructionUnitsApproved": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number Of Construction Units Approved",
        "label": "Number Of Construction Units Approved",
        "terseLabel": "Number of construction units approved"
       }
      }
     },
     "localname": "NumberOfConstructionUnitsApproved",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_NumberOfDomesticProjectsSubjectToLeveragedLease": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of Domestic Projects Subject to Leveraged Lease",
        "label": "Number of Domestic Projects Subject to Leveraged Lease",
        "terseLabel": "Number of domestic projects subject to leveraged lease"
       }
      }
     },
     "localname": "NumberOfDomesticProjectsSubjectToLeveragedLease",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeveragedLeasesNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_NumberOfEmployeesParticipatinginStockOptionandPerformanceShareUnitsProgram": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number Of Employees Participating in Stock Option and Performance Share Units Program",
        "label": "Number Of Employees Participating in Stock Option and Performance Share Units Program",
        "terseLabel": "Number of employees"
       }
      }
     },
     "localname": "NumberOfEmployeesParticipatinginStockOptionandPerformanceShareUnitsProgram",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONScheduleofEmployeesParticipatinginStockBasedCompensationProgramsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_NumberOfFinancialInvestors": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number Of Financial Investors",
        "label": "Number Of Financial Investors",
        "terseLabel": "Number of financial investors"
       }
      }
     },
     "localname": "NumberOfFinancialInvestors",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_NumberOfFormerOperatingSites": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the number of former operating sites.",
        "label": "# of sites",
        "terseLabel": "Number of sites"
       }
      }
     },
     "localname": "NumberOfFormerOperatingSites",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_NumberOfInternationalProjectsSubjectToLeveragedLease": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of International Projects Subject to Leveraged Lease",
        "label": "Number of International Projects Subject to Leveraged Lease",
        "terseLabel": "Number of international projects subject to leveraged lease"
       }
      }
     },
     "localname": "NumberOfInternationalProjectsSubjectToLeveragedLease",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeveragedLeasesNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_NumberOfLeveragedLeases": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number Of Leveraged Leases",
        "label": "Number Of Leveraged Leases",
        "terseLabel": "Number of leveraged leases"
       }
      }
     },
     "localname": "NumberOfLeveragedLeases",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeveragedLeasesNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_NumberOfNuclearFuelPlants": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number Of Nuclear Fuel Plants",
        "label": "Number Of Nuclear Fuel Plants",
        "terseLabel": "Number of nuclear fuel plants"
       }
      }
     },
     "localname": "NumberOfNuclearFuelPlants",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_NumberOfProjectsSubjectToLeveragedLeaseSold": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of Projects Subject to Leveraged Lease Sold",
        "label": "Number of Projects Subject to Leveraged Lease Sold",
        "terseLabel": "Number of domestic projects subject to leveraged lease sold"
       }
      }
     },
     "localname": "NumberOfProjectsSubjectToLeveragedLeaseSold",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeveragedLeasesNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_NumberOfProjectsSubjectToLeveragedLeaseTerminated": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of Projects Subject to Leveraged Lease Terminated",
        "label": "Number of Projects Subject to Leveraged Lease Terminated",
        "terseLabel": "Number of international projects subject to leveraged lease terminated"
       }
      }
     },
     "localname": "NumberOfProjectsSubjectToLeveragedLeaseTerminated",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_NumberOfStatesInWhichSubjectToEnvironmentalRemediationLiabilities": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number Of States In Which Subject To Environmental Remediation Liabilities",
        "label": "Number Of States In Which Subject To Environmental Remediation Liabilities",
        "terseLabel": "Number of states in which subject to environmental remediation liabilities"
       }
      }
     },
     "localname": "NumberOfStatesInWhichSubjectToEnvironmentalRemediationLiabilities",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_NumberOfTraditionalElectricOperatingCompanies": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number Of Traditional Electric Operating Companies",
        "label": "Number Of Traditional Electric Operating Companies",
        "terseLabel": "Number of traditional electric operating companies"
       }
      }
     },
     "localname": "NumberOfTraditionalElectricOperatingCompanies",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGeneralNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_OperatingLeaseIncomeComprehensiveIncomeExtensibleListNotDisclosedFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating Lease, Income, Comprehensive Income, Extensible List, Not Disclosed, Flag",
        "label": "Operating Lease, Income, Comprehensive Income, Extensible List, Not Disclosed, Flag",
        "terseLabel": "Operating lease, income, comprehensive income, extensible list, not disclosed, flag"
       }
      }
     },
     "localname": "OperatingLeaseIncomeComprehensiveIncomeExtensibleListNotDisclosedFlag",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_OperatingLeasePpaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating Lease PPA [Member]",
        "label": "Operating Lease PPA [Member]",
        "terseLabel": "Operating Lease PPA"
       }
      }
     },
     "localname": "OperatingLeasePpaMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OperatingRevenuesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating Revenues [Member]",
        "label": "Operating Revenues [Member]",
        "terseLabel": "Operating Revenues"
       }
      }
     },
     "localname": "OperatingRevenuesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherAccountsNotesAndLoansReceivable": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 6.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 8.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amounts due from customers or clients, within one year of the balance sheet date (or one operating cycle, if longer), for goods or services that have been delivered or sold in the normal course of business and an amount representing an agreement for an unconditional promise by the maker to pay the entity (holder) a definite sum of money at a future date within one year of the balance sheet, not elsewhere specified in the taxonomy.",
        "label": "Other Accounts Notes and Loans Receivable",
        "verboseLabel": "Other accounts and notes"
       }
      }
     },
     "localname": "OtherAccountsNotesAndLoansReceivable",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_OtherAccountsNotesAndLoansReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Accounts Notes And Loans Receivable",
        "label": "Other Accounts Notes And Loans Receivable [Member]",
        "terseLabel": "Other Current Assets and Net Investment in Sales-type Lease"
       }
      }
     },
     "localname": "OtherAccountsNotesAndLoansReceivableMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherAdjustmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Adjustments [Member]",
        "label": "Other Adjustments [Member]",
        "terseLabel": "Other adjustments"
       }
      }
     },
     "localname": "OtherAdjustmentsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherCommitmentsPotentialClaim": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Commitments, Potential Claim",
        "label": "Other Commitments, Potential Claim",
        "terseLabel": "Potential refund amount owed"
       }
      }
     },
     "localname": "OtherCommitmentsPotentialClaim",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESAPCLitigationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_OtherCommitmentsPotentialClaimPaymentPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Commitments, Potential Claim, Payment Period",
        "label": "Other Commitments, Potential Claim, Payment Period",
        "terseLabel": "Refund payment period"
       }
      }
     },
     "localname": "OtherCommitmentsPotentialClaimPaymentPeriod",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESAPCLitigationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_OtherComprehensiveIncomeLossDerivativeGainLossAfterReclassificationBeforeTax": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Comprehensive Income (Loss), Derivative, Gain (Loss), after Reclassification, before Tax",
        "label": "Other Comprehensive Income (Loss), Derivative, Gain (Loss), after Reclassification, before Tax",
        "totalLabel": "Gain (Loss) From Derivatives Recognized\u00a0in\u00a0OCI"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossDerivativeGainLossAfterReclassificationBeforeTax",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_OtherComprehensiveIncomeLossesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other comprehensive income/ losses.",
        "label": "Other Comprehensive Income Losses [Member]",
        "terseLabel": "Other comprehensive losses"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherCostOfRemovalObligations": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS": {
       "order": 7.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The regulatory liability as of the balance sheet date for the amount recovered from ratepayers for removal costs associated with utility plant in service which are not recognized as a liability.",
        "label": "Other Cost of Removal Obligations",
        "verboseLabel": "Other cost of removal obligations"
       }
      }
     },
     "localname": "OtherCostOfRemovalObligations",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_OtherCostOfRemovalObligationsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Cost of Removal Obligations.",
        "label": "Other Cost of Removal Obligations [Member]",
        "terseLabel": "Other Cost of Removal Obligations"
       }
      }
     },
     "localname": "OtherCostOfRemovalObligationsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherDeferredChargesAndAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other deferred charges and assets.",
        "label": "Other deferred charges and assets [Member]",
        "verboseLabel": "Other deferred charges and assets"
       }
      }
     },
     "localname": "OtherDeferredChargesAndAssetsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherDeferredCreditsAndLiabilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other deferred credits and liabilities.",
        "label": "Other deferred credits and liabilities [Member]",
        "terseLabel": "Other deferred credits and liabilities"
       }
      }
     },
     "localname": "OtherDeferredCreditsAndLiabilitiesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherDeferredTaxAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other deferred tax assets.",
        "label": "Other Deferred Tax Assets [Member]",
        "verboseLabel": "Other"
       }
      }
     },
     "localname": "OtherDeferredTaxAssetsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherDeferredTaxLiabilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other deferred tax liabilities.",
        "label": "Other Deferred Tax Liabilities [Member]",
        "verboseLabel": "Other"
       }
      }
     },
     "localname": "OtherDeferredTaxLiabilitiesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherElectricRevenueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other electric revenue.",
        "label": "Other Electric Revenue [Member]",
        "terseLabel": "Other electric revenues"
       }
      }
     },
     "localname": "OtherElectricRevenueMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherGasRevenueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Gas Revenue [Member]",
        "label": "Other Gas Revenue [Member]",
        "terseLabel": "Other Gas Revenue"
       }
      }
     },
     "localname": "OtherGasRevenueMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherLongTermDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Long-Term Debt",
        "label": "Other Long-Term Debt [Member]",
        "terseLabel": "Other long-term debt"
       }
      }
     },
     "localname": "OtherLongTermDebtMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other [Member]",
        "label": "Other [Member]",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSBalanceSheetInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSIncomeStatementInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherNaturalGasGasMarketingServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Natural Gas - Gas Marketing Services [Member]",
        "label": "Other Natural Gas - Gas Marketing Services [Member]",
        "terseLabel": "Gas marketing services"
       }
      }
     },
     "localname": "OtherNaturalGasGasMarketingServicesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherNaturalGasMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Natural Gas [Member]",
        "label": "Other Natural Gas [Member]",
        "terseLabel": "Other natural gas revenues"
       }
      }
     },
     "localname": "OtherNaturalGasMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherNaturalGasOtherNaturalGasRevenuesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Natural Gas - Other Natural Gas Revenues [Member]",
        "label": "Other Natural Gas - Other Natural Gas Revenues [Member]",
        "terseLabel": "Other natural gas revenues"
       }
      }
     },
     "localname": "OtherNaturalGasOtherNaturalGasRevenuesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherNaturalGasWholesaleGasServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Natural Gas - Wholesale Gas Services [Member]",
        "label": "Other Natural Gas - Wholesale Gas Services [Member]",
        "terseLabel": "Wholesale gas services"
       }
      }
     },
     "localname": "OtherNaturalGasWholesaleGasServicesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherPartnershipBasisDifferenceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Partnership Basis Difference [Member]",
        "label": "Other Partnership Basis Difference [Member]",
        "terseLabel": "Other partnership basis differences"
       }
      }
     },
     "localname": "OtherPartnershipBasisDifferenceMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherPostretirementBenefitsPlanMembersPreSixtyFiveMedicalMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Postretirement Benefits Plan, Members Pre Sixty Five Medical",
        "label": "Other Postretirement Benefits Plan, Members Pre Sixty Five Medical [Member]",
        "terseLabel": "Post-65 medical"
       }
      }
     },
     "localname": "OtherPostretirementBenefitsPlanMembersPreSixtyFiveMedicalMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSScheduleofHealthCareCostTrendRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherPostretirementBenefitsPlanMembersPreSixtyFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Postretirement Benefits Plan, Members Pre Sixty Five",
        "label": "Other Postretirement Benefits Plan, Members Pre Sixty Five [Member]",
        "terseLabel": "Pre-65"
       }
      }
     },
     "localname": "OtherPostretirementBenefitsPlanMembersPreSixtyFiveMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSScheduleofHealthCareCostTrendRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherPostretirementBenefitsPlanMembersPreSixtyFivePrescriptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Postretirement Benefits Plan, Members Pre Sixty Five Prescription",
        "label": "Other Postretirement Benefits Plan, Members Pre Sixty Five Prescription [Member]",
        "terseLabel": "Post-65 prescription"
       }
      }
     },
     "localname": "OtherPostretirementBenefitsPlanMembersPreSixtyFivePrescriptionMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSScheduleofHealthCareCostTrendRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherPropertyAndInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Property And Investments",
        "label": "Other Property And Investments [Member]",
        "terseLabel": "Other Property and Investments"
       }
      }
     },
     "localname": "OtherPropertyAndInvestmentsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherPropertyBasisDifferencesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other property basis differences.",
        "label": "Other Property Basis Differences [Member]",
        "verboseLabel": "Other property basis differences"
       }
      }
     },
     "localname": "OtherPropertyBasisDifferencesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherRegulatoryAssetsCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 10.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 10.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 6.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount of other regulatory assets (not elsewhere included) as of the balance sheet date of capitalized costs of regulated entities that are expected to be recovered through revenue sources within one year or the normal operating cycle, if longer. Such costs are capitalized if they meet both of the following criteria: a. It is probable that future revenue in an amount at least equal to the capitalized cost will result from inclusion of that cost in allowable costs for rate-making purposes. b. Based on available evidence, the future revenue will be provided to permit recovery of the previously incurred cost rather than to provide for expected levels of similar future costs. If the revenue will be provided through an automatic rate-adjustment clause, this criterion requires that the regulator's intent clearly be to permit recovery of the previously incurred cost.",
        "label": "Other Regulatory Assets Current",
        "verboseLabel": "Other regulatory assets"
       }
      }
     },
     "localname": "OtherRegulatoryAssetsCurrent",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_OtherRegulatoryAssetsCurrentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other regulatory assets, current.",
        "label": "Other regulatory assets current [Member]",
        "terseLabel": "Other regulatory assets, current"
       }
      }
     },
     "localname": "OtherRegulatoryAssetsCurrentMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherRegulatoryAssetsDeferred": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 2.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      },
      "http://southerncompany.com/role/BalanceSheetsMPC": {
       "order": 3.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 2.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount of other regulatory assets (not elsewhere identified) as of the balance sheet date of capitalized costs of regulated entities that are not expected to be recovered through revenue sources within one year or the normal operating cycle if longer.",
        "label": "Other Regulatory Assets Deferred",
        "terseLabel": "Other regulatory assets, deferred",
        "verboseLabel": "Other regulatory assets, deferred"
       }
      }
     },
     "localname": "OtherRegulatoryAssetsDeferred",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_OtherRegulatoryAssetsDeferredMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other regulatory assets, deferred.",
        "label": "Other regulatory assets deferred [Member]",
        "terseLabel": "Other regulatory assets, deferred"
       }
      }
     },
     "localname": "OtherRegulatoryAssetsDeferredMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherRegulatoryAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Regulatory Assets Member.",
        "label": "Other Regulatory Assets [Member]",
        "terseLabel": "Other Regulatory Assets"
       }
      }
     },
     "localname": "OtherRegulatoryAssetsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherRegulatoryAssetsUnderRecoveredEnvironmentalCostCurrent": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Regulatory Assets, Under Recovered Environmental Cost, Current",
        "label": "Other Regulatory Assets, Under Recovered Environmental Cost, Current",
        "terseLabel": "Under recovered environmental remediation costs, other regulatory assets, current"
       }
      }
     },
     "localname": "OtherRegulatoryAssetsUnderRecoveredEnvironmentalCostCurrent",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_OtherRegulatoryAssetsUnderRecoveredEnvironmentalCostsDeferred": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Regulatory Assets, Under Recovered Environmental Costs, Deferred",
        "label": "Other Regulatory Assets, Under Recovered Environmental Costs, Deferred",
        "terseLabel": "Under recovered environmental remediation costs, other regulatory assets, deferred"
       }
      }
     },
     "localname": "OtherRegulatoryAssetsUnderRecoveredEnvironmentalCostsDeferred",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_OtherRegulatoryLiabilitiesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 11.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 9.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount for other current regulatory liabilities not elsewhere included. Regulatory liabilities represent probable future reductions in revenues associated with amounts that are expected to be credited to customers through the ratemaking process. These revenues are expected to be credited within one year.",
        "label": "Other Regulatory Liabilities, Current",
        "verboseLabel": "Other regulatory liabilities"
       }
      }
     },
     "localname": "OtherRegulatoryLiabilitiesCurrent",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_OtherRegulatoryLiabilitiesCurrentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Regulatory Liabilities Current",
        "label": "Other Regulatory Liabilities Current [Member]",
        "terseLabel": "Other regulatory liabilities, current"
       }
      }
     },
     "localname": "OtherRegulatoryLiabilitiesCurrentMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherRegulatoryLiabilitiesDeferred": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 8.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other regulatory liabilities, deferred.",
        "label": "Other Regulatory Liabilities Deferred",
        "negatedTerseLabel": "Other regulatory liabilities, deferred",
        "terseLabel": "Other regulatory liabilities, deferred"
       }
      }
     },
     "localname": "OtherRegulatoryLiabilitiesDeferred",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_OtherRegulatoryLiabilitiesDeferredMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Regulatory Liabilities, Deferred",
        "label": "Other Regulatory Liabilities, Deferred [Member]",
        "terseLabel": "Other regulatory liabilities, deferred"
       }
      }
     },
     "localname": "OtherRegulatoryLiabilitiesDeferredMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherRegulatoryLiabilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Regulatory Liabilities.",
        "label": "Other Regulatory Liabilities [Member]",
        "terseLabel": "Other Regulatory Liabilities"
       }
      }
     },
     "localname": "OtherRegulatoryLiabilitiesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherRevenueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Revenue",
        "label": "Other Revenue [Member]",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherRevenueMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONElectricUtilitiesRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherRevenueSourcesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Revenue Sources [Member]",
        "label": "Other Revenue Sources [Member]",
        "terseLabel": "Other revenue sources"
       }
      }
     },
     "localname": "OtherRevenueSourcesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherRevenuesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Revenues [Member]",
        "label": "Other Revenues [Member]",
        "terseLabel": "Other revenues"
       }
      }
     },
     "localname": "OtherRevenuesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Securities Member.",
        "label": "Other Securities [Member]",
        "terseLabel": "Other securities"
       }
      }
     },
     "localname": "OtherSecuritiesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSInvestmentSecuritiesintheFundsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherStatesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other States [Member]",
        "label": "Other States [Member]",
        "terseLabel": "Other states"
       }
      }
     },
     "localname": "OtherStatesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherSubsidiariesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Subsidiaries.",
        "label": "Other Subsidiaries [Member]",
        "terseLabel": "Other Subsidiaries"
       }
      }
     },
     "localname": "OtherSubsidiariesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails",
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OtherVariableInterestEntitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Variable Interest Entities [Member]",
        "label": "Other Variable Interest Entities [Member]",
        "terseLabel": "Other Variable Interest Entities"
       }
      }
     },
     "localname": "OtherVariableInterestEntitiesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OutdoorLightingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Outdoor Lighting [Member]",
        "label": "Outdoor Lighting [Member]",
        "terseLabel": "Outdoor lighting"
       }
      }
     },
     "localname": "OutdoorLightingMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OverRecoveredFuelCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Over recovered fuel cost.",
        "label": "Over Recovered Fuel Cost",
        "terseLabel": "Over recovered fuel cost"
       }
      }
     },
     "localname": "OverRecoveredFuelCost",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_OverRecoveredRegulatoryClauseRevenuesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Over Recovered Regulatory Clause Revenues [Member]",
        "label": "Over Recovered Regulatory Clause Revenues [Member]",
        "terseLabel": "Over Recovered Regulatory Clause Revenues"
       }
      }
     },
     "localname": "OverRecoveredRegulatoryClauseRevenuesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_OverUnderRecoveredEnvironmentalClause": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Over (Under) Recovered Environmental Clause",
        "label": "Over (Under) Recovered Environmental Clause",
        "terseLabel": "Over (under) recovered environmental clause"
       }
      }
     },
     "localname": "OverUnderRecoveredEnvironmentalClause",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_OverUnderRecoveredFuelBalance": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Over (Under) Recovered Fuel Balance",
        "label": "Over (Under) Recovered Fuel Balance",
        "terseLabel": "Over (under) recovered fuel balance"
       }
      }
     },
     "localname": "OverUnderRecoveredFuelBalance",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_OverUnderRecoveredFuelCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Over (Under) Recovered Fuel Cost",
        "label": "Over (Under) Recovered Fuel Cost",
        "negatedTerseLabel": "Over (under) recovered fuel cost",
        "terseLabel": "Under recovered fuel cost",
        "verboseLabel": "Over (under) recovered fuel cost"
       }
      }
     },
     "localname": "OverUnderRecoveredFuelCost",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_OwnershipInterestPercentageRequiredforVotingforContinuingConstruction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ownership Interest Percentage Required for Voting for Continuing Construction",
        "label": "Ownership Interest Percentage Required for Voting for Continuing Construction",
        "terseLabel": "Ownership interest percentage required for voting for continuing construction"
       }
      }
     },
     "localname": "OwnershipInterestPercentageRequiredforVotingforContinuingConstruction",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PPAFairValueAdjustmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PPA Fair Value Adjustments [Member]",
        "label": "PPA Fair Value Adjustments [Member]",
        "terseLabel": "PPA fair value adjustments"
       }
      }
     },
     "localname": "PPAFairValueAdjustmentsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PSCRetailRateIncreaseDecrease": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PSC Retail Rate Increase (Decrease)",
        "label": "PSC Retail Rate Increase (Decrease)",
        "terseLabel": "PSC retail increase"
       }
      }
     },
     "localname": "PSCRetailRateIncreaseDecrease",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PaymentsForContractorSettlementAgreement": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments For Contractor Settlement Agreement",
        "label": "Payments For Contractor Settlement Agreement",
        "terseLabel": "Payments for contractor settlement agreement"
       }
      }
     },
     "localname": "PaymentsForContractorSettlementAgreement",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PennEastPipelinesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PennEast Pipelines [Member]",
        "label": "PennEast Pipelines [Member]",
        "terseLabel": "PennEast Pipeline"
       }
      }
     },
     "localname": "PennEastPipelinesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSBalanceSheetInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSGASEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSIncomeStatementInformationDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PercentOfBasisPoints": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percent Of Basis Points",
        "label": "Percent Of Basis Points",
        "terseLabel": "Percent of basis points"
       }
      }
     },
     "localname": "PercentOfBasisPoints",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PercentOfEligibleProjectCostsToBeReimbursed": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percent Of Eligible Project Costs To Be Reimbursed",
        "label": "Percent Of Eligible Project Costs To Be Reimbursed",
        "terseLabel": "Percent of eligible project costs (may not exceed)"
       }
      }
     },
     "localname": "PercentOfEligibleProjectCostsToBeReimbursed",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PercentageOfConstructionCostsResponsibilityToPay": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage Of Construction Costs, Responsibility To Pay",
        "label": "Percentage Of Construction Costs, Responsibility To Pay",
        "terseLabel": "Percentage of construction costs responsible to pay"
       }
      }
     },
     "localname": "PercentageOfConstructionCostsResponsibilityToPay",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PercentageOfCostsDisallowedForRecovery": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage Of Costs, Disallowed For Recovery",
        "label": "Percentage Of Costs, Disallowed For Recovery",
        "terseLabel": "Percentage of costs, disallowed for recovery"
       }
      }
     },
     "localname": "PercentageOfCostsDisallowedForRecovery",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PercentageOfWholesaleCustomersToOperatingRevenue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage Of Wholesale Customers To Operating Revenue",
        "label": "Percentage Of Wholesale Customers To Operating Revenue",
        "terseLabel": "Wholesale customers representing total operating revenues"
       }
      }
     },
     "localname": "PercentageOfWholesaleCustomersToOperatingRevenue",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofRevenueNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PerformanceEvaluationPlanMeasurementInput": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Performance Evaluation Plan, Measurement Input",
        "label": "Performance Evaluation Plan, Measurement Input",
        "terseLabel": "Performance evaluation plan, measurement input"
       }
      }
     },
     "localname": "PerformanceEvaluationPlanMeasurementInput",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "so_PerformanceEvaluationPlanNumberOfFilingsPerCalendarYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Performance Evaluation Plan, Number Of Filings Per Calendar Year",
        "label": "Performance Evaluation Plan, Number Of Filings Per Calendar Year",
        "terseLabel": "Performance evaluation plan, number of filings per calendar year"
       }
      }
     },
     "localname": "PerformanceEvaluationPlanNumberOfFilingsPerCalendarYear",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_PeriodForCollectionOfRevenuePriorToBillingWNAs": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period For Collection Of Revenue Prior To Billing (WNAs)",
        "label": "Period For Collection Of Revenue Prior To Billing (WNAs)",
        "terseLabel": "Period for collection of revenue prior to billings"
       }
      }
     },
     "localname": "PeriodForCollectionOfRevenuePriorToBillingWNAs",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESRevenuesNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_PeriodOfReimbursementOfTransmissionCosts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period Of Reimbursement Of Transmission Costs",
        "label": "Period Of Reimbursement Of Transmission Costs",
        "terseLabel": "Period of reimbursement for transmission costs"
       }
      }
     },
     "localname": "PeriodOfReimbursementOfTransmissionCosts",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTransmissionReceivablesPrepaymentsNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_PeriodOverWhichCompanyHasElectedToAmortizeChangesInMarketValueOfAllPlanAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period over which company has elected to amortize changes in market value of all plan assets.",
        "label": "Period Over which Company has Elected to Amortize Changes in Market Value of All Plan Assets",
        "terseLabel": "Plan asset amortization period"
       }
      }
     },
     "localname": "PeriodOverWhichCompanyHasElectedToAmortizeChangesInMarketValueOfAllPlanAssets",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_PeriodofNoticeRequiredintheEventLettersofCreditAreNotRenewed": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period of Notice Required in the Event Letters of Credit Are Not Renewed",
        "label": "Period of Notice Required in the Event Letters of Credit Are Not Renewed",
        "terseLabel": "Period of notice required in the event letters of credit are not renewed"
       }
      }
     },
     "localname": "PeriodofNoticeRequiredintheEventLettersofCreditAreNotRenewed",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_PipelineChargesStorageCapacityAndGasSupplyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents pipeline charges, storage capacity and gas supply.",
        "label": "Pipeline Charges Storage Capacity And Gas Supply [Member]",
        "terseLabel": "Pipeline Charges, Storage Capacity, and Gas Supply"
       }
      }
     },
     "localname": "PipelineChargesStorageCapacityAndGasSupplyMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PipelineInfrastructure": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pipeline Infrastructure",
        "label": "Pipeline Infrastructure",
        "verboseLabel": "Pipeline infrastructure (miles)"
       }
      }
     },
     "localname": "PipelineInfrastructure",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSGASEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails"
     ],
     "xbrltype": "lengthItemType"
    },
    "so_PipelineReplacementProgramLengthOfDistributionMain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pipeline Replacement Program, Length of Distribution Main",
        "label": "Pipeline Replacement Program, Length of Distribution Main",
        "terseLabel": "Pipeline replacement program, length of distribution main"
       }
      }
     },
     "localname": "PipelineReplacementProgramLengthOfDistributionMain",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "lengthItemType"
    },
    "so_PipelineReplacementProgramMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pipeline Replacement Program",
        "label": "Pipeline Replacement Program [Member]",
        "terseLabel": "Pipeline Replacement Program"
       }
      }
     },
     "localname": "PipelineReplacementProgramMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PivotalLNGMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pivotal LNG [Member]",
        "label": "Pivotal LNG [Member]",
        "terseLabel": "Pivotal LNG"
       }
      }
     },
     "localname": "PivotalLNGMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantBarryUnit8Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Barry Unit 8 [Member]",
        "label": "Plant Barry Unit 8 [Member]",
        "terseLabel": "Plant Barry Unit 8"
       }
      }
     },
     "localname": "PlantBarryUnit8Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantBowenUnits1And2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Bowen Units 1 and 2",
        "label": "Plant Bowen Units 1 and 2 [Member]",
        "terseLabel": "Plant Bowen Units 1 and 2"
       }
      }
     },
     "localname": "PlantBowenUnits1And2Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantDanielUnitPrimaryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Daniel Unit, Primary",
        "label": "Plant Daniel Unit, Primary [Member]",
        "terseLabel": "Plant Daniel Unit, Primary"
       }
      }
     },
     "localname": "PlantDanielUnitPrimaryMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantDanielUnits1And2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Daniel Units 1 And 2 [Member]",
        "label": "Plant Daniel Units 1 And 2 [Member]",
        "verboseLabel": "Plant Daniel"
       }
      }
     },
     "localname": "PlantDanielUnits1And2Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantDanielUnitsOneAndTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Daniel Units One and Two [Member]",
        "label": "Plant Daniel Units One and Two [Member]",
        "netLabel": "Plant Daniel (coal) Units 1 and 2"
       }
      }
     },
     "localname": "PlantDanielUnitsOneAndTwoMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantDanielUnitsThreeAndFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Daniel units 3 and 4.",
        "label": "Plant Daniel Units Three and Four [Member]",
        "terseLabel": "Plant Daniel Units 3 and 4"
       }
      }
     },
     "localname": "PlantDanielUnitsThreeAndFourMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantFarleyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Farley [Member]",
        "label": "Plant Farley [Member]",
        "terseLabel": "Plant Farley"
       }
      }
     },
     "localname": "PlantFarleyMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantGastonUnits1Through4Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Gaston Units 1 through 4",
        "label": "Plant Gaston Units 1 through 4 [Member]",
        "terseLabel": "Plant Gaston Units 1 through 4"
       }
      }
     },
     "localname": "PlantGastonUnits1Through4Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantGorgasUnits89And10Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Gorgas Units 8, 9, And 10 [Member]",
        "label": "Plant Gorgas Units 8, 9, And 10 [Member]",
        "terseLabel": "Plant Gorgas Units 8, 9, And 10"
       }
      }
     },
     "localname": "PlantGorgasUnits89And10Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantGreeneCountyUnits1And2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Greene County Units 1 And 2 [Member]",
        "label": "Plant Greene County Units 1 And 2 [Member]",
        "terseLabel": "Plant Greene County Units 1 and 2"
       }
      }
     },
     "localname": "PlantGreeneCountyUnits1And2Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCAccountingOrdersandPlantGreeneCountyDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantHammondUnits1Through4AndPlantBranchUnits2Through4Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Hammond Units 1 Through 4 And Plant Branch Units 2 Through 4",
        "label": "Plant Hammond Units 1 Through 4 And Plant Branch Units 2 Through 4 [Member]",
        "terseLabel": "Plant Hammond Units 1 - 4 and Plant Branch Units 2 - 4"
       }
      }
     },
     "localname": "PlantHammondUnits1Through4AndPlantBranchUnits2Through4Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantHatchMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Hatch.",
        "label": "Plant Hatch [Member]",
        "terseLabel": "Plant Hatch"
       }
      }
     },
     "localname": "PlantHatchMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantHatchNuclearMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant hatch nuclear.",
        "label": "Plant Hatch Nuclear [Member]",
        "netLabel": "Plant Hatch Units 1 and 2",
        "terseLabel": "Plant Hatch (nuclear)"
       }
      }
     },
     "localname": "PlantHatchNuclearMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantHatchandPlantVogtleUnits1And2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Hatch and Plant Vogtle Units 1 And 2 [Member]",
        "label": "Plant Hatch and Plant Vogtle Units 1 And 2 [Member]",
        "terseLabel": "Plant Hatch and Plant Vogtle Units 1 And 2"
       }
      }
     },
     "localname": "PlantHatchandPlantVogtleUnits1And2Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantInServiceNetOfDepreciation": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount at the balance sheet date for long-lived physical assets used in the normal conduct of business and not intended for resale, less depreciation.",
        "label": "Plant In Service Net Of Depreciation",
        "terseLabel": "Plant in service, net of depreciation",
        "totalLabel": "Plant in service, net of depreciation"
       }
      }
     },
     "localname": "PlantInServiceNetOfDepreciation",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PlantMillerCoalUnitsOneAndTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant miller coal units one and two.",
        "label": "Plant Miller Coal Units One and Two [Member]",
        "terseLabel": "Plant Miller (coal) Units 1 and 2"
       }
      }
     },
     "localname": "PlantMillerCoalUnitsOneAndTwoMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantSchererCoalUnitsOneAndTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Scherer coal units one and two",
        "label": "Plant Scherer Coal Units One and Two [Member]",
        "terseLabel": "Plant Scherer (coal) Units 1 and 2"
       }
      }
     },
     "localname": "PlantSchererCoalUnitsOneAndTwoMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantSchererUnit3Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Scherer Unit 3",
        "label": "Plant Scherer Unit 3 [Member]",
        "terseLabel": "Plant Scherer Unit 3"
       }
      }
     },
     "localname": "PlantSchererUnit3Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantSchererUnitThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Scherer Unit Three [Member]",
        "label": "Plant Scherer Unit Three [Member]",
        "terseLabel": "Plant Scherer (coal) Unit\u00a03"
       }
      }
     },
     "localname": "PlantSchererUnitThreeMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantTugaloMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Tugalo",
        "label": "Plant Tugalo [Member]",
        "terseLabel": "Plant Tugalo"
       }
      }
     },
     "localname": "PlantTugaloMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantVogtleNuclearUnitsOneAndTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant vogtle nuclear units one and two.",
        "label": "Plant Vogtle Nuclear Units One and Two [Member]",
        "netLabel": "Plant Vogtle (nuclear) Units 1 and 2",
        "verboseLabel": "Plant Vogtle Units 1 and 2"
       }
      }
     },
     "localname": "PlantVogtleNuclearUnitsOneAndTwoMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantVogtleUnit3Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Vogtle Unit 3",
        "label": "Plant Vogtle Unit 3 [Member]",
        "terseLabel": "Plant Vogtle Unit 3"
       }
      }
     },
     "localname": "PlantVogtleUnit3Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantVogtleUnits3And4Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Vogtle Units 3 And 4 [Member]",
        "label": "Plant Vogtle Units 3 And 4 [Member]",
        "terseLabel": "Plant Vogtle Units 3 and 4"
       }
      }
     },
     "localname": "PlantVogtleUnits3And4Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTJointOwnershipAgreementsNarrativeDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantWansleyUnit1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Wansley Unit 1",
        "label": "Plant Wansley Unit 1 [Member]",
        "terseLabel": "Plant Wansley Unit 1"
       }
      }
     },
     "localname": "PlantWansleyUnit1Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantWansleyUnit2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Wansley Unit 2",
        "label": "Plant Wansley Unit 2 [Member]",
        "terseLabel": "Plant Wansley Unit 2"
       }
      }
     },
     "localname": "PlantWansleyUnit2Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantWansleyUnits1And2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Wansley Units 1 and 2",
        "label": "Plant Wansley Units 1 and 2 [Member]",
        "terseLabel": "Plant Wansley Units 1 and 2"
       }
      }
     },
     "localname": "PlantWansleyUnits1And2Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantWatsonAndPlantGreeneCountyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Watson And Plant Greene County",
        "label": "Plant Watson And Plant Greene County [Member]",
        "terseLabel": "Plant Watson and Plant Greene County"
       }
      }
     },
     "localname": "PlantWatsonAndPlantGreeneCountyMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PlantWatsonUnit4Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant Watson Unit 4",
        "label": "Plant Watson Unit 4 [Member]",
        "terseLabel": "Plant Watson Unit 4"
       }
      }
     },
     "localname": "PlantWatsonUnit4Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PollutionControlRevenueBondsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pollution Control Revenue Bonds [Member]",
        "label": "Pollution Control Revenue Bonds [Member]",
        "terseLabel": "Pollution control revenue bonds"
       }
      }
     },
     "localname": "PollutionControlRevenueBondsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PooledFundsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pooled funds.",
        "label": "Pooled Funds [Member]",
        "verboseLabel": "Pooled funds"
       }
      }
     },
     "localname": "PooledFundsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PortionOfActualEarningsAboveApprovedROEBandAppliedToReduceRegulatoryAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portion Of Actual Earnings Above Approved ROE Band Applied To Reduce Regulatory Assets",
        "label": "Portion Of Actual Earnings Above Approved ROE Band Applied To Reduce Regulatory Assets",
        "terseLabel": "Portion of actual earnings above approved ROE band applied to reduce regulatory assets"
       }
      }
     },
     "localname": "PortionOfActualEarningsAboveApprovedROEBandAppliedToReduceRegulatoryAssets",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PortionOfActualEarningsAboveApprovedROEBandRefundedToCustomersValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portion Of Actual Earnings Above Approved ROE Band Refunded To Customers, Value",
        "label": "Portion Of Actual Earnings Above Approved ROE Band Refunded To Customers, Value",
        "terseLabel": "Portion of actual earnings above approved ROE band refunded to customers, value"
       }
      }
     },
     "localname": "PortionOfActualEarningsAboveApprovedROEBandRefundedToCustomersValue",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PortionOfActualEarningsAboveApprovedRoeBandRefundedToCustomers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portion of actual earnings above approved ROE band refunded to customers.",
        "label": "Portion of Actual Earnings Above Approved ROE Band Refunded to Customers",
        "terseLabel": "Portion of actual earnings above approved ROE band refunded to customers"
       }
      }
     },
     "localname": "PortionOfActualEarningsAboveApprovedRoeBandRefundedToCustomers",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PortionOfActualEarningsAboveApprovedRoeBandRetainedBySubsidiaryCompany": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portion of actual earnings above approved ROE band retained by subsidiary company.",
        "label": "Portion of Actual Earnings Above Approved ROE Band Retained by Subsidiary Company",
        "terseLabel": "Portion of actual earnings above approved ROE band retained by subsidiary company"
       }
      }
     },
     "localname": "PortionOfActualEarningsAboveApprovedRoeBandRetainedBySubsidiaryCompany",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PowerPoolMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Power Pool [Member]",
        "label": "Power Pool [Member]",
        "terseLabel": "Power Pool"
       }
      }
     },
     "localname": "PowerPoolMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PowerPurchaseAgreementAdditionalGeneratingCapacity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Power Purchase Agreement, Additional Generating Capacity",
        "label": "Power Purchase Agreement, Additional Generating Capacity",
        "terseLabel": "PPA, additional generating capacity (in MWs)"
       }
      }
     },
     "localname": "PowerPurchaseAgreementAdditionalGeneratingCapacity",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails"
     ],
     "xbrltype": "powerItemType"
    },
    "so_PowerPurchaseAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Power Purchase Agreement [Member]",
        "label": "Power Purchase Agreement [Member]",
        "terseLabel": "Power Purchase Agreement"
       }
      }
     },
     "localname": "PowerPurchaseAgreementMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PowerSecureMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PowerSecure",
        "label": "PowerSecure [Member]",
        "terseLabel": "PowerSecure"
       }
      }
     },
     "localname": "PowerSecureMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGoodwillandOtherIntangibleAssetsandLiabilitiesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PreTaxChargeToIncome": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pre-Tax Charge To Income",
        "label": "Pre-Tax Charge To Income",
        "terseLabel": "Pre-tax charge to income"
       }
      }
     },
     "localname": "PreTaxChargeToIncome",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PreTaxEffectOfUnrealizedDerivativeGainsLossesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pre-tax effect of unrealized derivative gains (losses).",
        "label": "Pre tax effect of unrealized derivative gains losses [Table Text Block]",
        "verboseLabel": "Pre-tax effects on the balance sheets"
       }
      }
     },
     "localname": "PreTaxEffectOfUnrealizedDerivativeGainsLossesTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_PreliminaryEstimatedCosttoComplete": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preliminary Estimated Cost to Complete",
        "label": "Preliminary Estimated Cost to Complete",
        "terseLabel": "Preliminary estimated cost to complete",
        "totalLabel": "Preliminary estimated cost to complete"
       }
      }
     },
     "localname": "PreliminaryEstimatedCosttoComplete",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PremiumOnReacquiredDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Premium on reacquired debt.",
        "label": "Premium on Reacquired Debt [Member]",
        "terseLabel": "Premium on reacquired debt"
       }
      }
     },
     "localname": "PremiumOnReacquiredDebtMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PrepaidLongTermServiceAgreement": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prepaid Long-Term Service Agreement",
        "label": "Prepaid Long-Term Service Agreement",
        "negatedTerseLabel": "Payments pursuant to LTSAs"
       }
      }
     },
     "localname": "PrepaidLongTermServiceAgreement",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PrepaidLongTermServiceAgreements": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": 2.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prepaid long-term service agreements.",
        "label": "Prepaid Long Term Service Agreements",
        "verboseLabel": "Prepaid LTSAs"
       }
      }
     },
     "localname": "PrepaidLongTermServiceAgreements",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PrepaidPensionAndOtherPostretirementBenefitCosts": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 1.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prepaid Pension and Other Postretirement Benefit Costs",
        "label": "Prepaid Pension and Other Postretirement Benefit Costs",
        "terseLabel": "Prepaid pension and other postretirement benefit costs"
       }
      }
     },
     "localname": "PrepaidPensionAndOtherPostretirementBenefitCosts",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PrepaidPensionCosts": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 8.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prepaid Pension Costs",
        "label": "Prepaid Pension Costs",
        "terseLabel": "Prepaid pension costs"
       }
      }
     },
     "localname": "PrepaidPensionCosts",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PretaxEffectofInterestRateandEnergyRelatedDerivativesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "[Table Text Block] for Pre tax Effect of Interest Rate and Energy Related Derivatives [Table]",
        "label": "Pre tax Effect of Interest Rate and Energy Related Derivatives [Table Text Block]",
        "terseLabel": "Pre-tax effect of interest rate and energy related derivatives"
       }
      }
     },
     "localname": "PretaxEffectofInterestRateandEnergyRelatedDerivativesTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_ProceedsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds.",
        "label": "Proceeds [Abstract]",
        "verboseLabel": "Proceeds \u2014"
       }
      }
     },
     "localname": "ProceedsAbstract",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "so_ProceedsFromDivestitureOfBusinessesAmountHeldBack": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds From Divestiture Of Businesses, Amount Held Back",
        "label": "Proceeds From Divestiture Of Businesses, Amount Held Back",
        "terseLabel": "Proceeds from divestiture of businesses, amount held back"
       }
      }
     },
     "localname": "ProceedsFromDivestitureOfBusinessesAmountHeldBack",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_ProceedsFromFederalFinancingBankLoan": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds From Federal Financing Bank Loan",
        "label": "Proceeds From Federal Financing Bank Loan",
        "terseLabel": "FFB loan"
       }
      }
     },
     "localname": "ProceedsFromFederalFinancingBankLoan",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_ProceedsFromRevenueBonds": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds From Revenue Bonds",
        "label": "Proceeds From Revenue Bonds",
        "verboseLabel": "Revenue bonds"
       }
      }
     },
     "localname": "ProceedsFromRevenueBonds",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_ProceedsFromSaleOfAssetsSubjectToLeveragedLease": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds From Sale Of Assets Subject To Leveraged Lease",
        "label": "Proceeds From Sale Of Assets Subject To Leveraged Lease",
        "terseLabel": "Proceeds from sale of assets subject to leveraged lease"
       }
      }
     },
     "localname": "ProceedsFromSaleOfAssetsSubjectToLeveragedLease",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_ProceedsfromRecoveryofFinancingCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from Recovery of Financing Costs",
        "label": "Proceeds from Recovery of Financing Costs",
        "terseLabel": "Proceeds from recovery of financing costs"
       }
      }
     },
     "localname": "ProceedsfromRecoveryofFinancingCosts",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_ProductionTaxCreditCarryforwardMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Production Tax Credit Carryforward [Member]",
        "label": "Production Tax Credit Carryforward [Member]",
        "terseLabel": "Production Tax Credit Carryforward"
       }
      }
     },
     "localname": "ProductionTaxCreditCarryforwardMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ProductionTaxCreditsAggregatePurchasePriceMaximum": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Production Tax Credits, Aggregate Purchase Price, Maximum",
        "label": "Production Tax Credits, Aggregate Purchase Price, Maximum",
        "terseLabel": "Production tax credits, aggregate purchase price (up to)"
       }
      }
     },
     "localname": "ProductionTaxCreditsAggregatePurchasePriceMaximum",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_ProgramAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Program [Axis]",
        "label": "Program [Axis]",
        "terseLabel": "Program [Axis]"
       }
      }
     },
     "localname": "ProgramAxis",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_ProgramDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "[Domain] for Program [Axis]",
        "label": "Program [Domain]",
        "terseLabel": "Program [Domain]"
       }
      }
     },
     "localname": "ProgramDomain",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ProgramDurationPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Program Duration Period",
        "label": "Program Duration Period",
        "terseLabel": "Program duration period"
       }
      }
     },
     "localname": "ProgramDurationPeriod",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_PropertyBasisDifferencesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Property basis differences.",
        "label": "Property Basis Differences [Member]",
        "verboseLabel": "Property basis differences"
       }
      }
     },
     "localname": "PropertyBasisDifferencesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PropertyDamageReserve": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Property Damage Reserve",
        "label": "Property Damage Reserve",
        "terseLabel": "Property damage reserve"
       }
      }
     },
     "localname": "PropertyDamageReserve",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PropertyDamageReservesAssetMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Property Damage Reserves Asset [Member]",
        "label": "Property Damage Reserves Asset [Member]",
        "terseLabel": "Storm Damage"
       }
      }
     },
     "localname": "PropertyDamageReservesAssetMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PropertyTaxMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Property Tax [Member]",
        "label": "Property Tax [Member]",
        "terseLabel": "Ad Valorem Tax Adjustment Clause"
       }
      }
     },
     "localname": "PropertyTaxMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PublicUtilitiesActualWeightedCommonEquityReturnThresholdPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Actual Weighted Common Equity Return, Threshold, Percentage",
        "label": "Public Utilities, Actual Weighted Common Equity Return, Threshold, Percentage",
        "terseLabel": "Public utilities, actual weighted common equity return, threshold, percentage"
       }
      }
     },
     "localname": "PublicUtilitiesActualWeightedCommonEquityReturnThresholdPercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PublicUtilitiesActualWeightedCommonEquityReturnThresholdReviewYearWithRateRSEUpwardAdjustmentPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Actual Weighted Common Equity Return, Threshold, Review Year With Rate RSE Upward Adjustment, Percentage",
        "label": "Public Utilities, Actual Weighted Common Equity Return, Threshold, Review Year With Rate RSE Upward Adjustment, Percentage",
        "terseLabel": "Public utilities, actual weighted common equity return, threshold, review year with rate RSE upward adjustment, percentage"
       }
      }
     },
     "localname": "PublicUtilitiesActualWeightedCommonEquityReturnThresholdReviewYearWithRateRSEUpwardAdjustmentPercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PublicUtilitiesActualWeightedCommonEquityReturnThresholdforCustomerRefundableFeesRefundPaymentsPercentageTrancheOne": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Actual Weighted Common Equity Return, Threshold for Customer Refundable Fees, Refund Payments, Percentage, Tranche One",
        "label": "Public Utilities, Actual Weighted Common Equity Return, Threshold for Customer Refundable Fees, Refund Payments, Percentage, Tranche One",
        "terseLabel": "Public utilities, actual weighted common equity return, threshold for customer refundable fees, refund payments, percentage, tranche one"
       }
      }
     },
     "localname": "PublicUtilitiesActualWeightedCommonEquityReturnThresholdforCustomerRefundableFeesRefundPaymentsPercentageTrancheOne",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PublicUtilitiesActualWeightedCommonEquityReturnThresholdforCustomerRefundableFeesRefundPaymentsPercentageTrancheThree": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Actual Weighted Common Equity Return, Threshold for Customer Refundable Fees, Refund Payments, Percentage, Tranche Three",
        "label": "Public Utilities, Actual Weighted Common Equity Return, Threshold for Customer Refundable Fees, Refund Payments, Percentage, Tranche Three",
        "terseLabel": "Public utilities, actual weighted common equity return, threshold for customer refundable fees, refund payments, percentage, tranche three"
       }
      }
     },
     "localname": "PublicUtilitiesActualWeightedCommonEquityReturnThresholdforCustomerRefundableFeesRefundPaymentsPercentageTrancheThree",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PublicUtilitiesActualWeightedCommonEquityReturnThresholdforCustomerRefundableFeesRefundPaymentsPercentageTrancheTwo": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Actual Weighted Common Equity Return, Threshold for Customer Refundable Fees, Refund Payments, Percentage, Tranche Two",
        "label": "Public Utilities, Actual Weighted Common Equity Return, Threshold for Customer Refundable Fees, Refund Payments, Percentage, Tranche Two",
        "terseLabel": "Public utilities, actual weighted common equity return, threshold for customer refundable fees, refund payments, percentage, tranche two"
       }
      }
     },
     "localname": "PublicUtilitiesActualWeightedCommonEquityReturnThresholdforCustomerRefundableFeesRefundPaymentsPercentageTrancheTwo",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PublicUtilitiesActualWeightedCommonEquityReturnThresholdforCustomerRefundableFeesRefundPaymentsReviewYearWithRateRSEUpwardAdjustmentPercentageTrancheOne": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Actual Weighted Common Equity Return, Threshold for Customer Refundable Fees, Refund Payments, Review Year With Rate RSE Upward Adjustment,Percentage, Tranche One",
        "label": "Public Utilities, Actual Weighted Common Equity Return, Threshold for Customer Refundable Fees, Refund Payments, Review Year With Rate RSE Upward Adjustment,Percentage, Tranche One",
        "terseLabel": "Public utilities, actual weighted common equity return, threshold for customer refundable fees, refund payments, review year with rate RSE upward adjustment, percentage, tranche one"
       }
      }
     },
     "localname": "PublicUtilitiesActualWeightedCommonEquityReturnThresholdforCustomerRefundableFeesRefundPaymentsReviewYearWithRateRSEUpwardAdjustmentPercentageTrancheOne",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PublicUtilitiesAgreementWithThirdPartyConstructionCostsOverProjectedForecastToBePaidPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Agreement With Third Party, Construction Costs Over Projected Forecast, To Be Paid, Percentage",
        "label": "Public Utilities, Agreement With Third Party, Construction Costs Over Projected Forecast, To Be Paid, Percentage",
        "terseLabel": "Agreement with third party, amount of costs over projected forecast to be paid by company"
       }
      }
     },
     "localname": "PublicUtilitiesAgreementWithThirdPartyConstructionCostsOverProjectedForecastToBePaidPercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PublicUtilitiesAgreementWithThirdPartyExpectedCost": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Agreement With Third Party, Expected Cost",
        "label": "Public Utilities, Agreement With Third Party, Expected Cost",
        "terseLabel": "Agreement with third party, expected cost"
       }
      }
     },
     "localname": "PublicUtilitiesAgreementWithThirdPartyExpectedCost",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesAnnualCreditSecuritySupportPercentageOfHighestBill": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Annual Credit Security Support, Percentage Of Highest Bill",
        "label": "Public Utilities, Annual Credit Security Support, Percentage Of Highest Bill",
        "terseLabel": "Percent of highest month's estimated bill"
       }
      }
     },
     "localname": "PublicUtilitiesAnnualCreditSecuritySupportPercentageOfHighestBill",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofCreditRiskNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PublicUtilitiesApprovedAdditionalGeneratingCapacity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Approved Additional Generating Capacity",
        "label": "Public Utilities, Approved Additional Generating Capacity",
        "terseLabel": "Approved additional generating capacity (in MW)"
       }
      }
     },
     "localname": "PublicUtilitiesApprovedAdditionalGeneratingCapacity",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "powerItemType"
    },
    "so_PublicUtilitiesApprovedAdditionalGeneratingCapacityDemandsideManagementAndDistributedEnergyResourcePrograms": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Approved Additional Generating Capacity, Demand-side Management And Distributed Energy Resource Programs",
        "label": "Public Utilities, Approved Additional Generating Capacity, Demand-side Management And Distributed Energy Resource Programs",
        "terseLabel": "Approved additional generating capacity, demand-side management and distributed energy resource programs"
       }
      }
     },
     "localname": "PublicUtilitiesApprovedAdditionalGeneratingCapacityDemandsideManagementAndDistributedEnergyResourcePrograms",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails"
     ],
     "xbrltype": "powerItemType"
    },
    "so_PublicUtilitiesApprovedAnnualRecoveryOfCapitalInvestment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Approved Annual Recovery of Capital Investment",
        "label": "Public Utilities, Approved Annual Recovery of Capital Investment",
        "terseLabel": "Approved annual recovery of capital investment"
       }
      }
     },
     "localname": "PublicUtilitiesApprovedAnnualRecoveryOfCapitalInvestment",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesApprovedChangeInMethodOfClosureNumberOfAshPonds": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Approved Change In Method of Closure, Number Of Ash Ponds",
        "label": "Public Utilities, Approved Change In Method of Closure, Number Of Ash Ponds",
        "terseLabel": "Number of ash ponds"
       }
      }
     },
     "localname": "PublicUtilitiesApprovedChangeInMethodOfClosureNumberOfAshPonds",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_PublicUtilitiesApprovedDepreciationExpenseDeferredAnnualAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Approved Depreciation Expense Deferred, Annual Amount",
        "label": "Public Utilities, Approved Depreciation Expense Deferred, Annual Amount",
        "terseLabel": "Approved depreciation expense deferred, annual amount"
       }
      }
     },
     "localname": "PublicUtilitiesApprovedDepreciationExpenseDeferredAnnualAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesApprovedRateDecreaseAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Approved Rate Decrease, Amount",
        "label": "Public Utilities, Approved Rate Decrease, Amount",
        "terseLabel": "Approved rate decrease"
       }
      }
     },
     "localname": "PublicUtilitiesApprovedRateDecreaseAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesApprovedRateIncreaseAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Approved Rate Increase, Amount",
        "label": "Public Utilities, Approved Rate Increase, Amount",
        "terseLabel": "Approved rate increase"
       }
      }
     },
     "localname": "PublicUtilitiesApprovedRateIncreaseAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesApprovedRateIncreaseDecreaseAmountRecoveryOfInvestments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Approved Rate Increase (Decrease), Amount, Recovery Of Investments",
        "label": "Public Utilities, Approved Rate Increase (Decrease), Amount, Recovery Of Investments",
        "terseLabel": "Public utilities, approved rate increase amount recovery of investments"
       }
      }
     },
     "localname": "PublicUtilitiesApprovedRateIncreaseDecreaseAmountRecoveryOfInvestments",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesApprovedRateIncreaseDecreaseMinimumAnnualAccrualAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Approved Rate Increase (Decrease), Minimum Annual Accrual, Amount",
        "label": "Public Utilities, Approved Rate Increase (Decrease), Minimum Annual Accrual, Amount",
        "terseLabel": "Minimum annual accrual, amount"
       }
      }
     },
     "localname": "PublicUtilitiesApprovedRateIncreaseDecreaseMinimumAnnualAccrualAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesDeferredAmountReliabilityReserve": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Deferred Amount, Reliability Reserve",
        "label": "Public Utilities, Deferred Amount, Reliability Reserve",
        "terseLabel": "Reliability reserve, amount deferred"
       }
      }
     },
     "localname": "PublicUtilitiesDeferredAmountReliabilityReserve",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesEstimatedInServiceCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Estimated In-Service Cost",
        "label": "Public Utilities, Estimated In-Service Cost",
        "terseLabel": "Estimated in-service cost"
       }
      }
     },
     "localname": "PublicUtilitiesEstimatedInServiceCost",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesExtensionProjectScheduleTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Extension Project Schedule, Term",
        "label": "Public Utilities, Extension Project Schedule, Term",
        "terseLabel": "Public utilities, extension project schedule, term"
       }
      }
     },
     "localname": "PublicUtilitiesExtensionProjectScheduleTerm",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_PublicUtilitiesIncrementalCOVID19CostsDeferred": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Incremental COVID-19 Costs Deferred",
        "label": "Public Utilities, Incremental COVID-19 Costs Deferred",
        "terseLabel": "Incremental COVID-19 costs deferred"
       }
      }
     },
     "localname": "PublicUtilitiesIncrementalCOVID19CostsDeferred",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesIncrementalCOVID19CostsRecoveredPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Incremental COVID-19 Costs Recovered, Period",
        "label": "Public Utilities, Incremental COVID-19 Costs Recovered, Period",
        "terseLabel": "Incremental COVID-19 costs recovered, period"
       }
      }
     },
     "localname": "PublicUtilitiesIncrementalCOVID19CostsRecoveredPeriod",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_PublicUtilitiesInfrastructureReplacementProgramsAndCapitalProjectsExpenditures": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Infrastructure Replacement Programs And Capital Projects, Expenditures",
        "label": "Public Utilities, Infrastructure Replacement Programs And Capital Projects, Expenditures",
        "terseLabel": "Expenditures in 2022",
        "verboseLabel": "Capital expenditures"
       }
      }
     },
     "localname": "PublicUtilitiesInfrastructureReplacementProgramsAndCapitalProjectsExpenditures",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesInfrastructureReplacementProgramsAndCapitalProjectsExpendituresSinceProjectInception": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Infrastructure Replacement Programs And Capital Projects, Expenditures Since Project Inception",
        "label": "Public Utilities, Infrastructure Replacement Programs And Capital Projects, Expenditures Since Project Inception",
        "terseLabel": "Expenditures Since Project Inception"
       }
      }
     },
     "localname": "PublicUtilitiesInfrastructureReplacementProgramsAndCapitalProjectsExpendituresSinceProjectInception",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesInfrastructureReplacementProgramsAndCapitalProjectsPipeInstalledSinceProjectInception": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Infrastructure Replacement Programs And Capital Projects, Pipe Installed Since Project Inception",
        "label": "Public Utilities, Infrastructure Replacement Programs And Capital Projects, Pipe Installed Since Project Inception",
        "terseLabel": "Pipe Installed Since Project Inception (in miles)"
       }
      }
     },
     "localname": "PublicUtilitiesInfrastructureReplacementProgramsAndCapitalProjectsPipeInstalledSinceProjectInception",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "lengthItemType"
    },
    "so_PublicUtilitiesInfrastructureReplacementProgramsAndCapitalProjectsProgramDuration": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Infrastructure Replacement Programs And Capital Projects, Program Duration",
        "label": "Public Utilities, Infrastructure Replacement Programs And Capital Projects, Program Duration",
        "terseLabel": "Program Duration"
       }
      }
     },
     "localname": "PublicUtilitiesInfrastructureReplacementProgramsAndCapitalProjectsProgramDuration",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_PublicUtilitiesInfrastructureReplacementProgramsAndCapitalProjectsScopeOfProgram": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Infrastructure Replacement Programs And Capital Projects, Scope Of Program",
        "label": "Public Utilities, Infrastructure Replacement Programs And Capital Projects, Scope Of Program",
        "terseLabel": "Scope of Program (in miles)"
       }
      }
     },
     "localname": "PublicUtilitiesInfrastructureReplacementProgramsAndCapitalProjectsScopeOfProgram",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "lengthItemType"
    },
    "so_PublicUtilitiesMaximumBaseRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Maximum Base Rate",
        "label": "Public Utilities, Maximum Base Rate",
        "terseLabel": "Public utilities, maximum base rate percentage"
       }
      }
     },
     "localname": "PublicUtilitiesMaximumBaseRate",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PublicUtilitiesPlannedExpenses": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Planned Expenses",
        "label": "Public Utilities, Planned Expenses",
        "terseLabel": "Planned expenses to modernize plant"
       }
      }
     },
     "localname": "PublicUtilitiesPlannedExpenses",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesPlantUnits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Plant Units",
        "label": "Public Utilities, Plant Units",
        "terseLabel": "Plant units"
       }
      }
     },
     "localname": "PublicUtilitiesPlantUnits",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_PublicUtilitiesPropertyPlantAndEquipmentOther": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails": {
       "order": 3.0,
       "parentTag": "so_UtilityPlantInService",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Equipment.",
        "label": "Public Utilities Property Plant and Equipment Other",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "PublicUtilitiesPropertyPlantAndEquipmentOther",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesPropertyPlantandEquipmentGeneral": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails": {
       "order": 4.0,
       "parentTag": "so_ElectricUtilityPlantinService",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Property Plant and Equipment, General",
        "label": "Public Utilities, Property Plant and Equipment, General",
        "terseLabel": "General/other"
       }
      }
     },
     "localname": "PublicUtilitiesPropertyPlantandEquipmentGeneral",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesPropertyPlantandEquipmentInvestmentNet": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Property, Plant and Equipment, Investment, Net",
        "label": "Public Utilities, Property, Plant and Equipment, Investment, Net",
        "negatedTerseLabel": "Net investment"
       }
      }
     },
     "localname": "PublicUtilitiesPropertyPlantandEquipmentInvestmentNet",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesPropertyPlantandEquipmentStorageFacilities": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails": {
       "order": 2.0,
       "parentTag": "so_UtilityPlantInService",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Property, Plant, and Equipment, Storage Facilities",
        "label": "Public Utilities, Property, Plant, and Equipment, Storage Facilities",
        "terseLabel": "Storage facilities"
       }
      }
     },
     "localname": "PublicUtilitiesPropertyPlantandEquipmentStorageFacilities",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesPropertyPlantandEquipmentTransportationandDistribution": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails": {
       "order": 1.0,
       "parentTag": "so_UtilityPlantInService",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Property, Plant and Equipment, Transportation and Distribution",
        "label": "Public Utilities, Property, Plant and Equipment, Transportation and Distribution",
        "terseLabel": "Natural gas distribution utilities transportation and distribution"
       }
      }
     },
     "localname": "PublicUtilitiesPropertyPlantandEquipmentTransportationandDistribution",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesRequestedAdditionalGeneratingCapacity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Requested Additional Generating Capacity",
        "label": "Public Utilities, Requested Additional Generating Capacity",
        "terseLabel": "Requested additional generating capacity (in MW)"
       }
      }
     },
     "localname": "PublicUtilitiesRequestedAdditionalGeneratingCapacity",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "powerItemType"
    },
    "so_PublicUtilitiesRequestedCapitalConstructionCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Requested Capital Construction Costs",
        "label": "Public Utilities, Requested Capital Construction Costs",
        "terseLabel": "Approval of construction capital costs"
       }
      }
     },
     "localname": "PublicUtilitiesRequestedCapitalConstructionCosts",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesRequestedNumberOfAffiliatePowerPurchaseAgreementsToBeCertified": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Requested Number of Affiliate Power Purchase Agreements to be Certified",
        "label": "Public Utilities, Requested Number of Affiliate Power Purchase Agreements to be Certified",
        "terseLabel": "Requested number of affiliate power purchase agreements to be certified"
       }
      }
     },
     "localname": "PublicUtilitiesRequestedNumberOfAffiliatePowerPurchaseAgreementsToBeCertified",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_PublicUtilitiesRequestedNumberOfPowerPurchaseAgreementsToBeCertifiedTotal": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Requested Number of Power Purchase Agreements to be Certified, Total",
        "label": "Public Utilities, Requested Number of Power Purchase Agreements to be Certified, Total",
        "terseLabel": "Requested number of power purchase agreements to be certified"
       }
      }
     },
     "localname": "PublicUtilitiesRequestedNumberOfPowerPurchaseAgreementsToBeCertifiedTotal",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_PublicUtilitiesRequestedRateIncreaseAdValoremTaxesPreviouslyRecoveredThroughPerformanceEvaluationPlanAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Requested Rate Increase, Ad Valorem Taxes Previously Recovered Through Performance Evaluation Plan, Amount",
        "label": "Public Utilities, Requested Rate Increase, Ad Valorem Taxes Previously Recovered Through Performance Evaluation Plan, Amount",
        "terseLabel": "Public utilities, valorem taxes previously recovered, amount"
       }
      }
     },
     "localname": "PublicUtilitiesRequestedRateIncreaseAdValoremTaxesPreviouslyRecoveredThroughPerformanceEvaluationPlanAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesRequestedRateIncreaseDecreaseAdditionalAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Requested Rate Increase (Decrease), Additional Amount",
        "label": "Public Utilities, Requested Rate Increase (Decrease), Additional Amount",
        "terseLabel": "Requested rate increase (decrease), additional amount"
       }
      }
     },
     "localname": "PublicUtilitiesRequestedRateIncreaseDecreaseAdditionalAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesRequestedRateIncreaseDecreaseAmountDueInNextFiscalYear": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Requested Rate Increase (Decrease), Amount, Due In Next Fiscal Year",
        "label": "Public Utilities, Requested Rate Increase (Decrease), Amount, Due In Next Fiscal Year",
        "terseLabel": "Requested rate increase (decrease), amount, due in next fiscal year"
       }
      }
     },
     "localname": "PublicUtilitiesRequestedRateIncreaseDecreaseAmountDueInNextFiscalYear",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCTariffsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesRequestedRateIncreaseDecreaseAmountDueInSecondYear": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Requested Rate Increase (Decrease), Amount, Due In Second Year",
        "label": "Public Utilities, Requested Rate Increase (Decrease), Amount, Due In Second Year",
        "terseLabel": "Requested rate increase (decrease), amount, due in 2024"
       }
      }
     },
     "localname": "PublicUtilitiesRequestedRateIncreaseDecreaseAmountDueInSecondYear",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCTariffsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesRequestedRateIncreaseDecreaseAmountDueInThirdYear": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Requested Rate Increase (Decrease), Amount, Due In Third Year",
        "label": "Public Utilities, Requested Rate Increase (Decrease), Amount, Due In Third Year",
        "terseLabel": "Requested rate increase (decrease), amount, due in 2025"
       }
      }
     },
     "localname": "PublicUtilitiesRequestedRateIncreaseDecreaseAmountDueInThirdYear",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCTariffsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesRequestedRateIncreaseDecreaseAmountRecoveryOfInvestments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Requested Rate Increase (Decrease), Amount, Recovery Of Investments",
        "label": "Public Utilities, Requested Rate Increase (Decrease), Amount, Recovery Of Investments",
        "terseLabel": "Requested rate increase (decrease), amount related to recovery of investments"
       }
      }
     },
     "localname": "PublicUtilitiesRequestedRateIncreaseDecreaseAmountRecoveryOfInvestments",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesRequestedRateIncreaseDecreaseAnnualAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Requested Rate Increase (Decrease), Annual Amount",
        "label": "Public Utilities, Requested Rate Increase (Decrease), Annual Amount",
        "terseLabel": "Requested rate increase, annual amount"
       }
      }
     },
     "localname": "PublicUtilitiesRequestedRateIncreaseDecreaseAnnualAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesRequestedRateIncreaseDecreaseProposedRiders": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Requested Rate Increase (Decrease), Proposed Riders",
        "label": "Public Utilities, Requested Rate Increase (Decrease), Proposed Riders",
        "terseLabel": "Requested rate increase (decrease), proposed riders"
       }
      }
     },
     "localname": "PublicUtilitiesRequestedRateIncreaseDecreaseProposedRiders",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_PublicUtilitiesRequestedRateIncreaseDecreaseTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Requested Rate Increase (Decrease), Term",
        "label": "Public Utilities, Requested Rate Increase (Decrease), Term",
        "terseLabel": "Approved decrease in annual billing based on fuel cost recovery rate, term"
       }
      }
     },
     "localname": "PublicUtilitiesRequestedRateIncreaseDecreaseTerm",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_PublicUtilitiesRequestedRateIncreaseProjectedTestYearTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Requested Rate Increase, Projected Test Year, Term",
        "label": "Public Utilities, Requested Rate Increase, Projected Test Year, Term",
        "terseLabel": "Requested rate increase, projected test year, term"
       }
      }
     },
     "localname": "PublicUtilitiesRequestedRateIncreaseProjectedTestYearTerm",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_PublicUtilitiesRequiredFossilStreamGenerationRetirements": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Required Fossil-stream Generation Retirements",
        "label": "Public Utilities, Required Fossil-stream Generation Retirements",
        "terseLabel": "Required fossil-stream generation retirements (in MWs)"
       }
      }
     },
     "localname": "PublicUtilitiesRequiredFossilStreamGenerationRetirements",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails"
     ],
     "xbrltype": "powerItemType"
    },
    "so_PublicUtilitiesReturnonEquityPotentialDecreaseEachMonthPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Return on Equity, Potential Decrease Each Month, Percentage",
        "label": "Public Utilities, Return on Equity, Potential Decrease Each Month, Percentage",
        "terseLabel": "Potential decrease each month, percentage"
       }
      }
     },
     "localname": "PublicUtilitiesReturnonEquityPotentialDecreaseEachMonthPercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_PublicUtilitiesTargetPropertyDamageReserve": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Target Property Damage Reserve",
        "label": "Public Utilities, Target Property Damage Reserve",
        "terseLabel": "Target property damage reserve"
       }
      }
     },
     "localname": "PublicUtilitiesTargetPropertyDamageReserve",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilitiesUnderpaymentOfRefunds": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utilities, Underpayment Of Refunds",
        "label": "Public Utilities, Underpayment Of Refunds",
        "terseLabel": "Public utilities, underpayment of refunds"
       }
      }
     },
     "localname": "PublicUtilitiesUnderpaymentOfRefunds",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCLitigationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PublicUtilityGeneratingCapacityTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utility, Generating Capacity, Type",
        "label": "Public Utility, Generating Capacity, Type [Axis]",
        "terseLabel": "Public Utility, Generating Capacity, Type [Axis]"
       }
      }
     },
     "localname": "PublicUtilityGeneratingCapacityTypeAxis",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_PublicUtilityGeneratingCapacityTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public Utility, Generating Capacity, Type [Domain]",
        "label": "Public Utility, Generating Capacity, Type [Domain]",
        "terseLabel": "Public Utility, Generating Capacity, Type [Domain]"
       }
      }
     },
     "localname": "PublicUtilityGeneratingCapacityTypeDomain",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PurchasedPowerFromAffiliatesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchased Power from Affiliates [Member]",
        "label": "Purchased Power from Affiliates [Member]",
        "terseLabel": "Purchased Power from Affiliates"
       }
      }
     },
     "localname": "PurchasedPowerFromAffiliatesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_PurchaseofMembershipInterestsfromNoncontrollingInterests": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchase of Membership Interests from Noncontrolling Interests",
        "label": "Purchase of Membership Interests from Noncontrolling Interests",
        "negatedTerseLabel": "Purchase of membership interests from noncontrolling interests",
        "terseLabel": "Purchase of membership interests from noncontrolling interests"
       }
      }
     },
     "localname": "PurchaseofMembershipInterestsfromNoncontrollingInterests",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_PurportedViolationsOfMississippiConsumerProtectionActMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purported Violations Of Mississippi Consumer Protection Act [Member]",
        "label": "Purported Violations Of Mississippi Consumer Protection Act [Member]",
        "terseLabel": "Purported Violations Of Mississippi Consumer Protection Act"
       }
      }
     },
     "localname": "PurportedViolationsOfMississippiConsumerProtectionActMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCLitigationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RailcarsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Railcars [Member]",
        "label": "Railcars [Member]",
        "terseLabel": "Railcars"
       }
      }
     },
     "localname": "RailcarsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RateAdjustmentPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate Adjustment Period",
        "label": "Rate Adjustment Period",
        "terseLabel": "Rate adjustment period"
       }
      }
     },
     "localname": "RateAdjustmentPeriod",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_RateRSEIncrease": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate RSE Increase",
        "label": "Rate RSE Increase",
        "terseLabel": "Rate RSE increase"
       }
      }
     },
     "localname": "RateRSEIncrease",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_RateRSEIncreaseAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate RSE Increase Amount",
        "label": "Rate RSE Increase Amount",
        "terseLabel": "Rate RSE increase amount"
       }
      }
     },
     "localname": "RateRSEIncreaseAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_RateRSERefundLiability": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate RSE Refund Liability",
        "label": "Rate RSE Refund Liability",
        "terseLabel": "Rate RSE refund liability"
       }
      }
     },
     "localname": "RateRSERefundLiability",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_RateRSERefundLiabilityPortionAttributableToReduceUnderRecoveredBalance": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate RSE Refund Liability, Portion Attributable to Reduce Under Recovered Balance",
        "label": "Rate RSE Refund Liability, Portion Attributable to Reduce Under Recovered Balance",
        "terseLabel": "Rate RSE refund liability, portion attributable to reduce under recovered balance"
       }
      }
     },
     "localname": "RateRSERefundLiabilityPortionAttributableToReduceUnderRecoveredBalance",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_RatioOfIndebtednessToCapitalizationCovenant": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of indebtedness to capitalization covenant.",
        "label": "Ratio of Indebtedness to Capitalization Covenant",
        "verboseLabel": "Ratio of indebtedness to capitalization, debt covenant, required"
       }
      }
     },
     "localname": "RatioOfIndebtednessToCapitalizationCovenant",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_ReadingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reading",
        "label": "Reading [Member]",
        "terseLabel": "Reading"
       }
      }
     },
     "localname": "ReadingMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ReceivablesPrepaymentsTransmissionPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Receivables/Prepayments, Transmission",
        "label": "Receivables/Prepayments, Transmission [Policy Text Block]",
        "terseLabel": "Transmission Receivables/Prepayments"
       }
      }
     },
     "localname": "ReceivablesPrepaymentsTransmissionPolicyTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_ReclassificationOutOfBalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reclassification Out Of Balance Sheet Location [Axis]",
        "label": "Reclassification Out Of Balance Sheet Location [Axis]",
        "terseLabel": "Reclassification Out Of Balance Sheet Location [Axis]"
       }
      }
     },
     "localname": "ReclassificationOutOfBalanceSheetLocationAxis",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_ReclassificationOutOfBalanceSheetLocationDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "[Domain] for Reclassification Out Of Balance Sheet Location [Axis]",
        "label": "Reclassification Out Of Balance Sheet Location [Domain]",
        "terseLabel": "Reclassification Out Of Balance Sheet Location [Domain]"
       }
      }
     },
     "localname": "ReclassificationOutOfBalanceSheetLocationDomain",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RecoveryEstimateOfUnderRecoveredCCRRuleCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Recovery Estimate Of Under Recovered CCR Rule Costs",
        "label": "Recovery Estimate Of Under Recovered CCR Rule Costs",
        "terseLabel": "Compliance costs expected to be incurred"
       }
      }
     },
     "localname": "RecoveryEstimateOfUnderRecoveredCCRRuleCosts",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_RedeemablePreferredStockOfSubsidiariesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redeemable preferred stock of subsidiaries",
        "label": "Redeemable Preferred Stock of Subsidiaries [Abstract]",
        "terseLabel": "Redeemable Preferred Stock of Subsidiaries:"
       }
      }
     },
     "localname": "RedeemablePreferredStockOfSubsidiariesAbstract",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "so_RedeemablePreferredStockTypeOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redeemable preferred stock type one.",
        "label": "Redeemable Preferred Stock Type One [Member]",
        "terseLabel": "Redeemable Preferred Stock, $100 par or stated value"
       }
      }
     },
     "localname": "RedeemablePreferredStockTypeOneMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RedeemablePreferredStockTypeTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redeemable preferred stock type two.",
        "label": "Redeemable Preferred Stock Type Two [Member]",
        "verboseLabel": "Redeemable Preferred Stock, $1 par value"
       }
      }
     },
     "localname": "RedeemablePreferredStockTypeTwoMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RedemptionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redemptions.",
        "label": "Redemptions [Abstract]",
        "verboseLabel": "Redemptions and repurchases \u2014"
       }
      }
     },
     "localname": "RedemptionsAbstract",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "so_ReductionInTaxBasisOfAssetsUnderOptionOne": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reduction in Tax Basis of Assets Under Option One.",
        "label": "Reduction in Tax Basis of Assets Under Option One",
        "verboseLabel": "Percentage reduction in tax basis of assets"
       }
      }
     },
     "localname": "ReductionInTaxBasisOfAssetsUnderOptionOne",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESIncomeandOtherTaxesNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_RegistrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Registrants [Member]",
        "label": "Registrants [Member]",
        "terseLabel": "Registrants"
       }
      }
     },
     "localname": "RegistrantsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RegulatoryAssetAssetRetirementObligation": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 5.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      },
      "http://southerncompany.com/role/BalanceSheetsMPC": {
       "order": 2.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 7.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Regulatory Asset, Asset Retirement Obligation",
        "label": "Regulatory Asset, Asset Retirement Obligation",
        "terseLabel": "Regulatory assets \u2013 asset retirement obligations, deferred"
       }
      }
     },
     "localname": "RegulatoryAssetAssetRetirementObligation",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_RegulatoryAssetAssetRetirementObligationCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 9.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 7.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Regulatory Asset, Asset Retirement Obligation, Current",
        "label": "Regulatory Asset, Asset Retirement Obligation, Current",
        "verboseLabel": "Regulatory assets \u2013 asset retirement obligations"
       }
      }
     },
     "localname": "RegulatoryAssetAssetRetirementObligationCurrent",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_RegulatoryAssetOffBalanceSheetMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Authorized regulatory asset that is not reflected within our Statements of Financial Position. This asset is primarily composed of an allowed equity rate of return on assets associated with certain of our regulatory infrastructure programs. The revenues related to this asset will be recognized in our financial statements in the periods they are collected in rates from our customers.",
        "label": "Regulatory Asset Off Balance Sheet [Member]",
        "terseLabel": "Regulatory Asset Off Balance Sheet"
       }
      }
     },
     "localname": "RegulatoryAssetOffBalanceSheetMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUnrecognizedRatemakingAmountsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RegulatoryAssetsAssociatedWithAssetRetirementObligationsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Regulatory assets associated with asset retirement obligations.",
        "label": "Regulatory Assets Associated with Asset Retirement Obligations [Member]",
        "verboseLabel": "AROs"
       }
      }
     },
     "localname": "RegulatoryAssetsAssociatedWithAssetRetirementObligationsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RegulatoryAssetsAssociatedWithEmployeeBenefitObligationsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Regulatory assets associated with employee benefit obligations.",
        "label": "Regulatory Assets Associated with Employee Benefit Obligations [Member]",
        "verboseLabel": "Employee benefit obligations"
       }
      }
     },
     "localname": "RegulatoryAssetsAssociatedWithEmployeeBenefitObligationsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RegulatoryAssetsAssociatedWithRemainingBookValueOfRetiredAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Regulatory Assets Associated With Remaining Book Value Of Retired Assets [Member]",
        "label": "Regulatory Assets Associated With Remaining Book Value Of Retired Assets [Member]",
        "terseLabel": "Remaining book value of retired assets"
       }
      }
     },
     "localname": "RegulatoryAssetsAssociatedWithRemainingBookValueOfRetiredAssetsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RegulatoryAssetsAssociatedWithStormDamageReservesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Regulatory Assets Associated With Storm Damage Reserves [Member]",
        "label": "Regulatory Assets Associated With Storm Damage Reserves [Member]",
        "terseLabel": "Storm damage reserves"
       }
      }
     },
     "localname": "RegulatoryAssetsAssociatedWithStormDamageReservesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RegulatoryAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Regulatory Assets [Member]",
        "label": "Regulatory Assets [Member]",
        "verboseLabel": "Regulatory Assets"
       }
      }
     },
     "localname": "RegulatoryAssetsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RegulatoryAssetsUnusableMaterialsAndSupplyInventory": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Regulatory Assets, Unusable Materials And Supply Inventory",
        "label": "Regulatory Assets, Unusable Materials And Supply Inventory",
        "terseLabel": "Net regulatory assets, unusable materials and supplies inventory"
       }
      }
     },
     "localname": "RegulatoryAssetsUnusableMaterialsAndSupplyInventory",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_RegulatoryClausesAmortizedThroughPerformanceEvaluationPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Regulatory Clauses, Amortized Through Performance Evaluation Plan",
        "label": "Regulatory Clauses, Amortized Through Performance Evaluation Plan [Member]",
        "terseLabel": "Regulatory Clauses, Amortized Through PEP"
       }
      }
     },
     "localname": "RegulatoryClausesAmortizedThroughPerformanceEvaluationPlanMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RegulatoryClausesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Regulatory Clauses",
        "label": "Regulatory Clauses [Member]",
        "terseLabel": "Regulatory Clauses"
       }
      }
     },
     "localname": "RegulatoryClausesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RegulatoryHedgeUnrealizedGainLoss": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Regulatory hedge unrealized gain (loss).",
        "label": "Regulatory Hedge Unrealized Gain Loss",
        "terseLabel": "Total energy-related derivative gains (losses)"
       }
      }
     },
     "localname": "RegulatoryHedgeUnrealizedGainLoss",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_RegulatoryInfrastructureProgramMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Regulatory Infrastructure Program [Member]",
        "label": "Regulatory Infrastructure Program [Member]",
        "terseLabel": "Regulatory Infrastructure Program"
       }
      }
     },
     "localname": "RegulatoryInfrastructureProgramMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RegulatoryLiabilityAssociatedWithTaxReformMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Regulatory Liability Associated With Tax Reform [Member]",
        "label": "Regulatory Liability Associated With Tax Reform [Member]",
        "terseLabel": "Regulatory liability associated with the Tax Reform Legislation (not subject to normalization)"
       }
      }
     },
     "localname": "RegulatoryLiabilityAssociatedWithTaxReformMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RegulatoryLiabilityPeriodCharge": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Regulatory Liability, Period Charge",
        "label": "Regulatory Liability, Period Charge",
        "terseLabel": "Charges against storm damage reserves"
       }
      }
     },
     "localname": "RegulatoryLiabilityPeriodCharge",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_RelatedPartyContractAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related Party, Contract Amount",
        "label": "Related Party, Contract Amount",
        "terseLabel": "Contract amount"
       }
      }
     },
     "localname": "RelatedPartyContractAmount",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_ReliabilityReserveLiabilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reliability Reserve Liability",
        "label": "Reliability Reserve Liability [Member]",
        "terseLabel": "Reliability reserves"
       }
      }
     },
     "localname": "ReliabilityReserveLiabilityMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RemainingNetBookValueOfRetiredAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Remaining Net Book Value Of Retired Assets [Member]",
        "label": "Remaining Net Book Value Of Retired Assets [Member]",
        "terseLabel": "Remaining Net Book Value of Retired Assets"
       }
      }
     },
     "localname": "RemainingNetBookValueOfRetiredAssetsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RemainingShareofConstructionCostsAgreementToPayPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Remaining Share of Construction Costs, Agreement To Pay, Percentage",
        "label": "Remaining Share of Construction Costs, Agreement To Pay, Percentage",
        "terseLabel": "Remaining share of construction costs, agreement to pay, percentage"
       }
      }
     },
     "localname": "RemainingShareofConstructionCostsAgreementToPayPercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_RemarketedPollutionControlBonds": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Remarketed Pollution Control Bonds",
        "label": "Remarketed Pollution Control Bonds",
        "terseLabel": "Remarketed pollution control bonds"
       }
      }
     },
     "localname": "RemarketedPollutionControlBonds",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_RenewableGenerationCertificateAuthorizedGeneratingCapacity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Renewable Generation Certificate, Authorized Generating Capacity",
        "label": "Renewable Generation Certificate, Authorized Generating Capacity",
        "terseLabel": "Renewable generation certificate, authorized generating capacity (in MWs)"
       }
      }
     },
     "localname": "RenewableGenerationCertificateAuthorizedGeneratingCapacity",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails"
     ],
     "xbrltype": "powerItemType"
    },
    "so_RenewableGenerationCertificateGeneratingCapacity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Renewable Generation Certificate, Generating Capacity",
        "label": "Renewable Generation Certificate, Generating Capacity",
        "terseLabel": "Renewable generation certificate, generating capacity (in MWs)"
       }
      }
     },
     "localname": "RenewableGenerationCertificateGeneratingCapacity",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails"
     ],
     "xbrltype": "powerItemType"
    },
    "so_RepaymentsOfFederalFinancingBankLoan": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Repayments Of Federal Financing Bank Loan",
        "label": "Repayments Of Federal Financing Bank Loan",
        "negatedLabel": "FFB loan",
        "verboseLabel": "Principal amortization payments"
       }
      }
     },
     "localname": "RepaymentsOfFederalFinancingBankLoan",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_RepaymentsOfRevenueBonds": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Repayments Of Revenue Bonds",
        "label": "Repayments Of Revenue Bonds",
        "negatedLabel": "Revenue bonds"
       }
      }
     },
     "localname": "RepaymentsOfRevenueBonds",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_RequestForDecertificationOfUnitsPercentageOfOwnership": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Request For Decertification Of Units, Percentage of Ownership",
        "label": "Request For Decertification Of Units, Percentage of Ownership",
        "terseLabel": "Request for decertification of units, percentage of ownership"
       }
      }
     },
     "localname": "RequestForDecertificationOfUnitsPercentageOfOwnership",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_RequiredPeriodForOptionsAndHedges": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Required Period For Options And Hedges",
        "label": "Required Period For Options And Hedges",
        "terseLabel": "Required period for options and hedges"
       }
      }
     },
     "localname": "RequiredPeriodForOptionsAndHedges",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_ReservesPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reserves.",
        "label": "Reserves [Policy Text Block]",
        "verboseLabel": "Storm Damage and Reliability Reserves"
       }
      }
     },
     "localname": "ReservesPolicyTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_RetailElectricCommercialMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Retail Electric - Commercial [Member]",
        "label": "Retail Electric - Commercial [Member]",
        "terseLabel": "Commercial"
       }
      }
     },
     "localname": "RetailElectricCommercialMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RetailElectricIndustrialMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Retail Electric - Industrial [Member]",
        "label": "Retail Electric - Industrial [Member]",
        "terseLabel": "Industrial"
       }
      }
     },
     "localname": "RetailElectricIndustrialMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RetailElectricMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Retail Electric [Member]",
        "label": "Retail Electric [Member]",
        "terseLabel": "Retail electric revenues"
       }
      }
     },
     "localname": "RetailElectricMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONElectricUtilitiesRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RetailElectricOtherMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Retail Electric - Other [Member]",
        "label": "Retail Electric - Other [Member]",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "RetailElectricOtherMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RetailElectricResidentialMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Retail Electric - Residential [Member]",
        "label": "Retail Electric - Residential [Member]",
        "terseLabel": "Residential"
       }
      }
     },
     "localname": "RetailElectricResidentialMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_RetailFuelCostOverRecoveryLongTerm": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Retail Fuel Cost Over Recovery Long Term",
        "label": "Retail Fuel Cost Over Recovery Long Term",
        "negatedLabel": "Retail fuel cost recovery \u2013 long-term"
       }
      }
     },
     "localname": "RetailFuelCostOverRecoveryLongTerm",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_RetailFuelCostUnderRecoveryLongTerm": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 26.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Retail Fuel Cost Under Recovery Long Term",
        "label": "Retail Fuel Cost Under Recovery Long Term",
        "negatedTerseLabel": "Retail fuel cost under recovery \u2013 long-term"
       }
      }
     },
     "localname": "RetailFuelCostUnderRecoveryLongTerm",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_RetailRateOfReturnOnCommonEquity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Retail Rate Of Return On Common Equity",
        "label": "Retail Rate Of Return On Common Equity",
        "terseLabel": "Retail rate of return on common equity"
       }
      }
     },
     "localname": "RetailRateOfReturnOnCommonEquity",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_RetireeBenefitPlansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Retiree Benefit Plans Member.",
        "label": "Retiree Benefit Plans [Member]",
        "terseLabel": "Retiree Benefit Plans"
       }
      }
     },
     "localname": "RetireeBenefitPlansMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ReturnOfPaidInCapital": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Return Of Paid In Capital",
        "label": "Return Of Paid In Capital",
        "negatedTerseLabel": "Return of capital to parent company"
       }
      }
     },
     "localname": "ReturnOfPaidInCapital",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_ReturnOnEquityReductionNegativeImpactOnEarnings": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Return On Equity Reduction, Negative Impact On Earnings",
        "label": "Return On Equity Reduction, Negative Impact On Earnings",
        "terseLabel": "Return on equity reduction, negative impact on earnings"
       }
      }
     },
     "localname": "ReturnOnEquityReductionNegativeImpactOnEarnings",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_RevisedCostandScheduleTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revised Cost and Schedule [Table Text Block]",
        "label": "Revised Cost and Schedule [Table Text Block]",
        "terseLabel": "Schedule of revised cost and schedule"
       }
      }
     },
     "localname": "RevisedCostandScheduleTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiabilityReassessment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Right-Of-Use Asset Obtained In Exchange For Operating Lease Liability, Reassessment",
        "label": "Right-Of-Use Asset Obtained In Exchange For Operating Lease Liability, Reassessment",
        "terseLabel": "Reassessment of ROU assets under operating leases"
       }
      }
     },
     "localname": "RightOfUseAssetObtainedInExchangeForOperatingLeaseLiabilityReassessment",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESOtherInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_RockyMountainPumpedStorageMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rocky mountain pumped storage.",
        "label": "Rocky Mountain Pumped Storage [Member]",
        "terseLabel": "Rocky Mountain (pumped storage)"
       }
      }
     },
     "localname": "RockyMountainPumpedStorageMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SAVEMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SAVE [Member]",
        "label": "SAVE [Member]",
        "terseLabel": "Steps to Advance Virginia's Energy (SAVE)"
       }
      }
     },
     "localname": "SAVEMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SNGMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SNG [Member]",
        "label": "SNG [Member]",
        "terseLabel": "SNG"
       }
      }
     },
     "localname": "SNGMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSBalanceSheetInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSIncomeStatementInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SPSolarHoldingsILPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SP Solar Holdings I, LP [Member]",
        "label": "SP Solar Holdings I, LP [Member]",
        "verboseLabel": "SP Solar Holdings I, LP"
       }
      }
     },
     "localname": "SPSolarHoldingsILPMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SPWindMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SP Wind [Member]",
        "label": "SP Wind [Member]",
        "terseLabel": "SP Wind"
       }
      }
     },
     "localname": "SPWindMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sales-Type Lease, Net Investment in Lease, after Allowance for Credit Loss, Noncurrent",
        "label": "Sales-Type Lease, Net Investment in Lease, after Allowance for Credit Loss, Noncurrent [Member]",
        "terseLabel": "Net investment in sales-type leases"
       }
      }
     },
     "localname": "SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrentMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ScheduleOfForeignExchangeContractsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "[Table Text Block] for Schedule Of Foreign Exchange Contracts [Table]",
        "label": "Schedule Of Foreign Exchange Contracts [Table Text Block]",
        "terseLabel": "Schedule of foreign exchange contracts"
       }
      }
     },
     "localname": "ScheduleOfForeignExchangeContractsTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_ScheduleOfOperatingLeaseRightOfUseAssetsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule Of Operating Lease, Right-Of-Use Assets [Table Text Block]",
        "label": "Schedule Of Operating Lease, Right-Of-Use Assets [Table Text Block]",
        "terseLabel": "Major categories of lease obligations"
       }
      }
     },
     "localname": "ScheduleOfOperatingLeaseRightOfUseAssetsTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_ScheduleOfRegulatoryAssetsAndLiabilitiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of Regulatory Assets and Liabilities.",
        "label": "Schedule of Regulatory Assets and Liabilities [Line Items]",
        "terseLabel": "Schedule of Regulatory Assets and Liabilities [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfRegulatoryAssetsAndLiabilitiesLineItems",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCLitigationDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUnrecognizedRatemakingAmountsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_ScheduleOfRegulatoryAssetsAndLiabilitiesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule Of Regulatory Assets And Liabilities Table.",
        "label": "Schedule of Regulatory Assets and Liabilities [Table]",
        "terseLabel": "Schedule of Regulatory Assets and Liabilities [Table]"
       }
      }
     },
     "localname": "ScheduleOfRegulatoryAssetsAndLiabilitiesTable",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCLitigationDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUnrecognizedRatemakingAmountsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_ScheduleOfShareBasedCompensationNumberOfParticipatingEmployeesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule Of Share-Based Compensation, Number Of Participating Employees [Table Text Block]",
        "label": "Schedule Of Share-Based Compensation, Number Of Participating Employees [Table Text Block]",
        "terseLabel": "Schedule of employees participating in stock-based compensation programs"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationNumberOfParticipatingEmployeesTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_ScheduleOfShareBasedPaymentAwardAwardsOtherThanOptionsValuationAssumptionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of Share-based Payment Award, Awards Other than Options, Valuation Assumptions [Table Text Block]",
        "label": "Schedule of Share-based Payment Award, Awards Other than Options, Valuation Assumptions [Table Text Block]",
        "terseLabel": "Assumptions used in the pricing model and the weighted average grant-date fair value of performance share award units granted"
       }
      }
     },
     "localname": "ScheduleOfShareBasedPaymentAwardAwardsOtherThanOptionsValuationAssumptionsTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_ScheduleofAssetRetirementObligationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "[Line Items] for Schedule of Asset Retirement Obligation [Table]",
        "label": "Schedule of Asset Retirement Obligation [Line Items]",
        "terseLabel": "Schedule of Asset Retirement Obligation [Line Items]"
       }
      }
     },
     "localname": "ScheduleofAssetRetirementObligationLineItems",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSDetailsofAROsIncludedintheBalanceSheetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_ScheduleofAssetRetirementObligationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of Asset Retirement Obligation [Table]",
        "label": "Schedule of Asset Retirement Obligation [Table]",
        "terseLabel": "Schedule of Asset Retirement Obligation [Table]"
       }
      }
     },
     "localname": "ScheduleofAssetRetirementObligationTable",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSDetailsofAROsIncludedintheBalanceSheetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_ScheduleofConstructionProjectsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "[Table Text Block] for Schedule of Construction Projects [Table]",
        "label": "Schedule of Construction Projects [Table Text Block]",
        "terseLabel": "Schedule of construction projects"
       }
      }
     },
     "localname": "ScheduleofConstructionProjectsTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_SecuritiesHeldInFundsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities Held in Funds Member.",
        "label": "Securities Held in Funds [Member]",
        "terseLabel": "Securities held in the Funds"
       }
      }
     },
     "localname": "SecuritiesHeldInFundsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSFairValueIncreasesDecreasesoftheFundsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SegcoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SEGCO [Member]",
        "label": "SEGCO [Member]",
        "terseLabel": "SEGCO"
       }
      }
     },
     "localname": "SegcoMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SegmentAndRelatedInformationTextualAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Segment and related information.",
        "label": "Segment and Related Information (Textual) [Abstract]",
        "verboseLabel": "Segment and Related Information (Textual) [Abstract]"
       }
      }
     },
     "localname": "SegmentAndRelatedInformationTextualAbstract",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_SequentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sequent",
        "label": "Sequent [Member]",
        "terseLabel": "Sequent"
       }
      }
     },
     "localname": "SequentMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_Series2016B1.850SeniorNotesDue2026Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series 2016B 1.850% Senior Notes Due 2026 [Member]",
        "label": "Series 2016B 1.850% Senior Notes Due 2026 [Member]",
        "terseLabel": "Series 2016B 1.850% Senior Notes due 2026"
       }
      }
     },
     "localname": "Series2016B1.850SeniorNotesDue2026Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "domainItemType"
    },
    "so_Series2017A5.00JuniorSubordinatedNotesDue2077Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series 2017A 5.00% Junior Subordinated Notes Due 2077 [Member]",
        "label": "Series 2017A 5.00% Junior Subordinated Notes Due 2077 [Member]",
        "terseLabel": "Series 2017A 5.00% Junior Subordinated Notes due 2077"
       }
      }
     },
     "localname": "Series2017A5.00JuniorSubordinatedNotesDue2077Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "domainItemType"
    },
    "so_Series2017B5.25JuniorSubordinatedNotesDue2077Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series 2017B 5.25% Junior Subordinated Notes Due 2077 [Member]",
        "label": "Series 2017B 5.25% Junior Subordinated Notes Due 2077 [Member]",
        "terseLabel": "Series 2017B 5.25% Junior Subordinated Notes due 2077"
       }
      }
     },
     "localname": "Series2017B5.25JuniorSubordinatedNotesDue2077Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "domainItemType"
    },
    "so_Series2019ARemarketableJuniorSubordinatedNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series 2019A Remarketable Junior Subordinated Notes [Member]",
        "label": "Series 2019A Remarketable Junior Subordinated Notes [Member]",
        "terseLabel": "Series 2019A Remarketable Junior Subordinated Notes"
       }
      }
     },
     "localname": "Series2019ARemarketableJuniorSubordinatedNotesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGEquityUnitsDetails",
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_Series2019BRemarketableJuniorSubordinatedNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series 2019B Remarketable Junior Subordinated Notes [Member]",
        "label": "Series 2019B Remarketable Junior Subordinated Notes [Member]",
        "terseLabel": "Series 2019B Remarketable Junior Subordinated Notes"
       }
      }
     },
     "localname": "Series2019BRemarketableJuniorSubordinatedNotesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGEquityUnitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_Series2020A4.95JuniorSubordinatedNotesDue2080Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series 2020A 4.95% Junior Subordinated Notes Due 2080 [Member]",
        "label": "Series 2020A 4.95% Junior Subordinated Notes Due 2080 [Member]",
        "terseLabel": "Series 2020A 4.95% Junior Subordinated Notes due 2080"
       }
      }
     },
     "localname": "Series2020A4.95JuniorSubordinatedNotesDue2080Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "domainItemType"
    },
    "so_Series2020C420JuniorSubordinatedNotesDue2060Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series 2020C 4.20% Junior Subordinated Notes Due 2060",
        "label": "Series 2020C 4.20% Junior Subordinated Notes Due 2060 [Member]",
        "terseLabel": "Series 2020C 4.20% Junior Subordinated Notes due 2060"
       }
      }
     },
     "localname": "Series2020C420JuniorSubordinatedNotesDue2060Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "domainItemType"
    },
    "so_Series2021B1875FixedToFixedResetRateJuniorSubordinatedNotesDue2081Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series 2021B 1.875% Fixed-To-Fixed Reset Rate Junior Subordinated Notes Due 2081",
        "label": "Series 2021B 1.875% Fixed-To-Fixed Reset Rate Junior Subordinated Notes Due 2081 [Member]",
        "terseLabel": "Series 2021B 1.875% Fixed-to-Fixed Reset Rate Junior Subordinated Notes due 2081"
       }
      }
     },
     "localname": "Series2021B1875FixedToFixedResetRateJuniorSubordinatedNotesDue2081Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CoverPage"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardExpirationPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award award expiration period.",
        "label": "Share Based Compensation Arrangement by Share Based Payment Award Award Expiration Period",
        "terseLabel": "Expiration period"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardExpirationPeriod",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionsNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "so_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesReservedForIssuancePursuantToStockBasedCompensationPlan": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award number of shares reserved for issuance pursuant to stock based compensation plan.",
        "label": "Share Based Compensation Arrangement by Share Based Payment Award Number of Shares Reserved for Issuance Pursuant to Stock Based Compensation Plan",
        "verboseLabel": "Number of shares reserved for issuance to stock-based compensation plan (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesReservedForIssuancePursuantToStockBasedCompensationPlan",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGOutstandingClassesofCapitalStockNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "so_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfTypes": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-Based Compensation Arrangement By Share-Based Payment Award, Number Of Types",
        "label": "Share-Based Compensation Arrangement By Share-Based Payment Award, Number Of Types",
        "terseLabel": "Number of types of PSUs"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfTypes",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "so_ShareBasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedOrForfeitedInPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-Based Compensation Arrangement By Share-based Payment Award, Equity Instruments Other Than Options, Vested Or Forfeited In Period",
        "label": "Share-Based Compensation Arrangement By Share-based Payment Award, Equity Instruments Other Than Options, Vested Or Forfeited In Period",
        "terseLabel": "Vested or forfeited (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedOrForfeitedInPeriod",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "so_ShareOfPurchasedPower": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share Of Purchased Power",
        "label": "Share Of Purchased Power",
        "terseLabel": "Share of purchased power"
       }
      }
     },
     "localname": "ShareOfPurchasedPower",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_ShortTermBankDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Short-term bank debt.",
        "label": "Short Term Bank Debt [Member]",
        "verboseLabel": "Short-term bank debt"
       }
      }
     },
     "localname": "ShortTermBankDebtMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGNotesPayableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SignificantAssumptionOfInflationRateUsedToDetermineCostsForRateMaking": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Significant Assumption Of Inflation Rate Used To Determine Costs For Rate Making",
        "label": "Significant Assumption Of Inflation Rate Used To Determine Costs For Rate Making",
        "terseLabel": "Estimated inflation rate"
       }
      }
     },
     "localname": "SignificantAssumptionOfInflationRateUsedToDetermineCostsForRateMaking",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_SignificantAssumptionOfTrustEarningsRateUsedToDetermineCostsForRateMaking": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Significant Assumption Of Trust Earnings Rate Used To Determine Costs For Rate Making",
        "label": "Significant Assumption Of Trust Earnings Rate Used To Determine Costs For Rate Making",
        "terseLabel": "Estimated trust earnings rate"
       }
      }
     },
     "localname": "SignificantAssumptionOfTrustEarningsRateUsedToDetermineCostsForRateMaking",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_SiteStudyCostNonRadiatedStructuresMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Site Study Cost Non-Radiated Structures [Member]",
        "label": "Site Study Cost Non-Radiated Structures [Member]",
        "terseLabel": "Non-radiated structures"
       }
      }
     },
     "localname": "SiteStudyCostNonRadiatedStructuresMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SiteStudyCostRadiatedStructuresMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Site Study Cost Radiated Structures [Member]",
        "label": "Site Study Cost Radiated Structures [Member]",
        "terseLabel": "Radiated structures"
       }
      }
     },
     "localname": "SiteStudyCostRadiatedStructuresMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SiteStudyCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Site Study Costs",
        "label": "Site Study Costs",
        "terseLabel": "Site study costs"
       }
      }
     },
     "localname": "SiteStudyCosts",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_SkookumchuckMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Skookumchuck [Member]",
        "label": "Skookumchuck [Member]",
        "terseLabel": "Skookumchuck"
       }
      }
     },
     "localname": "SkookumchuckMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SoftwareAccountingOrderMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Software Accounting Order",
        "label": "Software Accounting Order [Member]",
        "terseLabel": "Software Accounting Order"
       }
      }
     },
     "localname": "SoftwareAccountingOrderMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCAccountingOrdersandPlantGreeneCountyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SoftwareAndCloudComputingCostsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Software and Cloud Computing Costs",
        "label": "Software and Cloud Computing Costs [Member]",
        "terseLabel": "Software and Cloud Computing Costs"
       }
      }
     },
     "localname": "SoftwareAndCloudComputingCostsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SolarGeneratingFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Solar Generating Facility [Member]",
        "label": "Solar Generating Facility [Member]",
        "terseLabel": "Solar Generating Facility"
       }
      }
     },
     "localname": "SolarGeneratingFacilityMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SouthernCompanyCommonStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Southern Company Common Stock [Member]",
        "label": "Southern Company Common Stock [Member]",
        "terseLabel": "Southern Company Common Stock"
       }
      }
     },
     "localname": "SouthernCompanyCommonStockMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGOutstandingClassesofCapitalStockNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SouthernCompanyGasCapitalMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Southern Company Gas Capital [Member]",
        "label": "Southern Company Gas Capital [Member]",
        "terseLabel": "Southern Company Gas Capital"
       }
      }
     },
     "localname": "SouthernCompanyGasCapitalMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/FINANCINGDividendRestrictionsandStructuralConsiderationsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGNotesPayableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SouthernCompanyGasMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Southern Company Gas [Member]",
        "label": "Southern Company Gas [Member]",
        "terseLabel": "Southern Company Gas [Member]",
        "verboseLabel": "Southern Company Gas"
       }
      }
     },
     "localname": "SouthernCompanyGasMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/AuditInformation",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSBalanceSheetInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSGASEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSIncomeStatementInformationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGASParenthetical",
      "http://southerncompany.com/role/CoverPage",
      "http://southerncompany.com/role/DERIVATIVESCumulativeBasisAdjustmentsforFairValueHedgesDetails",
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails",
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSFinancialInstrumentsCarryingAmountNotEqualtoFairValueDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/FINANCINGDividendRestrictionsandStructuralConsiderationsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGNotesPayableDetails",
      "http://southerncompany.com/role/INCOMETAXESChangesinUnrecognizedTaxBenefitsDetails",
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails",
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails",
      "http://southerncompany.com/role/LEASESLeaseCostsDetails",
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails",
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails",
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails",
      "http://southerncompany.com/role/LEASESOtherInformationDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTCompositeStraightLineRatesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDeferredCloudImplementationCostsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUnrecognizedRatemakingAmountsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITS401KPlanMatchingContributionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAccumulatedBenefitObligationDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSPerformanceObligationsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONAggregateIntrinsicValueforOptionsExercisedDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesCompensationCostsandRelatedTaxBenefitDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONScheduleofEmployeesParticipatinginStockBasedCompensationProgramsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGoodwillandOtherIntangibleAssetsandLiabilitiesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESIncomeandOtherTaxesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNaturalGasforSaleNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESRevenuesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAOCILossBalancesNetofTaxEffectsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofGoodwillBalancesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofTotalAFUDCandInterestCapitalizedDetails",
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SouthernCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Southern Company [Member]",
        "label": "Southern Company [Member]",
        "terseLabel": "Southern Company"
       }
      }
     },
     "localname": "SouthernCompanyMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails",
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SouthernCompanyServicesIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Southern Company Services [Member]",
        "label": "Southern Company Services, Inc. [Member]",
        "terseLabel": "Southern Company Services, Inc."
       }
      }
     },
     "localname": "SouthernCompanyServicesIncMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SouthernElectricGeneratingCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Southern Electric Generating Company [Member]",
        "label": "Southern Electric Generating Company [Member]",
        "verboseLabel": "SEGCO"
       }
      }
     },
     "localname": "SouthernElectricGeneratingCompanyMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGuaranteesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SouthernHoldingsCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Southern Holdings Company",
        "label": "Southern Holdings Company [Member]",
        "terseLabel": "Southern Holdings Company"
       }
      }
     },
     "localname": "SouthernHoldingsCompanyMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSouthernCompanyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SouthernNaturalGasCompanyLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Southern Natural Gas Company, LLC [Member]",
        "label": "Southern Natural Gas Company, LLC [Member]",
        "terseLabel": "Southern Natural Gas Company, LLC",
        "verboseLabel": "Southern Natural Gas Company, LLC"
       }
      }
     },
     "localname": "SouthernNaturalGasCompanyLLCMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/AuditInformation",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SouthernNuclearOperatingCompanyIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Southern Nuclear Operating Company, Inc. [Member]",
        "label": "Southern Nuclear Operating Company, Inc. [Member]",
        "terseLabel": "Southern Nuclear Operating Company, Inc."
       }
      }
     },
     "localname": "SouthernNuclearOperatingCompanyIncMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SouthernPowerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Southern Power.",
        "label": "Southern Power [Member]",
        "verboseLabel": "Southern Power"
       }
      }
     },
     "localname": "SouthernPowerMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSDetailsofAROsIncludedintheBalanceSheetsDetails",
      "http://southerncompany.com/role/AuditInformation",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/CoverPage",
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails",
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSFinancialInstrumentsCarryingAmountNotEqualtoFairValueDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGNotesPayableDetails",
      "http://southerncompany.com/role/INCOMETAXESAmortizationofDeferredCreditsDetails",
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails",
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/INCOMETAXESFederalITCPTCCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails",
      "http://southerncompany.com/role/LEASESLeaseCostsDetails",
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails",
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails",
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails",
      "http://southerncompany.com/role/LEASESOtherInformationDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDeferredCloudImplementationCostsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITS401KPlanMatchingContributionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAccumulatedBenefitObligationDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSPerformanceObligationsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONAggregateIntrinsicValueforOptionsExercisedDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONScheduleofEmployeesParticipatinginStockBasedCompensationProgramsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESIncomeandOtherTaxesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAOCILossBalancesNetofTaxEffectsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofTotalAFUDCandInterestCapitalizedDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTransmissionReceivablesPrepaymentsNarrativeDetails",
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SpecialSituationsInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Special Situations Investments [Member]",
        "label": "Special Situations Investments [Member]",
        "terseLabel": "Special situations"
       }
      }
     },
     "localname": "SpecialSituationsInvestmentsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SpentFuelManagementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Spent Fuel Management [Member]",
        "label": "Spent Fuel Management [Member]",
        "terseLabel": "Spent fuel management"
       }
      }
     },
     "localname": "SpentFuelManagementMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_StateEffectOfFederalDeferredTaxesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "State Effect of Federal Deferred Taxes",
        "label": "State Effect of Federal Deferred Taxes [Member]",
        "terseLabel": "State effect of federal deferred taxes"
       }
      }
     },
     "localname": "StateEffectOfFederalDeferredTaxesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_StateInvestmentTaxCreditCarryforward": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "State Investment Tax Credit Carryforward",
        "label": "State Investment Tax Credit Carryforward",
        "terseLabel": "State investment tax credit carryforward"
       }
      }
     },
     "localname": "StateInvestmentTaxCreditCarryforward",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_StockIssuedDuringPeriodSharesCompanyInvestmentPlanAndEmployeeAndDirectorStockPlans": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period shares company investment plan and employee and director stock plans.",
        "label": "Stock Issued During Period Shares Company Investment Plan and Employee and Director Stock Plans",
        "verboseLabel": "Stock issued employee and director stock plans (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesCompanyInvestmentPlanAndEmployeeAndDirectorStockPlans",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGOutstandingClassesofCapitalStockNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "so_StorageFacilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Storage Facilities [Member]",
        "label": "Storage Facilities [Member]",
        "terseLabel": "Storage facilities"
       }
      }
     },
     "localname": "StorageFacilitiesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_StormAndPropertyDamageReservesLiabilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Storm and Property Damage Reserves Liability",
        "label": "Storm and Property Damage Reserves Liability [Member]",
        "terseLabel": "Storm/Property Damage Reserves"
       }
      }
     },
     "localname": "StormAndPropertyDamageReservesLiabilityMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_StormDamageProvisionAndReliabilityReserveProvision": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Storm Damage Provision And Reliability Reserve Provision",
        "label": "Storm Damage Provision And Reliability Reserve Provision",
        "terseLabel": "Storm damage and reliability reserve accruals",
        "verboseLabel": "Natural disaster reserve and reliability reserve accruals"
       }
      }
     },
     "localname": "StormDamageProvisionAndReliabilityReserveProvision",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_StormReserveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Storm Reserve [Member]",
        "label": "Storm Reserve [Member]",
        "terseLabel": "Storm damage reserves"
       }
      }
     },
     "localname": "StormReserveMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SummaryOfAmortizationOfTaxCreditsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary Of Amortization Of Tax Credits [Table Text Block]",
        "label": "Summary Of Amortization Of Tax Credits [Table Text Block]",
        "terseLabel": "Summary of amortization of tax credits"
       }
      }
     },
     "localname": "SummaryOfAmortizationOfTaxCreditsTableTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_SystemReinforcementRiderMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "System Reinforcement Rider",
        "label": "System Reinforcement Rider [Member]",
        "terseLabel": "System Reinforcement Rider"
       }
      }
     },
     "localname": "SystemReinforcementRiderMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_SystemRestorationRiderAndReliabilityReserveProvision": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "System Restoration Rider And Reliability Reserve Provision",
        "label": "System Restoration Rider And Reliability Reserve Provision",
        "terseLabel": "System restoration rider and reliability reserve accruals"
       }
      }
     },
     "localname": "SystemRestorationRiderAndReliabilityReserveProvision",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_TaxEquityContributionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tax Equity Contributions",
        "label": "Tax Equity Contributions [Member]",
        "terseLabel": "Tax Equity Contributions"
       }
      }
     },
     "localname": "TaxEquityContributionsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_TemporaryEquityDividendRatePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Temporary Equity, Dividend Rate Percentage",
        "label": "Temporary Equity, Dividend Rate Percentage",
        "terseLabel": "Dividend rate percentage"
       }
      }
     },
     "localname": "TemporaryEquityDividendRatePercentage",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "so_TenderProvisionDisputeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tender Provision Dispute",
        "label": "Tender Provision Dispute [Member]",
        "terseLabel": "Tender Provision Dispute"
       }
      }
     },
     "localname": "TenderProvisionDisputeMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ThirdPartyGrossRevenuesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross revenues from third parties.",
        "label": "Third Party Gross Revenues [Member]",
        "terseLabel": "Third Party Gross Revenues"
       }
      }
     },
     "localname": "ThirdPartyGrossRevenuesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_ThresholdAboveWhichActualDamagesAreChargedToReserve": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Threshold Above Which Actual Damages Are Charged to the Reserve",
        "label": "Threshold Above Which Actual Damages Are Charged to the Reserve",
        "terseLabel": "Threshold above which actual damages are charged to the reserve (individually exceed)"
       }
      }
     },
     "localname": "ThresholdAboveWhichActualDamagesAreChargedToReserve",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_TotalGrossRevenuesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total amount of gross revenues.",
        "label": "Total Gross Revenues [Member]",
        "terseLabel": "Total Gross Revenues"
       }
      }
     },
     "localname": "TotalGrossRevenuesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_TraditionalBaseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Traditional Base [Member]",
        "label": "Traditional Base [Member]",
        "terseLabel": "Traditional base"
       }
      }
     },
     "localname": "TraditionalBaseMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCTariffsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_TraditionalElectricOperatingCompaniesAndSouthernPowerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Traditional Electric Operating Companies and Southern Power",
        "label": "Traditional Electric Operating Companies and Southern Power [Member]",
        "terseLabel": "Electric Utilities"
       }
      }
     },
     "localname": "TraditionalElectricOperatingCompaniesAndSouthernPowerMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_TraditionalElectricOperatingCompaniesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Traditional Electric Operating Companies [Member]",
        "label": "Traditional Electric Operating Companies [Member]",
        "terseLabel": "Traditional Electric Operating Companies"
       }
      }
     },
     "localname": "TraditionalElectricOperatingCompaniesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_TraditionalOperatingCompaniesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Traditional operating companies.",
        "label": "Traditional Operating Companies [Member]",
        "terseLabel": "Traditional Electric Operating Companies"
       }
      }
     },
     "localname": "TraditionalOperatingCompaniesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGeneralNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_TranquilitySolarStorageMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tranquility Solar Storage",
        "label": "Tranquility Solar Storage [Member]",
        "terseLabel": "Tranquility Solar Storage"
       }
      }
     },
     "localname": "TranquilitySolarStorageMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_TranquillitySolarStorageMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tranquillity Solar Storage [Member]",
        "label": "Tranquillity Solar Storage [Member]",
        "terseLabel": "Tranquillity Solar Storage"
       }
      }
     },
     "localname": "TranquillitySolarStorageMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_TransactionsWithAffiliatesPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transactions With Affiliates, Policy [Policy Text Block]",
        "label": "Transactions With Affiliates, Policy [Policy Text Block]",
        "terseLabel": "Affiliate Transactions"
       }
      }
     },
     "localname": "TransactionsWithAffiliatesPolicyPolicyTextBlock",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "so_TransferOfConstructionWorkInProgressToLeaseReceivables": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transfer Of Construction Work In Progress To Lease Receivables",
        "label": "Transfer Of Construction Work In Progress To Lease Receivables",
        "verboseLabel": "Transfer of construction work in progress to lease receivables"
       }
      }
     },
     "localname": "TransferOfConstructionWorkInProgressToLeaseReceivables",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_TrueUpRecoveryUnrecognizedEquityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "True-Up Recovery, Unrecognized Equity [Member]",
        "label": "True-Up Recovery, Unrecognized Equity [Member]",
        "terseLabel": "True-Up Recovery, Unrecognized Equity"
       }
      }
     },
     "localname": "TrueUpRecoveryUnrecognizedEquityMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_TrustOwnedLifeInsuranceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trust owned life insurance.",
        "label": "Trust Owned Life Insurance [Member]",
        "terseLabel": "Trust-owned life insurance"
       }
      }
     },
     "localname": "TrustOwnedLifeInsuranceMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_TwentyFifthVogtleConstructionMonitoringReportMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Twenty Fifth Vogtle Construction Monitoring Report",
        "label": "Twenty Fifth Vogtle Construction Monitoring Report [Member]",
        "terseLabel": "Twenty Fifth Vogtle Construction Monitoring Report"
       }
      }
     },
     "localname": "TwentyFifthVogtleConstructionMonitoringReportMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_TwentySixthVogtleConstructionMonitoringReportMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Twenty Sixth Vogtle Construction Monitoring Report",
        "label": "Twenty Sixth Vogtle Construction Monitoring Report [Member]",
        "terseLabel": "Twenty Sixth Vogtle Construction Monitoring Report"
       }
      }
     },
     "localname": "TwentySixthVogtleConstructionMonitoringReportMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_USGeneralServicesAdministrationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "US General Services Administration",
        "label": "US General Services Administration [Member]",
        "terseLabel": "US General Services Administration"
       }
      }
     },
     "localname": "USGeneralServicesAdministrationMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_UnamortizedFairValueAdjustmentofLongtermDebt": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails_1": {
       "order": 4.0,
       "parentTag": "so_LongTermDebtandFinanceLeaseObligationNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unamortized Fair Value Adjustment of Long-term Debt",
        "label": "Unamortized Fair Value Adjustment of Long-term Debt",
        "terseLabel": "Unamortized fair value adjustment"
       }
      }
     },
     "localname": "UnamortizedFairValueAdjustmentofLongtermDebt",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_UnbilledRevenuesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 13.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount at the balance sheet date of revenues which have been earned but not yet billed.",
        "label": "Unbilled Revenues Current",
        "verboseLabel": "Unbilled revenues"
       }
      }
     },
     "localname": "UnbilledRevenuesCurrent",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_UncollectibleAccounts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Uncollectible accounts",
        "label": "Uncollectible Accounts",
        "terseLabel": "Uncollectible accounts, average percent of revenues (less than)"
       }
      }
     },
     "localname": "UncollectibleAccounts",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESProvisionforUncollectibleAccountsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_UnderRecoveredCertifiedPowerPurchaseAgreements": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Under Recovered Certified Power Purchase Agreements",
        "label": "Under Recovered Certified Power Purchase Agreements",
        "terseLabel": "Under recovered certified power purchase agreements"
       }
      }
     },
     "localname": "UnderRecoveredCertifiedPowerPurchaseAgreements",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_UnderRecoveredFuelClauseAndNaturalGasCostsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Under Recovered Fuel Clause and Natural Gas Costs",
        "label": "Under Recovered Fuel Clause and Natural Gas Costs [Member]",
        "terseLabel": "Under recovered fuel and natural gas costs"
       }
      }
     },
     "localname": "UnderRecoveredFuelClauseAndNaturalGasCostsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_UndistributedRetainedEarningsOfSubsidiaries": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Undistributed retained earnings of the subsidiaries.",
        "label": "Undistributed Retained Earnings of Subsidiaries",
        "terseLabel": "Undistributed retained earnings of subsidiaries"
       }
      }
     },
     "localname": "UndistributedRetainedEarningsOfSubsidiaries",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDividendRestrictionsandStructuralConsiderationsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_UndividedOwnershipInterestOwnershipInterestInIndividualUnit": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Undivided Ownership Interest, Ownership Interest In Individual Unit",
        "label": "Undivided Ownership Interest, Ownership Interest In Individual Unit",
        "terseLabel": "Percent ownership in individual unit"
       }
      }
     },
     "localname": "UndividedOwnershipInterestOwnershipInterestInIndividualUnit",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_UndividedOwnershipInterestToBeLeased": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Undivided Ownership Interest To Be Leased",
        "label": "Undivided Ownership Interest To Be Leased",
        "verboseLabel": "Agreement to lease undivided ownership (percent)"
       }
      }
     },
     "localname": "UndividedOwnershipInterestToBeLeased",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "so_UnrealizedGainLossOrWriteDownMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unrealized Gain (Loss) or Write-down",
        "label": "Unrealized Gain (Loss) or Write-down [Member]",
        "terseLabel": "Unrealized gains (losses)"
       }
      }
     },
     "localname": "UnrealizedGainLossOrWriteDownMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSFairValueIncreasesDecreasesoftheFundsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_UnrealizedTaxCreditsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unrealized Tax Credits [Member]",
        "label": "Unrealized Tax Credits [Member]",
        "terseLabel": "Unrealized Tax Credits"
       }
      }
     },
     "localname": "UnrealizedTaxCreditsMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_UnregulatedDistributedGenerationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unregulated Distributed Generation [Member]",
        "label": "Unregulated Distributed Generation [Member]",
        "terseLabel": "Unregulated Distributed Generation"
       }
      }
     },
     "localname": "UnregulatedDistributedGenerationMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_UtilityPlantInService": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_PublicUtilitiesPropertyPlantAndEquipmentPlantInService",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Utility Plant in Service.",
        "label": "Utility Plant in Service",
        "totalLabel": "Southern Company Gas plant in service"
       }
      }
     },
     "localname": "UtilityPlantInService",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_UtilityPlantInServiceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Utility Plant in Service [Member]",
        "label": "Utility Plant in Service [Member]",
        "terseLabel": "Utility plant in service"
       }
      }
     },
     "localname": "UtilityPlantInServiceMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTCompositeStraightLineRatesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_UtilityPlantOtherNet": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 4.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Utility Plant, Other, Net",
        "label": "Utility Plant, Other, Net",
        "terseLabel": "Other utility plant, net"
       }
      }
     },
     "localname": "UtilityPlantOtherNet",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "so_VirginiaNaturalGasMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Virginia Natural Gas [Member]",
        "label": "Virginia Natural Gas [Member]",
        "terseLabel": "Virginia Natural Gas"
       }
      }
     },
     "localname": "VirginiaNaturalGasMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUnrecognizedRatemakingAmountsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUtilityRegulationandRateDesignDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_VogtleConstructionMonitoringReportNumberAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vogtle Construction Monitoring Report, Number [Axis]",
        "label": "Vogtle Construction Monitoring Report, Number [Axis]",
        "terseLabel": "Vogtle Construction Monitoring Report, Number [Axis]"
       }
      }
     },
     "localname": "VogtleConstructionMonitoringReportNumberAxis",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_VogtleConstructionMonitoringReportNumberDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "[Domain] for Vogtle Construction Monitoring Report, Number [Axis]",
        "label": "Vogtle Construction Monitoring Report, Number [Domain]",
        "terseLabel": "Vogtle Construction Monitoring Report, Number [Domain]"
       }
      }
     },
     "localname": "VogtleConstructionMonitoringReportNumberDomain",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_VogtleOwnersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vogtle Owners [Member]",
        "label": "Vogtle Owners [Member]",
        "terseLabel": "Vogtle Owners"
       }
      }
     },
     "localname": "VogtleOwnersMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_VogtleUnitsThreeAndFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vogtle units three and four.",
        "label": "Vogtle Units Three and Four [Member]",
        "terseLabel": "Vogtle Units 3 and 4"
       }
      }
     },
     "localname": "VogtleUnitsThreeAndFourMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_WeatherDerivativesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents weather derivatives.",
        "label": "Weather Derivatives [Member]",
        "terseLabel": "Weather derivatives"
       }
      }
     },
     "localname": "WeatherDerivativesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_WholesaleAffiliatesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholesale, Affiliates [Member]",
        "label": "Wholesale, Affiliates [Member]",
        "terseLabel": "Wholesale revenues, affiliates"
       }
      }
     },
     "localname": "WholesaleAffiliatesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "domainItemType"
    },
    "so_WholesaleElectricMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholesale Electric",
        "label": "Wholesale Electric [Member]",
        "terseLabel": "Wholesale electric revenues"
       }
      }
     },
     "localname": "WholesaleElectricMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONElectricUtilitiesRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_WholesaleElectricNonPPARevenuesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholesale Electric - Non-PPA Revenues [Member]",
        "label": "Wholesale Electric - Non-PPA Revenues [Member]",
        "terseLabel": "Non-PPA revenues"
       }
      }
     },
     "localname": "WholesaleElectricNonPPARevenuesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_WholesaleElectricPPACapacityRevenuesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholesale Electric - PPA Capacity Revenues [Member]",
        "label": "Wholesale Electric - PPA Capacity Revenues [Member]",
        "terseLabel": "PPA capacity revenues"
       }
      }
     },
     "localname": "WholesaleElectricPPACapacityRevenuesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_WholesaleElectricPPAEnergyRevenuesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholesale Electric - PPA Energy Revenues [Member]",
        "label": "Wholesale Electric - PPA Energy Revenues [Member]",
        "terseLabel": "PPA energy revenues"
       }
      }
     },
     "localname": "WholesaleElectricPPAEnergyRevenuesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_WholesaleElectricRevenuesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholesale Electric Revenues [Member]",
        "label": "Wholesale Electric Revenues [Member]",
        "terseLabel": "Wholesale electric revenues"
       }
      }
     },
     "localname": "WholesaleElectricRevenuesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_WholesaleGasServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholesale Gas Services [Member]",
        "label": "Wholesale Gas Services [Member]",
        "terseLabel": "Wholesale gas services"
       }
      }
     },
     "localname": "WholesaleGasServicesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_WholesaleNonAffiliatesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholesale, Non-Affiliates [Member]",
        "label": "Wholesale, Non-Affiliates [Member]",
        "terseLabel": "Wholesale revenues"
       }
      }
     },
     "localname": "WholesaleNonAffiliatesMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "domainItemType"
    },
    "so_WhollyOwnedSubsidiaryOfSouthernPowerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly Owned Subsidiary Of Southern Power [Member]",
        "label": "Wholly Owned Subsidiary Of Southern Power [Member]",
        "terseLabel": "Wholly Owned Subsidiary Of Southern Power"
       }
      }
     },
     "localname": "WhollyOwnedSubsidiaryOfSouthernPowerMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_WindGeneratingFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wind Generating Facility [Member]",
        "label": "Wind Generating Facility [Member]",
        "terseLabel": "Wind Generating Facility"
       }
      }
     },
     "localname": "WindGeneratingFacilityMember",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_Year2020Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Year 2020 [Member]",
        "label": "Year 2020 [Member]",
        "terseLabel": "Year 2020"
       }
      }
     },
     "localname": "Year2020Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_Year2021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Year 2021 [Member]",
        "label": "Year 2021 [Member]",
        "terseLabel": "Year 2021"
       }
      }
     },
     "localname": "Year2021Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_Year2022Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Year 2022 [Member]",
        "label": "Year 2022 [Member]",
        "terseLabel": "Year 2022"
       }
      }
     },
     "localname": "Year2022Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_Year2023Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Year 2023 [Member]",
        "label": "Year 2023 [Member]",
        "terseLabel": "Year 2023"
       }
      }
     },
     "localname": "Year2023Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_Year2024Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Year 2024 [Member]",
        "label": "Year 2024 [Member]",
        "terseLabel": "Year 2024"
       }
      }
     },
     "localname": "Year2024Member",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "so_YearAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Year [Axis]",
        "label": "Year [Axis]",
        "terseLabel": "Year [Axis]"
       }
      }
     },
     "localname": "YearAxis",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "so_YearDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "[Domain] for Year [Axis]",
        "label": "Year [Domain]",
        "terseLabel": "Year [Domain]"
       }
      }
     },
     "localname": "YearDomain",
     "nsuri": "http://southerncompany.com/20221231",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_AffiliatedEntityMember": {
     "auth_ref": [
      "r1016",
      "r1021",
      "r1244",
      "r1316",
      "r1317",
      "r1318"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An affiliate is a party that, directly or indirectly through one or more intermediaries, controls, is controlled by, or is under common control with the entity.",
        "label": "Affiliated Entity [Member]",
        "terseLabel": "Affiliate"
       }
      }
     },
     "localname": "AffiliatedEntityMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ConsolidatedEntitiesAxis": {
     "auth_ref": [
      "r402",
      "r796",
      "r797",
      "r801",
      "r802",
      "r901",
      "r1016",
      "r1021",
      "r1186",
      "r1189",
      "r1190",
      "r1340",
      "r1343",
      "r1344"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by consolidated entity or group of entities.",
        "label": "Consolidated Entities [Axis]",
        "terseLabel": "Consolidated Entities [Axis]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesDomain": {
     "auth_ref": [
      "r402",
      "r796",
      "r797",
      "r801",
      "r802",
      "r901",
      "r1016",
      "r1021",
      "r1186",
      "r1189",
      "r1190",
      "r1340",
      "r1343",
      "r1344"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity or group of entities consolidated into reporting entity.",
        "label": "Consolidated Entities [Domain]",
        "terseLabel": "Consolidated Entities [Domain]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ConsolidationItemsAxis": {
     "auth_ref": [
      "r402",
      "r453",
      "r465",
      "r466",
      "r467",
      "r468",
      "r469",
      "r471",
      "r475",
      "r558",
      "r559",
      "r560",
      "r561",
      "r563",
      "r564",
      "r566",
      "r568",
      "r569",
      "r1032",
      "r1033",
      "r1034",
      "r1035",
      "r1036",
      "r1037",
      "r1038",
      "r1039",
      "r1040",
      "r1187",
      "r1188",
      "r1341",
      "r1342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by components, eliminations, non-segment corporate-level activity and reconciling items used in consolidating a parent entity and its subsidiaries or its operating segments.",
        "label": "Consolidation Items [Axis]",
        "terseLabel": "Consolidation Items [Axis]"
       }
      }
     },
     "localname": "ConsolidationItemsAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidationItemsDomain": {
     "auth_ref": [
      "r402",
      "r453",
      "r465",
      "r466",
      "r467",
      "r468",
      "r469",
      "r471",
      "r475",
      "r558",
      "r559",
      "r560",
      "r561",
      "r563",
      "r564",
      "r566",
      "r568",
      "r569",
      "r1032",
      "r1033",
      "r1034",
      "r1035",
      "r1036",
      "r1037",
      "r1038",
      "r1039",
      "r1040",
      "r1187",
      "r1188",
      "r1341",
      "r1342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components, elimination, non-segment corporate-level activity and reconciling items used in consolidating a parent entity and its subsidiaries or its operating segments.",
        "label": "Consolidation Items [Domain]",
        "terseLabel": "Consolidation Items [Domain]"
       }
      }
     },
     "localname": "ConsolidationItemsDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ContractualObligationFiscalYearMaturityScheduleTableTextBlock": {
     "auth_ref": [
      "r1338"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of contractual obligation by timing of payment due. Includes, but is not limited to, long-term debt obligation, lease obligation, and purchase obligation.",
        "label": "Contractual Obligation, Fiscal Year Maturity [Table Text Block]",
        "terseLabel": "Expected future contractual obligations"
       }
      }
     },
     "localname": "ContractualObligationFiscalYearMaturityScheduleTableTextBlock",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_CounterpartyNameAxis": {
     "auth_ref": [
      "r399",
      "r400",
      "r574",
      "r601",
      "r1041",
      "r1050",
      "r1053"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of counterparty. A counterparty is the other party that participates in a financial transaction. Examples include, but not limited to, the name of the financial institution.",
        "label": "Counterparty Name [Axis]",
        "terseLabel": "Counterparty Name [Axis]"
       }
      }
     },
     "localname": "CounterpartyNameAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESAPCLitigationDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAssetsSubjecttoLienNarrativeDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_EnergyAxis": {
     "auth_ref": [
      "r1329",
      "r1330"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of energy source.",
        "label": "Energy [Axis]",
        "terseLabel": "Energy [Axis]"
       }
      }
     },
     "localname": "EnergyAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_EnergyDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Combustible material used to power engines, power plants or reactors. Examples include, but are not limited to, fuel and oil.",
        "label": "Energy [Domain]",
        "terseLabel": "Energy [Domain]"
       }
      }
     },
     "localname": "EnergyDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_EquityMethodInvesteeNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of investment including named security. Excludes entity that is consolidated.",
        "label": "Investment, Name [Domain]",
        "terseLabel": "Investment, Name [Domain]"
       }
      }
     },
     "localname": "EquityMethodInvesteeNameDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSBalanceSheetInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSGASEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSIncomeStatementInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_FuelMember": {
     "auth_ref": [
      "r1329",
      "r1330"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Material used for production of energy in form of heat or power. Includes, but is not limited to, coal, gas, and oil.",
        "label": "Fuel [Member]",
        "terseLabel": "Fuel"
       }
      }
     },
     "localname": "FuelMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_LitigationCaseAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of judicial proceeding, alternative dispute resolution or claim.",
        "label": "Litigation Case [Axis]",
        "terseLabel": "Litigation Case [Axis]"
       }
      }
     },
     "localname": "LitigationCaseAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCLitigationDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_LitigationCaseTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Judicial proceeding, alternative dispute resolution or claim. For example, but not limited to, name of case, category of litigation, or other differentiating information.",
        "label": "Litigation Case [Domain]",
        "terseLabel": "Litigation Case [Domain]"
       }
      }
     },
     "localname": "LitigationCaseTypeDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCLitigationDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r552",
      "r553",
      "r555",
      "r556",
      "r712",
      "r936",
      "r971",
      "r1017",
      "r1018",
      "r1069",
      "r1087",
      "r1098",
      "r1191",
      "r1321",
      "r1322",
      "r1323",
      "r1324",
      "r1325",
      "r1326"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Upper limit of the provided range.",
        "label": "Maximum [Member]",
        "terseLabel": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESLeveragedLeasesNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r552",
      "r553",
      "r555",
      "r556",
      "r712",
      "r936",
      "r971",
      "r1017",
      "r1018",
      "r1069",
      "r1087",
      "r1098",
      "r1191",
      "r1321",
      "r1322",
      "r1323",
      "r1324",
      "r1325",
      "r1326"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lower limit of the provided range.",
        "label": "Minimum [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_OwnershipAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of entity in which ownership interest is disclosed. Excludes equity method investee and named security investment.",
        "label": "Ownership [Axis]",
        "terseLabel": "Ownership [Axis]"
       }
      }
     },
     "localname": "OwnershipAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGDividendRestrictionsandStructuralConsiderationsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_OwnershipDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of entity in which ownership interest is disclosed. Excludes equity method investee and named security investment.",
        "label": "Ownership [Domain]",
        "terseLabel": "Ownership [Domain]"
       }
      }
     },
     "localname": "OwnershipDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGDividendRestrictionsandStructuralConsiderationsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r477",
      "r938",
      "r1070",
      "r1096",
      "r1182",
      "r1183",
      "r1195",
      "r1327"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by product and service, or group of similar products and similar services.",
        "label": "Product and Service [Axis]",
        "terseLabel": "Product and Service [Axis]"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONElectricUtilitiesRevenuesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESRevenuesNarrativeDetails",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r477",
      "r938",
      "r1070",
      "r1096",
      "r1182",
      "r1183",
      "r1195",
      "r1327"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Product or service, or a group of similar products or similar services.",
        "label": "Product and Service [Domain]",
        "terseLabel": "Product and Service [Domain]"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONElectricUtilitiesRevenuesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESRevenuesNarrativeDetails",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r552",
      "r553",
      "r555",
      "r556",
      "r658",
      "r712",
      "r746",
      "r747",
      "r748",
      "r909",
      "r936",
      "r971",
      "r1017",
      "r1018",
      "r1069",
      "r1087",
      "r1098",
      "r1172",
      "r1191",
      "r1322",
      "r1323",
      "r1324",
      "r1325",
      "r1326"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
        "label": "Statistical Measurement [Axis]",
        "terseLabel": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESLeveragedLeasesNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r552",
      "r553",
      "r555",
      "r556",
      "r658",
      "r712",
      "r746",
      "r747",
      "r748",
      "r909",
      "r936",
      "r971",
      "r1017",
      "r1018",
      "r1069",
      "r1087",
      "r1098",
      "r1172",
      "r1191",
      "r1322",
      "r1323",
      "r1324",
      "r1325",
      "r1326"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
        "label": "Statistical Measurement [Domain]",
        "terseLabel": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESLeveragedLeasesNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "auth_ref": [
      "r399",
      "r400",
      "r574",
      "r601",
      "r1052",
      "r1053"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Named other party that participates in a financial transaction. Examples include, but not limited to, the name of the financial institution.",
        "label": "Counterparty Name [Domain]",
        "terseLabel": "Counterparty Name [Domain]"
       }
      }
     },
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESAPCLitigationDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAssetsSubjecttoLienNarrativeDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RestatementAxis": {
     "auth_ref": [
      "r333",
      "r411",
      "r412",
      "r413",
      "r415",
      "r416",
      "r419",
      "r420",
      "r421",
      "r422",
      "r424",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r443",
      "r496",
      "r497",
      "r778",
      "r814",
      "r818",
      "r819",
      "r820",
      "r859",
      "r897",
      "r898",
      "r974",
      "r975",
      "r976",
      "r977",
      "r978",
      "r979",
      "r980",
      "r981",
      "r982",
      "r983"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by adjustment to previously issued financial statements. Includes, but is not limited to, adjustment for retrospective application of amendment to accounting standards, other change in accounting principle, correction of error, and other revision.",
        "label": "Revision of Prior Period [Axis]",
        "terseLabel": "Restatement [Axis]"
       }
      }
     },
     "localname": "RestatementAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RestatementDomain": {
     "auth_ref": [
      "r333",
      "r411",
      "r412",
      "r413",
      "r415",
      "r416",
      "r419",
      "r420",
      "r421",
      "r422",
      "r424",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r443",
      "r496",
      "r497",
      "r778",
      "r814",
      "r818",
      "r819",
      "r820",
      "r859",
      "r897",
      "r898",
      "r974",
      "r975",
      "r976",
      "r977",
      "r978",
      "r979",
      "r980",
      "r981",
      "r982",
      "r983"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustment to previously issued financial statements. Includes, but is not limited to, adjustment for retrospective application of amendment to accounting standards, other change in accounting principle, correction of error, and other revision.",
        "label": "Revision of Prior Period [Domain]",
        "terseLabel": "Restatement [Domain]"
       }
      }
     },
     "localname": "RestatementDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RevisionOfPriorPeriodReclassificationAdjustmentMember": {
     "auth_ref": [
      "r335"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cumulative increase (decrease) to previously issued financial statements for reclassification. Excludes adjustment for reclassification from amendment to accounting standards.",
        "label": "Revision of Prior Period, Reclassification, Adjustment [Member]",
        "terseLabel": "Revision of Prior Period, Reclassification, Adjustment"
       }
      }
     },
     "localname": "RevisionOfPriorPeriodReclassificationAdjustmentMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioForecastMember": {
     "auth_ref": [
      "r717",
      "r1148",
      "r1339"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information reported for future period. Excludes information expected to be reported in future period for effect on historical fact.",
        "label": "Forecast [Member]",
        "terseLabel": "Scenario, Forecast"
       }
      }
     },
     "localname": "ScenarioForecastMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioUnspecifiedDomain": {
     "auth_ref": [
      "r429",
      "r717",
      "r1114",
      "r1148"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Scenario reported, distinguishing information from actual fact. Includes, but is not limited to, pro forma and forecast. Excludes actual facts.",
        "label": "Scenario [Domain]",
        "terseLabel": "Scenario [Domain]"
       }
      }
     },
     "localname": "ScenarioUnspecifiedDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis": {
     "auth_ref": [
      "r490"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of investment including named security. Excludes entity that is consolidated.",
        "label": "Investment, Name [Axis]",
        "terseLabel": "Investment, Name [Axis]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSBalanceSheetInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSGASEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSIncomeStatementInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ScheduleOfValuationAndQualifyingAccountsDisclosureTextBlock": {
     "auth_ref": [
      "r410",
      "r1031"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for valuation and qualifying accounts and reserves.",
        "label": "SEC Schedule, 12-09, Schedule of Valuation and Qualifying Accounts Disclosure [Text Block]",
        "verboseLabel": "VALUATION AND QUALIFYING ACCOUNTS"
       }
      }
     },
     "localname": "ScheduleOfValuationAndQualifyingAccountsDisclosureTextBlock",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTS"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_SegmentGeographicalDomain": {
     "auth_ref": [
      "r478",
      "r479",
      "r1007",
      "r1008",
      "r1009",
      "r1010",
      "r1011",
      "r1012",
      "r1013",
      "r1014",
      "r1015",
      "r1020",
      "r1023",
      "r1024",
      "r1025",
      "r1026",
      "r1027",
      "r1028",
      "r1029",
      "r1030",
      "r1071",
      "r1097",
      "r1195"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Geographical area.",
        "label": "Geographical [Domain]",
        "terseLabel": "Geographical [Domain]"
       }
      }
     },
     "localname": "SegmentGeographicalDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementGeographicalAxis": {
     "auth_ref": [
      "r478",
      "r479",
      "r1001",
      "r1007",
      "r1008",
      "r1009",
      "r1010",
      "r1011",
      "r1012",
      "r1013",
      "r1014",
      "r1015",
      "r1020",
      "r1022",
      "r1071",
      "r1097",
      "r1195"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by geographical components.",
        "label": "Geographical [Axis]",
        "terseLabel": "Geographical [Axis]"
       }
      }
     },
     "localname": "StatementGeographicalAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_StatementScenarioAxis": {
     "auth_ref": [
      "r429",
      "r717",
      "r1114",
      "r1115",
      "r1148"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by scenario reported, distinguishing information from actual fact. Includes, but is not limited to, pro forma and forecast. Excludes actual facts.",
        "label": "Scenario [Axis]",
        "terseLabel": "Scenario [Axis]"
       }
      }
     },
     "localname": "StatementScenarioAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ValuationAndQualifyingAccountsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SEC Schedule, 12-09, Valuation and Qualifying Accounts [Abstract]",
        "terseLabel": "SEC Schedule, 12-09, Valuation and Qualifying Accounts [Abstract]"
       }
      }
     },
     "localname": "ValuationAndQualifyingAccountsAbstract",
     "nsuri": "http://fasb.org/srt/2022",
     "xbrltype": "stringItemType"
    },
    "srt_ValuationAndQualifyingAccountsDisclosureLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items]",
        "terseLabel": "SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items]"
       }
      }
     },
     "localname": "ValuationAndQualifyingAccountsDisclosureLineItems",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ValuationAndQualifyingAccountsDisclosureTable": {
     "auth_ref": [
      "r403",
      "r404",
      "r405",
      "r408",
      "r409",
      "r1031"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of valuation and qualifying accounts and reserves.",
        "label": "SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Table]",
        "terseLabel": "SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Table]"
       }
      }
     },
     "localname": "ValuationAndQualifyingAccountsDisclosureTable",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_WeightedAverageMember": {
     "auth_ref": [
      "r1017",
      "r1018",
      "r1321",
      "r1323",
      "r1326"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average of a range of values, calculated with consideration of proportional relevance.",
        "label": "Weighted Average [Member]",
        "terseLabel": "Weighted Average"
       }
      }
     },
     "localname": "WeightedAverageMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_FL": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "FLORIDA",
        "terseLabel": "Florida"
       }
      }
     },
     "localname": "FL",
     "nsuri": "http://xbrl.sec.gov/stpr/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_GA": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "GEORGIA",
        "terseLabel": "Georgia"
       }
      }
     },
     "localname": "GA",
     "nsuri": "http://xbrl.sec.gov/stpr/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_MS": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "MISSISSIPPI",
        "terseLabel": "Mississippi"
       }
      }
     },
     "localname": "MS",
     "nsuri": "http://xbrl.sec.gov/stpr/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_NY": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "NEW YORK",
        "terseLabel": "New York"
       }
      }
     },
     "localname": "NY",
     "nsuri": "http://xbrl.sec.gov/stpr/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_OK": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "OKLAHOMA",
        "terseLabel": "Oklahoma"
       }
      }
     },
     "localname": "OK",
     "nsuri": "http://xbrl.sec.gov/stpr/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AOCIAttributableToParentNetOfTaxRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "AOCI Attributable to Parent, Net of Tax [Roll Forward]",
        "terseLabel": "AOCI Attributable to Parent, Net of Tax [Roll Forward]"
       }
      }
     },
     "localname": "AOCIAttributableToParentNetOfTaxRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAOCILossBalancesNetofTaxEffectsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]",
        "terseLabel": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableCurrent": {
     "auth_ref": [
      "r19",
      "r1095"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accounts Payable, Current",
        "verboseLabel": "Accounts payable"
       }
      }
     },
     "localname": "AccountsPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsPayableCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Payable, Current [Abstract]",
        "terseLabel": "Accounts payable \u2014"
       }
      }
     },
     "localname": "AccountsPayableCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableOtherCurrent": {
     "auth_ref": [
      "r19"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligations incurred classified as other, payable within one year or the normal operating cycle, if longer.",
        "label": "Accounts Payable, Other, Current",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "AccountsPayableOtherCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableGrossCurrent": {
     "auth_ref": [
      "r352",
      "r483",
      "r484",
      "r1044"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 12.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current.",
        "label": "Accounts Receivable, before Allowance for Credit Loss, Current",
        "verboseLabel": "Customer accounts"
       }
      }
     },
     "localname": "AccountsReceivableGrossCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableNet": {
     "auth_ref": [
      "r964",
      "r1002"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business.",
        "label": "Accounts Receivable, after Allowance for Credit Loss",
        "verboseLabel": "Accounts Receivable"
       }
      }
     },
     "localname": "AccountsReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent": {
     "auth_ref": [
      "r25",
      "r177",
      "r1048"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 6.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable for real and property taxes. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrual for Taxes Other than Income Taxes, Current",
        "terseLabel": "Other accrued taxes"
       }
      }
     },
     "localname": "AccrualForTaxesOtherThanIncomeTaxesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedEnvironmentalLossContingenciesCurrent": {
     "auth_ref": [
      "r25",
      "r1063",
      "r1173",
      "r1174",
      "r1178"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value of the obligation (known or estimated) arising from requirements to perform activities to remediate one or more sites, payable in twelve months or in the next operating cycle if longer.",
        "label": "Accrued Environmental Loss Contingencies, Current",
        "terseLabel": "Environmental remediation liability, current"
       }
      }
     },
     "localname": "AccruedEnvironmentalLossContingenciesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedEnvironmentalLossContingenciesNoncurrent": {
     "auth_ref": [
      "r29",
      "r1173",
      "r1174",
      "r1178"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 10.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value of the obligation (known or estimated) arising from requirements to perform activities to remediate one or more sites, payable after twelve months or beyond the next operating cycle if longer.",
        "label": "Accrued Environmental Loss Contingencies, Noncurrent",
        "terseLabel": "Accrued environmental remediation"
       }
      }
     },
     "localname": "AccruedEnvironmentalLossContingenciesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedIncomeTaxesCurrent": {
     "auth_ref": [
      "r4",
      "r277",
      "r295"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 5.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of the unpaid sum of the known and estimated amounts payable to satisfy all currently due domestic and foreign income tax obligations.",
        "label": "Accrued Income Taxes, Current",
        "terseLabel": "Accrued income taxes"
       }
      }
     },
     "localname": "AccruedIncomeTaxesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedSalariesCurrent": {
     "auth_ref": [
      "r25",
      "r1048"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 8.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of the obligations incurred through that date and payable for employees' services provided. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Salaries, Current",
        "verboseLabel": "Accrued compensation"
       }
      }
     },
     "localname": "AccruedSalariesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDeferredInvestmentTaxCredit": {
     "auth_ref": [
      "r31",
      "r92",
      "r1286"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 5.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The noncurrent portion of the reserve for accumulated deferred investment tax credits as of the balance sheet date. This is the remaining investment credit, which will reduce the cost of services collected from ratepayers by a ratable portion over the investment's regulatory life.",
        "label": "Accumulated Deferred Investment Tax Credit",
        "verboseLabel": "Accumulated deferred ITCs"
       }
      }
     },
     "localname": "AccumulatedDeferredInvestmentTaxCredit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember": {
     "auth_ref": [
      "r40",
      "r47",
      "r213",
      "r1121",
      "r1122",
      "r1123"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated other comprehensive (income) loss related to defined benefit plans attributable to the parent.",
        "label": "Accumulated Defined Benefit Plans Adjustment Attributable to Parent [Member]",
        "terseLabel": "Pension\u00a0and Other Postretirement Benefit\u00a0Plans"
       }
      }
     },
     "localname": "AccumulatedDefinedBenefitPlansAdjustmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAOCILossBalancesNetofTaxEffectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetPriorServiceCostCreditMember": {
     "auth_ref": [
      "r42",
      "r47",
      "r213",
      "r378",
      "r379",
      "r1121"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated other comprehensive (income) loss related to prior service cost (credit) component of defined benefit plans attributable to the parent.",
        "label": "Accumulated Defined Benefit Plans Adjustment, Net Prior Service Attributable to Parent [Member]",
        "terseLabel": "Change in prior service costs"
       }
      }
     },
     "localname": "AccumulatedDefinedBenefitPlansAdjustmentNetPriorServiceCostCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember": {
     "auth_ref": [
      "r39",
      "r47",
      "r213",
      "r378",
      "r379",
      "r1121"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated other comprehensive income (loss) related to gain (loss) component of defined benefit plans attributable to the parent.",
        "label": "Accumulated Defined Benefit Plans Adjustment, Net Gain (Loss) Attributable to Parent [Member]",
        "terseLabel": "Net gain"
       }
      }
     },
     "localname": "AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r128",
      "r344"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 2.0,
       "parentTag": "so_PlantInServiceNetOfDepreciation",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
        "label": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
        "netLabel": "Accumulated depreciation",
        "verboseLabel": "Less: Accumulated depreciation"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember": {
     "auth_ref": [
      "r368",
      "r378",
      "r379",
      "r800",
      "r1054",
      "r1121"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated other comprehensive income (loss) from gain (loss) of derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness, attributable to parent.",
        "label": "Accumulated Gain (Loss), Net, Cash Flow Hedge, Parent [Member]",
        "terseLabel": "Qualifying Hedges"
       }
      }
     },
     "localname": "AccumulatedGainLossNetCashFlowHedgeParentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAOCILossBalancesNetofTaxEffectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Accumulated Other Comprehensive Income (Loss) [Line Items]",
        "terseLabel": "Accumulated Other Comprehensive Income (Loss) [Line Items]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAOCILossBalancesNetofTaxEffectsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r44",
      "r46",
      "r47",
      "r354",
      "r965",
      "r979",
      "r983"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 5.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax",
        "terseLabel": "Accumulated other comprehensive loss"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossTable": {
     "auth_ref": [
      "r377",
      "r378",
      "r845",
      "r846",
      "r847",
      "r848",
      "r849",
      "r851"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about components of accumulated other comprehensive income (loss).",
        "label": "Accumulated Other Comprehensive Income (Loss) [Table]",
        "terseLabel": "Accumulated Other Comprehensive Income (Loss) [Table]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAOCILossBalancesNetofTaxEffectsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r43",
      "r47",
      "r213",
      "r898",
      "r974",
      "r975",
      "r1121",
      "r1122",
      "r1123",
      "r1145",
      "r1146",
      "r1147"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent. Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
        "label": "AOCI Attributable to Parent [Member]",
        "terseLabel": "Accumulated Other Comprehensive Income (Loss)",
        "verboseLabel": "Accumulated Other Comprehensive Income\u00a0(Loss)(*)"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAOCILossBalancesNetofTaxEffectsDetails",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdditionalPaidInCapitalCommonStock": {
     "auth_ref": [
      "r12"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 4.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions. Includes only common stock transactions (excludes preferred stock transactions). May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital.",
        "label": "Additional Paid in Capital, Common Stock",
        "terseLabel": "Paid-in capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r753",
      "r754",
      "r755",
      "r1145",
      "r1146",
      "r1147",
      "r1305"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid-in Capital [Member]",
        "verboseLabel": "Paid-In Capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentForAmortization": {
     "auth_ref": [
      "r81",
      "r120"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of recurring noncash expense charged against earnings in the period to allocate the cost of assets over their estimated remaining economic lives.",
        "label": "Amortization",
        "terseLabel": "Amortization"
       }
      }
     },
     "localname": "AdjustmentForAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDeferredCloudImplementationCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": {
     "auth_ref": [
      "r175",
      "r176",
      "r721"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement.",
        "label": "APIC, Share-Based Payment Arrangement, Increase for Cost Recognition",
        "verboseLabel": "Stock-based compensation"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "verboseLabel": "Adjustments to reconcile consolidated net income to net cash provided from operating activities\u00a0\u2014"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r750"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Share-Based Payment Arrangement, Expense",
        "terseLabel": "Compensation cost recognized in income",
        "verboseLabel": "Total compensation cost for award recognized in income"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesCompensationCostsandRelatedTaxBenefitDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForCreditLossMember": {
     "auth_ref": [
      "r1140",
      "r1141",
      "r1142",
      "r1143",
      "r1144"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance for credit loss from right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time.",
        "label": "SEC Schedule, 12-09, Allowance, Credit Loss [Member]",
        "terseLabel": "Provision for uncollectible accounts:"
       }
      }
     },
     "localname": "AllowanceForCreditLossMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent": {
     "auth_ref": [
      "r355",
      "r485",
      "r498"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 6.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 9.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on accounts receivable, classified as current.",
        "label": "Accounts Receivable, Allowance for Credit Loss, Current",
        "negatedLabel": "Accumulated provision for uncollectible accounts"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AlternativeEnergyMember": {
     "auth_ref": [
      "r1196"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Power generated from source other than fossil fuel. Source includes, but is not limited to, ethanol, biomass, solar, geothermal, and wind power.",
        "label": "Alternative Energy [Member]",
        "terseLabel": "Alternative revenue programs"
       }
      }
     },
     "localname": "AlternativeEnergyMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESRevenuesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AlternativeInvestment": {
     "auth_ref": [
      "r822",
      "r830"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment other than investment in equity security, investment in debt security and equity method investment. Includes, but is not limited to, investment in certain entities that calculate net asset value per share. Example includes, but is not limited to, investment in hedge fund, venture capital fund, private equity fund, and real estate partnership or fund.",
        "label": "Alternative Investment",
        "terseLabel": "Alternative investment"
       }
      }
     },
     "localname": "AlternativeInvestment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "auth_ref": [
      "r81",
      "r113",
      "r120"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Amortization of Intangible Assets",
        "terseLabel": "Amortization associated with other intangible assets"
       }
      }
     },
     "localname": "AmortizationOfIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetAcquisitionAxis": {
     "auth_ref": [
      "r1296"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by asset acquisition.",
        "label": "Asset Acquisition [Axis]",
        "terseLabel": "Asset Acquisition [Axis]"
       }
      }
     },
     "localname": "AssetAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetAcquisitionConsiderationTransferred": {
     "auth_ref": [
      "r1089",
      "r1297",
      "r1298",
      "r1299"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consideration transferred in asset acquisition. Includes, but is not limited to, cash, liability incurred by acquirer, and equity interest issued by acquirer.",
        "label": "Asset Acquisition, Consideration Transferred",
        "terseLabel": "Purchase price"
       }
      }
     },
     "localname": "AssetAcquisitionConsiderationTransferred",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetAcquisitionDomain": {
     "auth_ref": [
      "r1296"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset acquisition.",
        "label": "Asset Acquisition [Domain]",
        "terseLabel": "Asset Acquisition [Domain]"
       }
      }
     },
     "localname": "AssetAcquisitionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AssetAcquisitionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Asset Acquisition [Line Items]",
        "terseLabel": "Asset Acquisition [Line Items]"
       }
      }
     },
     "localname": "AssetAcquisitionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetAcquisitionTable": {
     "auth_ref": [
      "r1296"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset acquisition.",
        "label": "Asset Acquisition [Table]",
        "terseLabel": "Asset Acquisition [Table]"
       }
      }
     },
     "localname": "AssetAcquisitionTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetAcquisitionTableTextBlock": {
     "auth_ref": [
      "r1296"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of asset acquisition.",
        "label": "Asset Acquisition [Table Text Block]",
        "terseLabel": "Schedule of asset acquisition"
       }
      }
     },
     "localname": "AssetAcquisitionTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AssetAcquisitionTextBlock": {
     "auth_ref": [
      "r1296"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for asset acquisition.",
        "label": "Asset Acquisition [Text Block]",
        "terseLabel": "ACQUISITIONS AND DISPOSITIONS"
       }
      }
     },
     "localname": "AssetAcquisitionTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONS"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AssetBackedSecuritiesMember": {
     "auth_ref": [
      "r1077",
      "r1152"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities that are primarily serviced by the cash flows of a discrete pool of receivables or other financial assets for example, but not limited to, credit card receivables, car loans, recreational vehicle loans, and mobile home loans.",
        "label": "Asset-Backed Securities [Member]",
        "terseLabel": "Mortgage and asset backed securities",
        "verboseLabel": "Mortgage- and asset-backed securities"
       }
      }
     },
     "localname": "AssetBackedSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AssetImpairmentCharges": {
     "auth_ref": [
      "r81",
      "r125"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 4.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of write-down of assets recognized in the income statement. Includes, but is not limited to, losses from tangible assets, intangible assets and goodwill.",
        "label": "Asset Impairment Charges",
        "terseLabel": "Impairment charges"
       }
      }
     },
     "localname": "AssetImpairmentCharges",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSBalanceSheetInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSGASEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSIncomeStatementInformationDetails",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetRetirementObligation": {
     "auth_ref": [
      "r533",
      "r537"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of a liability for an asset retirement obligation. An asset retirement obligation is a legal obligation associated with the disposal or retirement of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees.",
        "label": "Asset Retirement Obligation",
        "periodEndLabel": "Balance at end of year",
        "periodStartLabel": "Balance at beginning of year",
        "terseLabel": "Asset retirement obligations"
       }
      }
     },
     "localname": "AssetRetirementObligation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSDetailsofAROsIncludedintheBalanceSheetsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetRetirementObligationAccretionExpense": {
     "auth_ref": [
      "r534",
      "r540"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accretion expense recognized during the period that is associated with an asset retirement obligation. Accretion expense measures and incorporates changes due to the passage of time into the carrying amount of the liability.",
        "label": "Asset Retirement Obligation, Accretion Expense",
        "terseLabel": "Accretion"
       }
      }
     },
     "localname": "AssetRetirementObligationAccretionExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSDetailsofAROsIncludedintheBalanceSheetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetRetirementObligationCashPaidToSettle": {
     "auth_ref": [
      "r387",
      "r535"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid during the period to settle an asset retirement obligation. Amounts paid to settle an asset retirement obligation are generally included in the operating section of the Statement of Cash Flows.",
        "label": "Asset Retirement Obligation, Cash Paid to Settle",
        "negatedTerseLabel": "Settlement of asset retirement obligations"
       }
      }
     },
     "localname": "AssetRetirementObligationCashPaidToSettle",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetRetirementObligationCostsMember": {
     "auth_ref": [
      "r314",
      "r320"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate action of a regulator resulting in capitalization or accrual of costs for the retirement of long-lived assets.",
        "label": "Asset Retirement Obligation Costs [Member]",
        "terseLabel": "AROs"
       }
      }
     },
     "localname": "AssetRetirementObligationCostsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AssetRetirementObligationCurrent": {
     "auth_ref": [
      "r1171"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 10.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 10.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Current portion of the carrying amount of a liability for an asset retirement obligation. An asset retirement obligation is a legal obligation associated with the disposal or retirement of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees.",
        "label": "Asset Retirement Obligation, Current",
        "terseLabel": "Asset retirement obligations"
       }
      }
     },
     "localname": "AssetRetirementObligationCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetRetirementObligationDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Retirement Obligation Disclosure [Abstract]",
        "terseLabel": "Asset Retirement Obligation Disclosure [Abstract]"
       }
      }
     },
     "localname": "AssetRetirementObligationDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetRetirementObligationDisclosureTextBlock": {
     "auth_ref": [
      "r536",
      "r542",
      "r543"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for an asset retirement obligation and the associated long-lived asset. An asset retirement obligation is a legal obligation associated with the disposal or retirement from service of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees.",
        "label": "Asset Retirement Obligation Disclosure [Text Block]",
        "terseLabel": "ASSET RETIREMENT OBLIGATIONS"
       }
      }
     },
     "localname": "AssetRetirementObligationDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONS"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AssetRetirementObligationLiabilitiesIncurred": {
     "auth_ref": [
      "r538"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset retirement obligations incurred during the period.",
        "label": "Asset Retirement Obligation, Liabilities Incurred",
        "terseLabel": "Period costs",
        "verboseLabel": "Liabilities incurred"
       }
      }
     },
     "localname": "AssetRetirementObligationLiabilitiesIncurred",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSDetailsofAROsIncludedintheBalanceSheetsDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetRetirementObligationLiabilitiesSettled": {
     "auth_ref": [
      "r539"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset retirement obligations settled, or otherwise disposed of, during the period. This may include asset retirement obligations transferred to third parties associated with the sale of a long-lived asset.",
        "label": "Asset Retirement Obligation, Liabilities Settled",
        "negatedTerseLabel": "Liabilities settled"
       }
      }
     },
     "localname": "AssetRetirementObligationLiabilitiesSettled",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSDetailsofAROsIncludedintheBalanceSheetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetRetirementObligationRevisionOfEstimate": {
     "auth_ref": [
      "r541"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in the asset retirement obligation from changes in the amount or timing of the estimated cash flows associated with the settlement of the obligation.",
        "label": "Asset Retirement Obligation, Revision of Estimate",
        "verboseLabel": "Cash flow revisions"
       }
      }
     },
     "localname": "AssetRetirementObligationRevisionOfEstimate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSDetailsofAROsIncludedintheBalanceSheetsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetRetirementObligationRollForwardAnalysisRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Asset Retirement Obligation, Roll Forward Analysis [Roll Forward]",
        "terseLabel": "Asset Retirement Obligation, Roll Forward Analysis [Roll Forward]"
       }
      }
     },
     "localname": "AssetRetirementObligationRollForwardAnalysisRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSDetailsofAROsIncludedintheBalanceSheetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetRetirementObligationsAndEnvironmentalCostPolicyTextBlock": {
     "auth_ref": [
      "r1175"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for legal obligation associated with retirement of long-lived asset that results from acquisition, construction, or development or from normal operation of long-lived asset, and environmental remediation liability from improper or other-than-normal operation of long-lived asset. Includes, but is not limited to, timing of recognition and whether obligation is measured on discounted basis.",
        "label": "Asset Retirement Obligation and Environmental Cost [Policy Text Block]",
        "terseLabel": "Asset Retirement Obligations"
       }
      }
     },
     "localname": "AssetRetirementObligationsAndEnvironmentalCostPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AssetRetirementObligationsNoncurrent": {
     "auth_ref": [
      "r1171"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 4.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noncurrent portion of the carrying amount of a liability for an asset retirement obligation. An asset retirement obligation is a legal obligation associated with the disposal or retirement of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees.",
        "label": "Asset Retirement Obligations, Noncurrent",
        "verboseLabel": "Asset retirement obligations, deferred"
       }
      }
     },
     "localname": "AssetRetirementObligationsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r275",
      "r294",
      "r348",
      "r395",
      "r461",
      "r467",
      "r473",
      "r491",
      "r558",
      "r559",
      "r561",
      "r562",
      "r563",
      "r565",
      "r567",
      "r569",
      "r570",
      "r796",
      "r801",
      "r833",
      "r1095",
      "r1187",
      "r1188",
      "r1319"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "terseLabel": "Assets",
        "totalLabel": "Total Assets",
        "verboseLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "verboseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsCurrent": {
     "auth_ref": [
      "r339",
      "r359",
      "r395",
      "r491",
      "r558",
      "r559",
      "r561",
      "r562",
      "r563",
      "r565",
      "r567",
      "r569",
      "r570",
      "r796",
      "r801",
      "r833",
      "r1095",
      "r1187",
      "r1188",
      "r1319"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Current",
        "terseLabel": "Total current assets",
        "totalLabel": "Total current assets"
       }
      }
     },
     "localname": "AssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Current [Abstract]",
        "verboseLabel": "Current Assets:"
       }
      }
     },
     "localname": "AssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "auth_ref": [
      "r256"
     ],
     "calculation": {
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Fair Value Disclosure",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "AssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsFairValueDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Fair Value Disclosure [Abstract]",
        "verboseLabel": "Assets:"
       }
      }
     },
     "localname": "AssetsFairValueDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r736",
      "r737",
      "r738",
      "r739",
      "r740",
      "r741",
      "r742",
      "r743",
      "r744",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type [Axis]"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesAssumptionsUsedDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesCompensationCostsandRelatedTaxBenefitDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]",
        "terseLabel": "Balance Sheet Location [Axis]",
        "verboseLabel": "Derivatives, Fair Value, by Balance Sheet Location [Axis]"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESCumulativeBasisAdjustmentsforFairValueHedgesDetails",
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r233",
      "r238"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]",
        "terseLabel": "Balance Sheet Location [Domain]"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESCumulativeBasisAdjustmentsforFairValueHedgesDetails",
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "verboseLabel": "General"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BuildingMember": {
     "auth_ref": [
      "r127"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Facility held for productive use including, but not limited to, office, production, storage and distribution facilities.",
        "label": "Building [Member]",
        "terseLabel": "Real estate"
       }
      }
     },
     "localname": "BuildingMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [
      "r789",
      "r1081",
      "r1084"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition, Acquiree [Domain]",
        "terseLabel": "Business Acquisition, Acquiree [Domain]"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r194",
      "r195",
      "r789",
      "r1081",
      "r1084"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]",
        "terseLabel": "Business Acquisition [Axis]"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Business Acquisition [Line Items]",
        "terseLabel": "Business Acquisition [Line Items]"
       }
      }
     },
     "localname": "BusinessAcquisitionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationAndAssetAcquisitionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination and Asset Acquisition [Abstract]"
       }
      }
     },
     "localname": "BusinessCombinationAndAssetAcquisitionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationContingentConsiderationLiability": {
     "auth_ref": [
      "r200",
      "r201",
      "r794"
     ],
     "calculation": {
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability recognized arising from contingent consideration in a business combination.",
        "label": "Business Combination, Contingent Consideration, Liability",
        "terseLabel": "Contingent consideration"
       }
      }
     },
     "localname": "BusinessCombinationContingentConsiderationLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment": {
     "auth_ref": [
      "r196",
      "r197"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of property, plant, and equipment recognized as of the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment",
        "terseLabel": "Property, plant, and equipment"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet": {
     "auth_ref": [
      "r197"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount recognized for assets, including goodwill, in excess of (less than) the aggregate liabilities assumed.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired, Goodwill, and Liabilities Assumed, Net",
        "terseLabel": "Purchase price"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationsPolicy": {
     "auth_ref": [
      "r193"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for completed business combinations (purchase method, acquisition method or combination of entities under common control). This accounting policy may include a general discussion of the purchase method or acquisition method of accounting (including for example, the treatment accorded contingent consideration, the identification of assets and liabilities, the purchase price allocation process, how the fair values of acquired assets and liabilities are determined) and the entity's specific application thereof. An entity that acquires another entity in a leveraged buyout transaction generally discloses the accounting policy followed by the acquiring entity in determining the basis used to value its interest in the acquired entity, and the rationale for that accounting policy.",
        "label": "Business Combinations Policy [Policy Text Block]",
        "terseLabel": "Acquisition Accounting"
       }
      }
     },
     "localname": "BusinessCombinationsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CapitalExpendituresIncurredButNotYetPaid": {
     "auth_ref": [
      "r86",
      "r87",
      "r88"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Future cash outflow to pay for purchases of fixed assets that have occurred.",
        "label": "Capital Expenditures Incurred but Not yet Paid",
        "terseLabel": "Accrued property additions at year-end"
       }
      }
     },
     "localname": "CapitalExpendituresIncurredButNotYetPaid",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalizedContractCostLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Capitalized Contract Cost [Line Items]",
        "terseLabel": "Capitalized Contract Cost [Line Items]"
       }
      }
     },
     "localname": "CapitalizedContractCostLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAverageAFUDCCompositeRatesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofTotalAFUDCandInterestCapitalizedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CapitalizedContractCostTable": {
     "auth_ref": [
      "r510"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about cost capitalized in obtaining or fulfilling contract with customer.",
        "label": "Capitalized Contract Cost [Table]",
        "terseLabel": "Capitalized Contract Cost [Table]"
       }
      }
     },
     "localname": "CapitalizedContractCostTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAverageAFUDCCompositeRatesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofTotalAFUDCandInterestCapitalizedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r83",
      "r341",
      "r1042"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "verboseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash and Cash Equivalents, Fair Value Disclosure",
        "terseLabel": "Cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash and Cash Equivalents [Member]",
        "verboseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r84"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash, Cash Equivalents, and Restricted Cash"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r78",
      "r83",
      "r89"
     ],
     "calculation": {
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents",
        "periodEndLabel": "Cash, Cash Equivalents, and Restricted Cash at End of Year",
        "periodStartLabel": "Cash, Cash Equivalents, and Restricted Cash at Beginning of Year",
        "totalLabel": "Total cash, cash equivalents, and restricted cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect": {
     "auth_ref": [
      "r78",
      "r263"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; excluding effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Excluding Exchange Rate Effect",
        "totalLabel": "Net Change in Cash, Cash Equivalents, and Restricted Cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashEquivalentsMember": {
     "auth_ref": [
      "r341"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash Equivalents [Member]",
        "terseLabel": "Cash equivalents"
       }
      }
     },
     "localname": "CashEquivalentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashFlowHedgingMember": {
     "auth_ref": [
      "r230"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hedge of the exposure to variability in the cash flows of a recognized asset or liability, or of a forecasted transaction, that is attributable to a particular risk.",
        "label": "Cash Flow Hedging [Member]",
        "terseLabel": "Cash Flow Hedging"
       }
      }
     },
     "localname": "CashFlowHedgingMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CatastrophicEventDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Catastrophic event, for example, but not limited to, earthquake, windstorm, fire or explosion.",
        "label": "Catastrophic Event [Domain]",
        "terseLabel": "Catastrophic Event [Domain]"
       }
      }
     },
     "localname": "CatastrophicEventDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r349",
      "r350",
      "r351",
      "r395",
      "r433",
      "r437",
      "r440",
      "r442",
      "r446",
      "r447",
      "r491",
      "r558",
      "r561",
      "r562",
      "r563",
      "r569",
      "r570",
      "r599",
      "r600",
      "r602",
      "r603",
      "r605",
      "r833",
      "r1019",
      "r1113",
      "r1134",
      "r1149"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class of Stock [Domain]",
        "terseLabel": "Class of Stock [Domain]"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails",
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical",
      "http://southerncompany.com/role/CoverPage",
      "http://southerncompany.com/role/FINANCINGOutstandingClassesofCapitalStockNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CollateralAlreadyPostedAggregateFairValue": {
     "auth_ref": [
      "r247"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate fair value of assets that are already posted, at the end of the reporting period, as collateral for derivative instruments with credit-risk-related contingent features.",
        "label": "Collateral Already Posted, Aggregate Fair Value",
        "terseLabel": "Collateral already posted, aggregate fair value"
       }
      }
     },
     "localname": "CollateralAlreadyPostedAggregateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommercialPaperMember": {
     "auth_ref": [
      "r137"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unsecured promissory note (generally negotiable) that provides institutions with short-term funds.",
        "label": "Commercial Paper [Member]",
        "terseLabel": "Commercial paper"
       }
      }
     },
     "localname": "CommercialPaperMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGNotesPayableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r30",
      "r282",
      "r303"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments and Contingencies",
        "verboseLabel": "Commitments and Contingent Matters"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]",
        "terseLabel": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommonStockDividendsPerShareCashPaid": {
     "auth_ref": [
      "r147"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate dividends paid during the period for each share of common stock outstanding.",
        "label": "Common Stock, Dividends, Per Share, Cash Paid",
        "terseLabel": "Cash dividends (in dollars per share)"
       }
      }
     },
     "localname": "CommonStockDividendsPerShareCashPaid",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthernParenthetical",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPCParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r1145",
      "r1146",
      "r1305"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock, par value $5 per share",
        "verboseLabel": "Common Stock"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern",
      "http://southerncompany.com/role/CoverPage",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock, Number of Shares, Par Value and Other Disclosure [Abstract]",
        "verboseLabel": "Common Stockholders' Equity:"
       }
      }
     },
     "localname": "CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsGPCParenthetical",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/BalanceSheetsMPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r11"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "verboseLabel": "Common stock, par value (in dollars per share)"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r11"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "verboseLabel": "Common stock, shares authorized (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/BalanceSheetsGPCParenthetical",
      "http://southerncompany.com/role/BalanceSheetsMPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r11"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "verboseLabel": "Common stock, shares issued (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r11",
      "r142"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "verboseLabel": "Common stock, shares outstanding (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/BalanceSheetsGPCParenthetical",
      "http://southerncompany.com/role/BalanceSheetsMPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPCParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r11",
      "r1095"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "terseLabel": "Common stock"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CompensationAndRetirementDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retirement Benefits [Abstract]",
        "terseLabel": "Retirement Benefits [Abstract]"
       }
      }
     },
     "localname": "CompensationAndRetirementDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComponentsOfDeferredTaxAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components of Deferred Tax Assets [Abstract]",
        "verboseLabel": "Tax effects between the carrying amounts of assets and liabilities"
       }
      }
     },
     "localname": "ComponentsOfDeferredTaxAssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r49",
      "r373",
      "r375",
      "r383",
      "r959",
      "r968"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
        "totalLabel": "Comprehensive Income (Loss) Attributable to Parent"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r206",
      "r207",
      "r224",
      "r373",
      "r375",
      "r382",
      "r958",
      "r967"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income (loss) and other comprehensive income (loss), attributable to noncontrolling interests. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Noncontrolling Interest",
        "terseLabel": "Comprehensive loss attributable to noncontrolling interests"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomePolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for comprehensive income.",
        "label": "Comprehensive Income, Policy [Policy Text Block]",
        "verboseLabel": "Comprehensive Income"
       }
      }
     },
     "localname": "ComprehensiveIncomePolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConcentrationRiskCreditRisk": {
     "auth_ref": [
      "r288",
      "r448"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for credit risk.",
        "label": "Concentration Risk, Credit Risk, Policy [Policy Text Block]",
        "terseLabel": "Concentration of Credit Risk"
       }
      }
     },
     "localname": "ConcentrationRiskCreditRisk",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConcentrationRiskLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Concentration Risk [Line Items]",
        "terseLabel": "Concentration Risk [Line Items]"
       }
      }
     },
     "localname": "ConcentrationRiskLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofCreditRiskNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofRevenueNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskTable": {
     "auth_ref": [
      "r94",
      "r95",
      "r96",
      "r97",
      "r261",
      "r262",
      "r1003"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark.",
        "label": "Concentration Risk [Table]",
        "terseLabel": "Concentration Risk [Table]"
       }
      }
     },
     "localname": "ConcentrationRiskTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofCreditRiskNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofRevenueNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConsolidationVariableInterestEntityPolicy": {
     "auth_ref": [
      "r214",
      "r216",
      "r218"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for consolidation to describe the significant judgments and assumptions made in determining whether a variable interest held by the entity requires the variable interest entity to be consolidated and (or) disclose information about its involvement with the variable interest entity; the methodology used by the entity for determining whether or not it is the primary beneficiary of the variable interest entity; and the significant factors considered and judgments made in determining that the power to direct the activities that significantly impact the economic performance of the variable interest entity are shared (as defined).",
        "label": "Consolidation, Variable Interest Entity, Policy [Policy Text Block]",
        "verboseLabel": "Variable Interest Entities"
       }
      }
     },
     "localname": "ConsolidationVariableInterestEntityPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConstructionInProgressGross": {
     "auth_ref": [
      "r127"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of structure or a modification to a structure under construction. Includes recently completed structures or modifications to structures that have not been placed into service.",
        "label": "Construction in Progress, Gross",
        "verboseLabel": "Construction work in progress"
       }
      }
     },
     "localname": "ConstructionInProgressGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTJointOwnershipAgreementsNarrativeDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock": {
     "auth_ref": [
      "r1193"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of receivable, contract asset, and contract liability from contract with customer. Includes, but is not limited to, change in contract asset and contract liability.",
        "label": "Contract with Customer, Contract Asset, Contract Liability, and Receivable [Table Text Block]",
        "terseLabel": "Contract with customer, asset and liability"
       }
      }
     },
     "localname": "ContractWithCustomerAssetAndLiabilityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ContractWithCustomerAssetNet": {
     "auth_ref": [
      "r607",
      "r609",
      "r630"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time.",
        "label": "Contract with Customer, Asset, after Allowance for Credit Loss",
        "terseLabel": "Contract Assets"
       }
      }
     },
     "localname": "ContractWithCustomerAssetNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerLiability": {
     "auth_ref": [
      "r607",
      "r608",
      "r630"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable.",
        "label": "Contract with Customer, Liability",
        "terseLabel": "Contract Liabilities"
       }
      }
     },
     "localname": "ContractWithCustomerLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerLiabilityRevenueRecognized": {
     "auth_ref": [
      "r631"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized that was previously included in balance of obligation to transfer good or service to customer for which consideration from customer has been received or is due.",
        "label": "Contract with Customer, Liability, Revenue Recognized",
        "terseLabel": "Contract with customer, liability, revenue recognized"
       }
      }
     },
     "localname": "ContractWithCustomerLiabilityRevenueRecognized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContributionOfProperty": {
     "auth_ref": [
      "r86",
      "r87",
      "r88"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of property contributed in noncash investing and financing activities.",
        "label": "Contribution of Property",
        "terseLabel": "Contributions of wind turbine equipment"
       }
      }
     },
     "localname": "ContributionOfProperty",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConversionOfStockSharesConverted1": {
     "auth_ref": [
      "r86",
      "r87",
      "r88"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares converted in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Conversion of Stock, Shares Converted",
        "terseLabel": "Shares converted (in shares)"
       }
      }
     },
     "localname": "ConversionOfStockSharesConverted1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CorporateAndOtherMember": {
     "auth_ref": [
      "r1150"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Component of an entity that provides financial and operational oversight and administrative support for other segments and other segments not separately reported due to size or nature of business activities. Excludes intersegment elimination and reconciling items.",
        "label": "Corporate and Other [Member]",
        "terseLabel": "All Other"
       }
      }
     },
     "localname": "CorporateAndOtherMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CorporateDebtSecuritiesMember": {
     "auth_ref": [
      "r1077",
      "r1079",
      "r1328"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt securities issued by domestic or foreign corporate business, banks and other entities with a promise of repayment.",
        "label": "Corporate Debt Securities [Member]",
        "terseLabel": "Corporate bonds",
        "verboseLabel": "Corporate bonds"
       }
      }
     },
     "localname": "CorporateDebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CostOfGoodsAndServicesSold": {
     "auth_ref": [
      "r56",
      "r938"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 7.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate costs related to goods produced and sold and services rendered by an entity during the reporting period. This excludes costs incurred during the reporting period related to financial services rendered and other revenue generating activities.",
        "label": "Cost of Goods and Services Sold",
        "verboseLabel": "Cost of sales"
       }
      }
     },
     "localname": "CostOfGoodsAndServicesSold",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostOfRevenue": {
     "auth_ref": [
      "r58",
      "r395",
      "r491",
      "r558",
      "r559",
      "r561",
      "r562",
      "r563",
      "r565",
      "r567",
      "r569",
      "r570",
      "r833",
      "r1187"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate cost of goods produced and sold and services rendered during the reporting period.",
        "label": "Cost of Revenue",
        "terseLabel": "Less Gross Gas Costs"
       }
      }
     },
     "localname": "CostOfRevenue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostOfSalesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing cost of sales.",
        "label": "Cost of Sales [Member]",
        "terseLabel": "Cost of Sales"
       }
      }
     },
     "localname": "CostOfSalesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CostsAndExpenses": {
     "auth_ref": [
      "r55"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total costs of sales and operating expenses for the period.",
        "label": "Costs and Expenses",
        "terseLabel": "Total operating expenses",
        "totalLabel": "Total operating expenses"
       }
      }
     },
     "localname": "CostsAndExpenses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostsAndExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Costs and Expenses [Abstract]",
        "verboseLabel": "Operating Expenses:"
       }
      }
     },
     "localname": "CostsAndExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CreditFacilityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Axis]",
        "terseLabel": "Credit Facility [Axis]"
       }
      }
     },
     "localname": "CreditFacilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CreditFacilityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Domain]",
        "terseLabel": "Credit Facility [Domain]"
       }
      }
     },
     "localname": "CreditFacilityDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CurrentFederalTaxExpenseBenefit": {
     "auth_ref": [
      "r1137",
      "r1291",
      "r1294"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current federal tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, current national tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "Current Federal Tax Expense (Benefit)",
        "verboseLabel": "Current"
       }
      }
     },
     "localname": "CurrentFederalTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CurrentStateAndLocalTaxExpenseBenefit": {
     "auth_ref": [
      "r1137",
      "r1291",
      "r1294"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current state and local tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, current regional, territorial, and provincial tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "Current State and Local Tax Expense (Benefit)",
        "verboseLabel": "Current"
       }
      }
     },
     "localname": "CurrentStateAndLocalTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CustomerRelationshipsMember": {
     "auth_ref": [
      "r199"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer relationship that exists between an entity and its customer, for example, but not limited to, tenant relationships.",
        "label": "Customer Relationships [Member]",
        "terseLabel": "Customer relationships"
       }
      }
     },
     "localname": "CustomerRelationshipsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]",
        "terseLabel": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r140",
      "r393",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r587",
      "r594",
      "r595",
      "r597"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "verboseLabel": "FINANCING"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCING"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r3",
      "r4",
      "r5",
      "r276",
      "r279",
      "r291",
      "r402",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r577",
      "r583",
      "r584",
      "r585",
      "r586",
      "r588",
      "r589",
      "r590",
      "r591",
      "r592",
      "r593",
      "r855",
      "r1064",
      "r1065",
      "r1066",
      "r1067",
      "r1068",
      "r1135"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]",
        "terseLabel": "Debt Instrument [Axis]"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGEquityUnitsDetails",
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument.",
        "label": "Debt Instrument, Basis Spread on Variable Rate",
        "terseLabel": "Basis spread on variable rate"
       }
      }
     },
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r5",
      "r279",
      "r291",
      "r598"
     ],
     "calculation": {
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails_1": {
       "order": 1.0,
       "parentTag": "so_LongTermDebtandFinanceLeaseObligationNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
        "label": "Long-Term Debt, Gross",
        "terseLabel": "Long-term debt, gross",
        "verboseLabel": "Carrying amount"
       }
      }
     },
     "localname": "DebtInstrumentCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSFinancialInstrumentsCarryingAmountNotEqualtoFairValueDetails",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentCollateralAmount": {
     "auth_ref": [
      "r286"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets pledged to secure a debt instrument.",
        "label": "Debt Instrument, Collateral Amount",
        "terseLabel": "Debt instrument, collateral amount"
       }
      }
     },
     "localname": "DebtInstrumentCollateralAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentFairValue": {
     "auth_ref": [
      "r585",
      "r832",
      "r1065",
      "r1066"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of debt instrument payable, including, but not limited to, notes payable and loans payable.",
        "label": "Debt Instrument, Fair Value Disclosure",
        "verboseLabel": "Fair value"
       }
      }
     },
     "localname": "DebtInstrumentFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSFinancialInstrumentsCarryingAmountNotEqualtoFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r27",
      "r572"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "terseLabel": "Quarterly interest rate",
        "verboseLabel": "Fixed stated interest rate of debt obligation"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails",
      "http://southerncompany.com/role/FINANCINGEquityUnitsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Instrument [Line Items]",
        "terseLabel": "Debt Instrument [Line Items]"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails",
      "http://southerncompany.com/role/FINANCINGEquityUnitsDetails",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGOutstandingClassesofCapitalStockNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r28",
      "r402",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r577",
      "r583",
      "r584",
      "r585",
      "r586",
      "r588",
      "r589",
      "r590",
      "r591",
      "r592",
      "r593",
      "r855",
      "r1064",
      "r1065",
      "r1066",
      "r1067",
      "r1068",
      "r1135"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument, Name [Domain]",
        "terseLabel": "Debt Instrument, Name [Domain]"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGEquityUnitsDetails",
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentRedemptionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Instrument, Redemption [Line Items]",
        "terseLabel": "Debt Instrument, Redemption [Line Items]"
       }
      }
     },
     "localname": "DebtInstrumentRedemptionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentRedemptionTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about debt instruments or arrangements with redemption features. Includes, but is not limited to, description of debt redemption features, percentage price at which debt can be redeemed by the issuer, and period start and end for debt maturity or redemption.",
        "label": "Debt Instrument Redemption [Table]",
        "terseLabel": "Debt Instrument Redemption [Table]"
       }
      }
     },
     "localname": "DebtInstrumentRedemptionTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r28",
      "r143",
      "r144",
      "r145",
      "r146",
      "r265",
      "r266",
      "r269",
      "r287",
      "r402",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r577",
      "r583",
      "r584",
      "r585",
      "r586",
      "r588",
      "r589",
      "r590",
      "r591",
      "r592",
      "r593",
      "r596",
      "r855",
      "r1064",
      "r1065",
      "r1066",
      "r1067",
      "r1068",
      "r1135"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Schedule of Long-Term Debt Instruments [Table]",
        "terseLabel": "Schedule of Long-term Debt Instruments [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails",
      "http://southerncompany.com/role/FINANCINGEquityUnitsDetails",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGOutstandingClassesofCapitalStockNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet": {
     "auth_ref": [
      "r265",
      "r266",
      "r267",
      "r268",
      "r269",
      "r1192"
     ],
     "calculation": {
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails_1": {
       "order": 3.0,
       "parentTag": "so_LongTermDebtandFinanceLeaseObligationNet",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt discount (premium).",
        "label": "Debt Instrument, Unamortized Discount (Premium), Net",
        "negatedTerseLabel": "Unamortized debt premium (discount), net"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscountPremiumNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesMember": {
     "auth_ref": [
      "r106"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt instrument issued by corporations, governments and governmental agencies, municipalities, and other institutions.",
        "label": "Debt Securities [Member]",
        "terseLabel": "Debt securities"
       }
      }
     },
     "localname": "DebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSInvestmentSecuritiesintheFundsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of debt outstanding.",
        "label": "Debt, Weighted Average Interest Rate",
        "terseLabel": "Weighted Average Interest Rate"
       }
      }
     },
     "localname": "DebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DecommissioningFundInvestments": {
     "auth_ref": [
      "r1117"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_LongTermInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Decommission fund to pay for the costs of decontaminating and decommissioning of facilities through collection of revenues derived from utility assessments and government appropriations. Decommission fund investment for the process whereby a power station, at the end of its economic life, is taken permanently out of service and its site made available for other purposes. In the case of a nuclear station this comprises three different states of clearance. Immediately after the final closure, radioactive material such as nuclear fuel and operational waste is removed and the buildings surrounding the reactor shield are dismantled and finally the reactor itself is dismantled.",
        "label": "Decommissioning Fund Investments",
        "verboseLabel": "Nuclear decommissioning trusts, at fair value"
       }
      }
     },
     "localname": "DecommissioningFundInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DecommissioningTrustAssetsAmount": {
     "auth_ref": [
      "r1170"
     ],
     "calculation": {
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value of investments held in a trust fund to pay for the costs of decontaminating and decommissioning facilities, whether such amount is presented as a separate caption or as a parenthetical disclosure on the balance sheet. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements.",
        "label": "Decommissioning Fund Investments, Fair Value",
        "verboseLabel": "Nuclear decommissioning trusts"
       }
      }
     },
     "localname": "DecommissioningTrustAssetsAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amounts paid in advance for capitalized costs that will be expensed with the passage of time or the occurrence of a triggering event, and will be charged against earnings within one year or the normal operating cycle, if longer; the aggregate carrying amount of current assets, not separately presented elsewhere in the balance sheet; and other deferred costs.",
        "label": "Deferred Costs, Capitalized, Prepaid, and Other Assets Disclosure [Table Text Block]",
        "terseLabel": "Deferred cloud implementation costs"
       }
      }
     },
     "localname": "DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DeferredCreditsAndOtherLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total carrying amount as of the balance sheet date of unearned revenue or income, not otherwise specified in the taxonomy, which is expected to be taken into income in future periods and obligations not separately disclosed in the balance sheet (other liabilities).",
        "label": "Deferred Credits and Other Liabilities",
        "totalLabel": "Total deferred credits and other liabilities"
       }
      }
     },
     "localname": "DeferredCreditsAndOtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredCreditsAndOtherLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Credits and Other Liabilities [Abstract]",
        "verboseLabel": "Deferred Credits and Other Liabilities:"
       }
      }
     },
     "localname": "DeferredCreditsAndOtherLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredFederalIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r1137",
      "r1292",
      "r1294"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred federal tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, deferred national tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "Deferred Federal Income Tax Expense (Benefit)",
        "verboseLabel": "Deferred"
       }
      }
     },
     "localname": "DeferredFederalIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredGasCost": {
     "auth_ref": [
      "r314"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 14.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of capitalized gas costs of a regulated entity that are expected to be recoverable through rate adjustments within one year or the normal operating cycle, if longer.",
        "label": "Deferred Gas Cost",
        "terseLabel": "Natural gas cost under recovery"
       }
      }
     },
     "localname": "DeferredGasCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxAssetsNet": {
     "auth_ref": [
      "r759",
      "r760"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsMPC": {
       "order": 4.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, with jurisdictional netting.",
        "label": "Deferred Income Tax Assets, Net",
        "terseLabel": "Accumulated deferred income taxes"
       }
      }
     },
     "localname": "DeferredIncomeTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxChargesMember": {
     "auth_ref": [
      "r314",
      "r319",
      "r324",
      "r325"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate action of a regulator resulting in capitalization or accrual of income taxes.",
        "label": "Deferred Income Tax Charge [Member]",
        "terseLabel": "Deferred Income Tax Charges"
       }
      }
     },
     "localname": "DeferredIncomeTaxChargesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r81",
      "r192",
      "r773",
      "r781",
      "r782",
      "r1137"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Income Tax Expense (Benefit)",
        "verboseLabel": "Deferred income taxes"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxLiabilities": {
     "auth_ref": [
      "r7",
      "r8",
      "r278",
      "r290",
      "r768"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails_1": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences.",
        "label": "Deferred Tax Liabilities, Gross",
        "terseLabel": "Deferred income tax liabilities"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxLiabilitiesNet": {
     "auth_ref": [
      "r759",
      "r760"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS": {
       "order": 3.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 9.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences with jurisdictional netting.",
        "label": "Deferred Income Tax Liabilities, Net",
        "terseLabel": "Accumulated deferred income taxes"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilitiesNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r1137",
      "r1292",
      "r1294"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred state and local tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, deferred regional, territorial, and provincial tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "Deferred State and Local Income Tax Expense (Benefit)",
        "verboseLabel": "Deferred"
       }
      }
     },
     "localname": "DeferredStateAndLocalIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsGross": {
     "auth_ref": [
      "r769"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredTaxAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Gross",
        "terseLabel": "Deferred income tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsNet": {
     "auth_ref": [
      "r1289"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails_1": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredTaxLiabilities",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Net of Valuation Allowance",
        "totalLabel": "Net deferred income tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Tax Assets, Net [Abstract]",
        "verboseLabel": "Deferred tax assets \u2014"
       }
      }
     },
     "localname": "DeferredTaxAssetsNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsStateAndLocal": {
     "auth_ref": [
      "r190",
      "r1290"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible state and local operating loss carryforwards.",
        "label": "Deferred Tax Assets, Operating Loss Carryforwards, State and Local",
        "terseLabel": "Approximate Net State Income Tax Benefit of NOL Carryforwards"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryforwardsStateAndLocal",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r770"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredTaxAssetsNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized.",
        "label": "Deferred Tax Assets, Valuation Allowance",
        "negatedLabel": "Valuation allowance"
       }
      }
     },
     "localname": "DeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilities": {
     "auth_ref": [
      "r178",
      "r1289"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails_1": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting.",
        "label": "Deferred Tax Liabilities, Net",
        "totalLabel": "Net deferred income taxes liabilities"
       }
      }
     },
     "localname": "DeferredTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Tax Liabilities, Gross [Abstract]",
        "verboseLabel": "Deferred tax liabilities \u2014"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation": {
     "auth_ref": [
      "r667"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of actuarial present value of benefits attributed to employee service rendered, excluding assumptions about future compensation level.",
        "label": "Defined Benefit Plan, Accumulated Benefit Obligation",
        "terseLabel": "Total accumulated benefit obligation for the pension plans"
       }
      }
     },
     "localname": "DefinedBenefitPlanAccumulatedBenefitObligation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSAccumulatedBenefitObligationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax": {
     "auth_ref": [
      "r41",
      "r47",
      "r1239"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of accumulated other comprehensive (income) loss for defined benefit plan, that has not been recognized in net periodic benefit cost (credit).",
        "label": "Defined Benefit Plan, Accumulated Other Comprehensive (Income) Loss, before Tax",
        "terseLabel": "AOCI",
        "totalLabel": "Total AOCI"
       }
      }
     },
     "localname": "DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax": {
     "auth_ref": [
      "r47",
      "r679"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_RegulatoryAssets",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of accumulated other comprehensive income (loss) for gain (loss) of defined benefit plan, that has not been recognized in net periodic benefit (cost) credit.",
        "label": "Defined Benefit Plan, Accumulated Other Comprehensive Income (Loss), Gain (Loss), before Tax",
        "negatedTerseLabel": "Net loss"
       }
      }
     },
     "localname": "DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax": {
     "auth_ref": [
      "r47",
      "r679"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_RegulatoryLiabilities",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of accumulated other comprehensive (income) loss for cost (credit) of benefit change attributable to participants' prior service from plan amendment or plan initiation of defined benefit plan, that has not been recognized in net periodic benefit cost (credit).",
        "label": "Defined Benefit Plan, Accumulated Other Comprehensive (Income) Loss, Prior Service Cost (Credit), before Tax",
        "terseLabel": "Prior service cost"
       }
      }
     },
     "localname": "DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets": {
     "auth_ref": [
      "r649",
      "r1079"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in plan assets of defined benefit plan from actual return (loss) determined by change in fair value of plan assets adjusted for contributions, benefit payments, and other expenses.",
        "label": "Defined Benefit Plan, Plan Assets, Increase (Decrease) for Actual Return (Loss)",
        "terseLabel": "Actual return on plan assets"
       }
      }
     },
     "localname": "DefinedBenefitPlanActualReturnOnPlanAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanActuarialGainLoss": {
     "auth_ref": [
      "r642"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) from change in actuarial assumptions which (increases) decreases benefit obligation of defined benefit plan. Assumptions include, but are not limited to, interest, mortality, employee turnover, salary, and temporary deviation from substantive plan.",
        "label": "Defined Benefit Plan, Benefit Obligation, Actuarial Gain (Loss)",
        "negatedLabel": "Actuarial losses",
        "negatedTerseLabel": "Actuarial gain"
       }
      }
     },
     "localname": "DefinedBenefitPlanActuarialGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses": {
     "auth_ref": [
      "r636",
      "r674",
      "r697",
      "r1079",
      "r1080"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in net periodic benefit (cost) credit of defined benefit plan.",
        "label": "Defined Benefit Plan, Amortization of Gain (Loss)",
        "negatedLabel": "Net amortization"
       }
      }
     },
     "localname": "DefinedBenefitPlanAmortizationOfGainsLosses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit": {
     "auth_ref": [
      "r636",
      "r675",
      "r698",
      "r1079",
      "r1080"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of prior service cost (credit) recognized in net periodic benefit cost (credit) of defined benefit plan.",
        "label": "Defined Benefit Plan, Amortization of Prior Service Cost (Credit)",
        "verboseLabel": "Prior service cost"
       }
      }
     },
     "localname": "DefinedBenefitPlanAmortizationOfPriorServiceCostCredit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate": {
     "auth_ref": [
      "r681"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average rate for present value of future retirement benefits cash flows, used to determine benefit obligation of defined benefit plan.",
        "label": "Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Discount Rate",
        "terseLabel": "Discount rate \u2013 benefit obligations"
       }
      }
     },
     "localname": "DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease": {
     "auth_ref": [
      "r682"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average rate increase of compensation, used to determine benefit obligation of defined benefit plan. Plan includes, but is not limited to, pay-related defined benefit plan.",
        "label": "Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Rate of Compensation Increase",
        "terseLabel": "Annual salary increase"
       }
      }
     },
     "localname": "DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate": {
     "auth_ref": [
      "r681"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average rate for present value of future retirement benefits cash flows, used to determine net periodic benefit cost of defined benefit plan.",
        "label": "Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Discount Rate",
        "terseLabel": "Discount rate, net periodic benefit costs"
       }
      }
     },
     "localname": "DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets": {
     "auth_ref": [
      "r683",
      "r702"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average rate of return on plan assets, reflecting average rate of earnings expected on existing plan assets and expected contributions, used to determine net periodic benefit cost of defined benefit plan.",
        "label": "Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Expected Long-Term Rate of Return on Plan Assets",
        "verboseLabel": "Expected long-term return on plan assets"
       }
      }
     },
     "localname": "DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease": {
     "auth_ref": [
      "r682"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average rate of compensation increase used to determine net periodic benefit cost of defined benefit plan. Plan includes, but is not limited to, pay-related defined benefit plan.",
        "label": "Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Rate of Compensation Increase",
        "terseLabel": "Annual salary increase, net periodic costs"
       }
      }
     },
     "localname": "DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedBenefitPlanBenefitObligation": {
     "auth_ref": [
      "r637"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DefinedBenefitPlanFundedStatusOfPlan",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of actuarial present value of benefits attributed to service rendered by employee for defined benefit plan.",
        "label": "Defined Benefit Plan, Benefit Obligation",
        "periodEndLabel": "Balance at end of year",
        "periodStartLabel": "Benefit obligation at beginning of year"
       }
      }
     },
     "localname": "DefinedBenefitPlanBenefitObligation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid": {
     "auth_ref": [
      "r644",
      "r705"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of payment to participant of defined benefit plan which decreases benefit obligation. For pension plan, payment includes, but is not limited to, pension benefits and death benefits. For other postretirement plan, payment includes, but is not limited to, prescription drug benefits, health care benefits, life insurance benefits, and legal, educational and advisory services.",
        "label": "Defined Benefit Plan, Benefit Obligation, Benefits Paid",
        "negatedLabel": "Benefits paid"
       }
      }
     },
     "localname": "DefinedBenefitPlanBenefitObligationBenefitsPaid",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanBenefitObligationPrescriptionDrugSubsidyReceipt": {
     "auth_ref": [
      "r637",
      "r705"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before benefit payment, of receipt from prescription drug subsidy which increases benefit obligation of defined benefit postretirement plan.",
        "label": "Defined Benefit Plan, Benefit Obligation, Prescription Drug Subsidy Receipt",
        "verboseLabel": "Retiree drug subsidy"
       }
      }
     },
     "localname": "DefinedBenefitPlanBenefitObligationPrescriptionDrugSubsidyReceipt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis": {
     "auth_ref": [
      "r658",
      "r659",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r686",
      "r1077",
      "r1078",
      "r1079"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by defined benefit plan asset investment.",
        "label": "Defined Benefit Plan, Plan Assets, Category [Axis]",
        "terseLabel": "Defined Benefit Plan, Plan Assets, Category [Axis]"
       }
      }
     },
     "localname": "DefinedBenefitPlanByPlanAssetCategoriesAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Defined Benefit Plan, Change in Benefit Obligation [Roll Forward]",
        "verboseLabel": "Change in benefit obligation"
       }
      }
     },
     "localname": "DefinedBenefitPlanChangeInBenefitObligationRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Defined Benefit Plan, Change in Fair Value of Plan Assets [Roll Forward]",
        "terseLabel": "Change in plan assets"
       }
      }
     },
     "localname": "DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanContributionsByEmployer": {
     "auth_ref": [
      "r651",
      "r661",
      "r701",
      "r1077",
      "r1078",
      "r1079",
      "r1080"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of contribution received by defined benefit plan from employer which increases plan assets.",
        "label": "Defined Benefit Plan, Plan Assets, Contributions by Employer",
        "verboseLabel": "Employer contributions"
       }
      }
     },
     "localname": "DefinedBenefitPlanContributionsByEmployer",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanDisclosureLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Defined Benefit Plan Disclosure [Line Items]",
        "terseLabel": "Defined Benefit Plan Disclosure [Line Items]"
       }
      }
     },
     "localname": "DefinedBenefitPlanDisclosureLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITS401KPlanMatchingContributionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAccumulatedBenefitObligationDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSNarrativeDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSScheduleofHealthCareCostTrendRatesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanEquitySecuritiesMember": {
     "auth_ref": [
      "r1077",
      "r1079"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Security representing ownership in corporation or other legal entity for which ownership is represented by share of stock, in which defined benefit plan asset is invested. Includes, but is not limited to, common stock, preferred stock, convertible security, stock right and stock warrant.",
        "label": "Defined Benefit Plan, Equity Securities [Member]",
        "terseLabel": "Equity"
       }
      }
     },
     "localname": "DefinedBenefitPlanEquitySecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Defined Benefit Plan, Expected Future Benefit Payment [Abstract]",
        "verboseLabel": "Benefit payments:"
       }
      }
     },
     "localname": "DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter": {
     "auth_ref": [
      "r668"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of benefit for defined benefit plan expected to be paid in five fiscal years after fifth fiscal year following current fiscal year.",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, after Year Five for Next Five Years",
        "terseLabel": "2028 to 2032"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths": {
     "auth_ref": [
      "r668"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of benefit for defined benefit plan expected to be paid in next fiscal year following current fiscal year.",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive": {
     "auth_ref": [
      "r668"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of benefit for defined benefit plan expected to be paid in fifth fiscal year following current fiscal year.",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, Year Five",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour": {
     "auth_ref": [
      "r668"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of benefit for defined benefit plan expected to be paid in fourth fiscal year following current fiscal year.",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree": {
     "auth_ref": [
      "r668"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of benefit for defined benefit plan expected to be paid in third fiscal year following current fiscal year.",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo": {
     "auth_ref": [
      "r668"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of benefit for defined benefit plan expected to be paid in second fiscal year following current fiscal year.",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear": {
     "auth_ref": [
      "r669",
      "r1080"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of contribution expected to be received by defined benefit plan from employer in next fiscal year following current fiscal year.",
        "label": "Defined Benefit Plan, Expected Future Employer Contributions, Next Fiscal Year",
        "terseLabel": "Expected future employer contributions, next fiscal year"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets": {
     "auth_ref": [
      "r636",
      "r673",
      "r696",
      "r1079",
      "r1080"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expected return (loss) recognized in net periodic benefit (cost) credit, calculated based on expected long-term rate of return and market-related value of plan assets of defined benefit plan.",
        "label": "Defined Benefit Plan, Expected Return (Loss) on Plan Assets",
        "negatedLabel": "Expected return on plan assets"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedReturnOnPlanAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanFairValueOfPlanAssets": {
     "auth_ref": [
      "r648",
      "r659",
      "r661",
      "r662",
      "r1077",
      "r1078",
      "r1079"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DefinedBenefitPlanFundedStatusOfPlan",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset segregated and restricted to provide benefit under defined benefit plan. Asset includes, but is not limited to, stock, bond, other investment, earning from investment, and contribution by employer and employee.",
        "label": "Defined Benefit Plan, Plan Assets, Amount",
        "periodEndLabel": "Fair value of plan assets at end of year",
        "periodStartLabel": "Fair value of plan assets at beginning of year"
       }
      }
     },
     "localname": "DefinedBenefitPlanFairValueOfPlanAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanFundedStatusOfPlan": {
     "auth_ref": [
      "r634",
      "r657",
      "r1079"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of funded (unfunded) status of defined benefit plan, measured as difference between fair value of plan assets and benefit obligation. Includes, but is not limited to, overfunded (underfunded) status.",
        "label": "Defined Benefit Plan, Funded (Unfunded) Status of Plan",
        "totalLabel": "Accrued asset"
       }
      }
     },
     "localname": "DefinedBenefitPlanFundedStatusOfPlan",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanHealthCareCostTrendRateAssumedNextFiscalYear": {
     "auth_ref": [
      "r685"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assumed rate, for next fiscal year, based on annual change in cost of health care cost benefits used to measure expected cost of benefits covered by defined benefit postretirement plan. Factors include, but are not limited to, estimate of health care inflation, change in health care utilization or delivery pattern, technological advances, and change in health status of participant. Excludes factors for change in composition of plan population by age and dependency status.",
        "label": "Defined Benefit Plan, Health Care Cost Trend Rate Assumed, Next Fiscal Year",
        "terseLabel": "Initial Cost Trend Rate"
       }
      }
     },
     "localname": "DefinedBenefitPlanHealthCareCostTrendRateAssumedNextFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSScheduleofHealthCareCostTrendRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedBenefitPlanInterestCost": {
     "auth_ref": [
      "r636",
      "r640",
      "r672",
      "r695",
      "r1079",
      "r1080"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost recognized for passage of time related to defined benefit plan.",
        "label": "Defined Benefit Plan, Interest Cost",
        "verboseLabel": "Interest cost"
       }
      }
     },
     "localname": "DefinedBenefitPlanInterestCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost": {
     "auth_ref": [
      "r670",
      "r693",
      "r1079",
      "r1080"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net periodic benefit cost (credit) for defined benefit plan.",
        "label": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit)",
        "totalLabel": "Total change"
       }
      }
     },
     "localname": "DefinedBenefitPlanNetPeriodicBenefitCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit) [Abstract]",
        "terseLabel": "Components of net periodic"
       }
      }
     },
     "localname": "DefinedBenefitPlanNetPeriodicBenefitCostAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedBenefitPlanPlanAssetsBenefitsPaid": {
     "auth_ref": [
      "r653",
      "r1259"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of payment to participant under defined benefit plan which decreases plan assets. For pension plan, payment includes, but is not limited to, pension benefits and death benefits. For other postretirement plan, payment includes, but is not limited to, prescription drug benefits, health care benefits, life insurance benefits, and legal, educational and advisory services.",
        "label": "Defined Benefit Plan, Plan Assets, Benefits Paid",
        "negatedTerseLabel": "Benefits paid"
       }
      }
     },
     "localname": "DefinedBenefitPlanPlanAssetsBenefitsPaid",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanPlanAssetsCategoryTableTextBlock": {
     "auth_ref": [
      "r1220",
      "r1221"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of defined benefit plan asset investment. Includes, but is not limited to, fair value of category of plan asset and its level within fair value hierarchy.",
        "label": "Defined Benefit Plan, Plan Assets, Category [Table Text Block]",
        "terseLabel": "Summary of investment strategies and benefit plan asset fair values"
       }
      }
     },
     "localname": "DefinedBenefitPlanPlanAssetsCategoryTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage": {
     "auth_ref": [
      "r658",
      "r1079"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of target investment allocation to total plan assets. Includes, but is not limited to, percentage on weighted-average basis if more than one plan.",
        "label": "Defined Benefit Plan, Plan Assets, Target Allocation, Percentage",
        "terseLabel": "Target Allocation"
       }
      }
     },
     "localname": "DefinedBenefitPlanPlanAssetsTargetAllocationPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlementsAndCurtailments1": {
     "auth_ref": [
      "r1197",
      "r1237",
      "r1256"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in net periodic benefit (cost) credit from settlement and curtailment.",
        "label": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit), Gain (Loss) Due to Settlement and Curtailment",
        "negatedLabel": "Recognized net loss"
       }
      }
     },
     "localname": "DefinedBenefitPlanRecognizedNetGainLossDueToSettlementsAndCurtailments1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanServiceCost": {
     "auth_ref": [
      "r638",
      "r671",
      "r694",
      "r1079",
      "r1080"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost for actuarial present value of benefits attributed to service rendered by employee for defined benefit plan.",
        "label": "Defined Benefit Plan, Service Cost",
        "verboseLabel": "Service cost"
       }
      }
     },
     "localname": "DefinedBenefitPlanServiceCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanUltimateHealthCareCostTrendRate1": {
     "auth_ref": [
      "r685"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ultimate trend rate for health care cost for defined benefit postretirement plan.",
        "label": "Defined Benefit Plan, Ultimate Health Care Cost Trend Rate",
        "terseLabel": "Ultimate Cost Trend Rate"
       }
      }
     },
     "localname": "DefinedBenefitPlanUltimateHealthCareCostTrendRate1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSScheduleofHealthCareCostTrendRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations": {
     "auth_ref": [
      "r1219"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of actual investment allocation to total plan assets. Includes, but is not limited to, percentage on weighted-average basis if more than one plan.",
        "label": "Defined Benefit Plan, Plan Assets, Actual Allocation, Percentage",
        "terseLabel": "Actual Allocation"
       }
      }
     },
     "localname": "DefinedBenefitPlanWeightedAverageAssetAllocations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedContributionPlanCostRecognized": {
     "auth_ref": [
      "r706"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost for defined contribution plan.",
        "label": "Defined Contribution Plan, Cost",
        "terseLabel": "Defined contribution plan, cost"
       }
      }
     },
     "localname": "DefinedContributionPlanCostRecognized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITS401KPlanMatchingContributionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedContributionPlanDisclosuresTableTextBlock": {
     "auth_ref": [
      "r167"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of defined contribution pension plans or defined contribution other postretirement plans, separately for pension plans and other postretirement benefit plans.",
        "label": "Defined Contribution Plan Disclosures [Table Text Block]",
        "terseLabel": "Total matching contributions"
       }
      }
     },
     "localname": "DefinedContributionPlanDisclosuresTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DepreciationAmortizationAndAccretionNet": {
     "auth_ref": [
      "r81"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate net amount of depreciation, amortization, and accretion recognized during an accounting period. As a noncash item, the net amount is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Depreciation, Amortization and Accretion, Net",
        "verboseLabel": "Depreciation and amortization, total"
       }
      }
     },
     "localname": "DepreciationAmortizationAndAccretionNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAmountOfHedgedItem": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of hedged item in hedging relationship. Excludes hedged asset or liability.",
        "label": "Derivative, Amount of Hedged Item",
        "terseLabel": "Carrying Amount of the Hedged Item"
       }
      }
     },
     "localname": "DerivativeAmountOfHedgedItem",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESCumulativeBasisAdjustmentsforFairValueHedgesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetFairValueGrossLiability": {
     "auth_ref": [
      "r35",
      "r38",
      "r236"
     ],
     "calculation": {
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DerivativeAssets",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of liability associated with financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Asset, Subject to Master Netting Arrangement, Liability Offset",
        "negatedTerseLabel": "Derivative asset, gross amount offset"
       }
      }
     },
     "localname": "DerivativeAssetFairValueGrossLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssets": {
     "auth_ref": [
      "r361",
      "r363",
      "r832",
      "r1053"
     ],
     "calculation": {
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Asset",
        "terseLabel": "Derivative asset",
        "totalLabel": "Derivative asset, net amounts recognized in the balance sheets"
       }
      }
     },
     "localname": "DerivativeAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetsCurrent": {
     "auth_ref": [
      "r361"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Asset, Current",
        "verboseLabel": "Assets from risk management activities, net of collateral"
       }
      }
     },
     "localname": "DerivativeAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeCollateralObligationToReturnCash": {
     "auth_ref": [
      "r36",
      "r250",
      "r362",
      "r1051"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation to return cash collateral under master netting arrangements that have not been offset against derivative assets.",
        "label": "Derivative Asset, Subject to Master Netting Arrangement, Collateral, Obligation to Return Cash Not Offset",
        "terseLabel": "Derivative collateral obligation to return cash"
       }
      }
     },
     "localname": "DerivativeCollateralObligationToReturnCash",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract [Domain]",
        "terseLabel": "Derivative Contract [Domain]"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails",
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails",
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAsset": {
     "auth_ref": [
      "r37",
      "r236",
      "r272",
      "r360",
      "r1053"
     ],
     "calculation": {
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DerivativeAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement.",
        "label": "Derivative Asset, Subject to Master Netting Arrangement, before Offset",
        "terseLabel": "Derivative asset, gross amounts recognized"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAsset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiability": {
     "auth_ref": [
      "r37",
      "r236",
      "r272",
      "r360",
      "r1053"
     ],
     "calculation": {
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DerivativeLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement.",
        "label": "Derivative Liability, Subject to Master Netting Arrangement, before Offset",
        "terseLabel": "Derivative liability, gross amounts recognized"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative, Fair Value, Net [Abstract]",
        "verboseLabel": "Fair value of energy-related derivatives and interest rate derivatives"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeGainLossOnDerivativeNet": {
     "auth_ref": [
      "r1303"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in the fair value of derivatives recognized in the income statement.",
        "label": "Derivative, Gain (Loss) on Derivative, Net",
        "negatedTerseLabel": "Mark-to-market adjustments"
       }
      }
     },
     "localname": "DerivativeGainLossOnDerivativeNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r234",
      "r237",
      "r244",
      "r246",
      "r1053"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument [Axis]",
        "terseLabel": "Derivative Instrument [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails",
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails",
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instruments and Hedging Activities Disclosure [Abstract]",
        "terseLabel": "Derivative Instruments and Hedging Activities Disclosure [Abstract]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock": {
     "auth_ref": [
      "r255",
      "r809"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts.",
        "label": "Derivative Instruments and Hedging Activities Disclosure [Text Block]",
        "verboseLabel": "DERIVATIVES"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVES"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis": {
     "auth_ref": [
      "r231",
      "r234",
      "r244"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of hedging relationship.",
        "label": "Hedging Relationship [Axis]",
        "terseLabel": "Hedging Relationship [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossByHedgingRelationshipAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESCumulativeBasisAdjustmentsforFairValueHedgesDetails",
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable": {
     "auth_ref": [
      "r231",
      "r234",
      "r244",
      "r246",
      "r252",
      "r253",
      "r807"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about the location and amount of derivative instruments and nonderivative instruments designated as hedging instruments reported before netting adjustments, and the amount of gain (loss) on derivative instruments and nonderivative instruments designated and qualified as hedging instruments.",
        "label": "Derivative Instruments, Gain (Loss) [Table]",
        "terseLabel": "Derivative Instruments, Gain (Loss) [Table]"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESCumulativeBasisAdjustmentsforFairValueHedgesDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivative Instruments, Gain (Loss) [Line Items]",
        "terseLabel": "Derivative Instruments, Gain (Loss) [Line Items]"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESCumulativeBasisAdjustmentsforFairValueHedgesDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet": {
     "auth_ref": [
      "r243",
      "r1304"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments.",
        "label": "Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net",
        "terseLabel": "Derivative instruments not designated as hedging instruments, gain (loss), net"
       }
      }
     },
     "localname": "DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilities": {
     "auth_ref": [
      "r361",
      "r363",
      "r832",
      "r1053"
     ],
     "calculation": {
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liability",
        "terseLabel": "Derivative liability",
        "totalLabel": "Derivative liability, gross amounts recognized in balance sheets"
       }
      }
     },
     "localname": "DerivativeLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityFairValueGrossAsset": {
     "auth_ref": [
      "r35",
      "r38",
      "r236",
      "r1051"
     ],
     "calculation": {
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DerivativeLiabilities",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of asset associated with financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Liability, Subject to Master Netting Arrangement, Asset Offset",
        "negatedLabel": "Derivative liability, gross amounts offset"
       }
      }
     },
     "localname": "DerivativeLiabilityFairValueGrossAsset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityNotionalAmount": {
     "auth_ref": [
      "r1300",
      "r1301",
      "r1302"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nominal or face amount used to calculate payments on the derivative liability.",
        "label": "Derivative Liability, Notional Amount",
        "terseLabel": "Notional Amount"
       }
      }
     },
     "localname": "DerivativeLiabilityNotionalAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivative [Line Items]",
        "terseLabel": "Derivative [Line Items]"
       }
      }
     },
     "localname": "DerivativeLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails",
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeTable": {
     "auth_ref": [
      "r226",
      "r227",
      "r228",
      "r231",
      "r232",
      "r239",
      "r244",
      "r248",
      "r251",
      "r253",
      "r809"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule that describes and identifies a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item.",
        "label": "Derivative [Table]",
        "terseLabel": "Derivative [Table]"
       }
      }
     },
     "localname": "DerivativeTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails",
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESFinancialInstrumentsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesFairValueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivatives, Fair Value [Line Items]",
        "terseLabel": "Derivatives, Fair Value [Line Items]"
       }
      }
     },
     "localname": "DerivativesFairValueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesPolicyTextBlock": {
     "auth_ref": [
      "r226",
      "r227",
      "r231",
      "r232",
      "r249",
      "r401"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for its derivative instruments and hedging activities.",
        "label": "Derivatives, Policy [Policy Text Block]",
        "verboseLabel": "Financial Instruments"
       }
      }
     },
     "localname": "DerivativesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DesignatedAsHedgingInstrumentMember": {
     "auth_ref": [
      "r231"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative instrument designated as hedging instrument under Generally Accepted Accounting Principles (GAAP).",
        "label": "Designated as Hedging Instrument [Member]",
        "terseLabel": "Designated as Hedging Instrument"
       }
      }
     },
     "localname": "DesignatedAsHedgingInstrumentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DisaggregationOfRevenueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Disaggregation of Revenue [Line Items]",
        "terseLabel": "Disaggregation of Revenue [Line Items]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESRevenuesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisaggregationOfRevenueTable": {
     "auth_ref": [
      "r629",
      "r1070",
      "r1071",
      "r1072",
      "r1073",
      "r1074",
      "r1075",
      "r1076"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
        "label": "Disaggregation of Revenue [Table]",
        "terseLabel": "Disaggregation of Revenue [Table]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSContractBalancesDetails",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESRevenuesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisaggregationOfRevenueTableTextBlock": {
     "auth_ref": [
      "r1195"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
        "label": "Disaggregation of Revenue [Table Text Block]",
        "terseLabel": "Disaggregation of revenue"
       }
      }
     },
     "localname": "DisaggregationOfRevenueTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement [Abstract]",
        "terseLabel": "Share-based Payment Arrangement [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisposalGroupClassificationAxis": {
     "auth_ref": [
      "r337"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by disposal group classification.",
        "label": "Disposal Group Classification [Axis]",
        "terseLabel": "Disposal Group Classification [Axis]"
       }
      }
     },
     "localname": "DisposalGroupClassificationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisposalGroupClassificationDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Component or group of components disposed of, including but not limited to, disposal group held-for-sale or disposed of by sale, disposed of by means other than sale, and discontinued operations.",
        "label": "Disposal Group Classification [Domain]",
        "terseLabel": "Disposal Group Classification [Domain]"
       }
      }
     },
     "localname": "DisposalGroupClassificationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DisposalGroupDisposedOfBySaleNotDiscontinuedOperationsMember": {
     "auth_ref": [
      "r126",
      "r130"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disposal group that has been sold. Excludes disposals classified as discontinued operations.",
        "label": "Disposal Group, Disposed of by Sale, Not Discontinued Operations [Member]",
        "terseLabel": "Disposal Group, Disposed of by Sale, Not Discontinued Operations"
       }
      }
     },
     "localname": "DisposalGroupDisposedOfBySaleNotDiscontinuedOperationsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consideration received or receivable for the disposal of assets and liabilities, including discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, Consideration",
        "terseLabel": "Consideration for sale"
       }
      }
     },
     "localname": "DisposalGroupIncludingDiscontinuedOperationConsideration",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal": {
     "auth_ref": [
      "r530",
      "r1132",
      "r1169"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of gain (loss) recognized on the sale or disposal of a disposal group. Excludes discontinued operations.",
        "label": "Disposal Group, Not Discontinued Operation, Gain (Loss) on Disposal",
        "negatedLabel": "Gain on dispositions, net",
        "terseLabel": "Gain on dispositions, net",
        "verboseLabel": "Gain (loss) on dispositions"
       }
      }
     },
     "localname": "DisposalGroupNotDiscontinuedOperationGainLossOnDisposal",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain": {
     "auth_ref": [
      "r1081",
      "r1084"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of disposal group.",
        "label": "Disposal Group Name [Domain]",
        "terseLabel": "Disposal Group Name [Domain]"
       }
      }
     },
     "localname": "DisposalGroupsIncludingDiscontinuedOperationsNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DividendsCommonStockCash": {
     "auth_ref": [
      "r147"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of paid and unpaid common stock dividends declared with the form of settlement in cash.",
        "label": "Dividends, Common Stock, Cash",
        "negatedLabel": "Cash dividends on common stock"
       }
      }
     },
     "localname": "DividendsCommonStockCash",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueFromRelatedPartiesCurrent": {
     "auth_ref": [
      "r353",
      "r560",
      "r561",
      "r562",
      "r568",
      "r569",
      "r570",
      "r900",
      "r1045",
      "r1138"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of receivables to be collected from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth, at the financial statement date. which are usually due within one year (or one business cycle).",
        "label": "Due from Related Parties, Current",
        "verboseLabel": "Affiliated"
       }
      }
     },
     "localname": "DueFromRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToRelatedPartiesCurrent": {
     "auth_ref": [
      "r19",
      "r560",
      "r561",
      "r562",
      "r568",
      "r569",
      "r570",
      "r900",
      "r1138"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of obligations due all related parties. For classified balance sheets, represents the current portion of such liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Due to Related Parties, Current",
        "verboseLabel": "Affiliated"
       }
      }
     },
     "localname": "DueToRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]",
        "verboseLabel": "Earnings per share \u2014"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r384",
      "r419",
      "r420",
      "r422",
      "r423",
      "r424",
      "r430",
      "r433",
      "r440",
      "r441",
      "r442",
      "r443",
      "r819",
      "r820",
      "r960",
      "r969",
      "r1057"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "verboseLabel": "Basic (in dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r384",
      "r419",
      "r420",
      "r422",
      "r423",
      "r424",
      "r433",
      "r440",
      "r441",
      "r442",
      "r443",
      "r819",
      "r820",
      "r960",
      "r969",
      "r1057"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Diluted",
        "terseLabel": "Diluted (in dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperations": {
     "auth_ref": [
      "r762"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Effective Income Tax Rate Reconciliation, Percent",
        "totalLabel": "Effective income tax (benefit) rate"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Income Tax Rate Reconciliation, Percent [Abstract]",
        "verboseLabel": "Reconciliation of federal statutory income tax rate to effective income tax rate"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate": {
     "auth_ref": [
      "r397",
      "r762",
      "r783"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails": {
       "order": 11.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of domestic federal statutory tax rate applicable to pretax income (loss).",
        "label": "Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent",
        "terseLabel": "Federal statutory rate"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends": {
     "auth_ref": [
      "r1288",
      "r1295"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails": {
       "order": 8.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": -1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to deduction for dividend paid to employee stock ownership plan.",
        "label": "Effective Income Tax Rate Reconciliation, Deduction, Employee Stock Ownership Plan Dividend, Percent",
        "negatedLabel": "Employee stock plans' dividend\u00a0deduction"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationMinorityInterestIncomeExpense": {
     "auth_ref": [
      "r1288",
      "r1295"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails": {
       "order": 10.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to noncontrolling interest income (loss) exempt from income taxes.",
        "label": "Effective Income Tax Rate Reconciliation, Noncontrolling Interest Income (Loss), Percent",
        "verboseLabel": "Noncontrolling interests"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationMinorityInterestIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation": {
     "auth_ref": [
      "r1288",
      "r1295"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to depreciation.",
        "label": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Depreciation, Percent",
        "terseLabel": "Non-deductible book depreciation"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationNondeductibleExpenseDepreciation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseLeases": {
     "auth_ref": [
      "r1288",
      "r1295"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to lease expense.",
        "label": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Leases, Percent",
        "terseLabel": "Leveraged lease impairments and dispositions"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationNondeductibleExpenseLeases",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments": {
     "auth_ref": [
      "r1288",
      "r1295"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails": {
       "order": 9.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other adjustments.",
        "label": "Effective Income Tax Rate Reconciliation, Other Adjustments, Percent",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationOtherAdjustments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes": {
     "auth_ref": [
      "r1288",
      "r1295"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to revisions of previously reported income tax expense.",
        "label": "Effective Income Tax Rate Reconciliation, Prior Year Income Taxes, Percent",
        "terseLabel": "Flowback of excess deferred income taxes"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes": {
     "auth_ref": [
      "r1288",
      "r1295"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations applicable to state and local income tax expense (benefit), net of federal tax expense (benefit).",
        "label": "Effective Income Tax Rate Reconciliation, State and Local Income Taxes, Percent",
        "terseLabel": "State income tax, net of federal deduction"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ElectricTransmissionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "System used for the electrical transmission of the bulk transport of high voltage power, typically over longer distances, between generating plants and distribution systems. Typically comprised of towers, overhead conductors, underground conduits, roads and trails.",
        "label": "Electric Transmission [Member]",
        "terseLabel": "Electric Transmission"
       }
      }
     },
     "localname": "ElectricTransmissionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ElectricityPurchasedMember": {
     "auth_ref": [
      "r1196"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Electric energy purchased from another party.",
        "label": "Electricity, Purchased [Member]",
        "terseLabel": "Purchased power"
       }
      }
     },
     "localname": "ElectricityPurchasedMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "auth_ref": [
      "r751"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount",
        "terseLabel": "Unrecognized compensation cost"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r751"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "verboseLabel": "Total unrecognized compensation cost related to award, weighted average period"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense": {
     "auth_ref": [
      "r750"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax benefit for recognition of expense of award under share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Expense, Tax Benefit",
        "terseLabel": "Tax benefit of compensation cost recognized in income",
        "verboseLabel": "Total compensation cost for award recognized in income, tax benefit"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesCompensationCostsandRelatedTaxBenefitDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromExerciseOfStockOptions": {
     "auth_ref": [
      "r752"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax benefit from exercise of option under share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Exercise of Option, Tax Benefit",
        "terseLabel": "Tax benefit of options exercised"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationTaxBenefitFromExerciseOfStockOptions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONAggregateIntrinsicValueforOptionsExercisedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeStockOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
        "label": "Share-Based Payment Arrangement, Option [Member]",
        "terseLabel": "Stock Options"
       }
      }
     },
     "localname": "EmployeeStockOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EnergyRelatedDerivativeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative instrument whose primary underlying risk is tied to energy, for example, but not limited to, crude oil, electricity and natural gas.",
        "label": "Energy Related Derivative [Member]",
        "terseLabel": "Energy-related derivatives"
       }
      }
     },
     "localname": "EnergyRelatedDerivativeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails",
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EnergyRelatedInventoryNaturalGasInStorage": {
     "auth_ref": [
      "r1120"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of natural gas in storage, which is a mixture of gases (liquefied or otherwise), used for fuel and manufacturing purposes, which is ready for sale.",
        "label": "Energy Related Inventory, Natural Gas in Storage",
        "terseLabel": "Natural gas for sale"
       }
      }
     },
     "localname": "EnergyRelatedInventoryNaturalGasInStorage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EnergyRelatedInventoryOtherFossilFuel": {
     "auth_ref": [
      "r1120"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 7.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 7.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fossil fuel included in inventory classified as other.",
        "label": "Energy Related Inventory, Other Fossil Fuel",
        "verboseLabel": "Fossil fuel for generation"
       }
      }
     },
     "localname": "EnergyRelatedInventoryOtherFossilFuel",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Revenue from External Customer [Line Items]",
        "terseLabel": "Revenue from External Customer [Line Items]"
       }
      }
     },
     "localname": "EntityWideInformationRevenueFromExternalCustomerLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONElectricUtilitiesRevenuesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EnvironmentalExitCostByPropertyAxis": {
     "auth_ref": [
      "r1180",
      "r1184"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of property related to exit costs.",
        "label": "Environmental Exit Cost by Property [Axis]",
        "terseLabel": "Environmental Exit Cost by Property [Axis]"
       }
      }
     },
     "localname": "EnvironmentalExitCostByPropertyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EnvironmentalExitCostLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Environmental Exit Cost [Line Items]",
        "terseLabel": "Environmental Exit Cost [Line Items]"
       }
      }
     },
     "localname": "EnvironmentalExitCostLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EnvironmentalExitCostsNameOfPropertyDomain": {
     "auth_ref": [
      "r1180",
      "r1184"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the property being sold, disposed, or abandoned that requires remediation, site restoration, postclosure, monitoring commitments, or other exit costs as a result of unanticipated contamination of the assets.",
        "label": "Environmental Exit Costs, Name of Property [Domain]",
        "terseLabel": "Environmental Exit Costs, Name of Property [Domain]"
       }
      }
     },
     "localname": "EnvironmentalExitCostsNameOfPropertyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EnvironmentalLossContingencyCurrentStatementOfFinancialPositionExtensibleEnumeration": {
     "auth_ref": [
      "r554"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes accrual for environmental loss contingency classified as current.",
        "label": "Environmental Loss Contingency, Current, Statement of Financial Position [Extensible Enumeration]",
        "terseLabel": "Environmental Loss Contingency, Current, Statement of Financial Position [Extensible Enumeration]"
       }
      }
     },
     "localname": "EnvironmentalLossContingencyCurrentStatementOfFinancialPositionExtensibleEnumeration",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_EnvironmentalRestorationCostsMember": {
     "auth_ref": [
      "r321"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate action of a regulator resulting in capitalization or accrual of costs associated with site remediation or other environmental exit costs that may occur on the sale, disposal, abandonment or decommissioning of a property.",
        "label": "Environmental Restoration Costs [Member]",
        "terseLabel": "Environmental Remediation"
       }
      }
     },
     "localname": "EnvironmentalRestorationCostsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r142",
      "r332",
      "r377",
      "r378",
      "r379",
      "r411",
      "r412",
      "r413",
      "r416",
      "r425",
      "r428",
      "r445",
      "r495",
      "r606",
      "r753",
      "r754",
      "r755",
      "r777",
      "r778",
      "r818",
      "r845",
      "r846",
      "r847",
      "r848",
      "r849",
      "r851",
      "r898",
      "r974",
      "r975",
      "r976"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]",
        "terseLabel": "Equity Component [Domain]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAOCILossBalancesNetofTaxEffectsDetails",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentDividendsOrDistributions": {
     "auth_ref": [
      "r53",
      "r77",
      "r81",
      "r305"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of distribution received from equity method investee for return on investment, classified as operating activities. Excludes distribution for return of investment, classified as investing activities.",
        "label": "Proceeds from Equity Method Investment, Distribution",
        "terseLabel": "Dividends paid by equity method investment"
       }
      }
     },
     "localname": "EquityMethodInvestmentDividendsOrDistributions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSBalanceSheetInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis": {
     "auth_ref": [
      "r338",
      "r395",
      "r491",
      "r833"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by nonconsolidated equity method investee. Excludes information consolidated by reporting entity.",
        "label": "Equity Method Investment, Nonconsolidated Investee [Axis]",
        "terseLabel": "Equity Method Investment, Nonconsolidated Investee [Axis]"
       }
      }
     },
     "localname": "EquityMethodInvestmentNonconsolidatedInvesteeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain": {
     "auth_ref": [
      "r338",
      "r395",
      "r491",
      "r833"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nonconsolidated equity method investee. Excludes information consolidated by reporting entity.",
        "label": "Equity Method Investment, Nonconsolidated Investee [Domain]",
        "terseLabel": "Equity Method Investment, Nonconsolidated Investee [Domain]"
       }
      }
     },
     "localname": "EquityMethodInvestmentNonconsolidatedInvesteeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentOwnershipPercentage": {
     "auth_ref": [
      "r108"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting.",
        "label": "Equity Method Investment, Ownership Percentage",
        "terseLabel": "Ownership percentage, equity method investment"
       }
      }
     },
     "localname": "EquityMethodInvestmentOwnershipPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSGASEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EquityMethodInvestments": {
     "auth_ref": [
      "r107",
      "r462",
      "r1116"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": 2.0,
       "parentTag": "us-gaap_LongTermInvestments",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_LongTermInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized.",
        "label": "Equity Method Investments",
        "terseLabel": "Equity investments in unconsolidated subsidiaries"
       }
      }
     },
     "localname": "EquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSBalanceSheetInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSouthernCompanyDetails",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentsAndJointVenturesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Method Investments and Joint Ventures [Abstract]",
        "terseLabel": "Equity Method Investments and Joint Ventures [Abstract]"
       }
      }
     },
     "localname": "EquityMethodInvestmentsAndJointVenturesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityMethodInvestmentsTextBlock": {
     "auth_ref": [
      "r110"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of equity method investments including, but not limited to, name of each investee or group of investments, percentage ownership, difference between recorded amount of an investment and the value of the underlying equity in the net assets, and summarized financial information.",
        "label": "Equity Method Investments [Table Text Block]",
        "terseLabel": "Equity method investments"
       }
      }
     },
     "localname": "EquityMethodInvestmentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EquitySecuritiesMember": {
     "auth_ref": [
      "r106",
      "r293",
      "r1100",
      "r1101",
      "r1102"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ownership interest or right to acquire or dispose of ownership interest in corporations and other legal entities for which ownership interest is represented by shares of common or preferred stock, convertible securities, stock rights, or stock warrants.",
        "label": "Equity Securities [Member]",
        "terseLabel": "Equity securities"
       }
      }
     },
     "localname": "EquitySecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSInvestmentSecuritiesintheFundsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ExciseTaxesCollected": {
     "auth_ref": [
      "r51"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The excise taxes collected by a public utility and reported in revenues if the amount of excise taxes is equal to 1 percent or more of such total.",
        "label": "Excise Taxes Collected",
        "terseLabel": "Excise taxes collected"
       }
      }
     },
     "localname": "ExciseTaxesCollected",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGASParenthetical",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESIncomeandOtherTaxesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r823",
      "r824",
      "r829"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value, Recurring and Nonrecurring [Table]",
        "terseLabel": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringAndNonrecurringBasisTableTextBlock": {
     "auth_ref": [
      "r256",
      "r257"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets measured at fair value measured on a recurring or nonrecurring basis. Includes, but is not limited to, fair value measurements recorded and the reasons for the measurements, level within the fair value hierarchy in which the fair value measurements are categorized and transfers between levels 1 and 2.",
        "label": "Fair Value, Assets Measured on Recurring and Nonrecurring Basis [Table Text Block]",
        "terseLabel": "Fair value increases (decreases) of the Funds",
        "verboseLabel": "Assets and liabilities measured at fair value on a recurring basis"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSTables",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]",
        "terseLabel": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]"
       }
      }
     },
     "localname": "FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSFinancialInstrumentsCarryingAmountNotEqualtoFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTable": {
     "auth_ref": [
      "r256",
      "r259",
      "r260"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value, by Balance Sheet Grouping [Table]",
        "terseLabel": "Fair Value, by Balance Sheet Grouping [Table]"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSFinancialInstrumentsCarryingAmountNotEqualtoFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r585",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r824",
      "r906",
      "r907",
      "r908",
      "r1065",
      "r1066",
      "r1077",
      "r1078",
      "r1079"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r823",
      "r824",
      "r826",
      "r827",
      "r831"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Measurement Frequency [Axis]",
        "terseLabel": "Fair Value by Measurement Frequency [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]",
        "terseLabel": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r828"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "verboseLabel": "FAIR VALUE MEASUREMENTS"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTS"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueHedgingMember": {
     "auth_ref": [
      "r229"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A hedge of the exposure to changes in the fair value of a recognized asset or liability, or of an unrecognized firm commitment, that are attributable to a particular risk.",
        "label": "Fair Value Hedging [Member]",
        "terseLabel": "Fair Value Hedging"
       }
      }
     },
     "localname": "FairValueHedgingMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESCumulativeBasisAdjustmentsforFairValueHedgesDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r585",
      "r661",
      "r666",
      "r824",
      "r906",
      "r1077",
      "r1078",
      "r1079"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "verboseLabel": "Quoted Prices in Active Markets for Identical Assets (Level 1)"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r585",
      "r661",
      "r666",
      "r824",
      "r907",
      "r1065",
      "r1066",
      "r1077",
      "r1078",
      "r1079"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "verboseLabel": "Significant Other Observable Inputs (Level 2)"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r585",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r824",
      "r908",
      "r1065",
      "r1066",
      "r1077",
      "r1078",
      "r1079"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "verboseLabel": "Significant Unobservable Inputs (Level 3)"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareUnfundedCommittments": {
     "auth_ref": [
      "r258"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of unfunded commitments for which the entity is obligated, to those certain investments for which net asset value per share is calculated (including by unit, membership interest, or other equity (ownership interest) unit measure) (alternative investments).",
        "label": "Fair Value, Investments, Entities that Calculate Net Asset Value Per Share, Unfunded Commitments",
        "verboseLabel": "Unfunded commitments"
       }
      }
     },
     "localname": "FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareUnfundedCommittments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember": {
     "auth_ref": [
      "r661",
      "r822",
      "r831"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Measured at Net Asset Value Per Share [Member]",
        "terseLabel": "Fair Value Measured at Net Asset Value Per Share (NAV)",
        "verboseLabel": "Net Asset Value as a Practical Expedient (NAV)"
       }
      }
     },
     "localname": "FairValueMeasuredAtNetAssetValuePerShareMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasuredOnRecurringBasisGainLossIncludedInEarningsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Measured on Recurring Basis, Gain (Loss) Included in Earnings [Line Items]",
        "terseLabel": "Fair Value, Measured on Recurring Basis, Gain (Loss) Included in Earnings [Line Items]"
       }
      }
     },
     "localname": "FairValueMeasuredOnRecurringBasisGainLossIncludedInEarningsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSFairValueIncreasesDecreasesoftheFundsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueMeasuredOnRecurringBasisGainLossIncludedInEarningsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about the gain (loss) of assets and liabilities measured at fair value on a recurring basis.",
        "label": "Fair Value, Measured on Recurring Basis, Gain (Loss) Included in Earnings [Table]",
        "terseLabel": "Fair Value, Measured on Recurring Basis, Gain (Loss) Included in Earnings [Table]"
       }
      }
     },
     "localname": "FairValueMeasuredOnRecurringBasisGainLossIncludedInEarningsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSFairValueIncreasesDecreasesoftheFundsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Measurement Frequency [Domain]",
        "terseLabel": "Measurement Frequency [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for fair value measurements of financial and non-financial assets, liabilities and instruments classified in shareholders' equity. Disclosures include, but are not limited to, how an entity that manages a group of financial assets and liabilities on the basis of its net exposure measures the fair value of those assets and liabilities.",
        "label": "Fair Value Measurement, Policy [Policy Text Block]",
        "terseLabel": "Fair Value Measurement"
       }
      }
     },
     "localname": "FairValueMeasurementPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r585",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r906",
      "r907",
      "r908",
      "r1065",
      "r1066",
      "r1077",
      "r1078",
      "r1079"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "terseLabel": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r828",
      "r831"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value, Recurring [Member]",
        "terseLabel": "Recurring"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueOptionQuantitativeDisclosuresLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Option, Quantitative Disclosures [Line Items]",
        "terseLabel": "Fair Value, Option, Quantitative Disclosures [Line Items]"
       }
      }
     },
     "localname": "FairValueOptionQuantitativeDisclosuresLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueOptionQuantitativeDisclosuresTable": {
     "auth_ref": [
      "r834",
      "r835",
      "r836"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value under fair value option.",
        "label": "Fair Value Option, Disclosures [Table]",
        "terseLabel": "Fair Value Option, Disclosures [Table]"
       }
      }
     },
     "localname": "FairValueOptionQuantitativeDisclosuresTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable": {
     "auth_ref": [
      "r233",
      "r239",
      "r252"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule that discloses the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position.",
        "label": "Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table]",
        "terseLabel": "Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table]"
       }
      }
     },
     "localname": "FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESScheduleofUnrealizedGainLossRecognizedintheBalanceSheetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations": {
     "auth_ref": [
      "r396",
      "r761"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current and deferred federal tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, current and deferred national tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "Federal Income Tax Expense (Benefit), Continuing Operations",
        "totalLabel": "Total federal taxes"
       }
      }
     },
     "localname": "FederalIncomeTaxExpenseBenefitContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Income Tax Expense (Benefit), Continuing Operations [Abstract]",
        "verboseLabel": "Federal\u00a0\u2014"
       }
      }
     },
     "localname": "FederalIncomeTaxExpenseBenefitContinuingOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinanceLeaseInterestExpense": {
     "auth_ref": [
      "r863",
      "r869",
      "r1094"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESLeaseCostsDetails": {
       "order": 2.0,
       "parentTag": "so_FinanceLeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest expense on finance lease liability.",
        "label": "Finance Lease, Interest Expense",
        "terseLabel": "Interest on lease obligations"
       }
      }
     },
     "localname": "FinanceLeaseInterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseInterestPaymentOnLiability": {
     "auth_ref": [
      "r865",
      "r874"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest paid on finance lease liability.",
        "label": "Finance Lease, Interest Payment on Liability",
        "terseLabel": "Operating cash flows from finance leases"
       }
      }
     },
     "localname": "FinanceLeaseInterestPaymentOnLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESOtherInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilitiesPaymentsDueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finance Lease, Liability, to be Paid [Abstract]",
        "terseLabel": "Finance leases:"
       }
      }
     },
     "localname": "FinanceLeaseLiabilitiesPaymentsDueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinanceLeaseLiability": {
     "auth_ref": [
      "r861",
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails_1": {
       "order": 2.0,
       "parentTag": "so_LongTermDebtandFinanceLeaseObligationNet",
       "weight": 1.0
      },
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails_1": {
       "order": 2.0,
       "parentTag": "us-gaap_FinanceLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from finance lease.",
        "label": "Finance Lease, Liability",
        "terseLabel": "Finance lease obligations",
        "totalLabel": "Total finance lease obligations"
       }
      }
     },
     "localname": "FinanceLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails",
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails",
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityCurrent": {
     "auth_ref": [
      "r861"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FinanceLeaseLiability",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from finance lease, classified as current.",
        "label": "Finance Lease, Liability, Current",
        "terseLabel": "Finance lease obligations - current"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r862"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes current finance lease liability.",
        "label": "Finance Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration]",
        "terseLabel": "Finance Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration]"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_FinanceLeaseLiabilityMaturityTableTextBlock": {
     "auth_ref": [
      "r1311"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of undiscounted cash flows of finance lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to finance lease liability recognized in statement of financial position.",
        "label": "Finance Lease, Liability, Fiscal Year Maturity [Table Text Block]",
        "terseLabel": "Maturities of finance lease liabilities"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinanceLeaseLiabilityNoncurrent": {
     "auth_ref": [
      "r861"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FinanceLeaseLiability",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from finance lease, classified as noncurrent.",
        "label": "Finance Lease, Liability, Noncurrent",
        "terseLabel": "Finance lease obligations - non-current"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r862"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes noncurrent finance lease liability.",
        "label": "Finance Lease, Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration]",
        "terseLabel": "Finance Lease, Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration]"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails_1": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for finance lease.",
        "label": "Finance Lease, Liability, to be Paid",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_FinanceLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for finance lease to be paid after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finance Lease, Liability, to be Paid, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDueAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FinanceLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for finance lease to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finance Lease, Liability, to be Paid, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_FinanceLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for finance lease to be paid in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finance Lease, Liability, to be Paid, Year Five",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDueYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_FinanceLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for finance lease to be paid in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finance Lease, Liability, to be Paid, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDueYearFour",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_FinanceLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for finance lease to be paid in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finance Lease, Liability, to be Paid, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDueYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FinanceLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for finance lease to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finance Lease, Liability, to be Paid, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails_1": {
       "order": 1.0,
       "parentTag": "us-gaap_FinanceLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for finance lease.",
        "label": "Finance Lease, Liability, Undiscounted Excess Amount",
        "terseLabel": "Less: Present value discount"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityUndiscountedExcessAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeasePrincipalPayments": {
     "auth_ref": [
      "r864",
      "r874"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for principal payment on finance lease.",
        "label": "Finance Lease, Principal Payments",
        "terseLabel": "Financing cash flows from finance leases"
       }
      }
     },
     "localname": "FinanceLeasePrincipalPayments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESOtherInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseRightOfUseAsset": {
     "auth_ref": [
      "r860"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of right-of-use asset from finance lease.",
        "label": "Finance Lease, Right-of-Use Asset, after Accumulated Amortization",
        "terseLabel": "Finance lease ROU assets, net"
       }
      }
     },
     "localname": "FinanceLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseRightOfUseAssetAmortization": {
     "auth_ref": [
      "r863",
      "r869",
      "r1094"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESLeaseCostsDetails": {
       "order": 1.0,
       "parentTag": "so_FinanceLeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense attributable to right-of-use asset from finance lease.",
        "label": "Finance Lease, Right-of-Use Asset, Amortization",
        "terseLabel": "Amortization of ROU assets"
       }
      }
     },
     "localname": "FinanceLeaseRightOfUseAssetAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r862"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes finance lease right-of-use asset.",
        "label": "Finance Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration]",
        "terseLabel": "Finance Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration]"
       }
      }
     },
     "localname": "FinanceLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r877",
      "r1094"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average discount rate for finance lease calculated at point in time.",
        "label": "Finance Lease, Weighted Average Discount Rate, Percent",
        "terseLabel": "Finance leases"
       }
      }
     },
     "localname": "FinanceLeaseWeightedAverageDiscountRatePercent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESOtherInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1": {
     "auth_ref": [
      "r876",
      "r1094"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining lease term for finance lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Finance Lease, Weighted Average Remaining Lease Term",
        "terseLabel": "Finance leases"
       }
      }
     },
     "localname": "FinanceLeaseWeightedAverageRemainingLeaseTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESOtherInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r488",
      "r489",
      "r499",
      "r500",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r506",
      "r596",
      "r604",
      "r809",
      "r903",
      "r904",
      "r905",
      "r906",
      "r907",
      "r908",
      "r909",
      "r910",
      "r911",
      "r912",
      "r913",
      "r914",
      "r915",
      "r916",
      "r920",
      "r921",
      "r922",
      "r923",
      "r924",
      "r925",
      "r926",
      "r927",
      "r928",
      "r929",
      "r930",
      "r931",
      "r932",
      "r933",
      "r934",
      "r935",
      "r1060",
      "r1153",
      "r1154",
      "r1155",
      "r1331",
      "r1332",
      "r1333",
      "r1334",
      "r1335",
      "r1336",
      "r1337"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]",
        "terseLabel": "Financial Instrument [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSFairValueIncreasesDecreasesoftheFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSInvestmentSecuritiesintheFundsDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization": {
     "auth_ref": [
      "r346",
      "r527"
     ],
     "calculation": {
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Accumulated Amortization",
        "negatedTerseLabel": "Accumulated Amortization",
        "terseLabel": "Other intangible assets, amortization"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAccumulatedAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths": {
     "auth_ref": [
      "r121"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of amortization expense of assets, excluding financial assets, that lack physical substance, having a limited useful life.",
        "label": "Finite-Lived Intangible Assets Amortization Expense [Table Text Block]",
        "terseLabel": "Schedule of amortization associated with other intangible assets"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive": {
     "auth_ref": [
      "r121"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Five",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour": {
     "auth_ref": [
      "r121"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree": {
     "auth_ref": [
      "r121"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo": {
     "auth_ref": [
      "r121"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r524",
      "r526",
      "r527",
      "r529",
      "r939",
      "r943"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by major type or class of finite-lived intangible assets.",
        "label": "Finite-Lived Intangible Assets by Major Class [Axis]",
        "terseLabel": "Finite-Lived Intangible Assets by Major Class [Axis]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsByMajorClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Assets, Net, Amortization Expense, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Estimated future amortization"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsGross": {
     "auth_ref": [
      "r119",
      "r943"
     ],
     "calculation": {
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Gross",
        "terseLabel": "Gross Carrying Amount"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Finite-Lived Intangible Assets [Line Items]",
        "terseLabel": "Finite-Lived Intangible Assets [Line Items]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGoodwillandOtherIntangibleAssetsandLiabilitiesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r114",
      "r118"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The major class of finite-lived intangible asset (for example, patents, trademarks, copyrights, etc.) A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company.",
        "label": "Finite-Lived Intangible Assets, Major Class Name [Domain]",
        "terseLabel": "Finite-Lived Intangible Assets, Major Class Name [Domain]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsMajorClassNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "auth_ref": [
      "r119",
      "r939"
     ],
     "calculation": {
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Net",
        "totalLabel": "Other Intangible Assets, Net"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FixedIncomeFundsMember": {
     "auth_ref": [
      "r1220"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment that pools funds from investors to invest in a combination of underlying investments, primarily fixed income investments.",
        "label": "Fixed Income Funds [Member]",
        "terseLabel": "Pooled funds \u2013 fixed income"
       }
      }
     },
     "localname": "FixedIncomeFundsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FixedIncomeSecuritiesMember": {
     "auth_ref": [
      "r1079",
      "r1220"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment that provides a return in the form of fixed periodic payments and eventual return of principal at maturity.",
        "label": "Fixed Income Securities [Member]",
        "terseLabel": "Fixed income"
       }
      }
     },
     "localname": "FixedIncomeSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ForeignExchangeContractMember": {
     "auth_ref": [
      "r1053",
      "r1077",
      "r1093"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative instrument whose primary underlying risk is tied to foreign exchange rates.",
        "label": "Foreign Exchange Contract [Member]",
        "terseLabel": "Foreign currency derivatives"
       }
      }
     },
     "localname": "ForeignExchangeContractMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ForeignGovernmentDebtSecuritiesMember": {
     "auth_ref": [
      "r1220",
      "r1328"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt security issued by government not domiciled in United States of America (US).",
        "label": "Debt Security, Government, Non-US [Member]",
        "terseLabel": "International equity"
       }
      }
     },
     "localname": "ForeignGovernmentDebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainContingenciesByNatureAxis": {
     "auth_ref": [
      "r1185"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by nature of gain contingency.",
        "label": "Gain Contingencies, Nature [Axis]",
        "terseLabel": "Gain Contingencies, Nature [Axis]"
       }
      }
     },
     "localname": "GainContingenciesByNatureAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_GainContingencyNatureDomain": {
     "auth_ref": [
      "r1185"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes any existing condition, situation, or set of circumstances involving uncertainty as of the balance sheet date (or before issuance of the financial statements) that might result in a gain, typically reflecting care to avoid misleading implications as to the likelihood of realization.",
        "label": "Gain Contingency, Nature [Domain]",
        "terseLabel": "Gain Contingency, Nature [Domain]"
       }
      }
     },
     "localname": "GainContingencyNatureDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainContingencyUnrecordedAmount": {
     "auth_ref": [
      "r1185"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount or range of possible amounts of gain that could be realized upon the resolution of a contingency.",
        "label": "Gain Contingency, Unrecorded Amount",
        "terseLabel": "Gain contingency, unrecorded amount"
       }
      }
     },
     "localname": "GainContingencyUnrecordedAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnComponentsExcludedFromAssessmentOfForeignCurrencyCashFlowHedgeEffectiveness": {
     "auth_ref": [
      "r242"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net gain (loss) relating to components of the gain (loss) on foreign currency cash flow hedging instruments excluded from the assessment of hedge effectiveness. Recognized in earnings.",
        "label": "Gain (Loss) on Components Excluded from Assessment of Foreign Currency Cash Flow Hedge Effectiveness",
        "terseLabel": "Amount excluded from effectiveness testing recognized in earnings"
       }
      }
     },
     "localname": "GainLossOnComponentsExcludedFromAssessmentOfForeignCurrencyCashFlowHedgeEffectiveness",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnContractTermination": {
     "auth_ref": [
      "r82"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gain (loss) related to the termination of a contract between the parties. The termination may be due to many causes including early termination of a lease by a lessee, a breach of contract by one party, or a failure to perform.",
        "label": "Gain (Loss) on Contract Termination",
        "verboseLabel": "Gain (loss) on termination of leveraged leases"
       }
      }
     },
     "localname": "GainLossOnContractTermination",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnDispositionOfAssets1": {
     "auth_ref": [
      "r1132"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome": {
       "order": 5.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 5.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) on sale or disposal of assets, including but not limited to property plant and equipment, intangible assets and equity in securities of subsidiaries or equity method investee.",
        "label": "Gain (Loss) on Disposition of Assets",
        "negatedTerseLabel": "Gain on dispositions, net"
       }
      }
     },
     "localname": "GainLossOnDispositionOfAssets1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings": {
     "auth_ref": [
      "r240"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total amount of gain (loss) derived from fair value hedges recognized in earnings in the period.",
        "label": "Gain (Loss) on Fair Value Hedges Recognized in Earnings",
        "terseLabel": "Gain (loss) on foreign currency fair value hedges"
       }
      }
     },
     "localname": "GainLossOnFairValueHedgesRecognizedInEarnings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSaleOfPropertyPlantEquipment": {
     "auth_ref": [
      "r81"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) on sale or disposal of property, plant and equipment assets, including oil and gas property and timber property.",
        "label": "Gain (Loss) on Disposition of Property Plant Equipment",
        "terseLabel": "Gain on sale"
       }
      }
     },
     "localname": "GainLossOnSaleOfPropertyPlantEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralPartnerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Party to a partnership business who has unlimited liability.",
        "label": "General Partner [Member]",
        "terseLabel": "General Partner"
       }
      }
     },
     "localname": "GeneralPartnerMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Goodwill": {
     "auth_ref": [
      "r345",
      "r511",
      "r956",
      "r1062",
      "r1095",
      "r1158",
      "r1165"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_LongTermInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill",
        "terseLabel": "Goodwill",
        "verboseLabel": "Goodwill"
       }
      }
     },
     "localname": "Goodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGoodwillandOtherIntangibleAssetsandLiabilitiesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofGoodwillBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock": {
     "auth_ref": [
      "r111",
      "r116"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for goodwill and intangible assets. This accounting policy also may address how an entity assesses and measures impairment of goodwill and intangible assets.",
        "label": "Goodwill and Intangible Assets, Policy [Policy Text Block]",
        "terseLabel": "Goodwill and Other Intangible Assets and Liabilities"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillImpairmentLoss": {
     "auth_ref": [
      "r81",
      "r512",
      "r517",
      "r523",
      "r1062"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill, Impairment Loss",
        "verboseLabel": "Goodwill impairment"
       }
      }
     },
     "localname": "GoodwillImpairmentLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGoodwillandOtherIntangibleAssetsandLiabilitiesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Goodwill [Line Items]",
        "terseLabel": "Goodwill [Line Items]"
       }
      }
     },
     "localname": "GoodwillLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofGoodwillBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_GuaranteeObligationsMaximumExposure": {
     "auth_ref": [
      "r136"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum potential amount of future payments (undiscounted) the guarantor could be required to make under the guarantee or each group of similar guarantees before reduction for potential recoveries under recourse or collateralization provisions.",
        "label": "Guarantor Obligations, Maximum Exposure, Undiscounted",
        "terseLabel": "Maximum guarantee"
       }
      }
     },
     "localname": "GuaranteeObligationsMaximumExposure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HedgingDesignationAxis": {
     "auth_ref": [
      "r231",
      "r807"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by designation of purpose of derivative instrument.",
        "label": "Hedging Designation [Axis]",
        "terseLabel": "Hedging Designation [Axis]"
       }
      }
     },
     "localname": "HedgingDesignationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HedgingDesignationDomain": {
     "auth_ref": [
      "r231"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designation of purpose of derivative instrument.",
        "label": "Hedging Designation [Domain]",
        "terseLabel": "Hedging Designation [Domain]"
       }
      }
     },
     "localname": "HedgingDesignationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HedgingRelationshipDomain": {
     "auth_ref": [
      "r231"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nature or intent of a hedge.",
        "label": "Hedging Relationship [Domain]",
        "terseLabel": "Hedging Relationship [Domain]"
       }
      }
     },
     "localname": "HedgingRelationshipDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESCumulativeBasisAdjustmentsforFairValueHedgesDetails",
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESForeignCurrencyDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock": {
     "auth_ref": [
      "r124",
      "r131"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for recognizing and measuring the impairment of long-lived assets. An entity also may disclose its accounting policy for long-lived assets to be sold. This policy excludes goodwill and intangible assets.",
        "label": "Impairment or Disposal of Long-Lived Assets, Policy [Policy Text Block]",
        "verboseLabel": "Impairment of Long-Lived Assets"
       }
      }
     },
     "localname": "ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r52",
      "r273",
      "r284",
      "r307",
      "r461",
      "r466",
      "r472",
      "r475",
      "r961",
      "r1059"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "terseLabel": "Earnings Before Income Taxes",
        "totalLabel": "Earnings Before Income Taxes"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromEquityMethodInvestments": {
     "auth_ref": [
      "r53",
      "r81",
      "r107",
      "r283",
      "r305",
      "r458"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 4.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) for proportionate share of equity method investee's income (loss).",
        "label": "Income (Loss) from Equity Method Investments",
        "terseLabel": "Earnings from equity method investments"
       }
      }
     },
     "localname": "IncomeLossFromEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSIncomeStatementInformationDetails",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]",
        "terseLabel": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis": {
     "auth_ref": [
      "r1081",
      "r1084"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of disposal group.",
        "label": "Disposal Group Name [Axis]",
        "terseLabel": "Disposal Group Name [Axis]"
       }
      }
     },
     "localname": "IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r531",
      "r544"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location in the income statement.",
        "label": "Income Statement Location [Axis]",
        "terseLabel": "Income Statement Location [Axis]"
       }
      }
     },
     "localname": "IncomeStatementLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESIncomeandOtherTaxesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [
      "r544"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]",
        "terseLabel": "Income Statement Location [Domain]"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESIncomeandOtherTaxesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxAuthorityAxis": {
     "auth_ref": [
      "r182"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by tax jurisdiction.",
        "label": "Income Tax Authority [Axis]",
        "terseLabel": "Income Tax Authority [Axis]"
       }
      }
     },
     "localname": "IncomeTaxAuthorityAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxAuthorityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agency, division or body classification that levies income taxes, examines tax returns for compliance, or grants exemptions from or makes other decisions pertaining to income taxes.",
        "label": "Income Tax Authority [Domain]",
        "terseLabel": "Income Tax Authority [Domain]"
       }
      }
     },
     "localname": "IncomeTaxAuthorityDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxContingencyLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Income Tax Contingency [Line Items]",
        "terseLabel": "Income Tax Disclosure [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxContingencyLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESAmortizationofDeferredCreditsDetails",
      "http://southerncompany.com/role/INCOMETAXESChangesinUnrecognizedTaxBenefitsDetails",
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails",
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxContingencyTable": {
     "auth_ref": [
      "r183",
      "r184",
      "r185",
      "r191"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about tax positions taken in the tax returns filed or to be filed for which it is more likely than not that the tax position will not be sustained upon examination by taxing authorities and other income tax contingencies. Includes, but is not limited to, interest and penalties, reconciliation of unrecognized tax benefits, unrecognized tax benefits that would affect the effective tax rate, tax years that remain subject to examination by tax jurisdictions, and information about positions for which it is reasonably possible that amounts unrecognized will significantly change within 12 months.",
        "label": "Income Tax Contingency [Table]",
        "terseLabel": "Income Tax Disclosure [Table]"
       }
      }
     },
     "localname": "IncomeTaxContingencyTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESAmortizationofDeferredCreditsDetails",
      "http://southerncompany.com/role/INCOMETAXESChangesinUnrecognizedTaxBenefitsDetails",
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails",
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/INCOMETAXESReconciliationofFederalStatutoryIncomeTaxRateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]",
        "terseLabel": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r397",
      "r763",
      "r766",
      "r772",
      "r779",
      "r784",
      "r786",
      "r787",
      "r788"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Tax Disclosure [Text Block]",
        "verboseLabel": "INCOME TAXES"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXES"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExaminationEstimateOfPossibleLoss": {
     "auth_ref": [
      "r181"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated amount of loss resulting from an adverse tax position.",
        "label": "Income Tax Examination, Estimate of Possible Loss",
        "terseLabel": "Estimate of possible loss"
       }
      }
     },
     "localname": "IncomeTaxExaminationEstimateOfPossibleLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r398",
      "r427",
      "r428",
      "r459",
      "r761",
      "r780",
      "r785",
      "r970"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      },
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "terseLabel": "Income taxes (benefit)",
        "totalLabel": "Income taxes"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSGASEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefitContinuingOperationsByJurisdictionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Expense (Benefit), Continuing Operations, by Jurisdiction [Abstract]",
        "verboseLabel": "Details of income tax provisions"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefitContinuingOperationsByJurisdictionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r376",
      "r757",
      "r758",
      "r766",
      "r767",
      "r771",
      "r774"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
        "label": "Income Tax, Policy [Policy Text Block]",
        "verboseLabel": "Income Taxes and Other Taxes"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxReconciliationTaxCreditsInvestment": {
     "auth_ref": [
      "r1288"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to investment tax credit.",
        "label": "Effective Income Tax Rate Reconciliation, Tax Credit, Investment, Amount",
        "terseLabel": "Reduction in income tax expense, investment tax credits"
       }
      }
     },
     "localname": "IncomeTaxReconciliationTaxCreditsInvestment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "auth_ref": [
      "r85"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes.",
        "label": "Income Taxes Paid, Net",
        "terseLabel": "Income taxes, net"
       }
      }
     },
     "localname": "IncomeTaxesPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesReceivableNoncurrent": {
     "auth_ref": [
      "r292",
      "r1118"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": 3.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount due after one year of the balance sheet date (or one operating cycle, if longer) from tax authorities as of the balance sheet date representing refunds of overpayments or recoveries based on agreed-upon resolutions of disputes.",
        "label": "Income Taxes Receivable, Noncurrent",
        "terseLabel": "Income taxes receivable, non-current"
       }
      }
     },
     "localname": "IncomeTaxesReceivableNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayable": {
     "auth_ref": [
      "r80"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business.",
        "label": "Increase (Decrease) in Accounts Payable",
        "verboseLabel": "-Accounts payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInContractWithCustomerLiability": {
     "auth_ref": [
      "r937",
      "r1131"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in obligation to transfer good or service to customer for which consideration has been received or is receivable.",
        "label": "Increase (Decrease) in Contract with Customer, Liability",
        "negatedLabel": "Reduction of over-collected fuel balance"
       }
      }
     },
     "localname": "IncreaseDecreaseInContractWithCustomerLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateECRDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInFossilFuelInventories": {
     "auth_ref": [
      "r80"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 19.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the value of fossil fuel held in inventory.",
        "label": "Increase (Decrease) in Fossil Fuel Inventories",
        "negatedLabel": "-Fossil fuel for generation",
        "negatedTerseLabel": "-Fossil fuel for generation"
       }
      }
     },
     "localname": "IncreaseDecreaseInFossilFuelInventories",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInIncomeTaxesReceivable": {
     "auth_ref": [
      "r80"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in income taxes receivable, which represents the amount due from tax authorities for refunds of overpayments or recoveries of income taxes paid.",
        "label": "Increase (Decrease) in Income Taxes Receivable",
        "negatedTerseLabel": "Income taxes receivable, non-current"
       }
      }
     },
     "localname": "IncreaseDecreaseInIncomeTaxesReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInMaterialsAndSupplies": {
     "auth_ref": [
      "r1131"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 21.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the period in the carrying amount of capitalized costs of materials, supplies, or both, which are not included in inventory.",
        "label": "Increase (Decrease) in Materials and Supplies",
        "negatedTerseLabel": "-Materials and supplies"
       }
      }
     },
     "localname": "IncreaseDecreaseInMaterialsAndSupplies",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Operating Capital [Abstract]",
        "verboseLabel": "Changes in certain current assets and liabilities \u2014"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingAssets": {
     "auth_ref": [
      "r80"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating assets classified as other.",
        "label": "Increase (Decrease) in Other Operating Assets",
        "negatedLabel": "-Other current assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingLiabilities": {
     "auth_ref": [
      "r80"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 23.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 19.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating liabilities classified as other.",
        "label": "Increase (Decrease) in Other Operating Liabilities",
        "verboseLabel": "-Other current liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInPrepaidTaxes": {
     "auth_ref": [
      "r80"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) of consideration paid in advance for income and other taxes that provide economic benefits in future periods.",
        "label": "Increase (Decrease) in Prepaid Taxes",
        "negatedLabel": "-Prepaid income taxes"
       }
      }
     },
     "localname": "IncreaseDecreaseInPrepaidTaxes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInReceivables": {
     "auth_ref": [
      "r80"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the total amount due within one year (or one operating cycle) from all parties, associated with underlying transactions that are classified as operating activities.",
        "label": "Increase (Decrease) in Receivables",
        "negatedLabel": "-Receivables"
       }
      }
     },
     "localname": "IncreaseDecreaseInReceivables",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInRegulatoryClauseRevenue": {
     "auth_ref": [
      "r80"
     ],
     "calculation": {
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in unrecovered fuel costs for a regulated utility company.",
        "label": "Increase (Decrease) in Regulatory Clause Revenue",
        "terseLabel": "-Over recovered regulatory clause revenues"
       }
      }
     },
     "localname": "IncreaseDecreaseInRegulatoryClauseRevenue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Increase (Decrease) in Stockholders' Equity [Roll Forward]",
        "verboseLabel": "Increase (Decrease) in Stockholders' Equity [Roll Forward]"
       }
      }
     },
     "localname": "IncreaseDecreaseInStockholdersEquityRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements": {
     "auth_ref": [
      "r434",
      "r435",
      "r436",
      "r442",
      "r723"
     ],
     "calculation": {
      "http://southerncompany.com/role/FINANCINGDilutedEarningsPerShareDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of share based payment arrangements using the treasury stock method.",
        "label": "Incremental Common Shares Attributable to Dilutive Effect of Share-Based Payment Arrangements",
        "terseLabel": "Effect of stock-based compensation (in shares)"
       }
      }
     },
     "localname": "IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r525",
      "r528"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type or class of assets, excluding financial assets and goodwill, lacking physical substance and having a projected indefinite period of benefit.",
        "label": "Indefinite-Lived Intangible Assets [Axis]",
        "terseLabel": "Indefinite-lived Intangible Assets [Axis]"
       }
      }
     },
     "localname": "IndefiniteLivedIntangibleAssetsByMajorClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r115",
      "r122"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The major class of indefinite-lived intangible asset (for example, trade names, etc. but not all-inclusive), excluding goodwill. A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of the company.",
        "label": "Indefinite-Lived Intangible Assets, Major Class Name [Domain]",
        "terseLabel": "Indefinite-lived Intangible Assets, Major Class Name [Domain]"
       }
      }
     },
     "localname": "IndefiniteLivedIntangibleAssetsMajorClassNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IntangibleAssetsGrossExcludingGoodwill": {
     "auth_ref": [
      "r345"
     ],
     "calculation": {
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IntangibleAssetsNetExcludingGoodwill",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated amortization of intangible assets, excluding goodwill.",
        "label": "Intangible Assets, Gross (Excluding Goodwill)",
        "terseLabel": "Intangible assets, gross"
       }
      }
     },
     "localname": "IntangibleAssetsGrossExcludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IntangibleAssetsNetExcludingGoodwill": {
     "auth_ref": [
      "r112",
      "r117"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 4.0,
       "parentTag": "us-gaap_LongTermInvestments",
       "weight": 1.0
      },
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.",
        "label": "Intangible Assets, Net (Excluding Goodwill)",
        "terseLabel": "Other intangible assets, net of amortization",
        "totalLabel": "Intangible assets, net"
       }
      }
     },
     "localname": "IntangibleAssetsNetExcludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IntangibleAssetsNetIncludingGoodwill": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": 1.0,
       "parentTag": "us-gaap_LongTermInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount of finite-lived intangible assets, indefinite-lived intangible assets and goodwill. Goodwill is an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. Intangible assets are assets, not including financial assets, lacking physical substance.",
        "label": "Intangible Assets, Net (Including Goodwill)",
        "terseLabel": "Intangible assets, net of amortization of $129 and $109, respectively"
       }
      }
     },
     "localname": "IntangibleAssetsNetIncludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDebtExpense": {
     "auth_ref": [
      "r264"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest and debt related expenses associated with nonoperating financing activities of the entity.",
        "label": "Interest and Debt Expense",
        "negatedLabel": "Interest expense, net of amounts capitalized",
        "terseLabel": "Interest expense"
       }
      }
     },
     "localname": "InterestAndDebtExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseMember": {
     "auth_ref": [
      "r245"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing interest expense.",
        "label": "Interest Expense [Member]",
        "terseLabel": "Interest Expense"
       }
      }
     },
     "localname": "InterestExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestPaidCapitalized": {
     "auth_ref": [
      "r1055",
      "r1133"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest capitalized, classified as investing activity.",
        "label": "Interest Paid, Capitalized, Investing Activities",
        "verboseLabel": "Net cash paid for capitalized interest"
       }
      }
     },
     "localname": "InterestPaidCapitalized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthernParenthetical",
      "http://southerncompany.com/role/StatementsofCashFlowsAPCParenthetical",
      "http://southerncompany.com/role/StatementsofCashFlowsGPCParenthetical",
      "http://southerncompany.com/role/StatementsofCashFlowsMPCParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r386",
      "r390",
      "r391"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "verboseLabel": "Interest, net of amounts capitalized"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrent": {
     "auth_ref": [
      "r25"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 7.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 7.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of [accrued] interest payable on all forms of debt, including trade payables, that has been incurred and is unpaid. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Interest Payable, Current",
        "verboseLabel": "Accrued interest"
       }
      }
     },
     "localname": "InterestPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet": {
     "auth_ref": [
      "r254"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated net amount of unrealized gains or losses on interest rate cash flow hedges as of the balance sheet date expected to be reclassified to earnings within the next twelve months.",
        "label": "Interest Rate Cash Flow Hedge Gain (Loss) to be Reclassified During Next 12 Months, Net",
        "terseLabel": "Estimated pre-tax gains (losses) that will be reclassified from OCI to interest expense for the next 12-month period"
       }
      }
     },
     "localname": "InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateContractMember": {
     "auth_ref": [
      "r1053",
      "r1077",
      "r1092"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative instrument whose primary underlying risk is tied to the right to receive or pay a sum of money at a given interest rate.",
        "label": "Interest Rate Contract [Member]",
        "terseLabel": "Interest rate derivatives"
       }
      }
     },
     "localname": "InterestRateContractMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESInterestRateDerivativesDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IntersegmentEliminationMember": {
     "auth_ref": [
      "r453",
      "r465",
      "r466",
      "r467",
      "r468",
      "r469",
      "r471",
      "r475"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eliminating entries used in operating segment consolidation.",
        "label": "Intersegment Eliminations [Member]",
        "terseLabel": "Intersegment Eliminations"
       }
      }
     },
     "localname": "IntersegmentEliminationMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InventoryCurrentTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about inventory expected to be sold or consumed within one year or operating cycle, if longer.",
        "label": "Inventory, Current [Table]",
        "terseLabel": "Inventory, Current [Table]"
       }
      }
     },
     "localname": "InventoryCurrentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNaturalGasforSaleNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InventoryLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Inventory [Line Items]",
        "terseLabel": "Inventory [Line Items]"
       }
      }
     },
     "localname": "InventoryLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNaturalGasforSaleNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InventoryNet": {
     "auth_ref": [
      "r356",
      "r1043",
      "r1095"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.",
        "label": "Inventory, Net",
        "terseLabel": "Estimated replacement cost of inventory"
       }
      }
     },
     "localname": "InventoryNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNaturalGasforSaleNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCreditMember": {
     "auth_ref": [
      "r189"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment tax credit carryforwards arising from certain qualifying capital expenditures including, but not limited to, rehabilitation, energy, advanced coal project and gasification project.",
        "label": "Investment Tax Credit Carryforward [Member]",
        "terseLabel": "ITC and PTC carryforwards"
       }
      }
     },
     "localname": "InvestmentCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESDeferredTaxAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/INCOMETAXESFederalITCPTCCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentIncomeInterestAndDividend": {
     "auth_ref": [
      "r59"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accretion (amortization) of purchase discount (premium) of interest income and dividend income on nonoperating securities.",
        "label": "Investment Income, Interest and Dividend",
        "verboseLabel": "Interest income"
       }
      }
     },
     "localname": "InvestmentIncomeInterestAndDividend",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentTaxCredit": {
     "auth_ref": [
      "r82"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 22.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount deducted from an entities' taxes, reflecting a percentage of an amount invested in certain assets spread over the useful life of those assets; includes deferred investment tax credits.",
        "label": "Investment Tax Credit",
        "terseLabel": "Utilization of federal investment tax credits"
       }
      }
     },
     "localname": "InvestmentTaxCredit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentTypeAxis": {
     "auth_ref": [
      "r984",
      "r985",
      "r986",
      "r987",
      "r988",
      "r989",
      "r990",
      "r991",
      "r992",
      "r993",
      "r995",
      "r997",
      "r998",
      "r999",
      "r1000"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of investments.",
        "label": "Investment Type [Axis]",
        "terseLabel": "Investment Type [Axis]"
       }
      }
     },
     "localname": "InvestmentTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r984",
      "r985",
      "r986",
      "r987",
      "r988",
      "r989",
      "r990",
      "r991",
      "r992",
      "r993",
      "r995",
      "r997",
      "r998",
      "r999",
      "r1000"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset obtained to generate income or appreciate in value.",
        "label": "Investments [Domain]",
        "terseLabel": "Investments [Domain]"
       }
      }
     },
     "localname": "InvestmentTypeCategorizationMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_JointlyOwnedUtilityPlantAxis": {
     "auth_ref": [
      "r318"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of jointly owned utility plant.",
        "label": "Jointly Owned Utility Plant [Axis]",
        "terseLabel": "Jointly Owned Utility Plant [Axis]"
       }
      }
     },
     "localname": "JointlyOwnedUtilityPlantAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails",
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_JointlyOwnedUtilityPlantDomain": {
     "auth_ref": [
      "r317"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Types of a jointly owned utility plant.",
        "label": "Jointly Owned Utility Plant [Domain]",
        "terseLabel": "Jointly Owned Utility Plant [Domain]"
       }
      }
     },
     "localname": "JointlyOwnedUtilityPlantDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails",
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_JointlyOwnedUtilityPlantGrossOwnershipAmountOfPlantInService": {
     "auth_ref": [
      "r318"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The period end amount owned by the reporting utility of a jointly owned utility plant in service.",
        "label": "Jointly Owned Utility Plant, Gross Ownership Amount of Plant in Service",
        "terseLabel": "Plant in Service"
       }
      }
     },
     "localname": "JointlyOwnedUtilityPlantGrossOwnershipAmountOfPlantInService",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_JointlyOwnedUtilityPlantInterestsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Jointly Owned Utility Plant Interests [Line Items]",
        "terseLabel": "Jointly Owned Utility Plant Interests [Line Items]",
        "verboseLabel": "Jointly Owned Utility Plant Interests [Line Items]"
       }
      }
     },
     "localname": "JointlyOwnedUtilityPlantInterestsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_JointlyOwnedUtilityPlantInterestsTable": {
     "auth_ref": [
      "r318"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Detailed information about jointly owned utility plants.",
        "label": "Jointly Owned Utility Plant Interests [Table]",
        "terseLabel": "Jointly Owned Utility Plant Interests [Table]"
       }
      }
     },
     "localname": "JointlyOwnedUtilityPlantInterestsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_JointlyOwnedUtilityPlantOwnershipAmountOfConstructionWorkInProgress": {
     "auth_ref": [
      "r318"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The period end amount of construction work in progress at a jointly owned electricity generation plant.",
        "label": "Jointly Owned Utility Plant, Ownership Amount of Construction Work in Progress",
        "terseLabel": "CWIP"
       }
      }
     },
     "localname": "JointlyOwnedUtilityPlantOwnershipAmountOfConstructionWorkInProgress",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_JointlyOwnedUtilityPlantOwnershipAmountOfPlantAccumulatedDepreciation": {
     "auth_ref": [
      "r318"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The period end amount of accumulated depreciation in a jointly owned electricity generation plant.",
        "label": "Jointly Owned Utility Plant, Ownership Amount of Plant Accumulated Depreciation",
        "terseLabel": "Accumulated Depreciation"
       }
      }
     },
     "localname": "JointlyOwnedUtilityPlantOwnershipAmountOfPlantAccumulatedDepreciation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_JointlyOwnedUtilityPlantProportionateOwnershipShare": {
     "auth_ref": [
      "r318"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The proportionate share of interest (percent) in a jointly owned utility plant.",
        "label": "Jointly Owned Utility Plant, Proportionate Ownership Share",
        "terseLabel": "Percent Ownership",
        "verboseLabel": "Percent ownership"
       }
      }
     },
     "localname": "JointlyOwnedUtilityPlantProportionateOwnershipShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails",
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTJointOwnershipAgreementsNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCAccountingOrdersandPlantGreeneCountyDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_JuniorSubordinatedDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowing that has a lower priority than senior instruments in event of liquidation of the entity's assets.",
        "label": "Junior Subordinated Debt [Member]",
        "terseLabel": "Junior subordinated notes"
       }
      }
     },
     "localname": "JuniorSubordinatedDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGEquityUnitsDetails",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LIFOInventoryAmount": {
     "auth_ref": [
      "r1049"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of LIFO (last in first out) inventory present at the reporting date when inventory is also valued using different valuation methods.",
        "label": "LIFO Inventory Amount",
        "terseLabel": "LIFO inventory balance"
       }
      }
     },
     "localname": "LIFOInventoryAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNaturalGasforSaleNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LandAndBuildingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Real estate held for productive use and structures used in the conduct of business, including but not limited to, office, production, storage and distribution facilities.",
        "label": "Land and Building [Member]",
        "terseLabel": "Real estate/land"
       }
      }
     },
     "localname": "LandAndBuildingMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LandMember": {
     "auth_ref": [
      "r1196"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Part of earth's surface not covered by water.",
        "label": "Land [Member]",
        "terseLabel": "Land"
       }
      }
     },
     "localname": "LandMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LeaseCost": {
     "auth_ref": [
      "r878",
      "r1094"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESLeaseCostsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease cost recognized by lessee for lease contract.",
        "label": "Lease, Cost",
        "totalLabel": "Total lease cost"
       }
      }
     },
     "localname": "LeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseCostAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease, Cost [Abstract]",
        "terseLabel": "Lease cost"
       }
      }
     },
     "localname": "LeaseCostAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseCostsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LeaseCostTableTextBlock": {
     "auth_ref": [
      "r1310"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income.",
        "label": "Lease, Cost [Table Text Block]",
        "terseLabel": "Lease costs and other information"
       }
      }
     },
     "localname": "LeaseCostTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LeaseIncome": {
     "auth_ref": [
      "r889"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease income from operating, direct financing, and sales-type leases. Includes, but is not limited to, variable lease payments, interest income, profit (loss) recognized at commencement, and lease payments paid and payable to lessor.",
        "label": "Lease Income",
        "totalLabel": "Total lease income"
       }
      }
     },
     "localname": "LeaseIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeasesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases [Abstract]",
        "terseLabel": "Leases [Abstract]"
       }
      }
     },
     "localname": "LeasesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LegalMattersAndContingenciesTextBlock": {
     "auth_ref": [
      "r133"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for legal proceedings, legal contingencies, litigation, regulatory and environmental matters and other contingencies.",
        "label": "Legal Matters and Contingencies [Text Block]",
        "terseLabel": "CONTINGENCIES, COMMITMENTS, AND GUARANTEES"
       }
      }
     },
     "localname": "LegalMattersAndContingenciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEES"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee Disclosure [Abstract]",
        "terseLabel": "Other information",
        "verboseLabel": "Maturity Analysis"
       }
      }
     },
     "localname": "LesseeDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails",
      "http://southerncompany.com/role/LEASESOtherInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeFinanceLeasesTextBlock": {
     "auth_ref": [
      "r880"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for finance leases of lessee. Includes, but is not limited to, description of lessee's finance lease and maturity analysis of finance lease liability.",
        "label": "Lessee, Finance Leases [Text Block]",
        "terseLabel": "LEASES"
       }
      }
     },
     "localname": "LesseeFinanceLeasesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASES"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeLeaseDescriptionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Lessee, Lease, Description [Line Items]",
        "terseLabel": "Lessee, Lease, Description [Line Items]"
       }
      }
     },
     "localname": "LesseeLeaseDescriptionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails",
      "http://southerncompany.com/role/LEASESLeaseCostsDetails",
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails",
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails",
      "http://southerncompany.com/role/LEASESOtherInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeLeaseDescriptionTable": {
     "auth_ref": [
      "r868"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about lessee's leases.",
        "label": "Lessee, Lease, Description [Table]",
        "terseLabel": "Lessee, Lease, Description [Table]"
       }
      }
     },
     "localname": "LesseeLeaseDescriptionTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails",
      "http://southerncompany.com/role/LEASESLeaseCostsDetails",
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails",
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails",
      "http://southerncompany.com/role/LEASESOtherInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "auth_ref": [
      "r1311"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position.",
        "label": "Lessee, Operating Lease, Liability, Maturity [Table Text Block]",
        "terseLabel": "Maturities of operating lease liabilities"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails_1": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease.",
        "label": "Lessee, Operating Lease, Liability, to be Paid",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease due after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Five",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails_1": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for operating lease.",
        "label": "Lessee, Operating Lease, Liability, Undiscounted Excess Amount",
        "terseLabel": "Less: Present value discount"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseRemainingLeaseTerm": {
     "auth_ref": [
      "r1309"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Remaining lease term of operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Lessee, Operating Lease, Remaining Lease Term",
        "terseLabel": "Operating lease remaining lease term"
       }
      }
     },
     "localname": "LesseeOperatingLeaseRemainingLeaseTerm",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_LesseeOperatingLeasesTextBlock": {
     "auth_ref": [
      "r880"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for operating leases of lessee. Includes, but is not limited to, description of operating lease and maturity analysis of operating lease liability.",
        "label": "Lessee, Operating Leases [Text Block]",
        "terseLabel": "LEASES"
       }
      }
     },
     "localname": "LesseeOperatingLeasesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASES"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LessorLeaseDescriptionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Lessor, Lease, Description [Line Items]",
        "terseLabel": "Lessor, Lease, Description [Line Items]"
       }
      }
     },
     "localname": "LessorLeaseDescriptionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LessorLeaseDescriptionTable": {
     "auth_ref": [
      "r885"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about lessor's leases.",
        "label": "Lessor, Lease, Description [Table]",
        "terseLabel": "Lessor, Lease, Description [Table]"
       }
      }
     },
     "localname": "LessorLeaseDescriptionTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsFiscalYearMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessor, Operating Lease, Payments to be Received, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Lessor, Operating Lease, Payments, Fiscal Year Maturity [Abstract]"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsFiscalYearMaturityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceived": {
     "auth_ref": [
      "r884"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease payments to be received by lessor for operating lease.",
        "label": "Lessor, Operating Lease, Payments to be Received",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceived",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears": {
     "auth_ref": [
      "r884"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_LessorOperatingLeasePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease payment to be received by lessor for operating lease in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessor, Operating Lease, Payment to be Received, Year Five",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedFiveYears",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears": {
     "auth_ref": [
      "r884"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_LessorOperatingLeasePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease payment to be received by lessor for operating lease in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessor, Operating Lease, Payment to be Received, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedFourYears",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock": {
     "auth_ref": [
      "r1314"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturity of undiscounted cash flows to be received by lessor on annual basis for operating lease.",
        "label": "Lessor, Operating Lease, Payment to be Received, Fiscal Year Maturity [Table Text Block]",
        "terseLabel": "Undiscounted cash flows to be received under PPAs accounted for as operating leases"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths": {
     "auth_ref": [
      "r884"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LessorOperatingLeasePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease payment to be received by lessor for operating lease in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessor, Operating Lease, Payment to be Received, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter": {
     "auth_ref": [
      "r884"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_LessorOperatingLeasePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease payment to be received by lessor for operating lease after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessor, Operating Lease, Payment to be Received, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedThereafter",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears": {
     "auth_ref": [
      "r884"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LessorOperatingLeasePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease payment to be received by lessor for operating lease in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessor, Operating Lease, Payment to be Received, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedThreeYears",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears": {
     "auth_ref": [
      "r884"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LessorOperatingLeasePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease payment to be received by lessor for operating lease in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessor, Operating Lease, Payment to be Received, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedTwoYears",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderPPAsAccountedforasOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeaseTermOfContract": {
     "auth_ref": [
      "r1315"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term of lessor's operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Lessor, Operating Lease, Term of Contract",
        "terseLabel": "Lessor, lease term, operating lease"
       }
      }
     },
     "localname": "LessorOperatingLeaseTermOfContract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_LessorSalesTypeLeaseTermOfContract1": {
     "auth_ref": [
      "r1315"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term of lessor's sales-type lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Lessor, Sales-type Lease, Term of Contract",
        "terseLabel": "Lessor, sales-type lease, term of contract"
       }
      }
     },
     "localname": "LessorSalesTypeLeaseTermOfContract1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_LessorSalesTypeLeasesTextBlock": {
     "auth_ref": [
      "r891"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of lessor's sales-type leases.",
        "label": "Lessor, Sales-type Leases [Text Block]",
        "terseLabel": "LEASES"
       }
      }
     },
     "localname": "LessorSalesTypeLeasesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASES"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LeveragedLeasesIncomeStatementIncomeFromLeveragedLeases": {
     "auth_ref": [
      "r329",
      "r892"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESSummaryoftheComponentsofIncomefromLeveragedLeasesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LeveragedLeasesIncomeStatementNetIncomeFromLeveragedLeases",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pretax lease income allocated in proportionate amounts from unearned income.",
        "label": "Leveraged Leases, Income Statement, Income from Leveraged Leases",
        "terseLabel": "Pretax leveraged lease income (loss)"
       }
      }
     },
     "localname": "LeveragedLeasesIncomeStatementIncomeFromLeveragedLeases",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESSummaryoftheComponentsofIncomefromLeveragedLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeveragedLeasesIncomeStatementIncomeTaxExpenseOnLeveragedLeases": {
     "auth_ref": [
      "r329",
      "r892"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESSummaryoftheComponentsofIncomefromLeveragedLeasesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LeveragedLeasesIncomeStatementNetIncomeFromLeveragedLeases",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tax effect from the current year income from arrangements meeting the criteria for classification as a leveraged lease.",
        "label": "Leveraged Leases, Income Statement, Income Tax Expense on Leveraged Leases",
        "negatedLabel": "Income tax benefit (expense)"
       }
      }
     },
     "localname": "LeveragedLeasesIncomeStatementIncomeTaxExpenseOnLeveragedLeases",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESSummaryoftheComponentsofIncomefromLeveragedLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeveragedLeasesIncomeStatementInvestmentTaxCreditRecognizedOnLeveragedLeases": {
     "auth_ref": [
      "r329",
      "r892"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment tax credit recognized as income.",
        "label": "Leveraged Leases, Income Statement, Investment Tax Credit Recognized on Leveraged Leases",
        "terseLabel": "Leveraged leases, income tax benefits"
       }
      }
     },
     "localname": "LeveragedLeasesIncomeStatementInvestmentTaxCreditRecognizedOnLeveragedLeases",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeveragedLeasesIncomeStatementNetIncomeFromLeveragedLeases": {
     "auth_ref": [
      "r329",
      "r892",
      "r1132"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESSummaryoftheComponentsofIncomefromLeveragedLeasesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total recognized during the period for income on leases meeting the criteria for classification as leveraged leases.",
        "label": "Leveraged Leases, Income (Loss)",
        "totalLabel": "Net leveraged lease income (loss)"
       }
      }
     },
     "localname": "LeveragedLeasesIncomeStatementNetIncomeFromLeveragedLeases",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESSummaryoftheComponentsofIncomefromLeveragedLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r24",
      "r395",
      "r491",
      "r558",
      "r559",
      "r561",
      "r562",
      "r563",
      "r565",
      "r567",
      "r569",
      "r570",
      "r797",
      "r801",
      "r802",
      "r833",
      "r1058",
      "r1187",
      "r1319",
      "r1320"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "terseLabel": "Liabilities",
        "totalLabel": "Total Liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r17",
      "r281",
      "r301",
      "r1095",
      "r1136",
      "r1156",
      "r1306"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "terseLabel": "Total Liabilities and Stockholders' Equity",
        "totalLabel": "Total Liabilities and Stockholders' Equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities and Equity [Abstract]",
        "verboseLabel": "Liabilities and Stockholders' Equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesCurrent": {
     "auth_ref": [
      "r26",
      "r340",
      "r395",
      "r491",
      "r558",
      "r559",
      "r561",
      "r562",
      "r563",
      "r565",
      "r567",
      "r569",
      "r570",
      "r797",
      "r801",
      "r802",
      "r833",
      "r1095",
      "r1187",
      "r1319",
      "r1320"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
        "label": "Liabilities, Current",
        "terseLabel": "Total current liabilities",
        "totalLabel": "Total current liabilities"
       }
      }
     },
     "localname": "LiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Current [Abstract]",
        "verboseLabel": "Current Liabilities:"
       }
      }
     },
     "localname": "LiabilitiesCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesFairValueDisclosure": {
     "auth_ref": [
      "r256"
     ],
     "calculation": {
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial and nonfinancial obligations.",
        "label": "Liabilities, Fair Value Disclosure",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "LiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesFairValueDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Fair Value Disclosure [Abstract]",
        "verboseLabel": "Liabilities:"
       }
      }
     },
     "localname": "LiabilitiesFairValueDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilityForCatastropheClaimsByCatastrophicEventAxis": {
     "auth_ref": [
      "r310"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of catastrophic event, for example, but not limited to, earthquake, windstorm, fire or explosion.",
        "label": "Catastrophic Event [Axis]",
        "terseLabel": "Catastrophic Event [Axis]"
       }
      }
     },
     "localname": "LiabilityForCatastropheClaimsByCatastrophicEventAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilityForCatastropheClaimsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Liability for Catastrophe Claims [Line Items]",
        "terseLabel": "Liability for Catastrophe Claims [Line Items]"
       }
      }
     },
     "localname": "LiabilityForCatastropheClaimsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilityForCatastropheClaimsTable": {
     "auth_ref": [
      "r310"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes and quantifies an unexpected natural or man-made disaster of substantial extent causing significant physical damage or destruction, loss of life or sometimes permanent change to the natural environment, such as earthquake, windstorm, fire, explosion.",
        "label": "Liability for Catastrophe Claims [Table]",
        "terseLabel": "Liability for Catastrophe Claims [Table]"
       }
      }
     },
     "localname": "LiabilityForCatastropheClaimsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNet": {
     "auth_ref": [
      "r289",
      "r308",
      "r309"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Liability as of the balance sheet date for amounts representing estimated cost of settling unpaid claims under the terms of the underlying insurance policies, less estimated reinsurance recoveries on such claims. This includes an estimate for claims which have been incurred but not reported. Claim adjustment expenses represent the costs estimated to be incurred in the settlement of unpaid claims.",
        "label": "Liability for Unpaid Claims and Claims Adjustment Expense, Net",
        "terseLabel": "Regulatory asset, amortization period"
       }
      }
     },
     "localname": "LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpensePeriodIncreaseDecrease": {
     "auth_ref": [
      "r310"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after effects of reinsurance, of increase (decrease) in the liability for unpaid claims and claims adjustment expense.",
        "label": "Liability for Unpaid Claims and Claims Adjustment Expense, Period Increase (Decrease)",
        "terseLabel": "Storm damage reserves",
        "verboseLabel": "Storm damage reserves accrual"
       }
      }
     },
     "localname": "LiabilityForUnpaidClaimsAndClaimsAdjustmentExpensePeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPManagingMemberOrGeneralPartnerOwnershipInterest": {
     "auth_ref": [
      "r93"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage investment held by the managing member or general partner of the limited liability company (LLC) or limited partnership (LP).",
        "label": "Limited Liability Company (LLC) or Limited Partnership (LP), Managing Member or General Partner, Ownership Interest",
        "terseLabel": "Ownership interest"
       }
      }
     },
     "localname": "LimitedLiabilityCompanyLLCOrLimitedPartnershipLPManagingMemberOrGeneralPartnerOwnershipInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest": {
     "auth_ref": [
      "r93"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage investment held by members or limited partners of limited liability company (LLC) or limited partnership (LP).",
        "label": "Limited Liability Company or Limited Partnership, Members or Limited Partners, Ownership Interest",
        "terseLabel": "Sale of equity interest in limited partnership"
       }
      }
     },
     "localname": "LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LineOfCreditFacilityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Line of Credit Facility [Line Items]",
        "terseLabel": "Line of Credit Facility [Line Items]"
       }
      }
     },
     "localname": "LineOfCreditFacilityLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "auth_ref": [
      "r21"
     ],
     "calculation": {
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.",
        "label": "Line of Credit Facility, Maximum Borrowing Capacity",
        "terseLabel": "Line of credit facility, maximum borrowing capacity",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity": {
     "auth_ref": [
      "r21"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).",
        "label": "Line of Credit Facility, Remaining Borrowing Capacity",
        "terseLabel": "Remaining borrowing capacity",
        "verboseLabel": "Unused"
       }
      }
     },
     "localname": "LineOfCreditFacilityRemainingBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityTable": {
     "auth_ref": [
      "r21",
      "r1135"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line.",
        "label": "Line of Credit Facility [Table]",
        "terseLabel": "Line of Credit Facility [Table]"
       }
      }
     },
     "localname": "LineOfCreditFacilityTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LitigationStatusAxis": {
     "auth_ref": [
      "r1178"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by status of pending, threatened, or settled litigation.",
        "label": "Litigation Status [Axis]",
        "terseLabel": "Litigation Status [Axis]"
       }
      }
     },
     "localname": "LitigationStatusAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCLitigationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LitigationStatusDomain": {
     "auth_ref": [
      "r1178"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Status of pending, threatened, or settled litigation.",
        "label": "Litigation Status [Domain]",
        "terseLabel": "Litigation Status [Domain]"
       }
      }
     },
     "localname": "LitigationStatusDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCLitigationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates an ownership position in, or purchase of, a security.",
        "label": "Long [Member]",
        "terseLabel": "Long"
       }
      }
     },
     "localname": "LongMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongTermDebtAndCapitalLeaseObligations": {
     "auth_ref": [
      "r5"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails": {
       "order": 2.0,
       "parentTag": "so_LongTermDebtandFinanceLeaseObligationNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt and lease obligation, classified as noncurrent.",
        "label": "Long-Term Debt and Lease Obligation",
        "terseLabel": "Long-Term Debt"
       }
      }
     },
     "localname": "LongTermDebtAndCapitalLeaseObligations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent": {
     "auth_ref": [
      "r25"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails": {
       "order": 1.0,
       "parentTag": "so_LongTermDebtandFinanceLeaseObligationNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt and lease obligation, classified as current.",
        "label": "Long-Term Debt and Lease Obligation, Current",
        "terseLabel": "Less: Amount due within one year",
        "verboseLabel": "Securities due within one year"
       }
      }
     },
     "localname": "LongTermDebtAndCapitalLeaseObligationsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths": {
     "auth_ref": [
      "r138",
      "r402",
      "r589"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive": {
     "auth_ref": [
      "r138",
      "r402",
      "r589"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year Five",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour": {
     "auth_ref": [
      "r138",
      "r402",
      "r589"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree": {
     "auth_ref": [
      "r138",
      "r402",
      "r589"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo": {
     "auth_ref": [
      "r138",
      "r402",
      "r589"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt arrangement having an initial term longer than one year or beyond the normal operating cycle, if longer.",
        "label": "Long-Term Debt [Member]",
        "terseLabel": "Long-term debt"
       }
      }
     },
     "localname": "LongTermDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESCumulativeBasisAdjustmentsforFairValueHedgesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongTermInvestments": {
     "auth_ref": [
      "r342"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle).",
        "label": "Long-Term Investments",
        "totalLabel": "Total other property and investments"
       }
      }
     },
     "localname": "LongTermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Investments [Abstract]",
        "verboseLabel": "Other Property and Investments:"
       }
      }
     },
     "localname": "LongTermInvestmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongTermPurchaseCommitmentAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The minimum amount the entity agreed to spend under the long-term purchase commitment.",
        "label": "Long-Term Purchase Commitment, Amount",
        "terseLabel": "Long-term purchase commitment amount"
       }
      }
     },
     "localname": "LongTermPurchaseCommitmentAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermPurchaseCommitmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Long-Term Purchase Commitment [Line Items]",
        "terseLabel": "Long-term Purchase Commitment [Line Items]"
       }
      }
     },
     "localname": "LongTermPurchaseCommitmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongTermPurchaseCommitmentTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule setting forth key provisions of an arrangement under which the entity has agreed to purchase goods or services over a period of time greater than one year or the normal operating cycle, if longer, including the item for which expenditures will be made, minimum quantities, milestones, time period and committed amount.",
        "label": "Long-Term Purchase Commitment [Table]",
        "terseLabel": "Long-term Purchase Commitment [Table]"
       }
      }
     },
     "localname": "LongTermPurchaseCommitmentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r28"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Long-Term Debt, Type [Axis]",
        "terseLabel": "Long-term Debt, Type [Axis]"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGEquityUnitsDetails",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r28",
      "r139"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Long-Term Debt, Type [Domain]",
        "terseLabel": "Long-term Debt, Type [Domain]"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGEquityUnitsDetails",
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails",
      "http://southerncompany.com/role/FINANCINGMaturitiesofLongTermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LossContingenciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Loss Contingencies [Line Items]",
        "terseLabel": "Loss Contingencies [Line Items]"
       }
      }
     },
     "localname": "LossContingenciesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESAPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LossContingenciesTable": {
     "auth_ref": [
      "r134",
      "r135",
      "r551",
      "r552",
      "r553",
      "r1179",
      "r1181"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discloses the specific components (such as the nature, name, and date) of the loss contingency and gives an estimate of the possible loss or range of loss, or states that a reasonable estimate cannot be made. Excludes environmental contingencies, warranties and unconditional purchase obligations.",
        "label": "Loss Contingencies [Table]",
        "terseLabel": "Loss Contingencies [Table]"
       }
      }
     },
     "localname": "LossContingenciesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESAPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LossContingencyEstimateOfPossibleLoss": {
     "auth_ref": [
      "r552",
      "r553",
      "r557"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the estimated amount of loss from the specified contingency as of the balance sheet date.",
        "label": "Loss Contingency, Estimate of Possible Loss",
        "terseLabel": "Construction financing costs"
       }
      }
     },
     "localname": "LossContingencyEstimateOfPossibleLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LossContingencyNewClaimsFiledNumber": {
     "auth_ref": [
      "r1179",
      "r1181"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total number of new claims filed pertaining to a loss contingency during the period.",
        "label": "Loss Contingency, New Claims Filed, Number",
        "terseLabel": "Number of additional complaints filed"
       }
      }
     },
     "localname": "LossContingencyNewClaimsFiledNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGPCLitigationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_LossContingencyNumberOfDefendants": {
     "auth_ref": [
      "r1179",
      "r1181"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of defendants named in a legal action.",
        "label": "Loss Contingency, Number of Defendants",
        "terseLabel": "Loss contingency, number of defendants"
       }
      }
     },
     "localname": "LossContingencyNumberOfDefendants",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCLitigationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_LossContingencyNumberOfPlaintiffs": {
     "auth_ref": [
      "r1179",
      "r1181"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of plaintiffs that have filed claims pertaining to a loss contingency.",
        "label": "Loss Contingency, Number of Plaintiffs",
        "terseLabel": "Number of plaintiffs"
       }
      }
     },
     "localname": "LossContingencyNumberOfPlaintiffs",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCLitigationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_LossOnReacquiredDebtMember": {
     "auth_ref": [
      "r314",
      "r322"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate action of a regulator resulting in capitalization or accrual of loss incurred on reacquisition or refinancing of debt.",
        "label": "Loss on Reacquired Debt [Member]",
        "terseLabel": "Loss on Reacquired Debt"
       }
      }
     },
     "localname": "LossOnReacquiredDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MarketableSecuritiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Marketable Securities [Line Items]",
        "terseLabel": "Marketable Securities [Line Items]"
       }
      }
     },
     "localname": "MarketableSecuritiesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSInvestmentSecuritiesintheFundsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MarketableSecuritiesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about investment in marketable security.",
        "label": "Marketable Securities [Table]",
        "terseLabel": "Marketable Securities [Table]"
       }
      }
     },
     "localname": "MarketableSecuritiesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSInvestmentSecuritiesintheFundsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MarketableSecuritiesTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of marketable securities. This may consist of investments in certain debt and equity securities, short-term investments and other assets.",
        "label": "Marketable Securities [Table Text Block]",
        "terseLabel": "Investment securities in the Funds"
       }
      }
     },
     "localname": "MarketableSecuritiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r825"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]",
        "terseLabel": "Measurement Input Type [Axis]"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]",
        "terseLabel": "Measurement Input Type [Domain]"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MediumTermNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt instruments with maturities ranging from five to ten years.",
        "label": "Medium-term Notes [Member]",
        "terseLabel": "Medium-term notes"
       }
      }
     },
     "localname": "MediumTermNotesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MergersAcquisitionsAndDispositionsDisclosuresTextBlock": {
     "auth_ref": [
      "r0",
      "r202"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for business combinations, including leverage buyout transactions (as applicable), and divestitures. This may include a description of a business combination or divestiture (or series of individually immaterial business combinations or divestitures) completed during the period, including background, timing, and assets and liabilities recognized and reclassified or sold. This element does not include fixed asset sales and plant closings.",
        "label": "Mergers, Acquisitions and Dispositions Disclosures [Text Block]",
        "verboseLabel": "ACQUISITIONS AND DISPOSITIONS"
       }
      }
     },
     "localname": "MergersAcquisitionsAndDispositionsDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONS"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_MinorityInterest": {
     "auth_ref": [
      "r34",
      "r280",
      "r300",
      "r395",
      "r491",
      "r558",
      "r561",
      "r562",
      "r563",
      "r569",
      "r570",
      "r833"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which is directly or indirectly attributable to that ownership interest in subsidiary equity which is not attributable to the parent (that is, noncontrolling interest, previously referred to as minority interest).",
        "label": "Stockholders' Equity Attributable to Noncontrolling Interest",
        "terseLabel": "Noncontrolling Interests"
       }
      }
     },
     "localname": "MinorityInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders": {
     "auth_ref": [
      "r147"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Decrease in noncontrolling interest balance from payment of dividends or other distributions by the non-wholly owned subsidiary or partially owned entity, included in the consolidation of the parent entity, to the noncontrolling interest holders.",
        "label": "Noncontrolling Interest, Decrease from Distributions to Noncontrolling Interest Holders",
        "negatedTerseLabel": "Distributions to noncontrolling interests"
       }
      }
     },
     "localname": "MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MinorityInterestDecreaseFromRedemptions": {
     "auth_ref": [
      "r147",
      "r208",
      "r209"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Decrease in noncontrolling interest (for example, but not limited to, redeeming or purchasing the interests of noncontrolling shareholders, issuance of shares (interests) by the non-wholly owned subsidiary to the parent entity for other than cash, and a buyback of shares (interest) by the non-wholly owned subsidiary from the noncontrolling interests).",
        "label": "Noncontrolling Interest, Decrease from Redemptions or Purchase of Interests",
        "negatedTerseLabel": "Purchase of membership interests from noncontrolling interests"
       }
      }
     },
     "localname": "MinorityInterestDecreaseFromRedemptions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MinorityInterestDisclosureTextBlock": {
     "auth_ref": [
      "r225"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for noncontrolling interest in consolidated subsidiaries, which could include the name of the subsidiary, the ownership percentage held by the parent, the ownership percentage held by the noncontrolling owners, the amount of the noncontrolling interest, the location of this amount on the balance sheet (when not reported separately), an explanation of the increase or decrease in the amount of the noncontrolling interest, the noncontrolling interest share of the net Income or Loss of the subsidiary, the location of this amount on the income statement (when not reported separately), the nature of the noncontrolling interest such as background information and terms, the amount of the noncontrolling interest represented by preferred stock, a description of the preferred stock, and the dividend requirements of the preferred stock.",
        "label": "Noncontrolling Interest Disclosure [Text Block]",
        "terseLabel": "CONSOLIDATED ENTITIES AND EQUITY METHOD INVESTMENTS"
       }
      }
     },
     "localname": "MinorityInterestDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTS"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_MinorityInterestOwnershipPercentageByParent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The parent entity's interest in net assets of the subsidiary, expressed as a percentage.",
        "label": "Noncontrolling Interest, Ownership Percentage by Parent",
        "terseLabel": "Ownership Percentage",
        "verboseLabel": "Noncontrolling ownership percentage held by parent"
       }
      }
     },
     "localname": "MinorityInterestOwnershipPercentageByParent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofAssetAcquisitionsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails",
      "http://southerncompany.com/role/FINANCINGDividendRestrictionsandStructuralConsiderationsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_MovementInValuationAllowancesAndReservesRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]",
        "terseLabel": "SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]"
       }
      }
     },
     "localname": "MovementInValuationAllowancesAndReservesRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MunicipalBondsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long-term debt securities issued by state, city or local governments or the agencies operated by state, city or local governments.",
        "label": "Municipal Bonds [Member]",
        "terseLabel": "Municipal bonds"
       }
      }
     },
     "localname": "MunicipalBondsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NaturalGasUsRegulatedMember": {
     "auth_ref": [
      "r1196"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Generation, transmission and distribution of flammable gas occurring naturally underground regulated by government or agency in United States.",
        "label": "Natural Gas, US Regulated [Member]",
        "terseLabel": "Natural gas"
       }
      }
     },
     "localname": "NaturalGasUsRegulatedMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r389"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "terseLabel": "Net cash provided from (used for) financing activities",
        "totalLabel": "Net cash provided from (used for) financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "verboseLabel": "Financing Activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r389"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net cash used for investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]",
        "verboseLabel": "Investing Activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r78",
      "r79",
      "r82"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash provided from operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "verboseLabel": "Operating Activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r54",
      "r82",
      "r285",
      "r306",
      "r338",
      "r371",
      "r374",
      "r379",
      "r395",
      "r415",
      "r419",
      "r420",
      "r422",
      "r423",
      "r427",
      "r428",
      "r438",
      "r461",
      "r466",
      "r472",
      "r475",
      "r491",
      "r558",
      "r559",
      "r561",
      "r562",
      "r563",
      "r565",
      "r567",
      "r569",
      "r570",
      "r820",
      "r833",
      "r1059",
      "r1187"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss) Attributable to Parent",
        "totalLabel": "Net Income (Loss) Attributable to Parent, Total"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r210",
      "r223",
      "r371",
      "r374",
      "r427",
      "r428",
      "r1123"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Net Income (Loss) attributable to noncontrolling interest.",
        "label": "Net Income (Loss) Attributable to Noncontrolling Interest",
        "verboseLabel": "Net loss attributable to noncontrolling interests"
       }
      }
     },
     "localname": "NetIncomeLossAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "auth_ref": [
      "r419",
      "r420",
      "r422",
      "r423",
      "r430",
      "r431",
      "r439",
      "r442",
      "r461",
      "r466",
      "r472",
      "r475",
      "r1059"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders.",
        "label": "Net Income (Loss) Available to Common Stockholders, Basic",
        "netLabel": "Segment net income (loss)",
        "terseLabel": "Net income after dividends on preferred stock",
        "totalLabel": "Consolidated Net Income"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetRegulatoryAssets": {
     "auth_ref": [
      "r315"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of all regulatory assets less all regulatory liabilities as of the end of the period.",
        "label": "Net Regulatory Assets",
        "terseLabel": "Net regulatory assets",
        "verboseLabel": "Total regulatory assets (liabilities), net"
       }
      }
     },
     "localname": "NetRegulatoryAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "New Accounting Pronouncements or Change in Accounting Principle [Line Items]",
        "terseLabel": "New Accounting Pronouncements or Change in Accounting Principle [Line Items]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGeneralNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable": {
     "auth_ref": [
      "r91",
      "r330",
      "r331",
      "r332",
      "r333",
      "r334",
      "r414",
      "r415",
      "r416",
      "r417",
      "r418",
      "r422",
      "r429",
      "r443",
      "r486",
      "r487",
      "r492",
      "r493",
      "r494",
      "r495",
      "r496",
      "r497",
      "r753",
      "r754",
      "r755",
      "r775",
      "r776",
      "r777",
      "r778",
      "r790",
      "r791",
      "r792",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815",
      "r816",
      "r817",
      "r818",
      "r819",
      "r820",
      "r821",
      "r837",
      "r838",
      "r839",
      "r840",
      "r841",
      "r842",
      "r843",
      "r844",
      "r853",
      "r854",
      "r856",
      "r857",
      "r858",
      "r859",
      "r893",
      "r894",
      "r895",
      "r896",
      "r897",
      "r898",
      "r940",
      "r941",
      "r942",
      "r972",
      "r973",
      "r974",
      "r975",
      "r976",
      "r977",
      "r978",
      "r979",
      "r980",
      "r981",
      "r982",
      "r983"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summarization of the changes in an accounting principle or a new accounting pronouncement, including the line items affected by the change and the financial effects of the change on those particular line items.",
        "label": "Accounting Standards Update and Change in Accounting Principle [Table]",
        "terseLabel": "New Accounting Pronouncements or Change in Accounting Principle [Table]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGeneralNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "Recently Adopted Accounting Standards"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoncashInvestingAndFinancingItemsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noncash Investing and Financing Items [Abstract]",
        "terseLabel": "Noncash transactions \u2014"
       }
      }
     },
     "localname": "NoncashInvestingAndFinancingItemsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoncontrollingInterestInVariableInterestEntity": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portion of equity (net assets) in a variable interest entity (VIE) not attributable, directly or indirectly, to the parent entity. That is, this is the portion of equity in a VIE that is attributable to the noncontrolling interest (previously referred to as minority interest).",
        "label": "Noncontrolling Interest in Variable Interest Entity",
        "terseLabel": "Noncontrolling interests related to other partners' interest"
       }
      }
     },
     "localname": "NoncontrollingInterestInVariableInterestEntity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoncontrollingInterestIncreaseFromSaleOfParentEquityInterest": {
     "auth_ref": [
      "r148",
      "r208",
      "r211"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in noncontrolling interest from sale of a portion of the parent's controlling interest.",
        "label": "Noncontrolling Interest, Increase from Sale of Parent Equity Interest",
        "terseLabel": "Sale of noncontrolling interests"
       }
      }
     },
     "localname": "NoncontrollingInterestIncreaseFromSaleOfParentEquityInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoncontrollingInterestMember": {
     "auth_ref": [
      "r203",
      "r606",
      "r1145",
      "r1146",
      "r1147"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents that portion of equity (net assets) in a subsidiary not attributable, directly or indirectly, to the parent. A noncontrolling interest is sometimes called a minority interest.",
        "label": "Noncontrolling Interest [Member]",
        "terseLabel": "Noncontrolling Interests"
       }
      }
     },
     "localname": "NoncontrollingInterestMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NondesignatedMember": {
     "auth_ref": [
      "r231"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative instrument not designated as hedging instrument under Generally Accepted Accounting Principles (GAAP).",
        "label": "Not Designated as Hedging Instrument [Member]",
        "terseLabel": "Not Designated as Hedging Instrument"
       }
      }
     },
     "localname": "NondesignatedMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesNotDesignatedasHedgingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NonoperatingIncomeExpense": {
     "auth_ref": [
      "r60"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business).",
        "label": "Nonoperating Income (Expense)",
        "terseLabel": "Total other income and (expense)",
        "totalLabel": "Total other income and (expense)"
       }
      }
     },
     "localname": "NonoperatingIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NonoperatingIncomeExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Nonoperating Income (Expense) [Abstract]",
        "verboseLabel": "Other Income and (Expense):"
       }
      }
     },
     "localname": "NonoperatingIncomeExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NonqualifiedPlanMember": {
     "auth_ref": [
      "r1198",
      "r1199",
      "r1200",
      "r1201",
      "r1202",
      "r1203",
      "r1204",
      "r1205",
      "r1206",
      "r1207",
      "r1208",
      "r1209",
      "r1210",
      "r1211",
      "r1212",
      "r1213",
      "r1214",
      "r1215",
      "r1216",
      "r1217",
      "r1218",
      "r1219",
      "r1220",
      "r1221",
      "r1222",
      "r1223",
      "r1224",
      "r1225",
      "r1226",
      "r1227",
      "r1228",
      "r1229",
      "r1230",
      "r1231",
      "r1232",
      "r1233",
      "r1234",
      "r1235",
      "r1236",
      "r1237",
      "r1238",
      "r1239",
      "r1240",
      "r1241",
      "r1242",
      "r1243",
      "r1244",
      "r1245",
      "r1246",
      "r1247",
      "r1248",
      "r1249",
      "r1250",
      "r1251",
      "r1252",
      "r1253",
      "r1254",
      "r1255",
      "r1256",
      "r1257",
      "r1258"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan without tax-exempt status in accordance with applicable tax provision of designated taxing authority. Taxing authority includes, but is not limited to, U.S. Internal Revenue Service (IRS). Includes, but is not limited to, defined benefit and defined contribution plans.",
        "label": "Nonqualified Plan [Member]",
        "terseLabel": "Non-qualified pension plan"
       }
      }
     },
     "localname": "NonqualifiedPlanMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NumberOfReportableSegments": {
     "auth_ref": [
      "r1151"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.",
        "label": "Number of Reportable Segments",
        "terseLabel": "Number of reportable segments"
       }
      }
     },
     "localname": "NumberOfReportableSegments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_NumberOfStatesInWhichEntityOperates": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of states the entity operates in as of the balance sheet date.",
        "label": "Number of States in which Entity Operates",
        "terseLabel": "Number of states in which entity operates",
        "verboseLabel": "Number of states in which entity provides utilities"
       }
      }
     },
     "localname": "NumberOfStatesInWhichEntityOperates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGeneralNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OperatingIncomeLoss": {
     "auth_ref": [
      "r461",
      "r466",
      "r472",
      "r475",
      "r1059"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net result for the period of deducting operating expenses from operating revenues.",
        "label": "Operating Income (Loss)",
        "terseLabel": "Operating income (loss)",
        "totalLabel": "Operating Income"
       }
      }
     },
     "localname": "OperatingIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseCost": {
     "auth_ref": [
      "r870",
      "r1094"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESLeaseCostsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability.",
        "label": "Operating Lease, Cost",
        "terseLabel": "Operating lease cost"
       }
      }
     },
     "localname": "OperatingLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLeaseIncome": {
     "auth_ref": [
      "r444",
      "r882",
      "r889"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LeaseIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating lease income from lease payments and variable lease payments paid and payable to lessor. Includes, but is not limited to, variable lease payments not included in measurement of lease receivable.",
        "label": "Operating Lease, Lease Income",
        "terseLabel": "Lease income - operating leases"
       }
      }
     },
     "localname": "OperatingLeaseLeaseIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLeaseIncomeTableTextBlock": {
     "auth_ref": [
      "r444",
      "r889"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of components of income from operating lease.",
        "label": "Operating Lease, Lease Income [Table Text Block]",
        "terseLabel": "Lease income, operating leases"
       }
      }
     },
     "localname": "OperatingLeaseLeaseIncomeTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid [Abstract]",
        "terseLabel": "Operating leases:"
       }
      }
     },
     "localname": "OperatingLeaseLiabilitiesPaymentsDueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r861"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails_1": {
       "order": 2.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease, Liability",
        "terseLabel": "Operating lease obligations",
        "totalLabel": "Total operating lease obligations"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails",
      "http://southerncompany.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrent": {
     "auth_ref": [
      "r861"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 9.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingLeaseLiability",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
        "label": "Operating Lease, Liability, Current",
        "terseLabel": "Operating lease obligations - current",
        "verboseLabel": "Operating lease obligations"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r862"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes current operating lease liability.",
        "label": "Operating Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration]",
        "terseLabel": "Operating Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration]"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrent": {
     "auth_ref": [
      "r861"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS": {
       "order": 6.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 7.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingLeaseLiability",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.",
        "label": "Operating Lease, Liability, Noncurrent",
        "terseLabel": "Operating lease obligations - non-current",
        "verboseLabel": "Operating lease obligations, deferred"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r862"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes noncurrent operating lease liability.",
        "label": "Operating Lease, Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration]",
        "terseLabel": "Operating Lease, Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration]"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_OperatingLeasePayments": {
     "auth_ref": [
      "r866",
      "r874"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use.",
        "label": "Operating Lease, Payments",
        "terseLabel": "Operating cash flows from operating leases"
       }
      }
     },
     "localname": "OperatingLeasePayments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESOtherInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r860"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 6.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": 1.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 1.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease, Right-of-Use Asset",
        "terseLabel": "Operating lease ROU assets, net",
        "verboseLabel": "Operating lease right-of-use assets, net of amortization"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r862"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes operating lease right-of-use asset.",
        "label": "Operating Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration]",
        "terseLabel": "Operating Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration]"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r877",
      "r1094"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average discount rate for operating lease calculated at point in time.",
        "label": "Operating Lease, Weighted Average Discount Rate, Percent",
        "terseLabel": "Operating leases"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESOtherInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "auth_ref": [
      "r876",
      "r1094"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Operating Lease, Weighted Average Remaining Lease Term",
        "terseLabel": "Operating leases"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESOtherInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_OperatingLeasesOfLessorDisclosureTextBlock": {
     "auth_ref": [
      "r891"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for lessor's operating leases.",
        "label": "Lessor, Operating Leases [Text Block]",
        "terseLabel": "LEASES"
       }
      }
     },
     "localname": "OperatingLeasesOfLessorDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASES"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OperatingLossCarryforwardsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Operating Loss Carryforwards [Line Items]",
        "terseLabel": "Operating Loss Carryforwards [Line Items]"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESFederalITCPTCCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingLossCarryforwardsTable": {
     "auth_ref": [
      "r189"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting pertinent information, such as tax authority, amounts, and expiration dates, of net operating loss carryforwards, including an assessment of the likelihood of utilization.",
        "label": "Operating Loss Carryforwards [Table]",
        "terseLabel": "Operating Loss Carryforwards [Table]"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESFederalITCPTCCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingLossCarryforwardsValuationAllowance": {
     "auth_ref": [
      "r186"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of the valuation allowance pertaining to the deferred tax asset representing potential future taxable deductions from net operating loss carryforwards for which it is more likely than not that a tax benefit will not be realized.",
        "label": "Operating Loss Carryforwards, Valuation Allowance",
        "terseLabel": "Operating loss carryforwards, valuation allowance"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingSegmentsMember": {
     "auth_ref": [
      "r465",
      "r466",
      "r467",
      "r468",
      "r469",
      "r475"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Operating Segments [Member]",
        "terseLabel": "Operating Segments"
       }
      }
     },
     "localname": "OperatingSegmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherAssetsCurrent": {
     "auth_ref": [
      "r358",
      "r1095"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 11.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 11.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": 7.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 10.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current assets classified as other.",
        "label": "Other Assets, Current",
        "verboseLabel": "Other current assets"
       }
      }
     },
     "localname": "OtherAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of other assets.",
        "label": "Other Assets, Fair Value Disclosure",
        "verboseLabel": "Other investments"
       }
      }
     },
     "localname": "OtherAssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsMember": {
     "auth_ref": [
      "r233",
      "r252"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other assets.",
        "label": "Other Assets [Member]",
        "terseLabel": "Other assets"
       }
      }
     },
     "localname": "OtherAssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherAssetsNoncurrent": {
     "auth_ref": [
      "r347"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 3.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      },
      "http://southerncompany.com/role/BalanceSheetsMPC": {
       "order": 5.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": 4.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 5.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncurrent assets classified as other.",
        "label": "Other Assets, Noncurrent",
        "verboseLabel": "Other deferred charges and assets"
       }
      }
     },
     "localname": "OtherAssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive (Income) Loss, Defined Benefit Plan, after Reclassification Adjustment, after Tax [Abstract]",
        "verboseLabel": "Pension and other postretirement benefit plans:"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax": {
     "auth_ref": [
      "r39",
      "r44",
      "r678"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax, of gain (loss) for (increase) decrease in value of benefit obligation for change in actuarial assumptions and increase (decrease) in value of plan assets from experience different from that assumed of defined benefit plan, that has not been recognized in net periodic benefit (cost) credit.",
        "label": "Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss) Arising During Period, after Tax",
        "verboseLabel": "Benefit plan net gain (loss), net of tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodTax": {
     "auth_ref": [
      "r45"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax expense (benefit) for (increase) decrease in value of benefit obligation for change in actuarial assumptions and increase (decrease) in value of plan assets from experience different from that assumed of defined benefit plan, that has not been recognized in net periodic benefit (cost) credit.",
        "label": "Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss) Arising During Period, Tax",
        "verboseLabel": "Pension and other postretirement benefit plans, gain (loss), tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthernParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification and Tax [Abstract]",
        "verboseLabel": "Qualifying hedges:"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax": {
     "auth_ref": [
      "r47",
      "r50",
      "r378",
      "r845",
      "r847",
      "r851",
      "r1121"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax, before reclassification adjustments of other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), before Reclassifications, Net of Tax",
        "negatedLabel": "Net gain"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax": {
     "auth_ref": [
      "r364",
      "r366"
     ],
     "calculation": {
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails": {
       "order": 1.0,
       "parentTag": "so_OtherComprehensiveIncomeLossDerivativeGainLossAfterReclassificationBeforeTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax and after reclassification, of gain (loss) from derivative instrument designated and qualifying cash flow hedge included in assessment of hedge effectiveness.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification, before Tax",
        "terseLabel": "Gain (Loss) From Derivatives Recognized\u00a0in\u00a0OCI"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax": {
     "auth_ref": [
      "r364",
      "r366"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern": {
       "order": 4.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax and before reclassification, of gain (loss) from derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification, after Tax",
        "terseLabel": "Changes in fair value, net of tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax": {
     "auth_ref": [
      "r364",
      "r366",
      "r803",
      "r804",
      "r808"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax and reclassification, of gain (loss) from derivative instrument designated and qualifying cash flow hedge included in assessment of hedge effectiveness.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification and Tax",
        "terseLabel": "Gain (loss) on derivative"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax": {
     "auth_ref": [
      "r367"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before reclassification, of tax expense (benefit) for gain (loss) from derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification, Tax",
        "terseLabel": "Qualifying hedges, change in fair value, tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthernParenthetical",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPCParenthetical",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPCParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax": {
     "auth_ref": [
      "r366",
      "r369"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax, of reclassification of gain (loss) from accumulated other comprehensive income (AOCI) for derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, after Tax",
        "negatedLabel": "Reclassification adjustment for amounts included in net income, net of tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax": {
     "auth_ref": [
      "r366",
      "r369",
      "r806"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of reclassification of gain (loss) from accumulated other comprehensive income (AOCI) for derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, before Tax",
        "terseLabel": "Gain (loss) on hedges"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationTax": {
     "auth_ref": [
      "r367"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax expense (benefit) for reclassification of gain (loss) from accumulated other comprehensive income (AOCI) for derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, Tax",
        "negatedLabel": "Qualifying hedges, reclassification adjustment, tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthernParenthetical",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPCParenthetical",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPCParenthetical",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPCParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseAfterAdjustmentsBeforeTax": {
     "auth_ref": [
      "r365",
      "r805"
     ],
     "calculation": {
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails": {
       "order": 2.0,
       "parentTag": "so_OtherComprehensiveIncomeLossDerivativeGainLossAfterReclassificationBeforeTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax and after adjustments, of gain (loss) from increase (decrease) in value of excluded component of derivative designated and qualifying as hedge. Adjustments include, but are not limited to, reclassifications for sale and settlement, and amounts recognized under systematic and rational method.",
        "label": "Other Comprehensive Income (Loss), Derivative, Excluded Component, Increase (Decrease), after Adjustments, before Tax",
        "terseLabel": "Gain (Loss) From Derivatives Recognized\u00a0in\u00a0OCI"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseAfterAdjustmentsBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonAOCIDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r50",
      "r142",
      "r372",
      "r375",
      "r381",
      "r845",
      "r850",
      "r851",
      "r957",
      "r966",
      "r1121",
      "r1122"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      },
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments of other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), Net of Tax",
        "terseLabel": "Current period change",
        "totalLabel": "Total other comprehensive income (loss)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAOCILossBalancesNetofTaxEffectsDetails",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Net of Tax [Abstract]",
        "terseLabel": "Other comprehensive income (loss):"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent": {
     "auth_ref": [
      "r205",
      "r206",
      "r212",
      "r372",
      "r375"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of other comprehensive income (loss) attributable to parent entity.",
        "label": "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent",
        "terseLabel": "Other comprehensive income (loss)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax": {
     "auth_ref": [
      "r44",
      "r48",
      "r370",
      "r678"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax, of reclassification adjustment from accumulated other comprehensive income (loss) for gain (loss) of defined benefit plan.",
        "label": "Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss), Reclassification Adjustment from AOCI, after Tax",
        "negatedLabel": "Reclassification adjustment for amounts included in net income, net of tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax": {
     "auth_ref": [
      "r45"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax expense (benefit) of reclassification adjustment from accumulated other comprehensive income (loss) for gain (loss) of defined benefit plan.",
        "label": "Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss), Reclassification Adjustment from AOCI, Tax",
        "negatedTerseLabel": "Reclassification adjustment for amounts included in net income, tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthernParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCurrentAssetsMember": {
     "auth_ref": [
      "r233",
      "r252"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other current assets.",
        "label": "Other Current Assets [Member]",
        "terseLabel": "Other current assets",
        "verboseLabel": "Other current assets"
       }
      }
     },
     "localname": "OtherCurrentAssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails",
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherCurrentLiabilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other current liabilities.",
        "label": "Other Current Liabilities [Member]",
        "terseLabel": "Other current liabilities"
       }
      }
     },
     "localname": "OtherCurrentLiabilitiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESDerivativeFinancialStatementPresentationandAmountsWithBalanceSheetOffsettingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherIntangibleAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intangible assets classified as other.",
        "label": "Other Intangible Assets [Member]",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherIntangibleAssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherInventorySupplies": {
     "auth_ref": [
      "r1119"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 8.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 8.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before valuation and LIFO reserves of other supplies used within the manufacturing or production process expected to be consumed within one year or operating cycle, if longer.",
        "label": "Other Inventory, Supplies, Gross",
        "verboseLabel": "Materials and supplies"
       }
      }
     },
     "localname": "OtherInventorySupplies",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesCurrent": {
     "auth_ref": [
      "r25",
      "r1095"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 12.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 11.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other, due within one year or the normal operating cycle, if longer.",
        "label": "Other Liabilities, Current",
        "negatedLabel": "Other current liabilities",
        "verboseLabel": "Other current liabilities"
       }
      }
     },
     "localname": "OtherLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of other liabilities.",
        "label": "Other Liabilities, Fair Value Disclosure",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherLiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesNoncurrent": {
     "auth_ref": [
      "r29"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS": {
       "order": 5.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer.",
        "label": "Other Liabilities, Noncurrent",
        "terseLabel": "Intangible liabilities included in other deferred credits and liabilities",
        "verboseLabel": "Other deferred credits and liabilities"
       }
      }
     },
     "localname": "OtherLiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGoodwillandOtherIntangibleAssetsandLiabilitiesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLongTermInvestments": {
     "auth_ref": [
      "r304",
      "r1117"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 5.0,
       "parentTag": "us-gaap_LongTermInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term investments classified as other.",
        "label": "Other Long-Term Investments",
        "verboseLabel": "Miscellaneous property and investments"
       }
      }
     },
     "localname": "OtherLongTermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNoncashIncomeExpense": {
     "auth_ref": [
      "r82"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (expense) included in net income that results in no cash inflow (outflow), classified as other.",
        "label": "Other Noncash Income (Expense)",
        "negatedLabel": "Other, net"
       }
      }
     },
     "localname": "OtherNoncashIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNoncurrentAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other noncurrent assets.",
        "label": "Other Noncurrent Assets [Member]",
        "terseLabel": "Other Noncurrent Assets"
       }
      }
     },
     "localname": "OtherNoncurrentAssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherNonoperatingIncomeExpense": {
     "auth_ref": [
      "r61"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (expense) related to nonoperating activities, classified as other.",
        "label": "Other Nonoperating Income (Expense)",
        "verboseLabel": "Other income (expense), net"
       }
      }
     },
     "localname": "OtherNonoperatingIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNonoperatingIncomeExpenseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other nonoperating income (expense).",
        "label": "Other Nonoperating Income (Expense) [Member]",
        "terseLabel": "Other Income (Expense)"
       }
      }
     },
     "localname": "OtherNonoperatingIncomeExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESPreTaxEffectsofDerivativesDesignatedasHedgesonIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherOwnershipInterestsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Other Ownership Interests [Line Items]",
        "terseLabel": "Other Ownership Interests [Line Items]"
       }
      }
     },
     "localname": "OtherOwnershipInterestsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherPlantInServiceMember": {
     "auth_ref": [
      "r318"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant used for the processing, transmission, or distribution of materials, classified as other.",
        "label": "Other Plant in Service [Member]",
        "terseLabel": "Other plant in service"
       }
      }
     },
     "localname": "OtherPlantInServiceMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember": {
     "auth_ref": [
      "r154",
      "r634",
      "r637",
      "r638",
      "r639",
      "r640",
      "r641",
      "r642",
      "r643",
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r653",
      "r654",
      "r655",
      "r656",
      "r657",
      "r658",
      "r659",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675",
      "r676",
      "r677",
      "r678",
      "r679",
      "r681",
      "r683",
      "r684",
      "r686",
      "r689",
      "r692",
      "r693",
      "r694",
      "r695",
      "r696",
      "r697",
      "r698",
      "r699",
      "r700",
      "r701",
      "r702",
      "r706",
      "r707",
      "r708",
      "r1079",
      "r1080",
      "r1081",
      "r1082",
      "r1083"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan designed to provide other postretirement benefits. Includes, but is not limited to, defined benefit and defined contribution plans. Excludes pension benefits.",
        "label": "Other Postretirement Benefits Plan [Member]",
        "verboseLabel": "Other postretirement benefit plans"
       }
      }
     },
     "localname": "OtherPostretirementBenefitPlansDefinedBenefitMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherThanSecuritiesInvestmentMember": {
     "auth_ref": [
      "r994",
      "r996"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "When the investment holdings table includes investments other than securities, this member categorizes all non-security investments to segregate them from security investments.",
        "label": "Other than Securities Investment [Member]",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherThanSecuritiesInvestmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PartnerTypeOfPartnersCapitalAccountAxis": {
     "auth_ref": [
      "r149"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type or class of partner's capital account. Examples of classes of partners include, but not limited to, general partners, limited partners, preferred partners, and other ownership interests.",
        "label": "Partner Type [Axis]",
        "terseLabel": "Partner Type [Axis]"
       }
      }
     },
     "localname": "PartnerTypeOfPartnersCapitalAccountAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain": {
     "auth_ref": [
      "r150",
      "r311"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital accounts of each type or class of partner. Examples of classes of partners include, but are not limited to, general partners, limited partners, preferred partners, and other ownership interests.",
        "label": "Partner Type of Partners' Capital Account, Name [Domain]",
        "terseLabel": "Partner Type of Partners' Capital Account, Name [Domain]"
       }
      }
     },
     "localname": "PartnerTypeOfPartnersCapitalAccountNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PaymentsForProceedsFromOtherInvestingActivities": {
     "auth_ref": [
      "r1126",
      "r1128"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash (inflow) outflow from investing activities classified as other.",
        "label": "Payments for (Proceeds from) Other Investing Activities",
        "negatedLabel": "Other investing activities"
       }
      }
     },
     "localname": "PaymentsForProceedsFromOtherInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRemovalCosts": {
     "auth_ref": [
      "r1127"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash outflow related to disposal costs of plants, whether by demolishing, dismantling, abandoning, sale, and so forth during the period.",
        "label": "Payments for Removal Costs",
        "negatedLabel": "Cost of removal, net of salvage"
       }
      }
     },
     "localname": "PaymentsForRemovalCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfPreferredStockAndPreferenceStock": {
     "auth_ref": [
      "r73"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to reacquire preferred stock during the period.",
        "label": "Payments for Repurchase of Preferred Stock and Preference Stock",
        "negatedTerseLabel": "Preferred stock"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfPreferredStockAndPreferenceStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/StatementsofCashFlowsAPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfCapitalDistribution": {
     "auth_ref": [
      "r73"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash outflow to owners or shareholders, excluding ordinary dividends. Includes special dividends.",
        "label": "Payments of Capital Distribution",
        "negatedTerseLabel": "Return of capital to parent company"
       }
      }
     },
     "localname": "PaymentsOfCapitalDistribution",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividendsCommonStock": {
     "auth_ref": [
      "r73"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity.",
        "label": "Payments of Ordinary Dividends, Common Stock",
        "negatedLabel": "Payment of common stock dividends"
       }
      }
     },
     "localname": "PaymentsOfDividendsCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesGross": {
     "auth_ref": [
      "r66",
      "r793"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price.",
        "label": "Payments to Acquire Businesses, Gross",
        "terseLabel": "Payments to acquire businesses"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired": {
     "auth_ref": [
      "r66"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase.",
        "label": "Payments to Acquire Businesses, Net of Cash Acquired",
        "negatedLabel": "Acquisitions, net of cash acquired"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesNetOfCashAcquired",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireEquityMethodInvestments": {
     "auth_ref": [
      "r66"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the purchase of or advances to an equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence.",
        "label": "Payments to Acquire Equity Method Investments",
        "negatedTerseLabel": "Investments in unconsolidated subsidiaries"
       }
      }
     },
     "localname": "PaymentsToAcquireEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireProductiveAssets": {
     "auth_ref": [
      "r385",
      "r1297",
      "r1298",
      "r1299"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for purchases of and capital improvements on property, plant and equipment (capital expenditures), software, and other intangible assets.",
        "label": "Payments to Acquire Productive Assets",
        "terseLabel": "Gross property additions"
       }
      }
     },
     "localname": "PaymentsToAcquireProductiveAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r67"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "negatedLabel": "Property additions",
        "terseLabel": "Capital expenditures related to qualifying projects"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToInvestInDecommissioningFund": {
     "auth_ref": [
      "r68"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for the purchase of investments that will be held in a decommissioning trust fund.",
        "label": "Payments to Acquire Investments to be Held in Decommissioning Trust Fund",
        "negatedLabel": "Nuclear decommissioning trust fund purchases"
       }
      }
     },
     "localname": "PaymentsToInvestInDecommissioningFund",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToMinorityShareholders": {
     "auth_ref": [
      "r76"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow to a noncontrolling interest. Includes, but not limited to, reduction of noncontrolling interest ownership. Excludes dividends paid to the noncontrolling interest.",
        "label": "Payments to Noncontrolling Interests",
        "negatedTerseLabel": "Distributions to noncontrolling interests"
       }
      }
     },
     "localname": "PaymentsToMinorityShareholders",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PendingLitigationMember": {
     "auth_ref": [
      "r1178"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risk of loss associated with the outcome of pending litigation against the entity, for example, but not limited to, litigation in arbitration or within the trial process.",
        "label": "Pending Litigation [Member]",
        "terseLabel": "Pending Litigation"
       }
      }
     },
     "localname": "PendingLitigationMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGPCLitigationDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCLitigationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PensionAndOtherPostretirementBenefitContributionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payment for Pension and Other Postretirement Benefits [Abstract]",
        "verboseLabel": "Fair values of benefit plan assets (liabilities)"
       }
      }
     },
     "localname": "PensionAndOtherPostretirementBenefitContributionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PensionAndOtherPostretirementBenefitExpense": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost (reversal of cost) for pension and other postretirement benefits.",
        "label": "Pension and Other Postretirement Benefits Cost (Reversal of Cost)",
        "terseLabel": "Pension, postretirement, and other employee benefits",
        "verboseLabel": "Pension, postretirement, and other employee benefits"
       }
      }
     },
     "localname": "PensionAndOtherPostretirementBenefitExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock": {
     "auth_ref": [
      "r658",
      "r660",
      "r666",
      "r685",
      "r687",
      "r688",
      "r689",
      "r690",
      "r691",
      "r703",
      "r704",
      "r706",
      "r719",
      "r1079"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for retirement benefits.",
        "label": "Retirement Benefits [Text Block]",
        "verboseLabel": "RETIREMENT BENEFITS"
       }
      }
     },
     "localname": "PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITS"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent": {
     "auth_ref": [
      "r6",
      "r634",
      "r635",
      "r657",
      "r1079"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS": {
       "order": 4.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredCreditsAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability, recognized in statement of financial position, for defined benefit pension and other postretirement plans, classified as noncurrent.",
        "label": "Liability, Defined Benefit Plan, Noncurrent",
        "negatedLabel": "Employee benefit obligations",
        "verboseLabel": "Employee benefit obligations"
       }
      }
     },
     "localname": "PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PensionPlansDefinedBenefitMember": {
     "auth_ref": [
      "r153",
      "r634",
      "r637",
      "r638",
      "r639",
      "r640",
      "r641",
      "r642",
      "r643",
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r653",
      "r654",
      "r655",
      "r656",
      "r657",
      "r658",
      "r659",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675",
      "r676",
      "r677",
      "r678",
      "r679",
      "r681",
      "r683",
      "r684",
      "r686",
      "r689",
      "r692",
      "r693",
      "r694",
      "r695",
      "r696",
      "r697",
      "r698",
      "r699",
      "r700",
      "r701",
      "r702",
      "r706",
      "r707",
      "r718",
      "r1079",
      "r1080",
      "r1084",
      "r1085",
      "r1086"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan designed to provide participant with pension benefits. Includes, but is not limited to, defined benefit and defined contribution plans. Excludes other postretirement benefits.",
        "label": "Pension Plan [Member]",
        "verboseLabel": "Pension plans"
       }
      }
     },
     "localname": "PensionPlansDefinedBenefitMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSAccumulatedBenefitObligationDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PerformanceSharesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement awarded for meeting performance target.",
        "label": "Performance Shares [Member]",
        "terseLabel": "Performance Shares"
       }
      }
     },
     "localname": "PerformanceSharesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesAssumptionsUsedDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesCompensationCostsandRelatedTaxBenefitDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PlanAssetCategoriesDomain": {
     "auth_ref": [
      "r658",
      "r659",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r686",
      "r1077",
      "r1078",
      "r1079"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Defined benefit plan asset investment.",
        "label": "Defined Benefit Plan, Plan Assets, Category [Domain]",
        "terseLabel": "Defined Benefit Plan, Plan Assets, Category [Domain]"
       }
      }
     },
     "localname": "PlanAssetCategoriesDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PositionAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by position taken for a security.",
        "label": "Position [Axis]",
        "terseLabel": "Position [Axis]"
       }
      }
     },
     "localname": "PositionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PositionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates position taken for a security.",
        "label": "Position [Domain]",
        "terseLabel": "Position [Domain]"
       }
      }
     },
     "localname": "PositionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PositiveOutcomeOfLitigationMember": {
     "auth_ref": [
      "r1185"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A potential favorable result upon resolution of a litigation matter, whether through trial, arbitration, mediation, or settlement of a legal threat made to another party, which results in collection of a damages award in cash or in other tangible or intangible assets.",
        "label": "Positive Outcome of Litigation [Member]",
        "terseLabel": "Positive Outcome of Litigation"
       }
      }
     },
     "localname": "PositiveOutcomeOfLitigationMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESNuclearFuelDisposalCostsandNuclearInsuranceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockDividendRatePercentage": {
     "auth_ref": [
      "r600"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage rate used to calculate dividend payments on preferred stock.",
        "label": "Preferred Stock, Dividend Rate, Percentage",
        "terseLabel": "Dividend rate"
       }
      }
     },
     "localname": "PreferredStockDividendRatePercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_PreferredStockDividendsIncomeStatementImpact": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern": {
       "order": 4.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of preferred stock dividends that is an adjustment to net income apportioned to common stockholders.",
        "label": "Preferred Stock Dividends, Income Statement Impact",
        "verboseLabel": "Dividends on preferred stock of subsidiaries"
       }
      }
     },
     "localname": "PreferredStockDividendsIncomeStatementImpact",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/StatementsofIncomeAPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r10",
      "r599"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.",
        "label": "Preferred Stock, Par or Stated Value Per Share",
        "verboseLabel": "Par value (in dollars per share)"
       }
      }
     },
     "localname": "PreferredStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PrepaidExpenseCurrent": {
     "auth_ref": [
      "r357",
      "r507",
      "r508",
      "r1046"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsAPC": {
       "order": 9.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 11.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits within a future period of one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense, Current",
        "verboseLabel": "Prepaid expenses"
       }
      }
     },
     "localname": "PrepaidExpenseCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidTaxes": {
     "auth_ref": [
      "r1047",
      "r1061",
      "r1157"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": 6.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for income and other taxes that provide economic benefits within a future period of one year or the normal operating cycle, if longer.",
        "label": "Prepaid Taxes",
        "terseLabel": "Prepaid income taxes"
       }
      }
     },
     "localname": "PrepaidTaxes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrivateEquityFundsMember": {
     "auth_ref": [
      "r1220"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments held in private equity funds.",
        "label": "Private Equity Funds [Member]",
        "terseLabel": "Private equity",
        "verboseLabel": "Private equity"
       }
      }
     },
     "localname": "PrivateEquityFundsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProceedsFromContributionInAidOfConstruction": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from developers, builders, governmental agencies and municipalities that provide the entity with cash to extend its construction services to their properties.",
        "label": "Proceeds from Contribution in Aid of Construction",
        "terseLabel": "Contributions in aid of construction"
       }
      }
     },
     "localname": "ProceedsFromContributionInAidOfConstruction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromContributionsFromParent": {
     "auth_ref": [
      "r72"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from parent as a source of financing that is recorded as additional paid in capital.",
        "label": "Proceeds from Contributions from Parent",
        "terseLabel": "Capital contributions from parent company"
       }
      }
     },
     "localname": "ProceedsFromContributionsFromParent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromDecommissioningFund": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the sale of assets held in a decommissioning trust fund.",
        "label": "Proceeds from Decommissioning Trust Fund Assets",
        "verboseLabel": "Nuclear decommissioning trust fund sales"
       }
      }
     },
     "localname": "ProceedsFromDecommissioningFund",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromDivestitureOfBusinesses": {
     "auth_ref": [
      "r63"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the amount received from the sale of a portion of the company's business, for example a segment, division, branch or other business, during the period.",
        "label": "Proceeds from Divestiture of Businesses",
        "terseLabel": "Cash proceeds from sale of business"
       }
      }
     },
     "localname": "ProceedsFromDivestitureOfBusinesses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the cash inflow during the period from the sale of a component of the entity.",
        "label": "Proceeds from Divestiture of Businesses, Net of Cash Divested",
        "terseLabel": "Proceeds from dispositions"
       }
      }
     },
     "localname": "ProceedsFromDivestitureOfBusinessesNetOfCashDivested",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r69"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds from Issuance of Common Stock",
        "terseLabel": "Proceeds from issuance of common stock",
        "verboseLabel": "Common stock"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/FINANCINGEquityUnitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfFirstMortgageBond": {
     "auth_ref": [
      "r71"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from amounts received from a long-term debt instrument secured by a first mortgage deed of trust, containing a pledge of real property. The lender has the highest claim on the property in case of default.",
        "label": "Proceeds from Issuance of First Mortgage Bond",
        "terseLabel": "First mortgage bonds"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfFirstMortgageBond",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet": {
     "auth_ref": [
      "r70"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with security instrument that either represents a creditor or an ownership relationship with the holder of the investment security with a maturity of beyond one year or normal operating cycle, if longer. Includes proceeds from (a) debt, (b) capital lease obligations, (c) mandatory redeemable capital securities, and (d) any combination of (a), (b), or (c).",
        "label": "Proceeds from Issuance of Long-Term Debt and Capital Securities, Net",
        "verboseLabel": "Long-term debt"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfOtherLongTermDebt": {
     "auth_ref": [
      "r71"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from issuance of long-term debt classified as other.",
        "label": "Proceeds from Issuance of Other Long-Term Debt",
        "terseLabel": "Other long-term debt",
        "verboseLabel": "Other long-term debt"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfOtherLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt": {
     "auth_ref": [
      "r71"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a borrowing with the highest claim on the assets of the entity in case of bankruptcy or liquidation (with maturities initially due after one year or beyond the operating cycle, if longer).",
        "label": "Proceeds from Issuance of Senior Long-Term Debt",
        "verboseLabel": "Senior notes"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfSeniorLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions": {
     "auth_ref": [
      "r69",
      "r174"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from issuance of shares under share-based payment arrangement. Includes, but is not limited to, option exercised.",
        "label": "Proceeds, Issuance of Shares, Share-Based Payment Arrangement, Including Option Exercised",
        "terseLabel": "Proceeds from issuance of shares under share-based compensation plans"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGOutstandingClassesofCapitalStockNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMinorityShareholders": {
     "auth_ref": [
      "r72"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from a noncontrolling interest. Includes, but is not limited to, purchase of additional shares or other increase in noncontrolling interest ownership.",
        "label": "Proceeds from Noncontrolling Interests",
        "terseLabel": "Capital contributions from noncontrolling interests"
       }
      }
     },
     "localname": "ProceedsFromMinorityShareholders",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromNotesPayable": {
     "auth_ref": [
      "r71"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a borrowing supported by a written promise to pay an obligation.",
        "label": "Proceeds from Notes Payable",
        "terseLabel": "Increase (decrease) in notes payable, net"
       }
      }
     },
     "localname": "ProceedsFromNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromOtherShortTermDebt": {
     "auth_ref": [
      "r71"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from short-term debt classified as other.",
        "label": "Proceeds from Other Short-Term Debt",
        "terseLabel": "Short-term borrowings"
       }
      }
     },
     "localname": "ProceedsFromOtherShortTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromPartnershipContribution": {
     "auth_ref": [
      "r72"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the capital received in cash from a partner in a partnership during the period.",
        "label": "Proceeds from Partnership Contribution",
        "terseLabel": "Proceeds from tax equity transaction"
       }
      }
     },
     "localname": "ProceedsFromPartnershipContribution",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromPaymentsForOtherFinancingActivities": {
     "auth_ref": [
      "r1129",
      "r1130"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities classified as other.",
        "label": "Proceeds from (Payments for) Other Financing Activities",
        "verboseLabel": "Other financing activities"
       }
      }
     },
     "localname": "ProceedsFromPaymentsForOtherFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfEquityMethodInvestments": {
     "auth_ref": [
      "r63"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the sale of equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence.",
        "label": "Proceeds from Sale of Equity Method Investments",
        "terseLabel": "Proceeds from sale of equity method investments"
       }
      }
     },
     "localname": "ProceedsFromSaleOfEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfProductiveAssets": {
     "auth_ref": [
      "r64"
     ],
     "calculation": {
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the sale of property, plant and equipment (capital expenditures), software, and other intangible assets.",
        "label": "Proceeds from Sale of Productive Assets",
        "terseLabel": "Proceeds from dispositions"
       }
      }
     },
     "localname": "ProceedsFromSaleOfProductiveAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "auth_ref": [
      "r69",
      "r174"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from exercise of option under share-based payment arrangement.",
        "label": "Proceeds from Stock Options Exercised",
        "verboseLabel": "Cash received from issuance related to option exercise"
       }
      }
     },
     "localname": "ProceedsFromStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProductAndServiceOtherMember": {
     "auth_ref": [
      "r1196"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Article or substance produced by nature, labor or machinery and act of providing assistance, classified as other.",
        "label": "Product and Service, Other [Member]",
        "terseLabel": "Other revenues"
       }
      }
     },
     "localname": "ProductAndServiceOtherMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r338",
      "r371",
      "r374",
      "r388",
      "r395",
      "r415",
      "r427",
      "r428",
      "r461",
      "r466",
      "r472",
      "r475",
      "r491",
      "r558",
      "r559",
      "r561",
      "r562",
      "r563",
      "r565",
      "r567",
      "r569",
      "r570",
      "r795",
      "r798",
      "r799",
      "r820",
      "r833",
      "r961",
      "r1059",
      "r1090",
      "r1091",
      "r1123",
      "r1187"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net Income (Loss)",
        "totalLabel": "Net Income",
        "verboseLabel": "Consolidated net income"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSouthern",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPC",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Abstract]",
        "terseLabel": "Property, Plant and Equipment [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r129"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
        "label": "Long-Lived Tangible Asset [Axis]",
        "terseLabel": "Property, Plant and Equipment, Type [Axis]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails",
      "http://southerncompany.com/role/LEASESLeaseCostsDetails",
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTCompositeStraightLineRatesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDeferredCloudImplementationCostsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r132",
      "r1004",
      "r1005",
      "r1006"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment Disclosure [Text Block]",
        "terseLabel": "PROPERTY, PLANT, AND EQUIPMENT"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENT"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "auth_ref": [
      "r127",
      "r343"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 1.0,
       "parentTag": "so_PlantInServiceNetOfDepreciation",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Gross",
        "verboseLabel": "In service"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Property, Plant and Equipment [Line Items]",
        "terseLabel": "Property, Plant and Equipment [Line Items]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAssetsSubjecttoLienNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTCompositeStraightLineRatesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDeferredCloudImplementationCostsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTJointOwnershipAgreementsNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r129",
      "r302",
      "r963",
      "r1095"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Net",
        "totalLabel": "Total property, plant, and equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment, Net [Abstract]",
        "verboseLabel": "Property, Plant, and Equipment:"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentOtherTypesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long-lived, physical assets used to produce goods and services and not intended for resale, classified as other.",
        "label": "Property, Plant and Equipment, Other Types [Member]",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentOtherTypesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentPreproductionDesignAndDevelopmentCosts": {
     "auth_ref": [
      "r509"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the preproduction design and development costs it incurs related to long-term supply arrangements, including whether such costs are capitalized or expensed as incurred. The entity also may disclose the aggregate amount of (1) assets recognized for agreements that contractually reimburse the entity for its pre-production design and development costs (2) assets recognized for molds, dies and other tools that the entity owns and (3) assets recognized for molds, dies and other tools that the entity does not own.",
        "label": "Property, Plant and Equipment, Preproduction Design and Development Costs [Policy Text Block]",
        "terseLabel": "Development Costs"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentPreproductionDesignAndDevelopmentCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r129"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table Text Block]",
        "terseLabel": "Property, plant and equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "auth_ref": [
      "r127"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
        "label": "Long-Lived Tangible Asset [Domain]",
        "terseLabel": "Property, Plant and Equipment, Type [Domain]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/LEASESBalanceSheetAmountsRecordedforOperatingandFinancingLeasesDetails",
      "http://southerncompany.com/role/LEASESLeaseCostsDetails",
      "http://southerncompany.com/role/LEASESMajorCategoriesofLeaseObligationsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTCompositeStraightLineRatesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDeferredCloudImplementationCostsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.",
        "label": "Property, Plant and Equipment, Useful Life",
        "terseLabel": "Useful life"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedCostOfEquity": {
     "auth_ref": [
      "r326",
      "r327"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsAPC": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The component of the allowance for funds used during construction during the period based on an assumed rate of return on equity funds used in financing the construction of regulated assets.",
        "label": "Public Utilities, Allowance for Funds Used During Construction, Capitalized Cost of Equity",
        "negatedLabel": "Allowance for equity funds used during construction",
        "verboseLabel": "Allowance for equity funds used during construction"
       }
      }
     },
     "localname": "PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedCostOfEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedInterest": {
     "auth_ref": [
      "r326"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount capitalized of allowance for funds used during construction.",
        "label": "Allowance for Funds Used During Construction, Capitalized Interest",
        "verboseLabel": "Total AFUDC and interest capitalized"
       }
      }
     },
     "localname": "PublicUtilitiesAllowanceForFundsUsedDuringConstructionCapitalizedInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofTotalAFUDCandInterestCapitalizedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PublicUtilitiesApprovedEquityCapitalStructurePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of public utility's approved equity to capital, including debt and equity.",
        "label": "Public Utilities, Approved Equity Capital Structure, Percentage",
        "terseLabel": "Public utilities, approved equity capital structure, percentage"
       }
      }
     },
     "localname": "PublicUtilitiesApprovedEquityCapitalStructurePercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_PublicUtilitiesApprovedRateIncreaseDecreaseAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of public utility's approved rate increase (decrease) by regulatory agency.",
        "label": "Public Utilities, Approved Rate Increase (Decrease), Amount",
        "terseLabel": "Public utilities, approved rate increase (decrease), amount"
       }
      }
     },
     "localname": "PublicUtilitiesApprovedRateIncreaseDecreaseAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCEnvironmentalComplianceOverviewPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PublicUtilitiesApprovedRateIncreaseDecreasePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of public utility's approved rate increase (decrease) by regulatory agency.",
        "label": "Public Utilities, Approved Rate Increase (Decrease), Percentage",
        "negatedTerseLabel": "Approved rate decrease, percent",
        "terseLabel": "Approved rate increase, percent"
       }
      }
     },
     "localname": "PublicUtilitiesApprovedRateIncreaseDecreasePercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_PublicUtilitiesApprovedReturnOnEquityPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of public utility's approved return on equity.",
        "label": "Public Utilities, Approved Return on Equity, Percentage",
        "terseLabel": "Authorized ROE"
       }
      }
     },
     "localname": "PublicUtilitiesApprovedReturnOnEquityPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUtilityRegulationandRateDesignDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_PublicUtilitiesDisclosureTextBlock": {
     "auth_ref": [
      "r328"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for public utilities.",
        "label": "Public Utilities Disclosure [Text Block]",
        "terseLabel": "REGULATORY MATTERS"
       }
      }
     },
     "localname": "PublicUtilitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERS"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PublicUtilitiesGeneralDisclosuresLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Public Utilities, General Disclosures [Line Items]",
        "terseLabel": "Public Utilities, General Disclosures [Line Items]"
       }
      }
     },
     "localname": "PublicUtilitiesGeneralDisclosuresLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCAccountingOrdersandPlantGreeneCountyDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPNewPlantDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUtilityRegulationandRateDesignDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCTariffsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCEnvironmentalComplianceOverviewPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PublicUtilitiesGeneralDisclosuresTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about regulation for public utility entities, including, but not limited to, rate requests, decommissioning costs and the amount of allowance for earnings on equity capitalized for rate making purposes.",
        "label": "Public Utilities General Disclosures [Table]",
        "terseLabel": "Public Utilities General Disclosures [Table]"
       }
      }
     },
     "localname": "PublicUtilitiesGeneralDisclosuresTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCAccountingOrdersandPlantGreeneCountyDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateCNPNewPlantDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateNDRandReliabilityReserveAccountingOrderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCRateRSEDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUtilityRegulationandRateDesignDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCTariffsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCEnvironmentalComplianceOverviewPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PublicUtilitiesGeneralDisclosuresTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of regulation for public utility entities, including, but not limited to, rate requests, decommissioning costs and the amount of allowance for earnings on equity capitalized for rate making purposes.",
        "label": "Public Utilities General Disclosures [Table Text Block]",
        "terseLabel": "Public utilities general disclosures"
       }
      }
     },
     "localname": "PublicUtilitiesGeneralDisclosuresTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PublicUtilitiesInventoryNaturalGasMember": {
     "auth_ref": [
      "r1120"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mixture of gases, liquefied or otherwise, used for fuel and manufacturing purposes, which is ready for sale.",
        "label": "Public Utilities, Inventory, Natural Gas [Member]",
        "terseLabel": "Energy-related, Natural Gas"
       }
      }
     },
     "localname": "PublicUtilitiesInventoryNaturalGasMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PublicUtilitiesPolicyTextBlock": {
     "auth_ref": [
      "r313"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for public utilities. Examples include a discussion about the scope criteria and appropriateness for and extent of the application of generally accepted accounting principles related to accounting for the effects of certain types of regulation (may include identification of specific business units). Other examples of the disclosures may include: descriptions of the form and economic effects of regulation (for example, but not limited to, recording of regulatory assets and liabilities to the rate setting process); statement about periodic assessments of periodic assessments of generally accepted accounting principles related to accounting for the effects of certain types of regulation; information regarding amortization of and return on regulatory assets and liabilities, including the remaining amounts and recovery or settlement periods; accounting for changes to recovery estimates; AFUDC, plant abandonment's and plant disallowances.",
        "label": "Public Utilities, Policy [Policy Text Block]",
        "verboseLabel": "Regulatory Assets and Liabilities"
       }
      }
     },
     "localname": "PublicUtilitiesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PublicUtilitiesPropertyPlantAndEquipmentDisclosureOfCompositeDepreciationRateForPlantsInService": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Composite depreciation rate for public utility plants in service.",
        "label": "Public Utilities, Property, Plant and Equipment, Disclosure of Composite Depreciation Rate for Plants in Service",
        "terseLabel": "Composite rate"
       }
      }
     },
     "localname": "PublicUtilitiesPropertyPlantAndEquipmentDisclosureOfCompositeDepreciationRateForPlantsInService",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTCompositeStraightLineRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_PublicUtilitiesPropertyPlantAndEquipmentDistribution": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails": {
       "order": 3.0,
       "parentTag": "so_ElectricUtilityPlantinService",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period end amount of property, plant and equipment (PPE) related to utility distribution.",
        "label": "Public Utilities, Property, Plant and Equipment, Distribution",
        "terseLabel": "Distribution"
       }
      }
     },
     "localname": "PublicUtilitiesPropertyPlantAndEquipmentDistribution",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PublicUtilitiesPropertyPlantAndEquipmentGenerationOrProcessing": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails": {
       "order": 1.0,
       "parentTag": "so_ElectricUtilityPlantinService",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period end amount of property, plant and equipment (PPE) related to generation or processing owned by public utility.",
        "label": "Public Utilities, Property, Plant and Equipment, Generation or Processing",
        "terseLabel": "Generation"
       }
      }
     },
     "localname": "PublicUtilitiesPropertyPlantAndEquipmentGenerationOrProcessing",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PublicUtilitiesPropertyPlantAndEquipmentOtherPropertyPlantAndEquipment": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_PublicUtilitiesPropertyPlantAndEquipmentPlantInService",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period end book value of other property, plant and equipment (PPE) owned (but not classified elsewhere) by the public utility.",
        "label": "Public Utilities, Property, Plant and Equipment, Other Property, Plant and Equipment",
        "terseLabel": "Other plant in service"
       }
      }
     },
     "localname": "PublicUtilitiesPropertyPlantAndEquipmentOtherPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PublicUtilitiesPropertyPlantAndEquipmentOtherPropertyPlantAndEquipmentUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of other property, plant and equipment (PPE) owned by public utility, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Public Utilities, Property, Plant and Equipment, Other Property Plant and Equipment, Useful Life",
        "terseLabel": "Depreciation period of original cost"
       }
      }
     },
     "localname": "PublicUtilitiesPropertyPlantAndEquipmentOtherPropertyPlantAndEquipmentUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_PublicUtilitiesPropertyPlantAndEquipmentPlantInService": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period end amount of total gross PPE.",
        "label": "Public Utilities, Property, Plant and Equipment, Plant in Service",
        "totalLabel": "Total plant in service"
       }
      }
     },
     "localname": "PublicUtilitiesPropertyPlantAndEquipmentPlantInService",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PublicUtilitiesPropertyPlantAndEquipmentPlantInServiceAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Public Utilities, Property, Plant and Equipment, Plant in Service [Abstract]",
        "terseLabel": "Electric utilities:"
       }
      }
     },
     "localname": "PublicUtilitiesPropertyPlantAndEquipmentPlantInServiceAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PublicUtilitiesPropertyPlantAndEquipmentTransmission": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails": {
       "order": 2.0,
       "parentTag": "so_ElectricUtilityPlantinService",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period end amount of property, plant and equipment (PPE) related to utility transmission owned by public utility.",
        "label": "Public Utilities, Property, Plant and Equipment, Transmission",
        "terseLabel": "Transmission"
       }
      }
     },
     "localname": "PublicUtilitiesPropertyPlantAndEquipmentTransmission",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PublicUtilitiesPropertyPlantAndEquipmentTransmissionAndDistributionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Public Utilities, Property, Plant and Equipment, Transmission and Distribution [Abstract]",
        "terseLabel": "Southern Company Gas:"
       }
      }
     },
     "localname": "PublicUtilitiesPropertyPlantAndEquipmentTransmissionAndDistributionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PublicUtilitiesRegulatoryProceedingAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of regulatory proceeding.",
        "label": "Public Utilities, Regulatory Proceeding [Axis]",
        "terseLabel": "Public Utilities, Regulatory Proceeding [Axis]"
       }
      }
     },
     "localname": "PublicUtilitiesRegulatoryProceedingAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCTariffsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCEnvironmentalComplianceOverviewPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PublicUtilitiesRegulatoryProceedingDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeding with public utility's regulatory body.",
        "label": "Public Utilities, Regulatory Proceeding [Domain]",
        "terseLabel": "Public Utilities, Regulatory Proceeding [Domain]"
       }
      }
     },
     "localname": "PublicUtilitiesRegulatoryProceedingDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCTariffsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCEnvironmentalComplianceOverviewPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PublicUtilitiesRequestedRateIncreaseDecreaseAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of public utility's requested rate increase (decrease) with regulatory agency.",
        "label": "Public Utilities, Requested Rate Increase (Decrease), Amount",
        "terseLabel": "Requested rate increase (decrease), amount"
       }
      }
     },
     "localname": "PublicUtilitiesRequestedRateIncreaseDecreaseAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCMunicipalandRuralAssociationsTariffDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PublicUtilityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of utility plant.",
        "label": "Public Utility [Axis]",
        "terseLabel": "Public Utility [Axis]"
       }
      }
     },
     "localname": "PublicUtilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTJointOwnershipAgreementsNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCAccountingOrdersandPlantGreeneCountyDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_QualifiedPlanMember": {
     "auth_ref": [
      "r1198",
      "r1199",
      "r1200",
      "r1201",
      "r1202",
      "r1203",
      "r1204",
      "r1205",
      "r1206",
      "r1207",
      "r1208",
      "r1209",
      "r1210",
      "r1211",
      "r1212",
      "r1213",
      "r1214",
      "r1215",
      "r1216",
      "r1217",
      "r1218",
      "r1219",
      "r1220",
      "r1221",
      "r1222",
      "r1223",
      "r1224",
      "r1225",
      "r1226",
      "r1227",
      "r1228",
      "r1229",
      "r1230",
      "r1231",
      "r1232",
      "r1233",
      "r1234",
      "r1235",
      "r1236",
      "r1237",
      "r1238",
      "r1239",
      "r1240",
      "r1241",
      "r1242",
      "r1243",
      "r1244",
      "r1245",
      "r1246",
      "r1247",
      "r1248",
      "r1249",
      "r1250",
      "r1251",
      "r1252",
      "r1253",
      "r1254",
      "r1255",
      "r1256",
      "r1257",
      "r1258"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan with tax-exempt status designed and operated in accordance with applicable tax provision of designated taxing authority. Taxing authority includes, but is not limited to, U.S. Internal Revenue Service (IRS). Includes, but is not limited to, defined benefit and defined contribution plans.",
        "label": "Qualified Plan [Member]",
        "verboseLabel": "Qualified pension plan"
       }
      }
     },
     "localname": "QualifiedPlanMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RealEstateInvestmentMember": {
     "auth_ref": [
      "r998",
      "r999",
      "r1000",
      "r1099"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents direct equity investments in real estate projects (Land, buildings and improvements owned for income production and capital accretion potential) and certain loans accounted for as real estate investments. For loans accounted for as real estate investments, the entity (lender) has virtually the same risks and rewards as those of owners or joint venture participants. Such arrangements are treated as if the entity actually has an ownership interest in the property. In such arrangements, the entity (lender) participates in expected residual profits, which may be in the form of an equity kicker or a higher than usual effective interest rate. At the outset and during the construction and development of the property, the borrower generally has little or no equity in the property and the entity's (lender's) only source of repayment is the property. The entity (lender) generally (a) agrees to provide substantially all funds to acquire, develop, and construct the property, (b) funds the commitment or origination fees or both, and (c) funds interest during the development and construction of the property.",
        "label": "Real Estate Investment [Member]",
        "verboseLabel": "Real estate investments"
       }
      }
     },
     "localname": "RealEstateInvestmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReceivablesNetCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Receivables, Net, Current [Abstract]",
        "verboseLabel": "Receivables \u2014"
       }
      }
     },
     "localname": "ReceivablesNetCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReceivablesTradeAndOtherAccountsReceivableAllowanceForDoubtfulAccountsPolicy": {
     "auth_ref": [
      "r104"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for determining the allowance for doubtful accounts for trade and other accounts receivable balances, and when impairments, charge-offs or recoveries are recognized.",
        "label": "Receivables, Trade and Other Accounts Receivable, Allowance for Doubtful Accounts, Policy [Policy Text Block]",
        "terseLabel": "Provision for Uncollectible Accounts"
       }
      }
     },
     "localname": "ReceivablesTradeAndOtherAccountsReceivableAllowanceForDoubtfulAccountsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax": {
     "auth_ref": [
      "r47",
      "r50",
      "r378",
      "r845",
      "r849",
      "r851",
      "r1121"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of reclassification adjustments of other comprehensive income (loss).",
        "label": "Reclassification from Accumulated Other Comprehensive Income, Current Period, Net of Tax",
        "negatedLabel": "Reclassification adjustments"
       }
      }
     },
     "localname": "ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]",
        "terseLabel": "AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]"
       }
      }
     },
     "localname": "ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReconciliationOfRevenueFromSegmentsToConsolidatedTextBlock": {
     "auth_ref": [
      "r100",
      "r102"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of all significant reconciling items in the reconciliation of total revenues from reportable segments to the entity's consolidated revenues.",
        "label": "Reconciliation of Revenue from Segments to Consolidated [Table Text Block]",
        "terseLabel": "Schedule of reconciliation of operating revenues and intercompany revenues"
       }
      }
     },
     "localname": "ReconciliationOfRevenueFromSegmentsToConsolidatedTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ReconciliationOfUnrecognizedTaxBenefitsExcludingAmountsPertainingToExaminedTaxReturnsRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]",
        "verboseLabel": "Changes in unrecognized tax benefits [Roll Forward]"
       }
      }
     },
     "localname": "ReconciliationOfUnrecognizedTaxBenefitsExcludingAmountsPertainingToExaminedTaxReturnsRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESChangesinUnrecognizedTaxBenefitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligation": {
     "auth_ref": [
      "r550"
     ],
     "calculation": {
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the recorded obligation to transfer funds in the future for fixed or minimum amounts or quantities of goods or services at fixed or minimum prices (for example, as in take-or-pay contracts or throughput contracts).",
        "label": "Recorded Unconditional Purchase Obligation",
        "totalLabel": "Recorded unconditional purchase obligation"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis": {
     "auth_ref": [
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pertinent information about recorded unconditional purchase arrangements to acquire goods or services, by category of goods or services.",
        "label": "Recorded Unconditional Purchase Obligation by Category of Item Purchased [Axis]",
        "terseLabel": "Recorded Unconditional Purchase Obligation by Category of Item Purchased [Axis]"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationDueAfterFifthYear": {
     "auth_ref": [
      "r1177"
     ],
     "calculation": {
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_RecordedUnconditionalPurchaseObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of recorded unconditional purchase obligation maturing after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Recorded Unconditional Purchase Obligation, to be Paid, after Year Five",
        "verboseLabel": "Recorded unconditional purchase obligation, after year five"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationDueAfterFifthYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationDueInFifthYear": {
     "auth_ref": [
      "r550"
     ],
     "calculation": {
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_RecordedUnconditionalPurchaseObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of recorded unconditional purchase obligation to be paid in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Recorded Unconditional Purchase Obligation, to be Paid, Year Five",
        "verboseLabel": "Recorded unconditional purchase obligation, year five"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationDueInFifthYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationDueInFourthYear": {
     "auth_ref": [
      "r550"
     ],
     "calculation": {
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_RecordedUnconditionalPurchaseObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of recorded unconditional purchase obligation to be paid in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Recorded Unconditional Purchase Obligation, to be Paid, Year Four",
        "terseLabel": "Recorded unconditional purchase obligation, year four"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationDueInFourthYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationDueInSecondYear": {
     "auth_ref": [
      "r550"
     ],
     "calculation": {
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_RecordedUnconditionalPurchaseObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of recorded unconditional purchase obligation to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Recorded Unconditional Purchase Obligation, to be Paid, Year Two",
        "terseLabel": "Recorded unconditional purchase obligation, year two"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationDueInSecondYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationDueInThirdYear": {
     "auth_ref": [
      "r550"
     ],
     "calculation": {
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_RecordedUnconditionalPurchaseObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of recorded unconditional purchase obligation to be paid in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Recorded Unconditional Purchase Obligation, to be Paid, Year Three",
        "terseLabel": "Recorded unconditional purchase obligation, year three"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationDueInThirdYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationDueWithinOneYear": {
     "auth_ref": [
      "r550"
     ],
     "calculation": {
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_RecordedUnconditionalPurchaseObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of recorded unconditional purchase obligation to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Recorded Unconditional Purchase Obligation, to be Paid, Year One",
        "terseLabel": "Recorded unconditional purchase obligation, year one"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationDueWithinOneYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Recorded Unconditional Purchase Obligation [Line Items]",
        "terseLabel": "Recorded Unconditional Purchase Obligation [Line Items]"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGuaranteesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationPaymentScheduleAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Recorded Unconditional Purchase Obligation, Fiscal Year Maturity Schedule [Abstract]",
        "terseLabel": "Recorded Unconditional Purchase Obligation, Fiscal Year Maturity Schedule [Abstract]"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationPaymentScheduleAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationTable": {
     "auth_ref": [
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes each recorded unconditional purchase obligation arrangement to purchase goods and services that extend over multiple periods, any assets pledged to secure payment, and the fixed or determinable amount of payments due in each of the next five years and thereafter.",
        "label": "Recorded Unconditional Purchase Obligation [Table]",
        "terseLabel": "Recorded Unconditional Purchase Obligation [Table]"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGuaranteesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RecoverableVacationPayMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate action of a regulator resulting in capitalization or accrual of costs incurred for employee vacation.",
        "label": "Recoverable Vacation Pay [Member]",
        "terseLabel": "Vacation Pay"
       }
      }
     },
     "localname": "RecoverableVacationPayMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RedeemableNoncontrollingInterestByLegalEntityTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of redeemable noncontrolling interest (as defined) included in the statement of financial position as either a liability or temporary equity. As of the date of the statement of financial position, such redeemable noncontrolling interest is currently redeemable, as defined, for cash or other assets of the entity at (1) at a fixed or determinable price on a fixed or determinable date, (2) at the option of the holder of the noncontrolling interest, or (3) upon occurrence of an event that is not solely within the control of the entity.",
        "label": "Redeemable Noncontrolling Interest, by Legal Entity [Table]",
        "terseLabel": "Redeemable Noncontrolling Interest, by Legal Entity [Table]"
       }
      }
     },
     "localname": "RedeemableNoncontrollingInterestByLegalEntityTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RedeemableNoncontrollingInterestLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Redeemable Noncontrolling Interest [Line Items]",
        "terseLabel": "Redeemable Noncontrolling Interest [Line Items]"
       }
      }
     },
     "localname": "RedeemableNoncontrollingInterestLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RedeemablePreferredStockMember": {
     "auth_ref": [
      "r1",
      "r141",
      "r395",
      "r491",
      "r558",
      "r561",
      "r562",
      "r563",
      "r569",
      "r570",
      "r833"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of type or class of redeemable preferred stock. For instance, cumulative preferred stock, noncumulative preferred stock, convertible or series.",
        "label": "Redeemable Preferred Stock [Member]",
        "terseLabel": "Redeemable Preferred Stock"
       }
      }
     },
     "localname": "RedeemablePreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RegulatedOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Regulated Operations [Abstract]",
        "terseLabel": "Regulated Operations [Abstract]"
       }
      }
     },
     "localname": "RegulatedOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSBalanceSheetInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSIncomeStatementInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RegulatoryAssetAmortizationPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortization period for the recovery of regulatory asset, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Regulatory Asset, Amortization Period",
        "terseLabel": "Regulatory asset amortization period"
       }
      }
     },
     "localname": "RegulatoryAssetAmortizationPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_RegulatoryAssetAxis": {
     "auth_ref": [
      "r315",
      "r316",
      "r323"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of regulatory asset.",
        "label": "Regulatory Asset [Axis]",
        "terseLabel": "Regulatory Asset [Axis]"
       }
      }
     },
     "localname": "RegulatoryAssetAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCAccountingOrdersandPlantGreeneCountyDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUnrecognizedRatemakingAmountsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RegulatoryAssetDomain": {
     "auth_ref": [
      "r315"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate action of a regulator resulting in capitalization of costs incurred.",
        "label": "Regulatory Asset [Domain]",
        "terseLabel": "Regulatory Asset [Domain]"
       }
      }
     },
     "localname": "RegulatoryAssetDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCAccountingOrdersandPlantGreeneCountyDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUnrecognizedRatemakingAmountsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESStormDamageandReliabilityReservesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RegulatoryAssets": {
     "auth_ref": [
      "r315"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount for the individual regulatory asset as itemized in a table of regulatory assets as of the end of the period.",
        "label": "Regulatory Asset",
        "terseLabel": "Regulatory asset",
        "totalLabel": "Regulatory asset"
       }
      }
     },
     "localname": "RegulatoryAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASScheduleofUnrecognizedRatemakingAmountsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RegulatoryClauseRevenuesUnderRecoveredMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate action of a regulator resulting in capitalization or accrual of under-recovered regulatory clause revenue.",
        "label": "Regulatory Clause Revenues, under-Recovered [Member]",
        "terseLabel": "Under Recovered Regulatory Clause Revenues"
       }
      }
     },
     "localname": "RegulatoryClauseRevenuesUnderRecoveredMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RegulatoryLiabilities": {
     "auth_ref": [
      "r319"
     ],
     "calculation": {
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount for the individual regulatory liability as itemized in a table of regulatory liabilities as of the end of the period.",
        "label": "Regulatory Liability",
        "negatedTotalLabel": "Regulatory liabilities",
        "terseLabel": "Regulatory liabilities"
       }
      }
     },
     "localname": "RegulatoryLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCFuelCostandStormDamageRecoveryDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RegulatoryLiabilityAmortizationPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortization period for the recovery of regulatory liability, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Regulatory Liability, Amortization Period",
        "terseLabel": "Regulatory liability amortization period"
       }
      }
     },
     "localname": "RegulatoryLiabilityAmortizationPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPC2019BaseRateCaseandPerformanceEvaluationPlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_RegulatoryLiabilityAxis": {
     "auth_ref": [
      "r319"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of regulatory liability.",
        "label": "Regulatory Liability [Axis]",
        "terseLabel": "Regulatory Liability [Axis]"
       }
      }
     },
     "localname": "RegulatoryLiabilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RegulatoryLiabilityDomain": {
     "auth_ref": [
      "r319"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate action of a regulator resulting in accrual of costs or expenses.",
        "label": "Regulatory Liability [Domain]",
        "terseLabel": "Regulatory Liability [Domain]"
       }
      }
     },
     "localname": "RegulatoryLiabilityDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r686",
      "r899",
      "r900"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Domain]",
        "terseLabel": "Related Party [Domain]"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGuaranteesDetails",
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGoodwillandOtherIntangibleAssetsandLiabilitiesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionAmountsOfTransaction": {
     "auth_ref": [
      "r271",
      "r899"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transactions with related party during the financial reporting period.",
        "label": "Related Party Transaction, Amounts of Transaction",
        "verboseLabel": "Costs for services"
       }
      }
     },
     "localname": "RelatedPartyTransactionAmountsOfTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Related Party Transaction [Line Items]",
        "terseLabel": "Related Party Transaction [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r686",
      "r899",
      "r944",
      "r945",
      "r946",
      "r947",
      "r948",
      "r949",
      "r950",
      "r951",
      "r952",
      "r953",
      "r954",
      "r955",
      "r1318"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Axis]",
        "terseLabel": "Related Party [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSEGCOEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGuaranteesDetails",
      "http://southerncompany.com/role/DERIVATIVESNarrativeDetails",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGoodwillandOtherIntangibleAssetsandLiabilitiesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities": {
     "auth_ref": [
      "r74"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for debt, mandatory redeemable security, and principal payment for finance lease obligation.",
        "label": "Repayment of Long-Term Debt, Long-Term Lease Obligation, and Capital Security",
        "negatedLabel": "Long-term debt"
       }
      }
     },
     "localname": "RepaymentsOfLongTermDebtAndCapitalSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfMediumTermNotes": {
     "auth_ref": [
      "r75"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to pay off borrowing used to receive debt funding on a regular basis with maturities ranging from 5-10 years.",
        "label": "Repayments of Medium-term Notes",
        "negatedTerseLabel": "Medium-term notes"
       }
      }
     },
     "localname": "RepaymentsOfMediumTermNotes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfNotesPayable": {
     "auth_ref": [
      "r75"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for a borrowing supported by a written promise to pay an obligation.",
        "label": "Repayments of Notes Payable",
        "negatedTerseLabel": "Increase (decrease) in notes payable, net"
       }
      }
     },
     "localname": "RepaymentsOfNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfOtherLongTermDebt": {
     "auth_ref": [
      "r75"
     ],
     "calculation": {
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for the payment of debt classified as other, maturing after one year or the operating cycle, if longer.",
        "label": "Repayments of Other Long-Term Debt",
        "negatedLabel": "Other long-term debt"
       }
      }
     },
     "localname": "RepaymentsOfOtherLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfOtherShortTermDebt": {
     "auth_ref": [
      "r75"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for the payment of debt classified as other, maturing within one year or the operating cycle, if longer.",
        "label": "Repayments of Other Short-Term Debt",
        "negatedTerseLabel": "Short-term borrowings"
       }
      }
     },
     "localname": "RepaymentsOfOtherShortTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfSeniorDebt": {
     "auth_ref": [
      "r75"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/StatementsofCashFlowsMPC": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for a long-term debt where the holder has highest claim on the entity's asset in case of bankruptcy or liquidation during the period.",
        "label": "Repayments of Senior Debt",
        "negatedLabel": "Senior notes"
       }
      }
     },
     "localname": "RepaymentsOfSeniorDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReservesReportedToOtherAgenciesTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of reserves reported to other federal agencies or authorities.",
        "label": "Reserves Reported to Other Agencies [Table Text Block]",
        "terseLabel": "Schedule of storm damage reserves"
       }
      }
     },
     "localname": "ReservesReportedToOtherAgenciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RestrictedCashAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restricted Cash [Abstract]",
        "terseLabel": "Restricted cash:"
       }
      }
     },
     "localname": "RestrictedCashAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalents": {
     "auth_ref": [
      "r83",
      "r89",
      "r274",
      "r297",
      "r341"
     ],
     "calculation": {
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents restricted as to withdrawal or usage. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Restricted Cash and Cash Equivalents",
        "terseLabel": "Restricted cash"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis": {
     "auth_ref": [
      "r18"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by category of cash or cash equivalent items which are restricted as to withdrawal or usage.",
        "label": "Restricted Cash and Cash Equivalents [Axis]",
        "terseLabel": "Restricted Cash and Cash Equivalents [Axis]"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember": {
     "auth_ref": [
      "r341"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of cash and cash equivalent. Cash is currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash and Cash Equivalents [Domain]",
        "terseLabel": "Cash and Cash Equivalents [Domain]"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Restricted Cash and Cash Equivalents Items [Line Items]",
        "terseLabel": "Restricted Cash and Cash Equivalents Items [Line Items]"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalentsItemsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RestrictedStockUnitsRSUMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
        "label": "Restricted Stock Units (RSUs) [Member]",
        "terseLabel": "Restricted Stock Units (RSUs)"
       }
      }
     },
     "localname": "RestrictedStockUnitsRSUMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetailMember": {
     "auth_ref": [
      "r1196"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of product directly to consumer.",
        "label": "Retail [Member]",
        "terseLabel": "Retail electric revenues"
       }
      }
     },
     "localname": "RetailMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r14",
      "r147",
      "r299",
      "r978",
      "r983",
      "r1095"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "terseLabel": "Retained earnings (accumulated deficit)"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r332",
      "r411",
      "r412",
      "r413",
      "r416",
      "r425",
      "r428",
      "r495",
      "r753",
      "r754",
      "r755",
      "r777",
      "r778",
      "r818",
      "r974",
      "r976"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "verboseLabel": "Retained Earnings"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsUnappropriated": {
     "auth_ref": [
      "r13",
      "r298",
      "r394"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A segregation of retained earnings which is available for dividend distribution. Earnings not paid out as dividends but instead reinvested in the core business or used to pay off debt. Unappropriated profit is part of shareholder equity. Also called cumulative distributions or earned surplus or accumulated earnings or unappropriated profit.",
        "label": "Retained Earnings, Unappropriated",
        "terseLabel": "Retained earnings, unappropriated"
       }
      }
     },
     "localname": "RetainedEarningsUnappropriated",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDividendRestrictionsandStructuralConsiderationsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetirementPlanNameAxis": {
     "auth_ref": [
      "r709",
      "r710",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r1087",
      "r1198",
      "r1199",
      "r1200",
      "r1201",
      "r1202",
      "r1203",
      "r1204",
      "r1205",
      "r1206",
      "r1207",
      "r1208",
      "r1209",
      "r1210",
      "r1211",
      "r1212",
      "r1213",
      "r1214",
      "r1215",
      "r1216",
      "r1217",
      "r1218",
      "r1219",
      "r1220",
      "r1221",
      "r1222",
      "r1223",
      "r1224",
      "r1225",
      "r1226",
      "r1227",
      "r1228",
      "r1229",
      "r1230",
      "r1231",
      "r1232",
      "r1233",
      "r1234",
      "r1235",
      "r1236",
      "r1237",
      "r1238",
      "r1239",
      "r1240",
      "r1241",
      "r1242",
      "r1243",
      "r1244",
      "r1245",
      "r1246",
      "r1247",
      "r1248",
      "r1249",
      "r1250",
      "r1251",
      "r1252",
      "r1253",
      "r1254",
      "r1255",
      "r1256",
      "r1257",
      "r1258"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of plan designed to provide retirement benefits. Includes, but is not limited to, legal name of defined benefit and defined contribution plans.",
        "label": "Retirement Plan Name [Axis]",
        "terseLabel": "Retirement Plan Name [Axis]"
       }
      }
     },
     "localname": "RetirementPlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITS401KPlanMatchingContributionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RetirementPlanNameDomain": {
     "auth_ref": [
      "r709",
      "r710",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r1087",
      "r1198",
      "r1199",
      "r1200",
      "r1201",
      "r1202",
      "r1203",
      "r1204",
      "r1205",
      "r1206",
      "r1207",
      "r1208",
      "r1209",
      "r1210",
      "r1211",
      "r1212",
      "r1213",
      "r1214",
      "r1215",
      "r1216",
      "r1217",
      "r1218",
      "r1219",
      "r1220",
      "r1221",
      "r1222",
      "r1223",
      "r1224",
      "r1225",
      "r1226",
      "r1227",
      "r1228",
      "r1229",
      "r1230",
      "r1231",
      "r1232",
      "r1233",
      "r1234",
      "r1235",
      "r1236",
      "r1237",
      "r1238",
      "r1239",
      "r1240",
      "r1241",
      "r1242",
      "r1243",
      "r1244",
      "r1245",
      "r1246",
      "r1247",
      "r1248",
      "r1249",
      "r1250",
      "r1251",
      "r1252",
      "r1253",
      "r1254",
      "r1255",
      "r1256",
      "r1257",
      "r1258"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of plan designed to provide retirement benefits. Includes, but is not limited to, legal name of defined benefit and defined contribution plans.",
        "label": "Retirement Plan Name [Domain]",
        "terseLabel": "Retirement Plan Name [Domain]"
       }
      }
     },
     "localname": "RetirementPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITS401KPlanMatchingContributionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetirementPlanTaxStatusAxis": {
     "auth_ref": [
      "r1198",
      "r1199",
      "r1200",
      "r1201",
      "r1202",
      "r1203",
      "r1204",
      "r1205",
      "r1206",
      "r1207",
      "r1208",
      "r1209",
      "r1210",
      "r1211",
      "r1212",
      "r1213",
      "r1214",
      "r1215",
      "r1216",
      "r1217",
      "r1218",
      "r1219",
      "r1220",
      "r1221",
      "r1222",
      "r1223",
      "r1224",
      "r1225",
      "r1226",
      "r1227",
      "r1228",
      "r1229",
      "r1230",
      "r1231",
      "r1232",
      "r1233",
      "r1234",
      "r1235",
      "r1236",
      "r1237",
      "r1238",
      "r1239",
      "r1240",
      "r1241",
      "r1242",
      "r1243",
      "r1244",
      "r1245",
      "r1246",
      "r1247",
      "r1248",
      "r1249",
      "r1250",
      "r1251",
      "r1252",
      "r1253",
      "r1254",
      "r1255",
      "r1256",
      "r1257",
      "r1258"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by tax status of plan designed to provide retirement benefits. Includes, but is not limited to, defined benefit and defined contribution plans.",
        "label": "Retirement Plan Tax Status [Axis]",
        "terseLabel": "Retirement Plan Tax Status [Axis]"
       }
      }
     },
     "localname": "RetirementPlanTaxStatusAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RetirementPlanTaxStatusDomain": {
     "auth_ref": [
      "r1198",
      "r1199",
      "r1200",
      "r1201",
      "r1202",
      "r1203",
      "r1204",
      "r1205",
      "r1206",
      "r1207",
      "r1208",
      "r1209",
      "r1210",
      "r1211",
      "r1212",
      "r1213",
      "r1214",
      "r1215",
      "r1216",
      "r1217",
      "r1218",
      "r1219",
      "r1220",
      "r1221",
      "r1222",
      "r1223",
      "r1224",
      "r1225",
      "r1226",
      "r1227",
      "r1228",
      "r1229",
      "r1230",
      "r1231",
      "r1232",
      "r1233",
      "r1234",
      "r1235",
      "r1236",
      "r1237",
      "r1238",
      "r1239",
      "r1240",
      "r1241",
      "r1242",
      "r1243",
      "r1244",
      "r1245",
      "r1246",
      "r1247",
      "r1248",
      "r1249",
      "r1250",
      "r1251",
      "r1252",
      "r1253",
      "r1254",
      "r1255",
      "r1256",
      "r1257",
      "r1258"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tax status of plan designed to provide retirement benefits. Includes, but is not limited to, defined benefit and defined contribution plans.",
        "label": "Retirement Plan Tax Status [Domain]",
        "terseLabel": "Retirement Plan Tax Status [Domain]"
       }
      }
     },
     "localname": "RetirementPlanTaxStatusDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetirementPlanTypeAxis": {
     "auth_ref": [
      "r153",
      "r154",
      "r634",
      "r637",
      "r638",
      "r639",
      "r640",
      "r641",
      "r642",
      "r643",
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r653",
      "r654",
      "r655",
      "r656",
      "r657",
      "r658",
      "r659",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675",
      "r676",
      "r677",
      "r678",
      "r679",
      "r681",
      "r683",
      "r684",
      "r686",
      "r689",
      "r692",
      "r693",
      "r694",
      "r695",
      "r696",
      "r697",
      "r698",
      "r699",
      "r700",
      "r701",
      "r702",
      "r706",
      "r707",
      "r708",
      "r718",
      "r1079",
      "r1080",
      "r1081",
      "r1082",
      "r1083",
      "r1084",
      "r1085",
      "r1086"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of retirement benefit plan. Includes, but is not limited to, retirement benefit arrangement for defined benefit pension and other postretirement plans, retirement benefit arrangement for defined contribution pension and other postretirement plans, and special and contractual termination benefits payable upon retirement.",
        "label": "Retirement Plan Type [Axis]",
        "terseLabel": "Retirement Plan Type [Axis]"
       }
      }
     },
     "localname": "RetirementPlanTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSAccumulatedBenefitObligationDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSNarrativeDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSScheduleofHealthCareCostTrendRatesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RetirementPlanTypeDomain": {
     "auth_ref": [
      "r153",
      "r154",
      "r634",
      "r637",
      "r638",
      "r639",
      "r640",
      "r641",
      "r642",
      "r643",
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r653",
      "r654",
      "r655",
      "r656",
      "r657",
      "r658",
      "r659",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675",
      "r676",
      "r677",
      "r678",
      "r679",
      "r681",
      "r683",
      "r684",
      "r686",
      "r689",
      "r692",
      "r693",
      "r694",
      "r695",
      "r696",
      "r697",
      "r698",
      "r699",
      "r700",
      "r701",
      "r702",
      "r706",
      "r707",
      "r708",
      "r718",
      "r1079",
      "r1080",
      "r1081",
      "r1082",
      "r1083",
      "r1084",
      "r1085",
      "r1086"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of plan designed to provide participants with retirement benefits. Includes, but is not limited to, retirement benefit arrangement for defined benefit pension and other postretirement plans, retirement benefit arrangement for defined contribution pension and other postretirement plans, and special and contractual termination benefits payable upon retirement.",
        "label": "Retirement Plan Type [Domain]",
        "terseLabel": "Retirement Plan Type [Domain]"
       }
      }
     },
     "localname": "RetirementPlanTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSAccumulatedBenefitObligationDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSNarrativeDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSScheduleofHealthCareCostTrendRatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue from Contract with Customer [Abstract]",
        "terseLabel": "Revenue from Contract with Customer [Abstract]"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax": {
     "auth_ref": [
      "r452",
      "r453",
      "r465",
      "r470",
      "r471",
      "r477",
      "r478",
      "r481",
      "r628",
      "r629",
      "r938"
     ],
     "calculation": {
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_Revenues",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, including tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value-added and excise.",
        "label": "Revenue from Contract with Customer, Including Assessed Tax",
        "terseLabel": "Total operating revenues",
        "verboseLabel": "Revenue from contracts with customers"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerIncludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerPolicyTextBlock": {
     "auth_ref": [
      "r620",
      "r621",
      "r622",
      "r623",
      "r624",
      "r625",
      "r626",
      "r627",
      "r633",
      "r1056"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue from contract with customer.",
        "label": "Revenue from Contract with Customer [Policy Text Block]",
        "verboseLabel": "Revenues"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerTextBlock": {
     "auth_ref": [
      "r610",
      "r611",
      "r612",
      "r613",
      "r614",
      "r615",
      "r618",
      "r619",
      "r632",
      "r633"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of revenue from contract with customer to transfer good or service and to transfer nonfinancial asset. Includes, but is not limited to, disaggregation of revenue, credit loss recognized from contract with customer, judgment and change in judgment related to contract with customer, and asset recognized from cost incurred to obtain or fulfill contract with customer. Excludes insurance and lease contracts.",
        "label": "Revenue from Contract with Customer [Text Block]",
        "terseLabel": "REVENUE FROM CONTRACTS WITH CUSTOMERS"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERS"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueNotFromContractWithCustomer": {
     "auth_ref": [
      "r1124"
     ],
     "calculation": {
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_Revenues",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue that is not accounted for under Topic 606.",
        "label": "Revenue Not from Contract with Customer",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "RevenueNotFromContractWithCustomer",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueRecognitionMultipleDeliverableArrangementsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Revenue Recognition, Multiple-deliverable Arrangements [Line Items]",
        "terseLabel": "Revenue Recognition, Multiple-deliverable Arrangements [Line Items]"
       }
      }
     },
     "localname": "RevenueRecognitionMultipleDeliverableArrangementsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTransmissionReceivablesPrepaymentsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenueRecognitionMultipleDeliverableArrangementsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summarization of information required and determined to be disclosed concerning the recognition of revenue arrangements under which the entity does or will perform multiple revenue-generating activities, categorized by type of arrangement, including certain revenue arrangements that include software elements. This item does not include multiple-deliverable arrangements for industries that prepare disclosures under specific requirements (for instance, construction-type and production-type contracts) otherwise provided for in the taxonomy.",
        "label": "Revenue Recognition, Multiple-deliverable Arrangements [Table]",
        "terseLabel": "Revenue Recognition, Multiple-deliverable Arrangements [Table]"
       }
      }
     },
     "localname": "RevenueRecognitionMultipleDeliverableArrangementsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTransmissionReceivablesPrepaymentsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligation": {
     "auth_ref": [
      "r616"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transaction price allocated to performance obligation that has not been recognized as revenue.",
        "label": "Revenue, Remaining Performance Obligation, Amount",
        "terseLabel": "Revenue, remaining performance obligation"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSPerformanceObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Line Items]",
        "terseLabel": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Line Items]"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSPerformanceObligationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1": {
     "auth_ref": [
      "r617"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period in which remaining performance obligation is expected to be recognized as revenue, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Period",
        "terseLabel": "Expected timing of satisfaction"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSPerformanceObligationsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis": {
     "auth_ref": [
      "r617"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Start date of time band for expected timing of satisfaction of remaining performance obligation, in YYYY-MM-DD format.",
        "label": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]",
        "terseLabel": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSPerformanceObligationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about expected timing for satisfying remaining performance obligation.",
        "label": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Table]",
        "terseLabel": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Table]"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSPerformanceObligationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTableTextBlock": {
     "auth_ref": [
      "r1194"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of expected timing for satisfying remaining performance obligation.",
        "label": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Table Text Block]",
        "terseLabel": "Revenue, remaining performance obligation, expected timing of satisfaction"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Revenues": {
     "auth_ref": [
      "r380",
      "r395",
      "r452",
      "r453",
      "r465",
      "r470",
      "r471",
      "r477",
      "r478",
      "r481",
      "r491",
      "r558",
      "r559",
      "r561",
      "r562",
      "r563",
      "r565",
      "r567",
      "r569",
      "r570",
      "r833",
      "r961",
      "r1187"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0
      },
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
        "label": "Revenues",
        "terseLabel": "Total operating revenues",
        "totalLabel": "Total operating revenues"
       }
      }
     },
     "localname": "Revenues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDisaggregateRevenueSourcesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONElectricUtilitiesRevenuesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESRevenuesNarrativeDetails",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenuesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues [Abstract]",
        "verboseLabel": "Operating Revenues:"
       }
      }
     },
     "localname": "RevenuesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RightOfUseAssetObtainedInExchangeForFinanceLeaseLiability": {
     "auth_ref": [
      "r875",
      "r1094"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in right-of-use asset obtained in exchange for finance lease liability.",
        "label": "Right-of-Use Asset Obtained in Exchange for Finance Lease Liability",
        "terseLabel": "ROU assets obtained under finance leases"
       }
      }
     },
     "localname": "RightOfUseAssetObtainedInExchangeForFinanceLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESOtherInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability": {
     "auth_ref": [
      "r875",
      "r1094"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in right-of-use asset obtained in exchange for operating lease liability.",
        "label": "Right-of-Use Asset Obtained in Exchange for Operating Lease Liability",
        "terseLabel": "ROU assets obtained under operating leases"
       }
      }
     },
     "localname": "RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESOtherInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares issued or sold by the subsidiary or equity method investee per stock transaction.",
        "label": "Sale of Stock, Number of Shares Issued in Transaction",
        "terseLabel": "Common stock issued to settle purchase contracts (in shares)"
       }
      }
     },
     "localname": "SaleOfStockNumberOfSharesIssuedInTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGEquityUnitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivable": {
     "auth_ref": [
      "r883",
      "r890"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lease payments not yet received by lessor and amount expected to be derived from underlying asset, following end of lease term guaranteed by lessee or other third party unrelated to lessor, from sales-type and direct financing leases.",
        "label": "Sales-type and Direct Financing Leases, Lease Receivable",
        "terseLabel": "Lease receivable"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableFiscalYearMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sales-Type and Direct Financing Leases, Lease Receivable, Payments to be Received, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Sales-type and Direct Financing Leases, Lease Receivable, Fiscal Year Maturity [Abstract]"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivableFiscalYearMaturityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock": {
     "auth_ref": [
      "r883"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturity of undiscounted cash flows to be received on annual basis for sales-type and direct financing leases receivable. Includes, but is not limited to, reconciliation to lease receivable recognized in statement of financial position.",
        "label": "Sales-type and Direct Financing Leases, Lease Receivable, Maturity [Table Text Block]",
        "terseLabel": "Undiscounted cash flows to be received under tolling arrangements accounted for as sales-type leases"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived": {
     "auth_ref": [
      "r883"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails_1": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of undiscounted cash flows to be received by lessor for sales-type and direct financing leases.",
        "label": "Sales-Type and Direct Financing Leases, Lease Receivable, Payments to be Received",
        "totalLabel": "Total undiscounted cash flows"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears": {
     "auth_ref": [
      "r883"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails_1": {
       "order": 5.0,
       "parentTag": "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of undiscounted cash flows to be received by lessor for sales-type and direct financing leases in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Five",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears": {
     "auth_ref": [
      "r883"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails_1": {
       "order": 4.0,
       "parentTag": "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of undiscounted cash flows to be received by lessor for sales-type and direct financing leases in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths": {
     "auth_ref": [
      "r883"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails_1": {
       "order": 1.0,
       "parentTag": "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of undiscounted cash flows to be received by lessor for sales-type and direct financing leases in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThereafter": {
     "auth_ref": [
      "r883"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails_1": {
       "order": 6.0,
       "parentTag": "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of undiscounted cash flows to be received by lessor for sales-type and direct financing leases after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThereafter",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears": {
     "auth_ref": [
      "r883"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails_1": {
       "order": 3.0,
       "parentTag": "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of undiscounted cash flows to be received by lessor for sales-type and direct financing leases in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears": {
     "auth_ref": [
      "r883"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails_1": {
       "order": 2.0,
       "parentTag": "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of undiscounted cash flows to be received by lessor for sales-type and direct financing leases in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount": {
     "auth_ref": [
      "r883"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of undiscounted lease receivable in excess of discounted receivable for sales-type and direct financing leases.",
        "label": "Sales-type and Direct Financing Leases, Lease Receivable, Undiscounted Excess Amount",
        "terseLabel": "Difference between undiscounted cash flows and discounted cash flows"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESUndiscountedCashFlowstobeReceivedUnderTollingArrangementsAccountedforasSalestypeLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeLeaseInterestIncome": {
     "auth_ref": [
      "r444",
      "r881",
      "r887"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LeaseIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income from net investment in sales-type lease.",
        "label": "Sales-type Lease, Interest Income",
        "terseLabel": "Lease income - interest income on sales-type leases"
       }
      }
     },
     "localname": "SalesTypeLeaseInterestIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeLeaseLeaseIncomeTableTextBlock": {
     "auth_ref": [
      "r444",
      "r889"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of components of income from sales-type lease.",
        "label": "Sales-type Lease, Lease Income [Table Text Block]",
        "terseLabel": "Lease income, sales-type leases and Power Purchase Agreements"
       }
      }
     },
     "localname": "SalesTypeLeaseLeaseIncomeTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SalesTypeLeaseLeaseReceivable": {
     "auth_ref": [
      "r890"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lease payments not yet received by lessor and amount expected to be derived from underlying asset, following end of lease term guaranteed by lessee or other third party unrelated to lessor, from sales-type lease.",
        "label": "Sales-type Lease, Lease Receivable",
        "terseLabel": "Sales-type lease, lease receivable"
       }
      }
     },
     "localname": "SalesTypeLeaseLeaseReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent": {
     "auth_ref": [
      "r1312",
      "r1313"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC": {
       "order": 3.0,
       "parentTag": "us-gaap_LongTermInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of net investment in sales-type lease, classified as noncurrent.",
        "label": "Sales-Type Lease, Net Investment in Lease, after Allowance for Credit Loss, Noncurrent",
        "terseLabel": "Net investment in sales-type leases",
        "verboseLabel": "Net investment in sales-type lease, long-term portion"
       }
      }
     },
     "localname": "SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeLeaseSellingProfitLoss": {
     "auth_ref": [
      "r444",
      "r886"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome": {
       "order": 6.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of profit (loss) recognized at commencement from sales-type lease.",
        "label": "Sales-type Lease, Selling Profit (Loss)",
        "negatedTerseLabel": "Loss on sales-type leases"
       }
      }
     },
     "localname": "SalesTypeLeaseSellingProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ScheduleOfAccumulatedAndProjectedBenefitObligationsTableTextBlock": {
     "auth_ref": [
      "r157"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of benefit obligations including accumulated benefit obligation and projected benefit obligation.",
        "label": "Schedule of Accumulated and Projected Benefit Obligations [Table Text Block]",
        "terseLabel": "Schedule of accumulated and projected benefit obligations"
       }
      }
     },
     "localname": "ScheduleOfAccumulatedAndProjectedBenefitObligationsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAccumulatedBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock": {
     "auth_ref": [
      "r1079",
      "r1247",
      "r1248"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of benefit obligation and plan assets of defined benefit plan with accumulated benefit obligation in excess of plan assets.",
        "label": "Defined Benefit Plan, Plan with Accumulated Benefit Obligation in Excess of Plan Assets [Table Text Block]",
        "verboseLabel": "Changes in the APBO and the fair value of plan assets"
       }
      }
     },
     "localname": "ScheduleOfAccumulatedBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r47",
      "r1307",
      "r1308"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of accumulated other comprehensive income (loss).",
        "label": "Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block]",
        "verboseLabel": "Schedule of AOCI (loss) balances, net of tax effects"
       }
      }
     },
     "localname": "ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAllocationOfPlanAssetsTableTextBlock": {
     "auth_ref": [
      "r156"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the major categories of plan assets of pension plans and/or other employee benefit plans. This information may include, but is not limited to, the target allocation of plan assets, the fair value of each major category of plan assets, and the level within the fair value hierarchy in which the fair value measurements fall.",
        "label": "Schedule of Allocation of Plan Assets [Table Text Block]",
        "verboseLabel": "Fair values of plan assets"
       }
      }
     },
     "localname": "ScheduleOfAllocationOfPlanAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAmountsRecognizedInBalanceSheetTableTextBlock": {
     "auth_ref": [
      "r155"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amounts that are recognized in the balance sheet (or statement of financial position) for pension plans and/or other employee benefit plans, showing separately the assets and current and noncurrent liabilities (if applicable) recognized.",
        "label": "Schedule of Amounts Recognized in Balance Sheet [Table Text Block]",
        "terseLabel": "Amounts recognized in balance sheets"
       }
      }
     },
     "localname": "ScheduleOfAmountsRecognizedInBalanceSheetTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r160"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the net gain (loss) and net prior service cost or credit recognized in other comprehensive income (loss) for the period for pension plans and/or other employee benefit plans, and reclassification adjustments of other comprehensive income (loss) for the period, as those amounts, including amortization of the net transition asset or obligation, are recognized as components of net periodic benefit cost.",
        "label": "Schedule of Amounts Recognized in Other Comprehensive Income (Loss) [Table Text Block]",
        "verboseLabel": "Amounts included in AOCI related to defined benefit pension plans"
       }
      }
     },
     "localname": "ScheduleOfAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAssumptionsUsedTableTextBlock": {
     "auth_ref": [
      "r680"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assumption used to determine benefit obligation and net periodic benefit cost of defined benefit plan. Includes, but is not limited to, discount rate, rate of compensation increase, expected long-term rate of return on plan assets and interest crediting rate.",
        "label": "Defined Benefit Plan, Assumptions [Table Text Block]",
        "verboseLabel": "Summary of actuarial assumptions"
       }
      }
     },
     "localname": "ScheduleOfAssumptionsUsedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock": {
     "auth_ref": [
      "r1079",
      "r1247"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of benefit obligation and plan assets for defined benefit pension plan with projected benefit obligation in excess of plan assets.",
        "label": "Defined Benefit Plan, Plan with Projected Benefit Obligation in Excess of Plan Assets [Table Text Block]",
        "verboseLabel": "Changes in projected benefit obligations and fair value of plan assets"
       }
      }
     },
     "localname": "ScheduleOfBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable": {
     "auth_ref": [
      "r194",
      "r195",
      "r789"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting each material business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities.",
        "label": "Schedule of Business Acquisitions, by Acquisition [Table]",
        "terseLabel": "Schedule of Business Acquisitions, by Acquisition [Table]"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSAlabamaPowerNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of cash and cash equivalents.",
        "label": "Schedule of Cash and Cash Equivalents [Table Text Block]",
        "terseLabel": "Schedule of cash, cash equivalents, and restricted cash"
       }
      }
     },
     "localname": "ScheduleOfCashAndCashEquivalentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfCashFlowHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock": {
     "auth_ref": [
      "r241"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for cash flow hedging instruments of (a) the location and amount of gains and losses reported in the statement of financial performance and (b) the location and fair value amounts of the instruments reported in the statement of financial position.",
        "label": "Schedule of Cash Flow Hedging Instruments, Statements of Financial Performance and Financial Position, Location [Table Text Block]",
        "terseLabel": "Pre-tax effect of interest rate and energy related derivatives"
       }
      }
     },
     "localname": "ScheduleOfCashFlowHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfChangeInAssetRetirementObligationTableTextBlock": {
     "auth_ref": [
      "r1171"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the changes in carrying amount of a liability for asset retirement obligations, for changes such as new obligations, changes in estimates of existing obligations, spending on existing obligations, property dispositions, and foreign currency translation.",
        "label": "Schedule of Change in Asset Retirement Obligation [Table Text Block]",
        "terseLabel": "Details of AROs included in the balance sheets"
       }
      }
     },
     "localname": "ScheduleOfChangeInAssetRetirementObligationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock": {
     "auth_ref": [
      "r172"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of cost recognized for award under share-based payment arrangement by plan. Includes, but is not limited to, related tax benefit.",
        "label": "Share-Based Payment Arrangement, Cost by Plan [Table Text Block]",
        "terseLabel": "Schedule of compensation costs and related tax benefits"
       }
      }
     },
     "localname": "ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDebtInstrumentsTextBlock": {
     "auth_ref": [
      "r28",
      "r143",
      "r144",
      "r145",
      "r146",
      "r265",
      "r266",
      "r269",
      "r287",
      "r1065",
      "r1067",
      "r1139"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of long-debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the entity, if longer.",
        "label": "Schedule of Long-Term Debt Instruments [Table Text Block]",
        "terseLabel": "Summary of long-term debt"
       }
      }
     },
     "localname": "ScheduleOfDebtInstrumentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock": {
     "auth_ref": [
      "r187"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets.",
        "label": "Schedule of Deferred Tax Assets and Liabilities [Table Text Block]",
        "verboseLabel": "Tax effects between the carrying amounts of assets and liabilities"
       }
      }
     },
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the changes in plan assets and benefit obligations recognized in other comprehensive income (loss) during the period.",
        "label": "Schedule of Defined Benefit Plan Amounts Recognized in Other Comprehensive Income (Loss) [Table Text Block]",
        "terseLabel": "Components of OCI related to defined benefit pension plan"
       }
      }
     },
     "localname": "ScheduleOfDefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable": {
     "auth_ref": [
      "r162",
      "r163",
      "r164",
      "r165",
      "r166"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosures about an individual defined benefit pension plan or an other postretirement defined benefit plan. It may be appropriate to group certain similar plans. Also includes schedule for fair value of plan assets by major categories of plan assets by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets or liabilities (Level 1), Significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Schedule of Defined Benefit Plans Disclosures [Table]",
        "terseLabel": "Schedule of Defined Benefit Plans Disclosures [Table]"
       }
      }
     },
     "localname": "ScheduleOfDefinedBenefitPlansDisclosuresTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITS401KPlanMatchingContributionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAccumulatedBenefitObligationDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSActuarialAssumptionsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSAmountsRecognizedinBalanceSheetsandAmountsinAOCIDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSChangesinProjectedBenefitObligationsandFairValueofPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofNetPeriodicBenefitCostandEstimatedFutureBenefitPaymentsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSNarrativeDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSScheduleofHealthCareCostTrendRatesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock": {
     "auth_ref": [
      "r234",
      "r244",
      "r807"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the location and amount of derivative instruments and nonderivative instruments designated as hedging instruments reported before netting adjustments, and the amount of gain (loss) on derivative instruments and nonderivative instruments designated and qualified as hedging instruments.",
        "label": "Derivative Instruments, Gain (Loss) [Table Text Block]",
        "terseLabel": "Pre-tax effects of hedging on AOCI"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsTextBlock": {
     "auth_ref": [
      "r226",
      "r227",
      "r228",
      "r231",
      "r232",
      "r239",
      "r244",
      "r248",
      "r251"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of pertinent information about a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item.",
        "label": "Schedule of Derivative Instruments [Table Text Block]",
        "terseLabel": "Schedule of energy-related derivatives"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativesInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock": {
     "auth_ref": [
      "r235"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of derivative instruments (including nonderivative instruments that are designated and qualify as hedging instruments) of (a) the location and amount of gains and losses reported in the statement of financial performance and (b) the location and fair value amounts of the instruments reported in the statement of financial position.",
        "label": "Schedule of Derivatives Instruments Statements of Financial Performance and Financial Position, Location [Table Text Block]",
        "verboseLabel": "Fair value of energy-related derivatives and interest rate derivatives"
       }
      }
     },
     "localname": "ScheduleOfDerivativesInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock": {
     "auth_ref": [
      "r179"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the reconciliation using percentage or dollar amounts of the reported amount of income tax expense attributable to continuing operations for the year to the amount of income tax expense that would result from applying domestic federal statutory tax rates to pretax income from continuing operations.",
        "label": "Schedule of Effective Income Tax Rate Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of effective income tax reconciliation"
       }
      }
     },
     "localname": "ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable": {
     "auth_ref": [
      "r103"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular presentation of the description and amount of revenues from a product or service, or a group of similar products or similar services, reported from external customers during the period, if the information is not provided as part of the reportable operating segment information.",
        "label": "Revenue from External Customers by Products and Services [Table]",
        "terseLabel": "Revenue from External Customers by Products and Services [Table]"
       }
      }
     },
     "localname": "ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONElectricUtilitiesRevenuesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfEnvironmentalExitCostTable": {
     "auth_ref": [
      "r556",
      "r1180"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Table setting forth material liabilities for remediation, site restoration, postclosure, monitoring commitments, or other exit costs that may occur on the sale, disposal or abandonment of a property as a result of unanticipated contamination of the assets.",
        "label": "Schedule of Environmental Exit Cost [Table]",
        "terseLabel": "Schedule of Environmental Exit Cost [Table]"
       }
      }
     },
     "localname": "ScheduleOfEnvironmentalExitCostTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESEnvironmentalRemediationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfEquityMethodInvestmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Schedule of Equity Method Investments [Line Items]",
        "terseLabel": "Schedule of Equity Method Investments [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSBalanceSheetInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSGASEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSIncomeStatementInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSouthernCompanyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfEquityMethodInvestmentsTable": {
     "auth_ref": [
      "r109",
      "r338",
      "r395",
      "r491",
      "r833"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summarization of information required and determined to be disclosed concerning equity method investments in common stock. The summarized information includes: (a) the name of each investee or group of investees for which combined disclosure is appropriate, (2) the percentage ownership of common stock, (3) the difference, if any, between the carrying amount of an investment and the value of the underlying equity in the net assets and the accounting treatment of difference, if any, and (4) the aggregate value of each identified investment based on its quoted market price, if available.",
        "label": "Schedule of Equity Method Investments [Table]",
        "terseLabel": "Schedule of Equity Method Investments [Table]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSBalanceSheetInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSGASEquityMethodInvestmentsNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSIncomeStatementInformationDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSouthernCompanyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfExpectedBenefitPaymentsTableTextBlock": {
     "auth_ref": [
      "r158"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of benefits expected to be paid by pension plans and/or other employee benefit plans in each of the next five fiscal years and in the aggregate for the five fiscal years thereafter.",
        "label": "Schedule of Expected Benefit Payments [Table Text Block]",
        "verboseLabel": "Estimated pension benefit payments"
       }
      }
     },
     "localname": "ScheduleOfExpectedBenefitPaymentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock": {
     "auth_ref": [
      "r240"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for fair value hedging instruments of (a) the location and amount of gains and losses reported in the statement of financial performance and (b) the location and fair value amounts of the instruments reported in the statement of financial position.",
        "label": "Schedule of Fair Value Hedging Instruments, Statements of Financial Performance and Financial Position, Location [Table Text Block]",
        "terseLabel": "Schedule of fair value hedging instruments, statements of financial performance and financial position, location"
       }
      }
     },
     "localname": "ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable": {
     "auth_ref": [
      "r114",
      "r118",
      "r939"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table]",
        "terseLabel": "Schedule of Finite-Lived Intangible Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESGoodwillandOtherIntangibleAssetsandLiabilitiesNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock": {
     "auth_ref": [
      "r114",
      "r118"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets, excluding financial assets and goodwill, lacking physical substance with a finite life, by either major class or business segment.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table Text Block]",
        "terseLabel": "Schedule of intangible assets subject to amortization"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfGoodwillTable": {
     "auth_ref": [
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r520",
      "r521",
      "r522",
      "r523",
      "r1062"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of goodwill and the changes during the year due to acquisition, sale, impairment or for other reasons.",
        "label": "Schedule of Goodwill [Table]",
        "terseLabel": "Schedule of Goodwill [Table]"
       }
      }
     },
     "localname": "ScheduleOfGoodwillTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofGoodwillBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfGoodwillTextBlock": {
     "auth_ref": [
      "r1062",
      "r1158",
      "r1159",
      "r1160",
      "r1161",
      "r1162",
      "r1163",
      "r1164",
      "r1165",
      "r1166",
      "r1167",
      "r1168"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of goodwill by reportable segment and in total which includes a rollforward schedule.",
        "label": "Schedule of Goodwill [Table Text Block]",
        "terseLabel": "Schedule of goodwill balances"
       }
      }
     },
     "localname": "ScheduleOfGoodwillTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfHealthCareCostTrendRatesTableTextBlock": {
     "auth_ref": [
      "r161"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the assumed health care cost trend rates for the next year used to measure the expected cost of benefits covered by the plans, including the ultimate trend rate(s) and when that rate is expected to be achieved.",
        "label": "Schedule of Health Care Cost Trend Rates [Table Text Block]",
        "terseLabel": "Schedule of health care cost trend rates"
       }
      }
     },
     "localname": "ScheduleOfHealthCareCostTrendRatesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTableTextBlock": {
     "auth_ref": [
      "r122",
      "r123"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets, excluding financial assets and goodwill, lacking physical substance and exist in perpetuity, by either major class or business segment.",
        "label": "Schedule of Indefinite-Lived Intangible Assets [Table Text Block]",
        "terseLabel": "Schedule of intangible assets not subject to amortization"
       }
      }
     },
     "localname": "ScheduleOfIndefiniteLivedIntangibleAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfInterestRateDerivativesTableTextBlock": {
     "auth_ref": [
      "r244"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of interest rate derivatives, including, but not limited to, the fair value of the derivatives, statement of financial position location, and statement of financial performance location of these instruments.",
        "label": "Schedule of Interest Rate Derivatives [Table Text Block]",
        "verboseLabel": "Notional amount of interest rate derivatives"
       }
      }
     },
     "localname": "ScheduleOfInterestRateDerivativesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfLineOfCreditFacilitiesTextBlock": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line.",
        "label": "Schedule of Line of Credit Facilities [Table Text Block]",
        "verboseLabel": "Summary of committed credit arrangements"
       }
      }
     },
     "localname": "ScheduleOfLineOfCreditFacilitiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "auth_ref": [
      "r138"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturity and sinking fund requirement for long-term debt.",
        "label": "Schedule of Maturities of Long-Term Debt [Table Text Block]",
        "terseLabel": "Schedule of maturities of long-term debt for the next five years"
       }
      }
     },
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfNetBenefitCostsTableTextBlock": {
     "auth_ref": [
      "r159"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of net benefit costs for pension plans and/or other employee benefit plans including service cost, interest cost, expected return on plan assets, gain (loss), prior service cost or credit, transition asset or obligation, and gain (loss) recognized due to settlements or curtailments.",
        "label": "Schedule of Net Benefit Costs [Table Text Block]",
        "verboseLabel": "Components of net periodic benefit cost"
       }
      }
     },
     "localname": "ScheduleOfNetBenefitCostsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfOtherNonoperatingIncomeByComponentTextBlock": {
     "auth_ref": [
      "r60"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the detailed components of other nonoperating income. May include methodology, assumptions and amounts for: (a) dividends, (b) interest on securities, (c) profits on securities (net of losses), and (d) miscellaneous other income items.",
        "label": "Schedule of Other Nonoperating Income, by Component [Table Text Block]",
        "terseLabel": "Equity method investments related income"
       }
      }
     },
     "localname": "ScheduleOfOtherNonoperatingIncomeByComponentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfOtherOwnershipInterestsTable": {
     "auth_ref": [
      "r149",
      "r311",
      "r312"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of other units or shares or classes of ownership in a partnership. This schedule ordinarily includes a description of the ownership interest detailing special or unusual rights; the capital contributed to and the capital account balance of the other unit holders for the partnerships; number of units of other ownership interest authorized to be issued, issued, and outstanding in the partnerships; aggregate cumulative cash distributions made to, and aggregate cumulative net income shared by, the other unit holders in the partnership.",
        "label": "Schedule of Other Ownership Interests [Table]",
        "terseLabel": "Schedule of Other Ownership Interests [Table]"
       }
      }
     },
     "localname": "ScheduleOfOtherOwnershipInterestsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfOtherOwnershipInterestsTextBlock": {
     "auth_ref": [
      "r149"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of other units or shares or classes of ownership in a partnership.",
        "label": "Schedule of Other Ownership Interests [Table Text Block]",
        "terseLabel": "Ownership and investment in jointly-owned facilities"
       }
      }
     },
     "localname": "ScheduleOfOtherOwnershipInterestsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r129"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table]",
        "terseLabel": "Property, Plant and Equipment [Table]"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAdditionalInformationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTAssetsSubjecttoLienNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTCompositeStraightLineRatesDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDeferredCloudImplementationCostsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTJointOwnershipAgreementsNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTPropertyPlantandEquipmentDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTSouthernPowerUsefulLivesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRegulatoryAssetsAndLiabilitiesTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for detailed information about regulatory assets and liabilities, including current and noncurrent assets created when regulatory agencies permit the deferral of costs to the balance sheet that would otherwise be required to appear on the company's income statement and would be charged against current expenses or revenues, as well as current and noncurrent liabilities created when regulatory agencies permit.",
        "label": "Schedule of Regulatory Assets and Liabilities [Text Block]",
        "terseLabel": "Schedule of regulatory assets and liabilities"
       }
      }
     },
     "localname": "ScheduleOfRegulatoryAssetsAndLiabilitiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRegulatoryAssetsTextBlock": {
     "auth_ref": [
      "r315",
      "r316",
      "r323"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets that are created when regulatory agencies permit public utilities to defer certain costs included in rate-setting to the balance sheet.",
        "label": "Schedule of Regulatory Assets [Table Text Block]",
        "terseLabel": "Schedule of regulatory assets"
       }
      }
     },
     "localname": "ScheduleOfRegulatoryAssetsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRegulatoryLiabilitiesTextBlock": {
     "auth_ref": [
      "r319"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of regulatory liabilities. Detailed information about liabilities that result from rate actions of a regulator. Rate actions of a regulator can impose a liability on a regulated enterprise resulting in a regulatory liability.",
        "label": "Schedule of Regulatory Liabilities [Table Text Block]",
        "terseLabel": "Schedule of regulatory liabilities"
       }
      }
     },
     "localname": "ScheduleOfRegulatoryLiabilitiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r270",
      "r271"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of quantitative and qualitative information pertaining to related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Schedule of Related Party Transactions, by Related Party [Table]",
        "terseLabel": "Schedule of Related Party Transactions, by Related Party [Table]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCostsforAffiliateTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of related party transactions. Examples of related party transactions include, but are not limited to, transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners and (d) affiliates.",
        "label": "Schedule of Related Party Transactions [Table Text Block]",
        "terseLabel": "Schedule of costs for affiliate transactions",
        "verboseLabel": "Composite straight-line rates"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTTables",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable": {
     "auth_ref": [
      "r89",
      "r274",
      "r297"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about cash and cash equivalents restricted as to withdrawal or usage.",
        "label": "Restrictions on Cash and Cash Equivalents [Table]",
        "terseLabel": "Restrictions on Cash and Cash Equivalents [Table]"
       }
      }
     },
     "localname": "ScheduleOfRestrictedCashAndCashEquivalentsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofCashCashEquivalentsandRestrictedCashDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTextBlock": {
     "auth_ref": [
      "r89",
      "r274",
      "r297"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of cash and cash equivalents restricted as to withdrawal or usage.",
        "label": "Restrictions on Cash and Cash Equivalents [Table Text Block]",
        "terseLabel": "Reconciliation of restricted cash and cash equivalents"
       }
      }
     },
     "localname": "ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable": {
     "auth_ref": [
      "r98",
      "r99",
      "r101",
      "r111"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table disclosing the profit or loss and total assets for each reportable segment of the entity. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table]",
        "terseLabel": "Schedule of Segment Reporting Information, by Segment [Table]"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "auth_ref": [
      "r98",
      "r99",
      "r101",
      "r111"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
        "verboseLabel": "Financial data for business segments"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r720",
      "r722",
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r736",
      "r737",
      "r738",
      "r739",
      "r740",
      "r741",
      "r742",
      "r743",
      "r744",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about share-based payment arrangement.",
        "label": "Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table]",
        "terseLabel": "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONAggregateIntrinsicValueforOptionsExercisedDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesAssumptionsUsedDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesCompensationCostsandRelatedTaxBenefitDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONScheduleofEmployeesParticipatinginStockBasedCompensationProgramsDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "auth_ref": [
      "r168",
      "r169",
      "r170"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for stock option plans. Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value.",
        "label": "Share-Based Payment Arrangement, Option, Activity [Table Text Block]",
        "terseLabel": "Share-based compensation, stock options, activity"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShortTermDebtTable": {
     "auth_ref": [
      "r22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to borrowings under which repayment was required in less than twelve months (or normal operating cycle, if longer) after its issuance. It may include: (1) description of the short-term debt arrangement; (2) identification of the lender or type of lender; (3) repayment terms; (4) weighted average interest rate; (5) carrying amount of funds borrowed under the specified short-term debt arrangement as of the balance sheet date and measures of the maximum and average amount outstanding during the period; (6) description of the refinancing of a short-term obligation when that obligation is excluded from current liabilities in the balance sheet; and (7) amount of a short-term obligation that has been excluded from current liabilities in the balance sheet because of a refinancing of the obligation.",
        "label": "Schedule of Short-Term Debt [Table]",
        "terseLabel": "Schedule of Short-term Debt [Table]"
       }
      }
     },
     "localname": "ScheduleOfShortTermDebtTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGNotesPayableDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShortTermDebtTextBlock": {
     "auth_ref": [
      "r22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of short-term debt arrangements (having initial terms of repayment within one year or the normal operating cycle, if longer) including: (1) description of the short-term debt arrangement; (2) identification of the lender or type of lender; (3) repayment terms; (4) weighted average interest rate; (5) carrying amount of funds borrowed under the specified short-term debt arrangement as of the balance sheet date; (6) description of the refinancing of a short-term obligation when that obligation is excluded from current liabilities in the balance sheet; and (7) amount of a short-term obligation that has been excluded from current liabilities in the balance sheet because of a refinancing of the obligation.",
        "label": "Schedule of Short-Term Debt [Table Text Block]",
        "verboseLabel": "Details of short-term borrowings"
       }
      }
     },
     "localname": "ScheduleOfShortTermDebtTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfVariableInterestEntitiesTable": {
     "auth_ref": [
      "r215",
      "r217",
      "r219",
      "r220",
      "r221",
      "r796",
      "r797",
      "r801",
      "r802",
      "r917",
      "r918",
      "r919"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of qualitative and quantitative information related to variable interests the entity holds, whether or not such variable interest entity (VIE) is included in the reporting entity's consolidated financial statements. Includes, but is not limited to, description of the significant judgments and assumptions made in determining whether a variable interest (as defined) held by the entity requires the variable interest entity (VIE) (as defined) to be consolidated and (or) disclose information about its involvement with the VIE, individually or in aggregate (as applicable); the nature of restrictions, if any, on the consolidated VIE's assets and on the settlement of its liabilities reported by an entity in its statement of financial position, including the carrying amounts of such assets and liabilities; the nature of, and changes in, the risks associated with involvement in the VIE; how involvement with the VIE affects the entity's financial position, financial performance, and cash flows; the lack of recourse if creditors (or beneficial interest holders) of the consolidated VIE have no recourse to the general credit of the primary beneficiary (if applicable); the terms of arrangements, giving consideration to both explicit arrangements and implicit variable interests, if any, that could require the entity to provide financial support to the VIE, including events or circumstances that could expose the entity to a loss; the methodology used by the entity for determining whether or not it is the primary beneficiary of the variable interest entity; the significant factors considered and judgments made in determining that the power to direct the activities of a VIE that most significantly impact the VIE's economic performance are shared (as defined); the carrying amounts and classification of assets and liabilities of the VIE included in the statement of financial position; the entity's maximum exposure to loss, if any, as a result of its involvement with the VIE, including how the maximum exposure is determined and significant sources of the entity's exposure to the VIE; a tabular comparison of the carrying amounts of the assets and liabilities and the entity's maximum exposure to loss; information about any liquidity arrangements, guarantees, and (or) other commitments by third parties that may affect the fair value or risk of the entity's variable interest in the VIE; whether or not the entity has provided financial support or other support (explicitly or implicitly) to the VIE that it was not previously contractually required to provide or whether the entity intends to provide that support, including the type and amount of the support and the primary reasons for providing the support; and supplemental information the entity determines necessary to provide.",
        "label": "Schedule of Variable Interest Entities [Table]",
        "terseLabel": "Schedule of Variable Interest Entities [Table]"
       }
      }
     },
     "localname": "ScheduleOfVariableInterestEntitiesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDividendRestrictionsandStructuralConsiderationsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock": {
     "auth_ref": [
      "r118"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amount of amortization expense expected to be recorded in succeeding fiscal years for finite-lived intangible assets.",
        "label": "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block]",
        "terseLabel": "Schedule of estimated future amortization of other intangible assets"
       }
      }
     },
     "localname": "ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentDomain": {
     "auth_ref": [
      "r449",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459",
      "r460",
      "r461",
      "r462",
      "r463",
      "r465",
      "r466",
      "r467",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r475",
      "r481",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r520",
      "r521",
      "r545",
      "r546",
      "r1062",
      "r1327"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Segments [Domain]",
        "terseLabel": "Segments [Domain]"
       }
      }
     },
     "localname": "SegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONElectricUtilitiesRevenuesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofGoodwillBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SegmentOperatingActivitiesDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operations of an entity including continuing and discontinued operations.",
        "label": "Operating Activities [Domain]",
        "terseLabel": "Operating Activities [Domain]"
       }
      }
     },
     "localname": "SegmentOperatingActivitiesDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SegmentReportingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting [Abstract]",
        "terseLabel": "Segment Reporting [Abstract]"
       }
      }
     },
     "localname": "SegmentReportingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "auth_ref": [
      "r449",
      "r450",
      "r451",
      "r461",
      "r464",
      "r469",
      "r473",
      "r474",
      "r475",
      "r476",
      "r477",
      "r480",
      "r481",
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for reporting segments including data and tables. Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments.",
        "label": "Segment Reporting Disclosure [Text Block]",
        "verboseLabel": "SEGMENT AND RELATED INFORMATION"
       }
      }
     },
     "localname": "SegmentReportingDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATION"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentReportingInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Segment Reporting Information [Line Items]",
        "terseLabel": "Segment Reporting Information [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingInformationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SeniorNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bond that takes priority over other debt securities sold by the issuer. In the event the issuer goes bankrupt, senior debt holders receive priority for (must receive) repayment prior to (relative to) junior and unsecured (general) creditors.",
        "label": "Senior Notes [Member]",
        "terseLabel": "Senior notes"
       }
      }
     },
     "localname": "SeniorNotesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1": {
     "auth_ref": [
      "r1088"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated period over which an employee is required to provide service in exchange for the equity-based payment award, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Requisite Service Period",
        "terseLabel": "Award requisite service period"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "auth_ref": [
      "r1088"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Period",
        "verboseLabel": "Vesting period of performance share units issued under performance share plan"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r738"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "verboseLabel": "Equity instrument, granted (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r738"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Equity instrument granted in period, weighted average grant date fair value (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r735",
      "r736"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
        "terseLabel": "Restricted stock units, unvested (in shares)",
        "verboseLabel": "Performance share units, unvested (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]",
        "terseLabel": "Weighted\u00a0Average Exercise Price"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r739"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "terseLabel": "Equity instruments, vested (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate": {
     "auth_ref": [
      "r746"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Volatility Rate",
        "verboseLabel": "Expected volatility"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesAssumptionsUsedDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "auth_ref": [
      "r748"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate",
        "verboseLabel": "Interest rate"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesAssumptionsUsedDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award [Line Items]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONAggregateIntrinsicValueforOptionsExercisedDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesAssumptionsUsedDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesCompensationCostsandRelatedTaxBenefitDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONScheduleofEmployeesParticipatinginStockBasedCompensationProgramsDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "auth_ref": [
      "r173"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Available for Grant",
        "verboseLabel": "Remaining shares available for awards (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGOutstandingClassesofCapitalStockNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue": {
     "auth_ref": [
      "r742"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period, Intrinsic Value",
        "verboseLabel": "Intrinsic value of options exercised"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONAggregateIntrinsicValueforOptionsExercisedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r741"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "verboseLabel": "Weighted average grant-date fair value (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesAssumptionsUsedDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "auth_ref": [
      "r173"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Intrinsic Value",
        "verboseLabel": "Aggregate intrinsic value for options outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONAggregateIntrinsicValueforOptionsExercisedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "auth_ref": [
      "r727",
      "r728"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options outstanding, including both vested and non-vested options.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Number",
        "periodEndLabel": "Ending balance (in shares)",
        "periodStartLabel": "Beginning balance (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding [Roll Forward]",
        "terseLabel": "Shares\u00a0Subject to Option"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r727",
      "r728"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price",
        "periodEndLabel": "Ending balance (in dollars per share)",
        "periodStartLabel": "Beginning balance (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r736",
      "r737",
      "r738",
      "r739",
      "r740",
      "r741",
      "r742",
      "r743",
      "r744",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]",
        "terseLabel": "Award Type [Domain]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesAssumptionsUsedDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesCompensationCostsandRelatedTaxBenefitDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r732"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which option holders acquired shares when converting their stock options into shares.",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price",
        "terseLabel": "Exercised (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationAwardTrancheOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First portion of award under share-based payment arrangement differentiated by vesting feature, including, but not limited to, performance measure or service period.",
        "label": "Share-Based Payment Arrangement, Tranche One [Member]",
        "terseLabel": "One-year vesting period"
       }
      }
     },
     "localname": "ShareBasedCompensationAwardTrancheOneMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationAwardTrancheThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Third portion of award under share-based payment arrangement differentiated by vesting feature, including, but not limited to, performance measure or service period.",
        "label": "Share-Based Payment Arrangement, Tranche Three [Member]",
        "terseLabel": "Three-year vesting period"
       }
      }
     },
     "localname": "ShareBasedCompensationAwardTrancheThreeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationAwardTrancheTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Second portion of award under share-based payment arrangement differentiated by vesting feature, including, but not limited to, performance measure or service period.",
        "label": "Share-Based Payment Arrangement, Tranche Two [Member]",
        "terseLabel": "Two-year vesting period"
       }
      }
     },
     "localname": "ShareBasedCompensationAwardTrancheTwoMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "auth_ref": [
      "r745"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Term",
        "verboseLabel": "Expected term (in years)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesAssumptionsUsedDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1": {
     "auth_ref": [
      "r173"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Intrinsic Value",
        "terseLabel": "Aggregate intrinsic value for options exercisable"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONAggregateIntrinsicValueforOptionsExercisedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "auth_ref": [
      "r171"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term",
        "verboseLabel": "Weighted average remaining contractual term for options outstanding"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionsNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharesIssued": {
     "auth_ref": [
      "r142"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of stock issued as of the balance sheet date, including shares that had been issued and were previously outstanding but which are now held in the treasury.",
        "label": "Shares, Issued",
        "periodEndLabel": "Ending balance (in shares)",
        "periodStartLabel": "Beginning balance (in shares)"
       }
      }
     },
     "localname": "SharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShortMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates the sale of a borrowed security or written option.",
        "label": "Short [Member]",
        "terseLabel": "Short"
       }
      }
     },
     "localname": "ShortMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/DERIVATIVESEnergyRelatedDerivativeContractsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShortTermBorrowings": {
     "auth_ref": [
      "r2",
      "r276",
      "r296",
      "r1095"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 12.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer.",
        "label": "Short-Term Debt",
        "netLabel": "Amount Outstanding",
        "terseLabel": "Short-term debt",
        "verboseLabel": "Notes payable"
       }
      }
     },
     "localname": "ShortTermBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGuaranteesDetails",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/FINANCINGNotesPayableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShortTermDebtLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Short-Term Debt [Line Items]",
        "terseLabel": "Short-term Debt [Line Items]"
       }
      }
     },
     "localname": "ShortTermDebtLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGNotesPayableDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermDebtTypeAxis": {
     "auth_ref": [
      "r22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of short-term debt arrangement.",
        "label": "Short-Term Debt, Type [Axis]",
        "terseLabel": "Short-term Debt, Type [Axis]"
       }
      }
     },
     "localname": "ShortTermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGNotesPayableDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermDebtTypeDomain": {
     "auth_ref": [
      "r19"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of short-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.",
        "label": "Short-Term Debt, Type [Domain]",
        "terseLabel": "Short-term Debt, Type [Domain]"
       }
      }
     },
     "localname": "ShortTermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGNotesPayableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShortTermDebtWeightedAverageInterestRate": {
     "auth_ref": [
      "r20"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of short-term debt outstanding calculated at point in time.",
        "label": "Short-Term Debt, Weighted Average Interest Rate, at Point in Time",
        "verboseLabel": "Weighted Average Interest Rate"
       }
      }
     },
     "localname": "ShortTermDebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGNotesPayableDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShortTermLeaseCost": {
     "auth_ref": [
      "r871",
      "r1094"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESLeaseCostsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of short-term lease cost, excluding expense for lease with term of one month or less.",
        "label": "Short-Term Lease, Cost",
        "terseLabel": "Short-term lease costs"
       }
      }
     },
     "localname": "ShortTermLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r90",
      "r392"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "verboseLabel": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations": {
     "auth_ref": [
      "r1137",
      "r1287",
      "r1293"
     ],
     "calculation": {
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current and deferred state and local tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, current and deferred regional, territorial, and provincial tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "State and Local Income Tax Expense (Benefit), Continuing Operations",
        "totalLabel": "Total state taxes"
       }
      }
     },
     "localname": "StateAndLocalIncomeTaxExpenseBenefitContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "State and Local Income Tax Expense (Benefit), Continuing Operations [Abstract]",
        "verboseLabel": "State\u00a0\u2014"
       }
      }
     },
     "localname": "StateAndLocalIncomeTaxExpenseBenefitContinuingOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESCurrentandDeferredIncomeTaxProvisionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StateAndLocalJurisdictionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designated tax department of a state or local government entitled to levy and collect income taxes from the entity.",
        "label": "State and Local Jurisdiction [Member]",
        "terseLabel": "State and Local Jurisdiction"
       }
      }
     },
     "localname": "StateAndLocalJurisdictionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNOLCarryforwardsDetails",
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementBusinessSegmentsAxis": {
     "auth_ref": [
      "r336",
      "r449",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459",
      "r460",
      "r461",
      "r462",
      "r463",
      "r465",
      "r466",
      "r467",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r475",
      "r481",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r520",
      "r521",
      "r532",
      "r545",
      "r546",
      "r1062",
      "r1327"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business segments.",
        "label": "Segments [Axis]",
        "terseLabel": "Segments [Axis]"
       }
      }
     },
     "localname": "StatementBusinessSegmentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernCompanyNarrativeDetails",
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASInfrastructureReplacementProgramsandCapitalProjectsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONElectricUtilitiesRevenuesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAmortizationofOtherIntangibleAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofGoodwillBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r349",
      "r350",
      "r351",
      "r395",
      "r433",
      "r437",
      "r440",
      "r442",
      "r446",
      "r447",
      "r491",
      "r558",
      "r561",
      "r562",
      "r563",
      "r569",
      "r570",
      "r599",
      "r600",
      "r602",
      "r603",
      "r605",
      "r833",
      "r1019",
      "r1113",
      "r1134",
      "r1149"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Class of Stock [Axis]",
        "terseLabel": "Class of Stock [Axis]"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSScheduleofConstructionProjectsDetails",
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical",
      "http://southerncompany.com/role/CoverPage",
      "http://southerncompany.com/role/FINANCINGOutstandingClassesofCapitalStockNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r33",
      "r142",
      "r332",
      "r377",
      "r378",
      "r379",
      "r411",
      "r412",
      "r413",
      "r416",
      "r425",
      "r428",
      "r445",
      "r495",
      "r606",
      "r753",
      "r754",
      "r755",
      "r777",
      "r778",
      "r818",
      "r845",
      "r846",
      "r847",
      "r848",
      "r849",
      "r851",
      "r898",
      "r974",
      "r975",
      "r976"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]",
        "terseLabel": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAOCILossBalancesNetofTaxEffectsDetails",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsGPCParenthetical",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/BalanceSheetsMPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsAPCParenthetical",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPCParenthetical",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPCParenthetical",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPCParenthetical",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPCParenthetical",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPCParenthetical",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]",
        "terseLabel": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]",
        "terseLabel": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Comprehensive Income [Abstract]",
        "terseLabel": "Statement of Comprehensive Income [Abstract]"
       }
      }
     },
     "localname": "StatementOfIncomeAndComprehensiveIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]",
        "terseLabel": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOperatingActivitiesSegmentAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by continuing and discontinuing operations.",
        "label": "Operating Activities [Axis]",
        "terseLabel": "Operating Activities [Axis]"
       }
      }
     },
     "localname": "StatementOperatingActivitiesSegmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r411",
      "r412",
      "r413",
      "r445",
      "r938"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsGPCParenthetical",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/BalanceSheetsMPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofComprehensiveIncomeSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGASParenthetical",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsAPCParenthetical",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPCParenthetical",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPCParenthetical",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossAPCParenthetical",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeLossGPCParenthetical",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPC",
      "http://southerncompany.com/role/StatementsofComprehensiveIncomeMPCParenthetical",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r10",
      "r11",
      "r142",
      "r147"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "verboseLabel": "Stock issued (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "auth_ref": [
      "r10",
      "r11",
      "r142",
      "r147",
      "r732"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of share options (or share units) exercised during the current period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period",
        "terseLabel": "Exercised (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [
      "r10",
      "r11",
      "r142",
      "r147"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.",
        "label": "Stock Issued During Period, Value, New Issues",
        "verboseLabel": "Stock issued"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockOptionPlanExpense": {
     "auth_ref": [
      "r81"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense for option under share-based payment arrangement.",
        "label": "Stock or Unit Option Plan Expense",
        "terseLabel": "Stock based compensation expense"
       }
      }
     },
     "localname": "StockOptionPlanExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r11",
      "r15",
      "r16",
      "r105",
      "r1095",
      "r1136",
      "r1156",
      "r1306"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity Attributable to Parent",
        "terseLabel": "Total common stockholders' equity",
        "totalLabel": "Total common stockholders' equity"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r203",
      "r204",
      "r222",
      "r332",
      "r333",
      "r378",
      "r411",
      "r412",
      "r413",
      "r416",
      "r425",
      "r495",
      "r606",
      "r753",
      "r754",
      "r755",
      "r777",
      "r778",
      "r818",
      "r845",
      "r846",
      "r851",
      "r898",
      "r975",
      "r976",
      "r1136",
      "r1156",
      "r1306"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.",
        "label": "Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Total Stockholders' Equity (See accompanying statements)",
        "totalLabel": "Total Stockholders' Equity (See accompanying statements)"
       }
      }
     },
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/ConsolidatedStatementsofCommonStockholdersEquityGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern",
      "http://southerncompany.com/role/RETIREMENTBENEFITSComponentsofAccumulatedOCIandChangesinRegulatoryAssetsDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAOCILossBalancesNetofTaxEffectsDetails",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityOther": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents movements included in the statement of changes in stockholders' equity which are not separately disclosed or provided for elsewhere in the taxonomy.",
        "label": "Stockholders' Equity, Other",
        "negatedTerseLabel": "Other",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "StockholdersEquityOther",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityAPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityGPC",
      "http://southerncompany.com/role/StatementsofCommonStockholdersEquityMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StormDamageProvision": {
     "auth_ref": [
      "r82"
     ],
     "calculation": {
      "http://southerncompany.com/role/StatementsofCashFlowsGPC": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A noncash adjustment to the provision established for storm damage by an oil, gas, or utility company.",
        "label": "Storm Damage Provision",
        "terseLabel": "Storm damage and reliability reserve accruals"
       }
      }
     },
     "localname": "StormDamageProvision",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/StatementsofCashFlowsGPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SubleaseIncome": {
     "auth_ref": [
      "r873",
      "r1094"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESLeaseCostsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of sublease income excluding finance and operating lease expense.",
        "label": "Sublease Income",
        "negatedTerseLabel": "Sublease income"
       }
      }
     },
     "localname": "SubleaseIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SubsegmentsAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business subsegments.",
        "label": "Subsegments [Axis]",
        "terseLabel": "Subsegments [Axis]"
       }
      }
     },
     "localname": "SubsegmentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsegmentsDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Divisions of a component of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Subsegments [Domain]",
        "terseLabel": "Subsegments [Domain]"
       }
      }
     },
     "localname": "SubsegmentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r852",
      "r902"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Event"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r852",
      "r902"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]",
        "terseLabel": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r852",
      "r902"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]",
        "terseLabel": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails",
      "http://southerncompany.com/role/FINANCINGBankCreditArrangementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCFuelCostRecoveryandAdValoremTaxAdjustmentDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCSystemRestorationRiderDetails",
      "http://southerncompany.com/role/STOCKCOMPENSATIONPerformanceSharesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SummaryOfIncomeTaxContingenciesTextBlock": {
     "auth_ref": [
      "r180",
      "r184",
      "r185"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for tax positions taken in the tax returns filed or to be filed for which it is more likely than not that the tax position will not be sustained upon examination by taxing authorities and other income tax contingencies. Includes, but is not limited to, interest and penalties, reconciliation of unrecognized tax benefits, unrecognized tax benefits that would affect the effective tax rate, tax years that remain subject to examination by tax jurisdictions, and information about positions for which it is reasonably possible that amounts unrecognized will significantly change within 12 months.",
        "label": "Summary of Income Tax Contingencies [Table Text Block]",
        "verboseLabel": "Changes in unrecognized tax benefits"
       }
      }
     },
     "localname": "SummaryOfIncomeTaxContingenciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SummaryOfOperatingLossCarryforwardsTextBlock": {
     "auth_ref": [
      "r189"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of pertinent information, such as tax authority, amounts, and expiration dates, of net operating loss carryforwards, including an assessment of the likelihood of utilization.",
        "label": "Summary of Operating Loss Carryforwards [Table Text Block]",
        "terseLabel": "Summary of operating loss carryforward"
       }
      }
     },
     "localname": "SummaryOfOperatingLossCarryforwardsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SummaryOfTaxCreditCarryforwardsTextBlock": {
     "auth_ref": [
      "r189"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of tax credit carryforwards available to reduce future taxable income, including amounts, expiration dates, limitations on use and the related deferred tax assets and valuation allowances.",
        "label": "Summary of Tax Credit Carryforwards [Table Text Block]",
        "terseLabel": "Summary of tax credit carryforwards"
       }
      }
     },
     "localname": "SummaryOfTaxCreditCarryforwardsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental Cash Flow Information:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSPC",
      "http://southerncompany.com/role/ConsolidatedStatementsofCashFlowsSouthern",
      "http://southerncompany.com/role/StatementsofCashFlowsAPC",
      "http://southerncompany.com/role/StatementsofCashFlowsGPC",
      "http://southerncompany.com/role/StatementsofCashFlowsMPC"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxCreditCarryforwardAmount": {
     "auth_ref": [
      "r188"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of the tax credit carryforward, before tax effects, available to reduce future taxable income under enacted tax laws.",
        "label": "Tax Credit Carryforward, Amount",
        "terseLabel": "Federal ITC/PTC carryforwards"
       }
      }
     },
     "localname": "TaxCreditCarryforwardAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESFederalITCPTCCarryforwardsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxCreditCarryforwardAxis": {
     "auth_ref": [
      "r189"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by specific tax credit related to an unused tax credit.",
        "label": "Tax Credit Carryforward [Axis]",
        "terseLabel": "Tax Credit Carryforward [Axis]"
       }
      }
     },
     "localname": "TaxCreditCarryforwardAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESFederalITCPTCCarryforwardsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxCreditCarryforwardLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Tax Credit Carryforward [Line Items]",
        "terseLabel": "Tax Credit Carryforward [Line Items]"
       }
      }
     },
     "localname": "TaxCreditCarryforwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESIncomeandOtherTaxesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxCreditCarryforwardNameDomain": {
     "auth_ref": [
      "r189"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name of the tax credit carryforward.",
        "label": "Tax Credit Carryforward, Name [Domain]",
        "terseLabel": "Tax Credit Carryforward, Name [Domain]"
       }
      }
     },
     "localname": "TaxCreditCarryforwardNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESFederalITCPTCCarryforwardsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TaxCreditCarryforwardTable": {
     "auth_ref": [
      "r189"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A listing of tax credit carryforwards available to reduce future taxable income including descriptions, amounts, expiration dates, limitations on use and the related deferred tax assets and valuation allowances.",
        "label": "Tax Credit Carryforward [Table]",
        "terseLabel": "Tax Credit Carryforward [Table]"
       }
      }
     },
     "localname": "TaxCreditCarryforwardTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESIncomeandOtherTaxesNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxCreditCarryforwardValuationAllowance": {
     "auth_ref": [
      "r186"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of valuation allowance pertaining to the deferred tax asset representing potential future taxable deductions from tax credit carryforwards for which it is more likely than not that a tax benefit will not be realized.",
        "label": "Tax Credit Carryforward, Valuation Allowance",
        "terseLabel": "Valuation allowance"
       }
      }
     },
     "localname": "TaxCreditCarryforwardValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxesExcludingIncomeAndExciseTaxes": {
     "auth_ref": [
      "r1125"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome": {
       "order": 4.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All taxes not related to income of the entity or excise or sales taxes levied on the revenue of the entity that are not reported elsewhere. These taxes could include production, real estate, personal property, and pump tax.",
        "label": "Taxes, Miscellaneous",
        "verboseLabel": "Taxes other than income taxes"
       }
      }
     },
     "localname": "TaxesExcludingIncomeAndExciseTaxes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxesPayableCurrent": {
     "auth_ref": [
      "r23"
     ],
     "calculation": {
      "http://southerncompany.com/role/BalanceSheetsGPC": {
       "order": 6.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable for statutory income, sales, use, payroll, excise, real, property and other taxes. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Taxes Payable, Current",
        "terseLabel": "Accrued taxes"
       }
      }
     },
     "localname": "TaxesPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsGPC",
      "http://southerncompany.com/role/BalanceSheetsMPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsGAS",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxesPayableCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Taxes Payable, Current [Abstract]",
        "terseLabel": "Accrued taxes \u2014"
       }
      }
     },
     "localname": "TaxesPayableCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TemporaryEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Temporary Equity [Abstract]",
        "terseLabel": "Cumulative preferred stock"
       }
      }
     },
     "localname": "TemporaryEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TemporaryEquityCarryingAmountAttributableToParent": {
     "auth_ref": [
      "r558",
      "r561",
      "r562",
      "r563",
      "r569",
      "r570"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount, attributable to parent, of an entity's issued and outstanding stock which is not included within permanent equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity, Carrying Amount, Attributable to Parent",
        "terseLabel": "Redeemable preferred stock"
       }
      }
     },
     "localname": "TemporaryEquityCarryingAmountAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPC",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityParOrStatedValuePerShare": {
     "auth_ref": [
      "r1",
      "r141"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share amount of par value or stated value of stock classified as temporary equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable.",
        "label": "Temporary Equity, Par or Stated Value Per Share",
        "terseLabel": "Par Value/Stated Capital Per Share (in dollars per share)"
       }
      }
     },
     "localname": "TemporaryEquityParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_TemporaryEquityRedemptionPricePerShare": {
     "auth_ref": [
      "r1",
      "r141"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount to be paid per share that is classified as temporary equity by entity upon redemption. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity, Redemption Price Per Share",
        "terseLabel": "Redemption Price Per Share (in dollars per share)"
       }
      }
     },
     "localname": "TemporaryEquityRedemptionPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_TemporaryEquitySharesAuthorized": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of securities classified as temporary equity that are permitted to be issued by an entity's charter and bylaws. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity, Shares Authorized",
        "terseLabel": "Shares authorized (in shares)"
       }
      }
     },
     "localname": "TemporaryEquitySharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TemporaryEquitySharesOutstanding": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of securities classified as temporary equity that have been issued and are held by the entity's shareholders. Securities outstanding equals securities issued minus securities held in treasury. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity, Shares Outstanding",
        "terseLabel": "Shares outstanding (in shares)",
        "verboseLabel": "Shares Outstanding (in shares)"
       }
      }
     },
     "localname": "TemporaryEquitySharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/BalanceSheetsAPCParenthetical",
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical",
      "http://southerncompany.com/role/FINANCINGPreferredStockRedemptionDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TemporaryEquityTableTextBlock": {
     "auth_ref": [
      "r1",
      "r141"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of temporary equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity [Table Text Block]",
        "terseLabel": "Schedule of preferred stock"
       }
      }
     },
     "localname": "TemporaryEquityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TradeNamesMember": {
     "auth_ref": [
      "r198"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rights acquired through registration of a business name to gain or protect exclusive use thereof.",
        "label": "Trade Names [Member]",
        "terseLabel": "Trade names"
       }
      }
     },
     "localname": "TradeNamesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r488",
      "r489",
      "r596",
      "r604",
      "r809",
      "r903",
      "r904",
      "r905",
      "r906",
      "r907",
      "r908",
      "r909",
      "r910",
      "r911",
      "r912",
      "r913",
      "r914",
      "r915",
      "r916",
      "r920",
      "r921",
      "r922",
      "r923",
      "r924",
      "r925",
      "r926",
      "r927",
      "r928",
      "r929",
      "r930",
      "r931",
      "r932",
      "r933",
      "r934",
      "r935",
      "r1153",
      "r1154",
      "r1155",
      "r1331",
      "r1332",
      "r1333",
      "r1334",
      "r1335",
      "r1336",
      "r1337"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Financial Instruments [Domain]",
        "terseLabel": "Financial Instruments [Domain]"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSFairValueIncreasesDecreasesoftheFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSInvestmentSecuritiesintheFundsDetails",
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TransportationEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equipment used for the primary purpose of moving people and products from one place to another.",
        "label": "Transportation Equipment [Member]",
        "terseLabel": "Transportation equipment"
       }
      }
     },
     "localname": "TransportationEquipmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTDepreciationandAmortizationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockMember": {
     "auth_ref": [
      "r32",
      "r151"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares of an entity that have been repurchased by the entity. This stock has no voting rights and receives no dividends. Note that treasury stock may be recorded at its total cost or separately as par (or stated) value and additional paid in capital. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Treasury Stock [Member]",
        "verboseLabel": "Treasury"
       }
      }
     },
     "localname": "TreasuryStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofStockholdersEquitySouthern"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockShares": {
     "auth_ref": [
      "r32",
      "r151"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of common and preferred shares that were previously issued and that were repurchased by the issuing entity and held in treasury on the financial statement date. This stock has no voting rights and receives no dividends.",
        "label": "Treasury Stock, Shares",
        "terseLabel": "Treasury shares (in shares)"
       }
      }
     },
     "localname": "TreasuryStockShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthernParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TreasuryStockValue": {
     "auth_ref": [
      "r32",
      "r151",
      "r152"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount allocated to treasury stock. Treasury stock is common and preferred shares of an entity that were issued, repurchased by the entity, and are held in its treasury.",
        "label": "Treasury Stock, Value",
        "negatedTerseLabel": "Treasury, at cost"
       }
      }
     },
     "localname": "TreasuryStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_USStatesAndPoliticalSubdivisionsMember": {
     "auth_ref": [
      "r1077",
      "r1328"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments. Debt securities issued by state governments may include bond issuances of US state authorities including, for example, but not limited to, housing authorities, dormitory authorities, and general obligations while debt securities issued by political subdivisions of US states would include, for example, debt issuances by county, borough, city, or municipal governments.",
        "label": "US States and Political Subdivisions Debt Securities [Member]",
        "terseLabel": "Domestic equity"
       }
      }
     },
     "localname": "USStatesAndPoliticalSubdivisionsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USTreasuryAndGovernmentMember": {
     "auth_ref": [
      "r962",
      "r1077",
      "r1328"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This category includes investments in debt securities issued by the United States Department of the Treasury, US Government Agencies and US Government-sponsored Enterprises. Such securities may include treasury bills (short-term maturities - one year or less), treasury notes (intermediate term maturities - two to ten years), and treasury bonds (long-term maturities - ten to thirty years), debt securities issued by the Government National Mortgage Association (Ginnie Mae) and debt securities issued by the Federal National Mortgage Association (Fannie Mae) or the Federal Home Loan Mortgage Corporation (Freddie Mac).",
        "label": "US Treasury and Government [Member]",
        "terseLabel": "U.S. Treasury, government, and agency bonds",
        "verboseLabel": "U.S. Treasury and government agency securities"
       }
      }
     },
     "localname": "USTreasuryAndGovernmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FAIRVALUEMEASUREMENTSAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails",
      "http://southerncompany.com/role/RETIREMENTBENEFITSFairValuesofPensionPlanandOtherPostretirementBenefitPlanAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnamortizedDebtIssuanceExpense": {
     "auth_ref": [],
     "calculation": {
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails_1": {
       "order": 5.0,
       "parentTag": "so_LongTermDebtandFinanceLeaseObligationNet",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The remaining balance of debt issuance expenses that were capitalized and are being amortized against income over the lives of the respective bond issues. This does not include the amounts capitalized as part of the cost of the utility plant or asset.",
        "label": "Unamortized Debt Issuance Expense",
        "negatedLabel": "Unamortized debt issuance expense",
        "negatedTerseLabel": "Debt Issuance Costs, Net"
       }
      }
     },
     "localname": "UnamortizedDebtIssuanceExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGLongTermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnamortizedLossReacquiredDebtNoncurrent": {
     "auth_ref": [
      "r1118"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern": {
       "order": 3.0,
       "parentTag": "so_DeferredChargesAndOtherAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unamortized Loss on Reacquired Debt is the loss incurred upon reacquisition or refinancing of debt, is treated as a deferred charge and amortized over the life of the new debt issued.",
        "label": "Unamortized Loss Reacquired Debt, Noncurrent",
        "verboseLabel": "Unamortized loss on reacquired debt"
       }
      }
     },
     "localname": "UnamortizedLossReacquiredDebtNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedBalanceSheetsSouthern"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain": {
     "auth_ref": [
      "r547",
      "r548",
      "r549",
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "General description of the goods or services to be purchased from the counterparty to the unconditional purchase arrangement.",
        "label": "Unconditional Purchase Obligation, Category of Goods or Services Acquired [Domain]",
        "terseLabel": "Unconditional Purchase Obligation, Category of Goods or Services Acquired [Domain]"
       }
      }
     },
     "localname": "UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESCommitmentsDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnrecognizedTaxBenefits": {
     "auth_ref": [
      "r756",
      "r764"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrecognized tax benefits.",
        "label": "Unrecognized Tax Benefits",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefits",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESChangesinUnrecognizedTaxBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions": {
     "auth_ref": [
      "r765"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns.",
        "label": "Unrecognized Tax Benefits, Increase Resulting from Prior Period Tax Positions",
        "terseLabel": "Tax positions changes \u2013 increase from prior periods"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/INCOMETAXESChangesinUnrecognizedTaxBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecordedUnconditionalPurchaseObligationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unrecorded Unconditional Purchase Obligation, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Pipeline Charges, Storage Capacity, and Gas Supply"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFifthAnniversary": {
     "auth_ref": [
      "r548"
     ],
     "calculation": {
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fixed and determinable portion of unrecorded unconditional purchase obligation to be paid in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Unrecorded Unconditional Purchase Obligation, to be Paid, Year Five",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationBalanceOnFifthAnniversary",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary": {
     "auth_ref": [
      "r548"
     ],
     "calculation": {
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fixed and determinable portion of unrecorded unconditional purchase obligation to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Unrecorded Unconditional Purchase Obligation, to be Paid, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFourthAnniversary": {
     "auth_ref": [
      "r548"
     ],
     "calculation": {
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fixed and determinable portion of unrecorded unconditional purchase obligation to be paid in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Unrecorded Unconditional Purchase Obligation, to be Paid, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationBalanceOnFourthAnniversary",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnSecondAnniversary": {
     "auth_ref": [
      "r548"
     ],
     "calculation": {
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fixed and determinable portion of unrecorded unconditional purchase obligation to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Unrecorded Unconditional Purchase Obligation, to be Paid, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationBalanceOnSecondAnniversary",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnThirdAnniversary": {
     "auth_ref": [
      "r548"
     ],
     "calculation": {
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fixed and determinable portion of unrecorded unconditional purchase obligation to be paid in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Unrecorded Unconditional Purchase Obligation, to be Paid, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationBalanceOnThirdAnniversary",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount": {
     "auth_ref": [
      "r548"
     ],
     "calculation": {
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the unrecorded obligation to transfer funds in the future for fixed or minimum amounts or quantities of goods or services at fixed or minimum prices (for example, as in take-or-pay contracts or throughput contracts).",
        "label": "Unrecorded Unconditional Purchase Obligation",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis": {
     "auth_ref": [
      "r547",
      "r548",
      "r549"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pertinent information about unrecorded unconditional purchase arrangements to acquire goods or services, by category of goods or services. arrangements to acquire goods or services, by category of goods or services.",
        "label": "Unrecorded Unconditional Purchase Obligation by Category of Item Purchased [Axis]",
        "terseLabel": "Unrecorded Unconditional Purchase Obligation by Category of Item Purchased [Axis]"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnrecordedUnconditionalPurchaseObligationDueAfterFiveYears": {
     "auth_ref": [
      "r1176"
     ],
     "calculation": {
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fixed and determinable portion of unrecorded unconditional purchase obligation to be paid after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Unrecorded Unconditional Purchase Obligation, to be Paid, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationDueAfterFiveYears",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESGASCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnusualOrInfrequentItemAxis": {
     "auth_ref": [
      "r62"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by an event or transaction that is unusual in nature or infrequent in occurrence, or both.",
        "label": "Unusual or Infrequent Item, or Both [Axis]",
        "terseLabel": "Unusual or Infrequent Item, or Both [Axis]"
       }
      }
     },
     "localname": "UnusualOrInfrequentItemAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnusualOrInfrequentItemDomain": {
     "auth_ref": [
      "r62"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event or transaction that is unusual in nature or infrequent in occurrence, or both.",
        "label": "Unusual or Infrequent Item, or Both [Domain]",
        "terseLabel": "Unusual or Infrequent Item, or Both [Domain]"
       }
      }
     },
     "localname": "UnusualOrInfrequentItemDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/REGULATORYMATTERSGASRateProceedingsandDeferralofIncrementalCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UtilitiesOperatingExpenseMaintenanceAndOperations": {
     "auth_ref": [
      "r57"
     ],
     "calculation": {
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      },
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern": {
       "order": 1.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating expense for routine plant maintenance, repairs and operations of regulated operation.",
        "label": "Utilities Operating Expense, Maintenance and Operations",
        "verboseLabel": "Other operations and maintenance"
       }
      }
     },
     "localname": "UtilitiesOperatingExpenseMaintenanceAndOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncome",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeGAS",
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/StatementsofIncomeAPC",
      "http://southerncompany.com/role/StatementsofIncomeGPC",
      "http://southerncompany.com/role/StatementsofIncomeMPC"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UtilityPlantDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant owned by a utility entity used in the operations of the entity.",
        "label": "Utility Plant [Domain]",
        "terseLabel": "Utility Plant [Domain]"
       }
      }
     },
     "localname": "UtilityPlantDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSGASAcquisitionsandDispositionsNarrativeDetails",
      "http://southerncompany.com/role/ACQUISITIONSANDDISPOSITIONSSouthernPowerNarrativeDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSAccumulatedProvisionsfortheExternalDecommissioningTrustFundsDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSEstimatedCostsofDecommissioningDetails",
      "http://southerncompany.com/role/ASSETRETIREMENTOBLIGATIONSNarrativeDetails",
      "http://southerncompany.com/role/CONTINGENCIESCOMMITMENTSANDGUARANTEESMPCOtherMattersDetails",
      "http://southerncompany.com/role/FINANCINGDOELoanGuaranteeBorrowingsDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTJointOwnershipAgreementsNarrativeDetails",
      "http://southerncompany.com/role/PROPERTYPLANTANDEQUIPMENTOwnershipandInvestmentinJointlyOwnedFacilitiesDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCAccountingOrdersandPlantGreeneCountyDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSAPCCertificateofConvenienceandNecessityandRGCDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCJointOwnershipAgreementsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCNuclearConstructionDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRatePlansIntegratedResourcePlanandCOVID19CostsDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCRegulatoryMattersDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSGPCScheduleofNuclearConstructionCostandScheduleDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSMPCIntegratedResourcePlanDetails",
      "http://southerncompany.com/role/REGULATORYMATTERSScheduleofRegulatoryAssetsandLiabilitiesDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONFinancialDataforBusinessSegmentsDetails",
      "http://southerncompany.com/role/SEGMENTANDRELATEDINFORMATIONGasRevenuesDetails",
      "http://southerncompany.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAffiliateTransactionsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ValuationAllowanceOfDeferredTaxAssetsMember": {
     "auth_ref": [
      "r1140",
      "r1141",
      "r1142",
      "r1143",
      "r1144"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation allowance of deferred tax asset attributable to deductible temporary difference and carryforward.",
        "label": "SEC Schedule, 12-09, Valuation Allowance, Deferred Tax Asset [Member]",
        "terseLabel": "Tax valuation allowance (net state)"
       }
      }
     },
     "localname": "ValuationAllowanceOfDeferredTaxAssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ValuationAllowancesAndReservesBalance": {
     "auth_ref": [
      "r403",
      "r409"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of valuation and qualifying accounts and reserves.",
        "label": "SEC Schedule, 12-09, Valuation Allowances and Reserves, Amount",
        "periodEndLabel": "Balance at End of Period",
        "periodStartLabel": "Balance at Beginning of Period"
       }
      }
     },
     "localname": "ValuationAllowancesAndReservesBalance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense": {
     "auth_ref": [
      "r406"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in valuation and qualifying accounts and reserves from charge to cost and expense.",
        "label": "SEC Schedule, 12-09, Valuation Allowances and Reserves, Additions, Charge to Cost and Expense",
        "terseLabel": "Charged to Income"
       }
      }
     },
     "localname": "ValuationAllowancesAndReservesChargedToCostAndExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ValuationAllowancesAndReservesChargedToOtherAccounts": {
     "auth_ref": [
      "r407"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in valuation and qualifying accounts and reserves from charge to accounts other than cost and expense.",
        "label": "SEC Schedule, 12-09, Valuation Allowances and Reserves, Additions, Charge to Other Account",
        "negatedLabel": "Charged to Other Accounts"
       }
      }
     },
     "localname": "ValuationAllowancesAndReservesChargedToOtherAccounts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ValuationAllowancesAndReservesDeductions": {
     "auth_ref": [
      "r408"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease in valuation and qualifying accounts and reserves.",
        "label": "SEC Schedule, 12-09, Valuation Allowances and Reserves, Deduction",
        "terseLabel": "Deductions"
       }
      }
     },
     "localname": "ValuationAllowancesAndReservesDeductions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ValuationAllowancesAndReservesDomain": {
     "auth_ref": [
      "r403",
      "r404",
      "r405",
      "r408",
      "r409"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation and qualifying accounts and reserves.",
        "label": "SEC Schedule, 12-09, Valuation Allowances and Reserves [Domain]",
        "terseLabel": "SEC Schedule, 12-09, Valuation Allowances and Reserves [Domain]"
       }
      }
     },
     "localname": "ValuationAllowancesAndReservesDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ValuationAllowancesAndReservesTypeAxis": {
     "auth_ref": [
      "r403",
      "r404",
      "r405",
      "r408",
      "r409"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by valuation and qualifying accounts and reserves.",
        "label": "SEC Schedule, 12-09, Valuation Allowances and Reserves Type [Axis]",
        "terseLabel": "SEC Schedule, 12-09, Valuation Allowances and Reserves Type [Axis]"
       }
      }
     },
     "localname": "ValuationAllowancesAndReservesTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/VALUATIONANDQUALIFYINGACCOUNTSDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableInterestEntityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Variable Interest Entity [Line Items]",
        "terseLabel": "Variable Interest Entity [Line Items]"
       }
      }
     },
     "localname": "VariableInterestEntityLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/FINANCINGDividendRestrictionsandStructuralConsiderationsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableInterestEntityPrimaryBeneficiaryMember": {
     "auth_ref": [
      "r215",
      "r796",
      "r797",
      "r801",
      "r802"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Variable Interest Entities (VIE) in which the entity has a controlling financial interest (as defined) and of which it is therefore the primary beneficiary. A controlling financial interest is determined based on both: (a) the entity's power to direct activities of the VIE that most significantly impact the VIE's economic performance and (b) the entity's obligation to absorb losses of the VIE that could potentially be significant to the VIE or the right to receive benefits from the VIE that could potentially be significant to the VIE. VIEs of which the entity is the primary beneficiary are included in the consolidated financial statements of the entity.",
        "label": "Variable Interest Entity, Primary Beneficiary [Member]",
        "terseLabel": "Variable Interest Entity, Primary Beneficiary"
       }
      }
     },
     "localname": "VariableInterestEntityPrimaryBeneficiaryMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/CONSOLIDATEDENTITIESANDEQUITYMETHODINVESTMENTSSPCNoncontrollingInterestsandVIEsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VariableLeaseCost": {
     "auth_ref": [
      "r872",
      "r1094"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESLeaseCostsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of variable lease cost, excluded from lease liability, recognized when obligation for payment is incurred for finance and operating leases.",
        "label": "Variable Lease, Cost",
        "terseLabel": "Variable lease cost"
       }
      }
     },
     "localname": "VariableLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableLeaseIncome": {
     "auth_ref": [
      "r888"
     ],
     "calculation": {
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LeaseIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of variable lease payments from operating, direct financing, and sales-type leases, excluding amount included in measurement of lease receivable.",
        "label": "Variable Lease, Income",
        "terseLabel": "Variable lease income"
       }
      }
     },
     "localname": "VariableLeaseIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESLeaseIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableLeasePayment": {
     "auth_ref": [
      "r867"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for variable lease payment excluded from lease liability.",
        "label": "Variable Lease, Payment",
        "terseLabel": "Variable lease, payment"
       }
      }
     },
     "localname": "VariableLeasePayment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/LEASESAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VestingAxis": {
     "auth_ref": [
      "r1260",
      "r1261",
      "r1262",
      "r1263",
      "r1264",
      "r1265",
      "r1266",
      "r1267",
      "r1268",
      "r1269",
      "r1270",
      "r1271",
      "r1272",
      "r1273",
      "r1274",
      "r1275",
      "r1276",
      "r1277",
      "r1278",
      "r1279",
      "r1280",
      "r1281",
      "r1282",
      "r1283",
      "r1284",
      "r1285"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by vesting schedule of award under share-based payment arrangement.",
        "label": "Vesting [Axis]",
        "terseLabel": "Vesting [Axis]"
       }
      }
     },
     "localname": "VestingAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VestingDomain": {
     "auth_ref": [
      "r1260",
      "r1261",
      "r1262",
      "r1263",
      "r1264",
      "r1265",
      "r1266",
      "r1267",
      "r1268",
      "r1269",
      "r1270",
      "r1271",
      "r1272",
      "r1273",
      "r1274",
      "r1275",
      "r1276",
      "r1277",
      "r1278",
      "r1279",
      "r1280",
      "r1281",
      "r1282",
      "r1283",
      "r1284",
      "r1285"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vesting schedule of award under share-based payment arrangement.",
        "label": "Vesting [Domain]",
        "terseLabel": "Vesting [Domain]"
       }
      }
     },
     "localname": "VestingDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/STOCKCOMPENSATIONRestrictedStockUnitsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r432",
      "r442"
     ],
     "calculation": {
      "http://southerncompany.com/role/FINANCINGDilutedEarningsPerShareDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "terseLabel": "Diluted (in shares)",
        "totalLabel": "Diluted shares (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/FINANCINGDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average Number of Shares Outstanding, Diluted [Abstract]",
        "terseLabel": "Average number of shares of common stock outstanding \u2014 (in millions)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r430",
      "r442"
     ],
     "calculation": {
      "http://southerncompany.com/role/FINANCINGDilutedEarningsPerShareDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "As reported shares (in shares)",
        "verboseLabel": "Basic (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://southerncompany.com/role/ConsolidatedStatementsofIncomeSouthern",
      "http://southerncompany.com/role/FINANCINGDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 31
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org/subtopic&trid=2122178",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(27)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1000": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1001": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "https://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1002": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=126942793&loc=d3e3073-115593",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1003": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=126942805&loc=d3e3115-115594",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1004": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Subparagraph": "(d)",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=d3e99779-112916",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1005": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=d3e99893-112916",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1006": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=SL120174063-112916",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1007": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1008": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1009": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1010": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1011": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1012": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1013": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1014": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1015": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1016": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 4))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1017": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "https://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1018": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "https://asc.fasb.org/extlink&oid=126945304&loc=d3e27327-108691",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1019": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1020": {
   "Footnote": "2",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1021": {
   "Footnote": "4",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1022": {
   "Footnote": "4",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "29",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1023": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column B",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1024": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column C",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1025": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column D",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1026": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column E",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1027": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column F",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1028": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column G",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1029": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column H",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1030": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column I",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1031": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "09",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1032": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(i)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1033": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(i)",
   "Subsection": "02",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1034": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iii)(A)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1035": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iii)(A)",
   "Subsection": "02",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1036": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iii)(B)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1037": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iii)(B)",
   "Subsection": "02",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1038": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iii)(C)",
   "Subsection": "02",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1039": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5144-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1040": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "02",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1041": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(m)",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "(1)(iii)",
   "Subsection": "08",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1042": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1043": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1044": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1045": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1046": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1047": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)(4)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1048": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6935-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1049": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=6361739&loc=d3e7789-107766",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1050": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226024-175313",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1051": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226038-175313",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1052": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226049-175313",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1053": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1054": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124507222&loc=d3e1436-108581",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1055": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1056": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1057": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e4984-109258",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1058": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1059": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "https://asc.fasb.org/topic&trid=2196928",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1060": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1061": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "340",
   "URI": "https://asc.fasb.org/extlink&oid=126905020&loc=d3e5879-108316",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1062": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=122137925&loc=d3e14258-109268",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1063": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6571209&loc=d3e13644-110860",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1064": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1065": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1066": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1067": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1068": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1069": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1070": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1071": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1072": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1073": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1074": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1075": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1076": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1077": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1078": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1079": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1080": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4587-114921",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1081": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1082": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1083": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1084": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1085": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1086": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1087": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1088": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1089": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=6829253&loc=SL6831962-166255",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(b)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1090": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1091": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1092": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1093": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1094": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "53",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1095": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1096": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1097": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1098": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117819544-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1099": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r1103": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1104": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1105": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-23",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1106": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1107": {
   "Name": "Form 10-K",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "310",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1108": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1109": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1110": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1111": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1112": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r1114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r1115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314020-165662",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r1116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(10))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(12))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(a)(5))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(4))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-09(Column B))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-09(Column C(1)))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-09(Column C(2)))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-09(Column D))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-09(Column E))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e2626-109256",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8657-108599",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8672-108599",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "https://asc.fasb.org/extlink&oid=6387103&loc=d3e6435-108320",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=SL108378252-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=126905981&loc=d3e2443-110228",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "((a)(1),(b))",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)(1)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13207-110859",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1175": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "410",
   "URI": "https://asc.fasb.org/topic&trid=2175650",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25383-109308",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=6397426&loc=d3e17499-108355",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130551-203045",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130556-203045",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123453770&loc=SL108413299-114919",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(1)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(10)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(4)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(5)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(6)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(7)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(8)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(9)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(4)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(5)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(6)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(7)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(8)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b),(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(1)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(4)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(5)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(6)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(7)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(j)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226317&loc=d3e202-110218",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(1)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(4)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(q)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2410-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2417-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2417-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=126905981&loc=d3e2420-110228",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(1)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(4)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(5)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(6)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(7)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2919-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "60",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=6414203&loc=d3e39716-114964",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=126905981&loc=d3e2443-110228",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "27",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32262-109318",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32621-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.4)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=6911878&loc=d3e8732-128492",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=127000608&loc=d3e9135-128495",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126928898&loc=d3e9212-128498",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126928898&loc=d3e9215-128498",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3)(ii))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4CC",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL109998890-113959",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918673-209980",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.CC)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=27011434&loc=d3e125687-122742",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918701-209980",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123420820&loc=SL77919306-209978",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123420820&loc=SL77919308-209978",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL77919396-209981",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL77919359-209981",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "https://asc.fasb.org/topic&trid=2155823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124508989&loc=d3e19393-158473",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1329": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1204",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "https://asc.fasb.org/topic&trid=2127136",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1330": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1204",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1331": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1332": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1333": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1334": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1335": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1336": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1337": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1338": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "303",
   "Subparagraph": "(5)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1339": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "11",
   "Subsection": "03",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=124440162&loc=d3e12021-110248",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1340": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(i)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1341": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(ii)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1342": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iii)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1343": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1344": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "02",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=124440162&loc=d3e12053-110248",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=99376301&loc=SL5988623-112600",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "https://asc.fasb.org/topic&trid=2208564",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "https://asc.fasb.org/extlink&oid=122040564&loc=d3e177068-122764",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21506-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21521-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21538-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 4.F)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187171-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.F)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187171-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=6405834&loc=d3e23315-112656",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "712",
   "URI": "https://asc.fasb.org/extlink&oid=6410066&loc=d3e79218-111664",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "712",
   "URI": "https://asc.fasb.org/extlink&oid=6410066&loc=d3e79218-111664",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(5)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(l)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2410-114920",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2417-114920",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2439-114920",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=SL79508275-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126964447&loc=d3e11149-113907",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126964447&loc=d3e11178-113907",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "720",
   "URI": "https://asc.fasb.org/extlink&oid=6419918&loc=d3e35281-107843",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.1)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32632-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "217",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126976462&loc=d3e36027-109320",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Subparagraph": "(a)-(d)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=6909625&loc=d3e227-128457",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "37",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123455525&loc=d3e2207-128464",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123410050&loc=d3e5263-128473",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123410050&loc=d3e5333-128473",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19)(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126966325&loc=d3e6819-128478",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "805",
   "URI": "https://asc.fasb.org/topic&trid=2303972",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4568447-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4568740-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569643-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4613674-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569655-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4616395-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c),(3)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2AA",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "a",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=SL6759068-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5728-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5728-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=SL6759159-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=SL6759159-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5747-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=SL6228884-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4I",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4590271-111686",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "810",
   "URI": "https://asc.fasb.org/topic&trid=2197479",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579240-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)(i)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41620-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19,20)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)(ii)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41620-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41620-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41638-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624258-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41641-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41675-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41678-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41678-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "182",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=127000641&loc=SL5629052-113961",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "25",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=121577467&loc=d3e76258-113986",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=121549185&loc=d3e80748-113994",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "https://asc.fasb.org/topic&trid=2229140",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13467-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.21)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13476-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28567-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=SL51823488-111719",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=126941158&loc=d3e41242-110953",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(1))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(13)(f))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126941378&loc=d3e61044-112788",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(13)(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.24)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(15)(b)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(5)(c))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(1)(b))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(15)(b)(1))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(1))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4)(ii))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(24))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.1(f))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(10))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=116884095&loc=d3e14764-158437",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(cc)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=116884095&loc=d3e14764-158437",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.26(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=116884095&loc=d3e14764-158437",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(16))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(17))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=126950214&loc=d3e39995-110364",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "340",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=123417213&loc=d3e43603-110378",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "340",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=6499975&loc=d3e44250-110382",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "340",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=6499975&loc=d3e44264-110382",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SAB TOPIC 10.C)",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=122136288&loc=d3e659983-123033",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SAB Topic 10.C)",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=122136288&loc=d3e659983-123033",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "405",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=6500807&loc=d3e48068-110394",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29,30)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "410",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=6500910&loc=d3e48636-110399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "410",
   "Subparagraph": "(SAB Topic 10.F)",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=122136391&loc=d3e660557-123036",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "40",
   "SubTopic": "470",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=6500971&loc=d3e49673-110406",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "715",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=6501251&loc=d3e52485-110419",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "740",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=6501382&loc=d3e54053-110423",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "740",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=6501382&loc=d3e54136-110423",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "835",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=6501569&loc=d3e55921-110430",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "835",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=6501662&loc=d3e56162-110433",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "980",
   "URI": "https://asc.fasb.org/topic&trid=2156578",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "840",
   "URI": "https://asc.fasb.org/extlink&oid=123394354&loc=d3e45152-112736",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=124429488&loc=d3e326-107755",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(2)",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721675-107760",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6904-107765",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(12))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(15))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(16))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(2))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(7))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(8))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(9))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226016-175313",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(2)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(dd)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e640-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e689-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226000-175313",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL34724391-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226003-175313",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(21))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(23))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(24))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3367-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3367-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3000-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18726-107790",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(c))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(iii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(i),(j),(k)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(2)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(n))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-09(Column B))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-09(Column C(1)))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-09(Column C(2)))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-09(Column C)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-09(Column C)(2))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-09(Column D))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-09(Column E))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(i-k)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-09)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21728-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(4)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(j)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=SL124452830-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1448-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1377-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1505-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1252-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1707-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1757-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1500-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1278-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1337-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e3842-109258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "270",
   "URI": "https://asc.fasb.org/extlink&oid=126900988&loc=SL77927221-108306",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8657-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e640-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8721-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8721-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e681-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(j)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "26",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8844-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8981-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e689-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "280",
   "URI": "https://asc.fasb.org/topic&trid=2134510",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4531-111522",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=SL120269820-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e557-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(4)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124507222&loc=d3e1436-108581",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922895-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "https://asc.fasb.org/extlink&oid=126905020&loc=d3e5879-108316",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "https://asc.fasb.org/extlink&oid=6387103&loc=d3e6435-108320",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "https://asc.fasb.org/extlink&oid=122040515&loc=d3e105117-122735",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1)(e))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "340",
   "URI": "https://asc.fasb.org/extlink&oid=126905575&loc=SL49131252-203054",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=SL108378252-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(12))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=116646717&loc=d3e6290-110844",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6392676&loc=d3e7480-110848",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6392676&loc=SL5974666-110848",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(4)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6392692&loc=d3e7569-110849",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "410",
   "URI": "https://asc.fasb.org/subtopic&trid=2175671",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.P.4(d))",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25383-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB TOPIC 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=124440162&loc=d3e12021-110248",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2(a),(d))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2(b))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7(a),(b))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r598": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r599": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(24))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r600": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r601": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r602": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130531-203044",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130532-203044",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130533-203044",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.9)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130551-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130554-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130554-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130554-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r614": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130554-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r615": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130554-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r616": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130556-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r617": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130556-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r618": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130556-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r619": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130558-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=114868883&loc=SL114871943-224233",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r620": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130561-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r621": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130563-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r622": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130563-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r623": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130564-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r624": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r625": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r626": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r627": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r628": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130543-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r629": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r630": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130549-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r631": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130549-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r632": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130550-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r633": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "606",
   "URI": "https://asc.fasb.org/topic&trid=49130388",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r634": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123453770&loc=d3e1703-114919",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r635": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123453770&loc=d3e1731-114919",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r636": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123453770&loc=SL108413299-114919",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r637": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r638": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(1)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r639": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(10)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r640": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r641": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r642": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(4)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r643": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(5)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r644": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(6)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r645": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(7)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r646": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(8)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r647": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(9)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r648": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r649": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r650": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r651": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r652": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(4)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r653": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(5)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r654": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(6)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r655": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(7)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r656": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(8)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r657": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r658": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r659": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r660": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r661": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r662": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r663": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r664": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r665": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r666": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r667": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r668": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r669": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r670": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r671": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(1)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r672": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r673": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r674": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(4)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r675": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(5)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r676": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(6)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r677": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(7)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r678": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r679": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(j)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r680": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r681": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(1)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r682": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r683": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r684": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(k)(4)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r685": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(l)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r686": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r687": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(o)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r688": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(p)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r689": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(q)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r690": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(r)(1)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r691": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(r)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r692": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2410-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r693": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r694": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(1)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r695": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r696": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r697": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(4)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r698": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(5)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r699": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(6)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a),(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r700": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(7)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r701": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r702": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2919-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r703": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=21916913&loc=d3e273930-122802",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r704": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "60",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=6414203&loc=d3e39689-114964",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r705": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "60",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=6414203&loc=d3e39716-114964",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r706": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r707": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=29639808&loc=d3e29008-114946",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r708": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r709": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r710": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r711": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r712": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r713": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(e)(1)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r714": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(e)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r715": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(f)(1)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r716": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(f)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r717": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(f)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r718": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450691-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r719": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "715",
   "URI": "https://asc.fasb.org/topic&trid=2235017",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r720": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=SL116886442-113899",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r721": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=d3e4534-113899",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r722": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=d3e4549-113899",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r723": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126962052&loc=d3e4991-113900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r724": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r725": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r726": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r727": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r728": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r729": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r730": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r731": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r732": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r733": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r734": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r735": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r736": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r737": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r738": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r739": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a),(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r740": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r741": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r742": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r743": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r744": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r745": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r746": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r747": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r748": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r749": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r750": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r751": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r752": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=SL79508275-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r753": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r754": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r755": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r756": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=SL37586934-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r757": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r758": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r759": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31917-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r760": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r761": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r762": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r763": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r764": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r765": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r766": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r767": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r768": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r769": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21D",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=SL94080555-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r770": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r771": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r772": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r773": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r774": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r775": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r776": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r777": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r778": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r779": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r780": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r781": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r782": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r783": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.4)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r784": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r785": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r786": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r787": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r788": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "https://asc.fasb.org/topic&trid=2144680",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r789": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4946-128472",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r790": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r791": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r792": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r793": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r794": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)(1)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r795": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r796": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r797": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r798": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r799": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r800": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r801": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r802": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r803": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r804": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r805": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r806": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r807": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624181-113959",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r808": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=121577181&loc=SL110061190-113977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r809": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126731327&loc=d3e90205-114008",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r810": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r811": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r812": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r813": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r814": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r815": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r816": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r817": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r818": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r819": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r820": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r821": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL126732908-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r822": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "54B",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126972413&loc=SL7495116-110257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r823": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r824": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r825": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r826": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r827": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r828": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r829": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r830": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r831": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r832": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r833": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r834": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14172-108612",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r835": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14210-108612",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r836": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14217-108612",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r837": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r838": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r839": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4273-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r840": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r841": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r842": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r843": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL122642865-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r844": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL122642865-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r845": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r846": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r847": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r848": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r849": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r850": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r851": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r852": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r853": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "832",
   "URI": "https://asc.fasb.org/extlink&oid=128342835&loc=SL128342857-244232",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r854": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "832",
   "URI": "https://asc.fasb.org/extlink&oid=128342835&loc=SL128342857-244232",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r855": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r856": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r857": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r858": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r859": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r860": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r861": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r862": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918631-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r863": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918638-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r864": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r865": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r866": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r867": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r868": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918673-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r869": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4313-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r870": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r871": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r872": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r873": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r874": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r875": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(2)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r876": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(3)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r877": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(4)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r878": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r879": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918701-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r880": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/subtopic&trid=77888251",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r881": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123408481&loc=SL77919101-209958",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r882": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123420820&loc=SL77919311-209978",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r883": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL77919391-209981",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r884": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL77919396-209981",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r885": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL77919359-209981",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r886": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL77919372-209981",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r887": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL77919372-209981",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r888": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL77919372-209981",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r889": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL77919372-209981",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r890": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL77919379-209981",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r891": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "https://asc.fasb.org/subtopic&trid=77888252",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r892": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "50",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123416469&loc=SL77920237-209979",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r893": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL122150809-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r894": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r895": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r896": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r897": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r898": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r899": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "https://asc.fasb.org/topic&trid=2122369",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r900": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r901": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124437977&loc=d3e55792-112764",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r902": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r903": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r904": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r905": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r906": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r907": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r908": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r909": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r910": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r911": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r912": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r913": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r914": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r915": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r916": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r917": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r918": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r919": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "255",
   "URI": "https://asc.fasb.org/extlink&oid=125523840&loc=d3e2408-110839",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r920": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r921": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r922": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r923": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r924": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r925": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r926": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r927": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r928": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r929": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r930": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r931": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r932": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r933": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r934": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r935": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r936": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "https://asc.fasb.org/extlink&oid=126937589&loc=SL119991595-234733",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r937": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "912",
   "URI": "https://asc.fasb.org/extlink&oid=126938201&loc=d3e55415-109406",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r938": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r939": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6327-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r940": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r941": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r942": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r943": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "340",
   "Topic": "928",
   "URI": "https://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r944": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r945": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r946": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r947": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r948": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r949": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r950": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r951": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r952": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r953": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r954": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r955": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r956": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10)(1))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r957": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r958": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(25))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r959": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(26))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r960": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r961": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r962": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126980459&loc=d3e62557-112803",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r963": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r964": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(5))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r965": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(3))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r966": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(19))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r967": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(21))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r968": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(22))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r969": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6442-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r970": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r971": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r972": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r973": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r974": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r975": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r976": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r977": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r978": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r979": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r980": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r981": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r982": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r983": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r984": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r985": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r986": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r987": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r988": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r989": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r990": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r991": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r992": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r993": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column B)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r994": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r995": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r996": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r997": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r998": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r999": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  }
 },
 "version": "2.2"
}
