{
 "instance": {
  "amifi-20210930.htm": {
   "axisCustom": 0,
   "axisStandard": 3,
   "contextCount": 30,
   "dts": {
    "calculationLink": {
     "local": [
      "amifi-20210930_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "amifi-20210930_def.xml"
     ]
    },
    "inline": {
     "local": [
      "amifi-20210930.htm"
     ]
    },
    "labelLink": {
     "local": [
      "amifi-20210930_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "amifi-20210930_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "amifi-20210930.xsd"
     ],
     "remote": [
      "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",
      "https://xbrl.sec.gov/rr/2018/rr-2018-01-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2006/xbrldi-2006.xsd",
      "http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd",
      "http://www.xbrl.org/dtr/type/numeric-2009-12-16.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/deprecated-2009-12-16.xsd"
     ]
    }
   },
   "elementCount": 122,
   "entityCount": 1,
   "hidden": {
    "http://xbrl.sec.gov/dei/2020-01-31": 4,
    "http://xbrl.sec.gov/rr/2018-01-31": 136,
    "total": 140
   },
   "keyCustom": 0,
   "keyStandard": 173,
   "memberCustom": 18,
   "memberStandard": 2,
   "nsprefix": "amifi",
   "nsuri": "http://www.ABglobal.com/20210930",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "false",
     "longName": "0001 - Document - Document and Entity Information  {Elements}",
     "role": "http://www.ABglobal.com/role/DocumentAndEntityInformationElements",
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:DocumentEffectiveDate",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021_S000010351MemberdeiLegalEntityAxis",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0003 - Disclosure - Risk/Return Detail Data {Elements} - AB National Portfolio",
     "role": "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
     "shortName": "Risk/Return Detail Data- AB National Portfolio",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021_S000010351MemberdeiLegalEntityAxis",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021_S000027380MemberdeiLegalEntityAxis",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0005 - Disclosure - Risk/Return Detail Data {Elements} - AB High Income Municipal Portfolio",
     "role": "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
     "shortName": "Risk/Return Detail Data- AB High Income Municipal Portfolio",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021_S000027380MemberdeiLegalEntityAxis",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021_S000010348MemberdeiLegalEntityAxis",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0007 - Disclosure - Risk/Return Detail Data {Elements} - AB California Portfolio",
     "role": "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
     "shortName": "Risk/Return Detail Data- AB California Portfolio",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021_S000010348MemberdeiLegalEntityAxis",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021_S000010352MemberdeiLegalEntityAxis",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0009 - Disclosure - Risk/Return Detail Data {Elements} - AB New York Portfolio",
     "role": "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio",
     "shortName": "Risk/Return Detail Data- AB New York Portfolio",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021_S000010352MemberdeiLegalEntityAxis",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "040000 - Disclosure - Risk/Return Detail Data {Elements}",
     "role": "http://xbrl.sec.gov/rr/role/RiskReturnDetailData",
     "shortName": "Risk/Return Detail Data",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "S1": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:DocumentCreationDate",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "true",
     "longName": "000000504 - Disclosure - Document and Entity Information",
     "section": 0,
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:DocumentCreationDate",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S2": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021_S000010351MemberdeiLegalEntityAxis",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000001255 - Disclosure - AB National Portfolio",
     "section": 1,
     "shortName": "AB National Portfolio",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021_S000010351MemberdeiLegalEntityAxis",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S3": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021_S000027380MemberdeiLegalEntityAxis",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000002293 - Disclosure - AB High Income Municipal Portfolio",
     "section": 2,
     "shortName": "AB High Income Municipal Portfolio",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021_S000027380MemberdeiLegalEntityAxis",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S4": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021_S000010348MemberdeiLegalEntityAxis",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000003518 - Disclosure - AB California Portfolio",
     "section": 3,
     "shortName": "AB California Portfolio",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021_S000010348MemberdeiLegalEntityAxis",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S5": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021_S000010352MemberdeiLegalEntityAxis",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000007996 - Disclosure - AB New York Portfolio",
     "section": 4,
     "shortName": "AB New York Portfolio",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amifi-20210930.htm",
      "contextRef": "P09_30_2021To09_30_2021_S000010352MemberdeiLegalEntityAxis",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 20,
   "tag": {
    "amifi_BloombergBarclaysMunicipalBondIndexMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bloomberg Barclays Municipal Bond Index [Member]",
        "terseLabel": "Bloomberg Barclays Municipal Bond Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "localname": "BloombergBarclaysMunicipalBondIndexMember",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_C000028619Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000028619 [Member]",
        "terseLabel": "Class A"
       }
      }
     },
     "localname": "C000028619Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_C000028621Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000028621 [Member]",
        "terseLabel": "Class C"
       }
      }
     },
     "localname": "C000028621Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_C000028628Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000028628 [Member]",
        "verboseLabel": "Class A"
       }
      }
     },
     "localname": "C000028628Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_C000028630Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000028630 [Member]",
        "verboseLabel": "Class C"
       }
      }
     },
     "localname": "C000028630Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_C000028631Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000028631 [Member]",
        "terseLabel": "Class A"
       }
      }
     },
     "localname": "C000028631Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_C000028633Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000028633 [Member]",
        "terseLabel": "Class C"
       }
      }
     },
     "localname": "C000028633Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_C000069624Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000069624 [Member]",
        "terseLabel": "Advisor Class"
       }
      }
     },
     "localname": "C000069624Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_C000069625Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000069625 [Member]",
        "verboseLabel": "Advisor Class"
       }
      }
     },
     "localname": "C000069625Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_C000069626Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000069626 [Member]",
        "terseLabel": "Advisor Class"
       }
      }
     },
     "localname": "C000069626Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_C000082627Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000082627 [Member]",
        "terseLabel": "Class A"
       }
      }
     },
     "localname": "C000082627Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_C000082628Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000082628 [Member]",
        "terseLabel": "Class C"
       }
      }
     },
     "localname": "C000082628Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_C000082629Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000082629 [Member]",
        "terseLabel": "Advisor Class"
       }
      }
     },
     "localname": "C000082629Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_C000206561Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000206561 [Member]",
        "terseLabel": "Class Z"
       }
      }
     },
     "localname": "C000206561Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_S000010348Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000010348 [Member]",
        "terseLabel": "AB California Portfolio"
       }
      }
     },
     "localname": "S000010348Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_S000010351Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000010351 [Member]",
        "terseLabel": "AB National Portfolio"
       }
      }
     },
     "localname": "S000010351Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_S000010352Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000010352 [Member]",
        "terseLabel": "AB New York Portfolio"
       }
      }
     },
     "localname": "S000010352Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "amifi_S000027380Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000027380 [Member]",
        "terseLabel": "AB High Income Municipal Portfolio"
       }
      }
     },
     "localname": "S000027380Member",
     "nsuri": "http://www.ABglobal.com/20210930",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "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"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentCreationDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The date the document was made available and submitted, in YYYY-MM-DD format. The date of submission, date of acceptance by the recipient, and the document effective date are all potentially different.",
        "label": "Document Creation Date"
       }
      }
     },
     "localname": "DocumentCreationDate",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of the document as assigned by the filer, corresponding to SEC document naming convention standards.",
        "label": "Prospectus"
       }
      }
     },
     "localname": "DocumentDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_DocumentEffectiveDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The date when a document, upon receipt and acceptance, becomes officially effective, in YYYY-MM-DD format. Usually it is a system-assigned date time value, but it may be declared by the submitter in some cases.",
        "label": "Document Effective Date"
       }
      }
     },
     "localname": "DocumentEffectiveDate",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentInformationDocumentAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table.",
        "label": "Document [Axis]"
       }
      }
     },
     "localname": "DocumentInformationDocumentAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The end date of the period reflected on the cover page if a periodic report. For all other reports and registration statements containing historical data, it is the date up through which that historical data is presented.  If there is no historical data in the report, use the filing date. The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements"
     ],
     "xbrltype": "dateItemType"
    },
    "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"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r43"
     ],
     "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"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "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": "Series"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityInvCompanyType": {
     "auth_ref": [
      "r44"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One of: N-1A (Mutual Fund), N-1 (Open-End Separate Account with No Variable Annuities), N-2 (Closed-End Investment Company), N-3 (Separate Account Registered as Open-End Management Investment Company), N-4 (Variable Annuity UIT Separate Account), N-5 (Small Business Investment Company), N-6 (Variable Life UIT Separate Account), S-1 or S-3 (Face Amount Certificate Company), S-6 (UIT, Non-Insurance Product).",
        "label": "Entity Inv Company Type"
       }
      }
     },
     "localname": "EntityInvCompanyType",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements"
     ],
     "xbrltype": "invCompanyType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r43"
     ],
     "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": "Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Series [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_AfterTaxesOnDistributionsAndSalesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Calculate the taxes due on any distributions by the Fund by applying the tax rates specified in Instruction 4 to each component of the distributions on the reinvestment date (e.g., ordinary income, short-term capital gain, long-term capital gain). The taxable amount and tax character of each distribution should be as specified by the Fund on the dividend declaration date, but may be adjusted to reflect subsequent recharacterizations of distributions. Distributions should be adjusted to reflect the federal tax impact the distribution would have on an individual taxpayer on the reinvestment date. For example, assume no taxes are due on the portion of any distribution that would not result in federal income tax on an individual, e.g., tax-exempt interest or non-taxable returns of capital. The effect of applicable tax credits, such as the foreign tax credit, should be taken into account in accordance with federal tax law.",
        "label": "After Taxes on Distributions and Sales",
        "terseLabel": "Return After Taxes on Distributions and Sale of Portfolio Shares"
       }
      }
     },
     "localname": "AfterTaxesOnDistributionsAndSalesMember",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "rr_AfterTaxesOnDistributionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Calculate the taxes due on any distributions by the Fund by applying the tax rates specified in Instruction 4 to each component of the distributions on the reinvestment date (e.g., ordinary income, short-term capital gain, long-term capital gain). The taxable amount and tax character of each distribution should be as specified by the Fund on the dividend declaration date, but may be adjusted to reflect subsequent recharacterizations of distributions. Distributions should be adjusted to reflect the federal tax impact the distribution would have on an individual taxpayer on the reinvestment date. For example, assume no taxes are due on the portion of any distribution that would not result in federal income tax on an individual, e.g., tax-exempt interest or non-taxable returns of capital. The effect of applicable tax credits, such as the foreign tax credit, should be taken into account in accordance with federal tax law.",
        "label": "After Taxes on Distributions",
        "terseLabel": "Return After Taxes on Distributions"
       }
      }
     },
     "localname": "AfterTaxesOnDistributionsMember",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "rr_AnnualFundOperatingExpensesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to OperatingExpensesData.",
        "label": "Annual Fund Operating Expenses [Table]"
       }
      }
     },
     "localname": "AnnualFundOperatingExpensesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_AnnualReturn2011": {
     "auth_ref": [
      "r38"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2011",
        "terseLabel": "2011"
       }
      }
     },
     "localname": "AnnualReturn2011",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2012": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2012",
        "terseLabel": "2012"
       }
      }
     },
     "localname": "AnnualReturn2012",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2013": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2013",
        "terseLabel": "2013"
       }
      }
     },
     "localname": "AnnualReturn2013",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2014": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2014",
        "terseLabel": "2014"
       }
      }
     },
     "localname": "AnnualReturn2014",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2015": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2015",
        "terseLabel": "2015"
       }
      }
     },
     "localname": "AnnualReturn2015",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2016": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2016",
        "terseLabel": "2016"
       }
      }
     },
     "localname": "AnnualReturn2016",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2017": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2017",
        "terseLabel": "2017"
       }
      }
     },
     "localname": "AnnualReturn2017",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2018": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2018",
        "terseLabel": "2018"
       }
      }
     },
     "localname": "AnnualReturn2018",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2019": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2019",
        "terseLabel": "2019"
       }
      }
     },
     "localname": "AnnualReturn2019",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2020": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2020",
        "terseLabel": "2020"
       }
      }
     },
     "localname": "AnnualReturn2020",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AverageAnnualReturnInceptionDate": {
     "auth_ref": [
      "r40"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Return Before Taxes.",
        "label": "Inception Date"
       }
      }
     },
     "localname": "AverageAnnualReturnInceptionDate",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio"
     ],
     "xbrltype": "dateItemType"
    },
    "rr_AverageAnnualReturnYear01": {
     "auth_ref": [
      "r37"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Return Before Taxes.",
        "label": "1 Year"
       }
      }
     },
     "localname": "AverageAnnualReturnYear01",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AverageAnnualReturnYear05": {
     "auth_ref": [
      "r37"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Return Before Taxes.",
        "label": "5 Years"
       }
      }
     },
     "localname": "AverageAnnualReturnYear05",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AverageAnnualReturnYear10": {
     "auth_ref": [
      "r37"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Return Before Taxes.",
        "label": "10 Years"
       }
      }
     },
     "localname": "AverageAnnualReturnYear10",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_BarChartAndPerformanceTableHeading": {
     "auth_ref": [
      "r33"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risk/Return Bar Chart and Table.",
        "label": "Bar Chart and Performance Table [Heading]"
       }
      }
     },
     "localname": "BarChartAndPerformanceTableHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_BarChartClosingTextBlock": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Bar Chart Closing [Text Block]"
       }
      }
     },
     "localname": "BarChartClosingTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_BarChartDoesNotReflectSalesLoads": {
     "auth_ref": [
      "r34"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Include the bar chart and table required by Item 4 (b)(2)(ii) and (iii) of this section. Provide a brief explanation of how the information illustrates the variability of the Fund's returns (e.g., by stating that the information provides some indication of the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund's average annual returns for 1, 5, and 10 years compare with those of a broad measure of market performance). Provide a statement to the effect that the Fund's past performance (before and after taxes) is not necessarily an indication of how the Fund will perform in the future.  Provide annual total returns beginning with the earliest calendar year. Calculate annual returns using the Instructions to Item 8(a), except that the calculations should be based on calendar years. If a Fund's shares are sold subject to a sales load or account fees, state that sales loads or account fees are not reflected in the bar chart and that, if these amounts were reflected, returns would be less than those shown.",
        "label": "Bar Chart Does Not Reflect Sales Loads [Text]"
       }
      }
     },
     "localname": "BarChartDoesNotReflectSalesLoads",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_BarChartHeading": {
     "auth_ref": [
      "r33"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risk/Return Bar Chart and Table.",
        "label": "Bar Chart [Heading]"
       }
      }
     },
     "localname": "BarChartHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_BarChartHighestQuarterlyReturn": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Highest Quarterly Return"
       }
      }
     },
     "localname": "BarChartHighestQuarterlyReturn",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_BarChartHighestQuarterlyReturnDate": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Highest Quarterly Return, Date"
       }
      }
     },
     "localname": "BarChartHighestQuarterlyReturnDate",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "dateItemType"
    },
    "rr_BarChartLowestQuarterlyReturn": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Lowest Quarterly Return"
       }
      }
     },
     "localname": "BarChartLowestQuarterlyReturn",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_BarChartLowestQuarterlyReturnDate": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Lowest Quarterly Return, Date"
       }
      }
     },
     "localname": "BarChartLowestQuarterlyReturnDate",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "dateItemType"
    },
    "rr_BarChartNarrativeTextBlock": {
     "auth_ref": [
      "r34"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provide a brief explanation of how the information illustrates the variability of the Fund's returns (e.g., by stating that the information provides some indication of the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund's average annual returns for 1, 5, and 10 years compare with those of a broad measure of market performance). Provide a statement to the effect that the Fund's past performance (before and after taxes) is not necessarily an indication of how the Fund will perform in the future.",
        "label": "Bar Chart Narrative [Text Block]"
       }
      }
     },
     "localname": "BarChartNarrativeTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_BarChartTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to BarChartData.",
        "label": "Bar Chart [Table]"
       }
      }
     },
     "localname": "BarChartTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_BarChartYearToDateReturn": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Bar Chart, Year to Date Return"
       }
      }
     },
     "localname": "BarChartYearToDateReturn",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_BarChartYearToDateReturnDate": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Bar Chart, Year to Date Return, Date"
       }
      }
     },
     "localname": "BarChartYearToDateReturnDate",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "dateItemType"
    },
    "rr_Component1OtherExpensesOverAssets": {
     "auth_ref": [
      "r15"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Fund may subdivide this caption into no more than three subcaptions that identify the largest expense or expenses comprising \"Other Expenses,\" but must include a total of all \"Other Expenses.\" Alternatively, the Fund may include the components of \"Other Expenses\" in a parenthetical to the caption.",
        "label": "Component1 Other Expenses",
        "terseLabel": "Other Expenses: Transfer Agent"
       }
      }
     },
     "localname": "Component1OtherExpensesOverAssets",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_Component2OtherExpensesOverAssets": {
     "auth_ref": [
      "r22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Fund may subdivide this caption into no more than three subcaptions that identify the largest expense or expenses comprising \"Other Expenses,\" but must include a total of all \"Other Expenses.\" Alternatively, the Fund may include the components of \"Other Expenses\" in a parenthetical to the caption.",
        "label": "Component2 Other Expenses",
        "terseLabel": "Other Expenses: Interest Expense"
       }
      }
     },
     "localname": "Component2OtherExpensesOverAssets",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_Component3OtherExpensesOverAssets": {
     "auth_ref": [
      "r15"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Fund may subdivide this caption into no more than three subcaptions that identify the largest expense or expenses comprising \"Other Expenses,\" but must include a total of all \"Other Expenses.\" Alternatively, the Fund may include the components of \"Other Expenses\" in a parenthetical to the caption.",
        "label": "Component3 Other Expenses",
        "terseLabel": "Other Expenses"
       }
      }
     },
     "localname": "Component3OtherExpensesOverAssets",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_CoregistrantAxis": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Coregistrant Axis may be used to distinguish disclosures that belong to registrants having different Central Index Key (CIK) values that nevertheless all present in the same filing.",
        "label": "Coregistrant [Axis]"
       }
      }
     },
     "localname": "CoregistrantAxis",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_CoregistrantDomain": {
     "auth_ref": [
      "r1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The default member of the Coregistrant axis. It represents any disclosure that applies to the registrant whose Central Index Key (CIK) is that of the default context.",
        "label": "Coregistrant [Domain]"
       }
      }
     },
     "localname": "CoregistrantDomain",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "rr_DistributionAndService12b1FeesOverAssets": {
     "auth_ref": [
      "r25"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Distribution [and/or Service] (12b-1) Fees\" include all distribution or other expenses incurred during the most recent fiscal year under a plan adopted pursuant to rule 12b-1 [17 CFR 270.12b-1]. Under an appropriate caption or a subcaption of \"Other Expenses,\" disclose the amount of any distribution or similar expenses deducted from the Fund's assets other than pursuant to a rule 12b-1 plan.",
        "label": "Distribution and Service (12b-1) Fees",
        "terseLabel": "Distribution and/or Service (12b-1) Fees"
       }
      }
     },
     "localname": "DistributionAndService12b1FeesOverAssets",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_ExchangeFeeOverRedemption": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exchange Fee includes the maximum fee charged for any exchange or transfer of interest from the Fund to another fund. The Fund may include in a footnote to the table, if applicable, a tabular presentation of the range of exchange fees or a narrative explanation of the fees.",
        "label": "Exchange Fee (as a percentage of Amount Redeemed)",
        "terseLabel": "Exchange Fee"
       }
      }
     },
     "localname": "ExchangeFeeOverRedemption",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_ExpenseBreakpointDiscounts": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Include the narrative explanations in the order indicated. A Fund may modify the narrative explanations if the explanation contains comparable information to that shown. The narrative explanation regarding sales charge discounts is only required by a Fund that offers such discounts and should specify the minimum level of investment required to qualify for a discount.",
        "label": "Expense Breakpoint Discounts [Text]"
       }
      }
     },
     "localname": "ExpenseBreakpointDiscounts",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ExpenseBreakpointMinimumInvestmentRequiredAmount": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the minimum level of investment required to qualify for discounted sales charges or fund expenses (SEC Form N-1A 2006-09-14 A.3.instructions.1.b).",
        "label": "Expense Breakpoint, Minimum Investment Required [Amount]"
       }
      }
     },
     "localname": "ExpenseBreakpointMinimumInvestmentRequiredAmount",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rr_ExpenseExampleHeading": {
     "auth_ref": [
      "r18"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Heading for Expense Example.",
        "label": "Expense Example [Heading]"
       }
      }
     },
     "localname": "ExpenseExampleHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ExpenseExampleNarrativeTextBlock": {
     "auth_ref": [
      "r5"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds.",
        "label": "Expense Example Narrative [Text Block]"
       }
      }
     },
     "localname": "ExpenseExampleNarrativeTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_ExpenseExampleNoRedemptionByYearCaption": {
     "auth_ref": [
      "r7"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "You would pay the following expenses if you did not redeem your shares. Include the second 1-, 3-, 5-, and 10-year periods and related narrative explanation only if a sales charge (load) or other fee is charged upon redemption.",
        "label": "Expense Example, No Redemption, By Year, Caption [Text]"
       }
      }
     },
     "localname": "ExpenseExampleNoRedemptionByYearCaption",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ExpenseExampleNoRedemptionTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to ExpenseExampleNoRedemption.",
        "label": "Expense Example, No Redemption [Table]"
       }
      }
     },
     "localname": "ExpenseExampleNoRedemptionTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_ExpenseExampleWithRedemptionTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to ExpenseExample.",
        "label": "Expense Example, With Redemption [Table]"
       }
      }
     },
     "localname": "ExpenseExampleWithRedemptionTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_ExpenseExampleYear01": {
     "auth_ref": [
      "r18"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower.",
        "label": "Expense Example, with Redemption, 1 Year",
        "terseLabel": "After 1 Year"
       }
      }
     },
     "localname": "ExpenseExampleYear01",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "NonNegativeMonetaryType"
    },
    "rr_ExpenseExampleYear03": {
     "auth_ref": [
      "r6"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower.",
        "label": "Expense Example, with Redemption, 3 Years",
        "terseLabel": "After 3 Years"
       }
      }
     },
     "localname": "ExpenseExampleYear03",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "NonNegativeMonetaryType"
    },
    "rr_ExpenseExampleYear05": {
     "auth_ref": [
      "r6"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower.",
        "label": "Expense Example, with Redemption, 5 Years",
        "terseLabel": "After 5 Years"
       }
      }
     },
     "localname": "ExpenseExampleYear05",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "NonNegativeMonetaryType"
    },
    "rr_ExpenseExampleYear10": {
     "auth_ref": [
      "r6"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower.",
        "label": "Expense Example, with Redemption, 10 Years",
        "terseLabel": "After 10 Years"
       }
      }
     },
     "localname": "ExpenseExampleYear10",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "NonNegativeMonetaryType"
    },
    "rr_ExpenseHeading": {
     "auth_ref": [
      "r10"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risk/Return Summary Fee Table Includes the following information, in plain English under rule 421(d) under the Securities Act, after Item 2 Fees and expenses of the Fund This table describes the fees and expenses that you may pay if you buy and hold shared of the Fund. You may qualify for sales charge discounts if you and your family invest, or agree to invest in the future, at least $[_____] in [name of fund family] funds. Shareholder Fees (fees paid directly from your investment) Example This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower, based on these assumptions your costs would be You would pay the following expenses if you did not redeem your shares The Example does not reflect sales charges (loads) on reinvested dividends [and other distributions]. If these sales charges (loads) were included, your costs would be higher. Portfolio Turnover The Fund pays transaction costs, such as commissions, when it buys and sells securities (or \"turns over\" its portfolio). A higher portfolio turnover may indicate higher transaction costs. These costs, which are not reflected in annual fund operating expenses or in the example, affect the Fund's performance. During the most recent fiscal year, the Fund's portfolio turnover rate was __% of the average value of its whole portfolio. Instructions.  A.3.instructions.6 New Funds. For purposes of this Item, a \"New Fund\" is a Fund that does not include in Form N-1A financial statements reporting operating results or that includes financial statements for the Fund's initial fiscal year reporting operating results for a period of 6 months or less. The following Instructions apply to New Funds.",
        "label": "Expense [Heading]"
       }
      }
     },
     "localname": "ExpenseHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ExpenseNarrativeTextBlock": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This table describes the fees and expenses that you may pay if you buy and hold shared of the Fund. You may qualify for sales charge discounts if you and your family invest, or agree to invest in the future, at least $[_____] in [name of fund family] funds.  Include the narrative explanations in the order indicated. A Fund may modify the narrative explanations if the explanation contains comparable information to that shown. The narrative explanation regarding sales charge discounts is only required by a Fund that offers such discounts and should specify the minimum level of investment required to qualify for a discount. Modify the narrative explanation to state that Fund shares are sold on a national securities exchange at the end of the time periods indicated, and that brokerage commissions for buying and selling Fund shares through a broker are not reflected.",
        "label": "Expense Narrative [Text Block]"
       }
      }
     },
     "localname": "ExpenseNarrativeTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_ExpensesDeferredChargesTextBlock": {
     "auth_ref": [
      "r11"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A Fund may include in a footnote to the table, if applicable, a tabular presentation showing the amount of deferred sales charges (loads) over time or a narrative explanation of the sales charges (loads) (e.g., __% in the first year after purchase, declining to __% in the __ year and eliminated thereafter).",
        "label": "Expenses Deferred Charges [Text Block]"
       }
      }
     },
     "localname": "ExpensesDeferredChargesTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_ExpensesOverAssets": {
     "auth_ref": [
      "r16"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Annual Fund Operating Expenses. If the Fund is a Feeder Fund, reflect the aggregate expenses of the Feeder Fund and the Master Fund in a single fee table using the captions provided. In a footnote to the fee table, state that the table and Example reflect the expenses of both the Feeder and Master Funds. If the prospectus offers more than one Class of a Multiple Class Fund or more than one Feeder Fund that invests in the same Master Fund, provide a separate response for each Class or Feeder Fund.  Base the percentages of \"Annual Fund Operating Expenses\" on amounts incurred during the Fund's most recent fiscal year, but include in expenses amounts that would have been incurred absent expense reimbursement or fee waiver arrangements. If the Fund has changed its fiscal year and, as a result, the most recent fiscal year is less than three months, use the fiscal year prior to the most recent fiscal year as the basis for determining \"Annual Fund Operating Expenses.\"",
        "label": "Expenses (as a percentage of Assets)",
        "terseLabel": "Total Annual Portfolio Operating Expenses Before Waiver"
       }
      }
     },
     "localname": "ExpensesOverAssets",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_FeeWaiverOrReimbursementOverAssets": {
     "auth_ref": [
      "r23"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Annual Fund Operating Expenses. If there were expense reimbursement or fee waiver arrangements that reduced any Fund operating expenses and will continue to reduce them for no less than one year from the effective date of the Fund's registration statement, a Fund may add two captions to the table one caption showing the amount of the expense reimbursement or fee waiver, and a second caption showing the Fund's net expenses after subtracting the fee reimbursement or expense waiver from the total fund operating expenses. The Fund should place these additional captions directly below the \"Total Annual Fund Operating Expenses\" caption of the table and should use appropriate descriptive captions, such as \"Fee Waiver [and/or Expense Reimbursement]\" and \"Total Annual Fund Operating Expenses After Fee Waiver [and/or Expense Reimbursement],\" respectively. If the Fund provides this disclosure, also disclose the period for which the expense reimbursement or fee waiver arrangement is expected to continue, and briefly describe who can terminate the arrangement and under what circumstances.",
        "label": "Fee Waiver or Reimbursement",
        "terseLabel": "Fee Waiver and/or Expense Reimbursement"
       }
      }
     },
     "localname": "FeeWaiverOrReimbursementOverAssets",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "NonPositivePure4Type"
    },
    "rr_FeeWaiverOrReimbursementOverAssetsDateOfTermination": {
     "auth_ref": [
      "r17"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the date of expected termination of any expense reimbursement or fee waiver arrangements that reduce any Fund operating expenses (SEC Form N-1A 2006-09-14 A.3.table.1.11 Total Annual Fund Operating Expenses A.3.instructions.3.e).",
        "label": "Fee Waiver or Reimbursement over Assets, Date of Termination"
       }
      }
     },
     "localname": "FeeWaiverOrReimbursementOverAssetsDateOfTermination",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_HighestQuarterlyReturnLabel": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Highest Quarterly Return, Label"
       }
      }
     },
     "localname": "HighestQuarterlyReturnLabel",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_LowestQuarterlyReturnLabel": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Lowest Quarterly Return, Label"
       }
      }
     },
     "localname": "LowestQuarterlyReturnLabel",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ManagementFeesOverAssets": {
     "auth_ref": [
      "r13"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Management Fees include investment advisory fees (including any fees based on the Fund's performance), any other management fees payable to the investment adviser or its affiliates, and administrative fees payable to the investment adviser or its affiliates that are not included as \"Other Expenses.\"",
        "label": "Management Fees (as a percentage of Assets)",
        "terseLabel": "Management Fees"
       }
      }
     },
     "localname": "ManagementFeesOverAssets",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_MaximumDeferredSalesChargeOverOther": {
     "auth_ref": [
      "r11"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Deferred Sales Charge (Load) (as a percentage of ____)  \"Maximum Deferred Sales Charge (Load)\" includes the maximum total deferred sales charge (load) payable upon redemption, in installments, or both, expressed as a percentage of the amount or amounts stated in response to Item 7(a), except that, for a sales charge (load) based on net asset value at the time of purchase, show the sales charge (load) as a percentage of the offering price at the time of purchase. A Fund may include in a footnote to the table, if applicable, a tabular presentation showing the amount of deferred sales charges (loads) over time or a narrative explanation of the sales charges (loads) (e.g., __% in the first year after purchase, declining to __% in the __ year and eliminated thereafter).  If more than one type of sales charge (load) is imposed (e.g., a deferred sales charge (load) and a front-end sales charge (load)), the first caption in the table should read \"Maximum Sales Charge (Load)\" and show the maximum cumulative percentage. Show the percentage amounts and the terms of each sales charge (load) comprising that figure on separate lines below.",
        "label": "Maximum Deferred Sales Charge (as a percentage)",
        "terseLabel": "Maximum Deferred Sales Charge (Load) (as a percentage of offering price or redemption proceeds, whichever is lower)"
       }
      }
     },
     "localname": "MaximumDeferredSalesChargeOverOther",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum Deferred Sales Charge (Load) (as a percentage of ____)  A.3.instructions.2.a.i \"Maximum Deferred Sales Charge (Load)\" includes the maximum total deferred sales charge (load) payable upon redemption, in installments, or both, expressed as a percentage of the amount or amounts stated in response to Item 7(a), except that, for a sales charge (load) based on net asset value at the time of purchase, show the sales charge (load) as a percentage of the offering price at the time of purchase. A Fund may include in a footnote to the table, if applicable, a tabular presentation showing the amount of deferred sales charges (loads) over time or a narrative explanation of the sales charges (loads) (e.g., __% in the first year after purchase, declining to __% in the __ year and eliminated thereafter).  A.3.instructions.2.a.ii If more than one type of sales charge (load) is imposed (e.g., a deferred sales charge (load) and a front-end sales charge (load)), the first caption in the table should read \"Maximum Sales Charge (Load)\" and show the maximum cumulative percentage. Show the percentage amounts and the terms of each sales charge (load) comprising that figure on separate lines below.",
        "label": "Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price)",
        "terseLabel": "Maximum Sales Charge (Load) Imposed on Purchases (as a percentage of offering price)"
       }
      }
     },
     "localname": "MaximumSalesChargeImposedOnPurchasesOverOfferingPrice",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_NetExpensesOverAssets": {
     "auth_ref": [
      "r23"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Annual Fund Operating Expenses.",
        "label": "Net Expenses (as a percentage of Assets)",
        "terseLabel": "Total Annual Portfolio Operating Expenses After Fee Waiver and/or Expense Reimbursement"
       }
      }
     },
     "localname": "NetExpensesOverAssets",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_ObjectiveHeading": {
     "auth_ref": [
      "r4"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Objectives/Goals. Disclose the Fund's investment objectives or goals. A Fund also may identify its type or category (e.g., that it is a Money Market Fund or a balanced fund).",
        "label": "Objective [Heading]"
       }
      }
     },
     "localname": "ObjectiveHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ObjectivePrimaryTextBlock": {
     "auth_ref": [
      "r4"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Objectives/Goals. Disclose the Fund's investment objectives or goals. A Fund also may identify its type or category (e.g., that it is a Money Market Fund or a balanced fund).",
        "label": "Objective, Primary [Text Block]"
       }
      }
     },
     "localname": "ObjectivePrimaryTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_OperatingExpensesCaption": {
     "auth_ref": [
      "r24"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Annual Fund Operating Expenses (ongoing expenses that you pay each year as a percentage of the value of your investment)",
        "label": "Operating Expenses Caption [Text]"
       }
      }
     },
     "localname": "OperatingExpensesCaption",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_OtherExpensesOverAssets": {
     "auth_ref": [
      "r14"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "\"Other Expenses\" include all expenses not otherwise disclosed in the table that are deducted from the Fund's assets or charged to all shareholder accounts. The amount of expenses deducted from the Fund's assets are the amounts shown as expenses in the Fund's statement of operations (including increases resulting from complying with paragraph 2(g) of rule 6-07 of Regulation S-X [17 CFR 210.6-07]).  \"Other Expenses\" do not include extraordinary expenses as determined under generally accepted accounting principles (see Accounting Principles Board Opinion No. 30). If extraordinary expenses were incurred that materially affected the Fund's \"Other Expenses,\" disclose in a footnote to the table what \"Other Expenses\" would have been had the extraordinary expenses been included.",
        "label": "Other Expenses (as a percentage of Assets):",
        "terseLabel": "Total Other Expenses"
       }
      }
     },
     "localname": "OtherExpensesOverAssets",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_PerformanceAvailabilityWebSiteAddress": {
     "auth_ref": [
      "r34"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If applicable, include a statement explaining that updated performance information is available and providing a Website address and/or toll-free (or collect) telephone number where the updated information may be obtained.",
        "label": "Performance Availability Website Address [Text]"
       }
      }
     },
     "localname": "PerformanceAvailabilityWebSiteAddress",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_PerformanceInformationIllustratesVariabilityOfReturns": {
     "auth_ref": [
      "r34"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Include the bar chart and table required by paragraphs (b)(2)(ii) and (iii) of this section. Provide a brief explanation of how the information illustrates the variability of the Fund's returns (e.g., by stating that the information provides some indication of the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund's average annual returns for 1, 5, and 10 years compare with those of a broad measure of market performance). Provide a statement to the effect that the Fund's past performance (before and after taxes) is not necessarily an indication of how the Fund will perform in the future.",
        "label": "Performance Information Illustrates Variability of Returns [Text]"
       }
      }
     },
     "localname": "PerformanceInformationIllustratesVariabilityOfReturns",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_PerformanceMeasureAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Performance Measure Axis has members that distinguish different returns according to whether they are Before Taxes (the default), After Taxes on Distributions, After Taxes on Distributions and Sales, or are a pre-tax measure of returns based on a broadly available market index.",
        "label": "Performance Measure [Axis]"
       }
      }
     },
     "localname": "PerformanceMeasureAxis",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_PerformanceMeasureDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The default member of the Performance Measure axis. It represents any return that is measured before taxes.",
        "label": "Before Taxes"
       }
      }
     },
     "localname": "PerformanceMeasureDomain",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "rr_PerformanceNarrativeTextBlock": {
     "auth_ref": [
      "r33"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risk/Return Bar Chart and Table.",
        "label": "Performance Narrative [Text Block]"
       }
      }
     },
     "localname": "PerformanceNarrativeTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_PerformancePastDoesNotIndicateFuture": {
     "auth_ref": [
      "r34"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Include the bar chart and table required by paragraphs (b)(2)(ii) and (iii) of this section. Provide a brief explanation of how the information illustrates the variability of the Fund's returns (e.g., by stating that the information provides some indication of the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund's average annual returns for 1, 5, and 10 years compare with those of a broad measure of market performance). Provide a statement to the effect that the Fund's past performance (before and after taxes) is not necessarily an indication of how the Fund will perform in the future.",
        "label": "Performance Past Does Not Indicate Future [Text]"
       }
      }
     },
     "localname": "PerformancePastDoesNotIndicateFuture",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_PerformanceTableHeading": {
     "auth_ref": [
      "r39"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents Average Annual Total Returns. If a Multiple Class Fund offers a Class in the prospectus that converts into another Class after a stated period, compute average annual total returns in the table by using the returns of the other Class for the period after conversion.",
        "label": "Performance Table Heading"
       }
      }
     },
     "localname": "PerformanceTableHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_PerformanceTableNotRelevantToTaxDeferred": {
     "auth_ref": [
      "r41"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provide a brief explanation that the actual after-tax returns depend on an investor's tax situation and may differ from those shown, and after-tax returns shown are not relevant to investors who hold their Fund shares through tax-deferred arrangements, such as 401(k) plans or individual retirement accounts.",
        "label": "Performance Table Not Relevant to Tax Deferred"
       }
      }
     },
     "localname": "PerformanceTableNotRelevantToTaxDeferred",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_PerformanceTableOneClassOfAfterTaxShown": {
     "auth_ref": [
      "r36",
      "r42"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provide a brief explanation that if the Fund is a Multiple Class Fund that offers more than one Class in the prospectus, after-tax returns are shown for only one Class and after-tax returns for other Classes will vary.",
        "label": "Performance Table One Class of after Tax Shown [Text]"
       }
      }
     },
     "localname": "PerformanceTableOneClassOfAfterTaxShown",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_PerformanceTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to PerformanceTableData.",
        "label": "Performance [Table]"
       }
      }
     },
     "localname": "PerformanceTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_PerformanceTableUsesHighestFederalRate": {
     "auth_ref": [
      "r36"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provide a brief explanation that after-tax returns are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes.",
        "label": "Performance Table Uses Highest Federal Rate"
       }
      }
     },
     "localname": "PerformanceTableUsesHighestFederalRate",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_PortfolioTurnoverHeading": {
     "auth_ref": [
      "r19"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclose the portfolio turnover rate provided in response to Item 14(a) for the most recent fiscal year (or for such shorter period as the Fund has been in operation). Disclose the period for which the information is provided if less than a full fiscal year. A Fund that is a Money Market Fund may omit the portfolio turnover information required by this Item.",
        "label": "Portfolio Turnover [Heading]"
       }
      }
     },
     "localname": "PortfolioTurnoverHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_PortfolioTurnoverRate": {
     "auth_ref": [
      "r8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the rate of portfolio turnover presented as a percentage (SEC Form N-1A 2006-09-14 A.3.example.3 Portfolio Turnover  A.3.instructions.5 Portfolio Turnover).",
        "label": "Portfolio Turnover, Rate"
       }
      }
     },
     "localname": "PortfolioTurnoverRate",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_PortfolioTurnoverTextBlock": {
     "auth_ref": [
      "r8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclose the portfolio turnover rate provided in response to Item 14(a) for the most recent fiscal year (or for such shorter period as the Fund has been in operation). Disclose the period for which the information is provided if less than a full fiscal year. A Fund that is a Money Market Fund may omit the portfolio turnover information required by this Item.",
        "label": "Portfolio Turnover [Text Block]"
       }
      }
     },
     "localname": "PortfolioTurnoverTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_ProspectusDate": {
     "auth_ref": [
      "r2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The date of the prospectus.",
        "label": "Prospectus Date"
       }
      }
     },
     "localname": "ProspectusDate",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "dateItemType"
    },
    "rr_ProspectusLineItems": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus [Line Items]"
       }
      }
     },
     "localname": "ProspectusLineItems",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ProspectusShareClassAxis": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prospectus Share Class Axis.",
        "label": "Share Class [Axis]"
       }
      }
     },
     "localname": "ProspectusShareClassAxis",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ProspectusTable": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prospectus Table.",
        "label": "Prospectus:"
       }
      }
     },
     "localname": "ProspectusTable",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "xbrltype": "stringItemType"
    },
    "rr_RiskHeading": {
     "auth_ref": [
      "r27"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Narrative Risk Disclosure.",
        "label": "Risk [Heading]"
       }
      }
     },
     "localname": "RiskHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_RiskLoseMoney": {
     "auth_ref": [
      "r28",
      "r30",
      "r31",
      "r32"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summarize the principal risks of investing in the Fund, including the risks to which the Fund's portfolio as a whole is subject and the circumstances reasonably likely to affect adversely the Fund's net asset value, yield, and total return. Unless the Fund is a Money Market Fund, disclose that loss of money is a risk of investing in the Fund. If the Fund is a Money Market Fund, include the following statement: \"You could lose money by investing in the Fund.\"",
        "label": "Risk Lose Money [Text]"
       }
      }
     },
     "localname": "RiskLoseMoney",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_RiskNarrativeTextBlock": {
     "auth_ref": [
      "r29"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Narrative Risk Disclosure. A Fund may, in responding to this Item, describe the types of investors for whom the Fund is intended or the types of investment goals that may be consistent with an investment in the Fund.",
        "label": "Risk Narrative [Text Block]"
       }
      }
     },
     "localname": "RiskNarrativeTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_RiskReturnAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk/Return:"
       }
      }
     },
     "localname": "RiskReturnAbstract",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_RiskReturnHeading": {
     "auth_ref": [
      "r3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risk/Return Summary Investment Objectives/Goals Include the following information, in plain English under rule 421(d) under the Securities Act, in the order and subject matter indicated",
        "label": "Risk/Return [Heading]"
       }
      }
     },
     "localname": "RiskReturnHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ShareClassDomain": {
     "auth_ref": [
      "r1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All members of this domain must be elements with name starting with \"C\" and consisting of a 9-digit Fund share class CIK.",
        "label": "Share Classes"
       }
      }
     },
     "localname": "ShareClassDomain",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/DocumentAndEntityInformationElements",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "domainItemType"
    },
    "rr_ShareholderFeesCaption": {
     "auth_ref": [
      "r20"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shareholder Fees (fees paid directly from your investment).",
        "label": "Shareholder Fees Caption [Text]"
       }
      }
     },
     "localname": "ShareholderFeesCaption",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ShareholderFeesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to ShareholderFeesData.",
        "label": "Shareholder Fees [Table]"
       }
      }
     },
     "localname": "ShareholderFeesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnSummaryUnlabeledAbNewYorkPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_StrategyHeading": {
     "auth_ref": [
      "r26"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Principal investment strategies of the Fund. Summarize how the Fund intends to achieve its investment objectives by identifying the Fund's principal investment strategies (including the type or types of securities in which the Fund invests or will invest principally) and any policy to concentrate in securities of issuers in a particular industry or group of industries.",
        "label": "Strategy [Heading]"
       }
      }
     },
     "localname": "StrategyHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_StrategyNarrativeTextBlock": {
     "auth_ref": [
      "r26"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Principal investment strategies of the Fund. Summarize how the Fund intends to achieve its investment objectives by identifying the Fund's principal investment strategies (including the type or types of securities in which the Fund invests or will invest principally) and any policy to concentrate in securities of issuers in a particular industry or group of industries.",
        "label": "Strategy Narrative [Text Block]"
       }
      }
     },
     "localname": "StrategyNarrativeTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_YearToDateReturnLabel": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Year to Date Return, Label"
       }
      }
     },
     "localname": "YearToDateReturnLabel",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbCaliforniaPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbHighIncomeMunicipalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNationalPortfolio",
      "http://www.ABglobal.com/role/RiskReturnDetailDataElementsAbNewYorkPortfolio"
     ],
     "xbrltype": "stringItemType"
    }
   },
   "unitCount": 2
  }
 },
 "std_ref": {
  "r0": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Publisher": "SEC"
  },
  "r1": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "1",
   "Subsection": "a"
  },
  "r10": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "d",
   "Subsection": "instructions"
  },
  "r11": {
   "Chapter": "A",
   "Clause": "i",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "a",
   "Subsection": "instructions"
  },
  "r12": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "c",
   "Subsection": "instructions"
  },
  "r13": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "a",
   "Subsection": "instructions"
  },
  "r14": {
   "Chapter": "A",
   "Clause": "i",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "c",
   "Subsection": "instructions"
  },
  "r15": {
   "Chapter": "A",
   "Clause": "iii",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "c",
   "Subsection": "instructions"
  },
  "r16": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "d",
   "Subsection": "instructions"
  },
  "r17": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "e",
   "Subsection": "instructions"
  },
  "r18": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "4",
   "Publisher": "SEC",
   "Section": "3",
   "Subsection": "instructions"
  },
  "r19": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "5",
   "Publisher": "SEC",
   "Section": "3",
   "Subsection": "instructions"
  },
  "r2": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "1",
   "Subsection": "a"
  },
  "r20": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subsection": "table"
  },
  "r21": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "1",
   "Subsection": "table"
  },
  "r22": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "10",
   "Subsection": "table"
  },
  "r23": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "11",
   "Subsection": "table"
  },
  "r24": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "7",
   "Subsection": "table"
  },
  "r25": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "9",
   "Subsection": "table"
  },
  "r26": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Publisher": "SEC",
   "Section": "4",
   "Subsection": "a"
  },
  "r27": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "4",
   "Subsection": "b"
  },
  "r28": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "i",
   "Subsection": "b"
  },
  "r29": {
   "Chapter": "A",
   "Clause": "instruction",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "i",
   "Subsection": "b"
  },
  "r3": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Publisher": "SEC",
   "Section": "2"
  },
  "r30": {
   "Chapter": "A",
   "Clause": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "ii",
   "Subsection": "b"
  },
  "r31": {
   "Chapter": "A",
   "Clause": "B",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "ii",
   "Subsection": "b"
  },
  "r32": {
   "Chapter": "A",
   "Clause": "C",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "ii",
   "Subsection": "b"
  },
  "r33": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "4",
   "Subsection": "b"
  },
  "r34": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "i",
   "Subsection": "b"
  },
  "r35": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "ii",
   "Subsection": "b"
  },
  "r36": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "iii",
   "Subsection": "b"
  },
  "r37": {
   "Chapter": "A",
   "Clause": "1",
   "Exhibit": "2",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "iii",
   "Subsection": "b"
  },
  "r38": {
   "Chapter": "A",
   "Clause": "3",
   "Exhibit": "a",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "instructions",
   "Subsection": "b"
  },
  "r39": {
   "Chapter": "A",
   "Clause": "3",
   "Exhibit": "c",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "instructions",
   "Subsection": "b"
  },
  "r4": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Publisher": "SEC",
   "Section": "2",
   "Subsection": "a"
  },
  "r40": {
   "Chapter": "A",
   "Clause": "4",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "instructions",
   "Subsection": "b"
  },
  "r41": {
   "Chapter": "A",
   "Clause": "B",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "iv",
   "Subsection": "b"
  },
  "r42": {
   "Chapter": "A",
   "Clause": "C",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "iv",
   "Subsection": "b"
  },
  "r43": {
   "Name": "Regulation 12B",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r44": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "313"
  },
  "r5": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "1",
   "Subsection": "example"
  },
  "r6": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "2",
   "Subsection": "example"
  },
  "r7": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "1",
   "Subsection": "example"
  },
  "r8": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "3",
   "Subsection": "example"
  },
  "r9": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "b",
   "Subsection": "instructions"
  }
 },
 "version": "2.1"
}
