| Label | Element | Value | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Sanford C. Bernstein Fund, Inc. | Diversified Municipal Portfolio | ||||||||||||||||||||||||||||||||||||||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||||||||||||||||||||||||||||||||||||||
| Risk/Return [Heading] | rr_RiskReturnHeading | Diversified Municipal Portfolio of Sanford C. Bernstein Fund, Inc. | ||||||||||||||||||||||||||||||||||||||||||
| Objective [Heading] | rr_ObjectiveHeading | INVESTMENT OBJECTIVE: | ||||||||||||||||||||||||||||||||||||||||||
| Objective, Primary [Text Block] | rr_ObjectivePrimaryTextBlock | The Portfolio’s investment objective is to provide safety of principal and maximize total return after taking account of federal taxes.
|
||||||||||||||||||||||||||||||||||||||||||
| Expense [Heading] | rr_ExpenseHeading | FEES AND EXPENSES OF THE PORTFOLIO: | ||||||||||||||||||||||||||||||||||||||||||
| Expense Narrative [Text Block] | rr_ExpenseNarrativeTextBlock | This table describes the fees and expenses that you may pay if you buy, hold, and sell shares of the Portfolio. You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the tables and examples below.
|
||||||||||||||||||||||||||||||||||||||||||
| Shareholder Fees Caption [Text] | rr_ShareholderFeesCaption | Shareholder Fees (fees paid directly from your investment) | ||||||||||||||||||||||||||||||||||||||||||
| Operating Expenses Caption [Text] | rr_OperatingExpensesCaption | Annual Portfolio Operating Expenses (expenses that you pay each year as a percentage of the value of your investment) | ||||||||||||||||||||||||||||||||||||||||||
| Portfolio Turnover [Heading] | rr_PortfolioTurnoverHeading | Portfolio Turnover | ||||||||||||||||||||||||||||||||||||||||||
| Portfolio Turnover [Text Block] | rr_PortfolioTurnoverTextBlock | The Portfolio pays transaction costs, such as commissions, when it buys or sells securities (or “turns over” its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when Portfolio shares are held in a taxable account. These transaction costs, which are not reflected in the Annual Portfolio Operating Expenses or in the Examples, affect the Portfolio’s performance. During the most recent fiscal year, the Portfolio’s portfolio turnover rate was 15% of the average value of its portfolio.
|
||||||||||||||||||||||||||||||||||||||||||
| Portfolio Turnover, Rate | rr_PortfolioTurnoverRate | 15.00% | ||||||||||||||||||||||||||||||||||||||||||
| Expense Example [Heading] | rr_ExpenseExampleHeading | Examples | ||||||||||||||||||||||||||||||||||||||||||
| Expense Example Narrative [Text Block] | rr_ExpenseExampleNarrativeTextBlock | The Examples are intended to help you compare the cost of investing in the Portfolio with the cost of investing in other mutual funds. The Examples assume that you invest $10,000 in the Portfolio for the time periods indicated and then redeem all of your shares at the end of those periods. The Examples also assume that your investment has a 5% return each year and that the Portfolio’s operating expenses stay the same. Although your actual costs may be higher or lower, based on these assumptions your costs as reflected in the Examples would be: |
||||||||||||||||||||||||||||||||||||||||||
| Strategy [Heading] | rr_StrategyHeading | PRINCIPAL STRATEGIES: | ||||||||||||||||||||||||||||||||||||||||||
| Strategy Narrative [Text Block] | rr_StrategyNarrativeTextBlock | As a matter of fundamental policy, the Portfolio, under normal circumstances, invests at least 80% of its net assets in municipal securities. For purposes of this policy, net assets include any borrowings for investment purposes. The Portfolio invests no more than 25% of its total assets in municipal securities of issuers located in any one state. The municipal securities in which the Portfolio may invest are issued to raise money for a variety of public or private purposes, including general financing for state and local governments, the District of Columbia or possessions and territories of the United States, or financing for specific projects or public facilities. The interest paid on these securities is generally exempt from federal income tax, although in certain instances, it may be includable in income subject to alternative minimum tax. The Portfolio invests at least 80% of its total assets in municipal securities rated A or better by NRSROs (or, if unrated, determined by AllianceBernstein L.P., the Portfolio’s investment manager (the “Manager”), to be of comparable quality) and comparably rated municipal notes. The Portfolio may invest up to 20% of its total assets in below investment grade fixed-income securities (commonly known as “junk bonds”). The Portfolio may invest, without limit, in revenue bonds, which generally do not have the pledge of the credit of the issuer. The Portfolio may invest, without limit, in securities or obligations that are related in such a way that business or political developments or changes affecting one such security could also affect the others (for example, securities with interest that is paid from projects of a similar type). The Portfolio may also invest up to 20% of its net assets in fixed-income securities of U.S. issuers that are not municipal securities if, in the Manager’s opinion, these securities will enhance the after‑tax return for Portfolio investors. The Portfolio may use derivatives, such as options, futures contracts, forward contracts and swaps. In managing the Portfolio, the Manager may use interest rate forecasting to estimate an appropriate level of interest rate risk at a given time. The Portfolio seeks to maintain an effective duration of three and one‑half years to seven years under normal market conditions. Duration is a measure that relates the expected price volatility of a security to changes in interest rates. The duration of a debt security is the weighted average term to maturity, expressed in years, of the present value of all future cash flows, including coupon payments and principal repayments. Within the range described above, the Manager may moderately shorten the average duration of the Portfolio when it expects interest rates to rise and moderately lengthen average duration when it anticipates that interest rates will fall. The Manager selects securities for purchase or sale based on its assessment of the securities’ risk and return characteristics as well as the securities’ impact on the overall risk and return characteristics of the Portfolio. In making this assessment, the Manager takes into account various factors including the credit quality and sensitivity to interest rates of the securities under consideration and of the Portfolio’s other holdings.
|
||||||||||||||||||||||||||||||||||||||||||
| Risk [Heading] | rr_RiskHeading | PRINCIPAL RISKS: | ||||||||||||||||||||||||||||||||||||||||||
| Risk Narrative [Text Block] | rr_RiskNarrativeTextBlock | The share price of the Portfolio will fluctuate and you may lose money. There is no guarantee that the Portfolio will achieve its investment objective.
In addition, changes in tax rates or the treatment of income from certain types of municipal securities, among other things, could negatively affect the municipal securities markets. The Portfolio may invest in municipal securities of issuers in Puerto Rico or other U.S. territories and their governmental agencies and municipalities, which are exempt from federal, state, and, where applicable, local income taxes. These municipal securities may have more risks than those of other U.S. issuers of municipal securities. Puerto Rico continues to face a very challenging economic and fiscal environment, worsened by the spread of COVID‑19 and the adverse effect that related governmental and public responses have had on Puerto Rico’s economy. If the general economic situation in Puerto Rico continues to persist or worsens, the volatility and credit quality of Puerto Rican municipal securities could continue to be adversely affected, and the market for such securities may deteriorate further.
In addition, policy and legislative changes in the U.S. and in other countries are affecting many aspects of financial regulation, and these and other events affecting global markets, such as the United Kingdom’s exit from the European Union; potential trade imbalances with China or other countries; or sanctions or other government actions against Russia, other nations, or individuals or companies (or countermeasures taken in response to such sanctions), may contribute to decreased liquidity and increased volatility in the financial markets. The impact of these changes on the markets, and the implications for market participants, may not be fully known for some time.
|
||||||||||||||||||||||||||||||||||||||||||
| Risk Lose Money [Text] | rr_RiskLoseMoney | The share price of the Portfolio will fluctuate and you may lose money. | ||||||||||||||||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | rr_BarChartAndPerformanceTableHeading | BAR CHART AND PERFORMANCE INFORMATION: | ||||||||||||||||||||||||||||||||||||||||||
| Performance Narrative [Text Block] | rr_PerformanceNarrativeTextBlock | The bar chart and performance information provide an indication of the historical risk of an investment in the Portfolio by showing:
You may obtain updated performance information for the Portfolio at www.bernstein.com (at the bottom of the page, click on “Investments,” then “Mutual Fund Performance at a Glance”). The Portfolio’s past performance before and after taxes, of course, does not necessarily indicate how it will perform in the future. As with all investments, you may lose money by investing in the Portfolio.
|
||||||||||||||||||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | rr_PerformanceInformationIllustratesVariabilityOfReturns | how the Portfolio’s performance changed from year to year over ten years; and how the Portfolio’s average annual returns for one, five and ten years compare to those of a broad-based securities market index. | ||||||||||||||||||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | rr_PerformanceAvailabilityWebSiteAddress | www.bernstein.com | ||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | rr_PerformancePastDoesNotIndicateFuture | The Portfolio’s past performance before and after taxes, of course, does not necessarily indicate how it will perform in the future. | ||||||||||||||||||||||||||||||||||||||||||
| Bar Chart [Heading] | rr_BarChartHeading | Bar Chart | ||||||||||||||||||||||||||||||||||||||||||
| Bar Chart Narrative [Text Block] | rr_BarChartNarrativeTextBlock | The annual returns in the bar chart are for the Portfolio’s Diversified Municipal Class shares.
|
||||||||||||||||||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | rr_BarChartClosingTextBlock | Calendar Year End (%) During the period shown in the bar chart, the Portfolio’s: Best Quarter was up 2.83%, 2nd quarter, 2020; and Worst Quarter was down -4.46%, 1st quarter, 2022. | ||||||||||||||||||||||||||||||||||||||||||
| Performance Table Heading | rr_PerformanceTableHeading | Performance Table Average Annual Total Returns(For the periods ended December 31, 2022) | ||||||||||||||||||||||||||||||||||||||||||
| Performance Table Market Index Changed | rr_PerformanceTableMarketIndexChanged | Effective November 1, 2022, the Portfolio measures its performance against Bloomberg 1‑10 Year Blend Index. The Bloomberg 1-10 Year Blend Index is the 1-10 Year Blend (1‑12) component of the Bloomberg Municipal Bond Index, which represents the performance of the long-term tax-exempt bond market consisting of investment-grade bonds. Prior to November 1, 2022, the Portfolio measured its performance against Bloomberg 5‑Year General Obligation Municipal Bond Index. | ||||||||||||||||||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | rr_PerformanceTableUsesHighestFederalRate | After‑tax returns are an estimate, which is based on the highest historical individual federal marginal income‑tax rates, and do not reflect the impact of state and local taxes; | ||||||||||||||||||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | rr_PerformanceTableNotRelevantToTaxDeferred | actual after‑tax returns depend on an individual investor’s tax situation and are likely to differ from those shown, and are not relevant to investors who hold Portfolio shares through tax‑deferred arrangements such as 401(k) plans or individual retirement accounts. | ||||||||||||||||||||||||||||||||||||||||||
| Performance Table Narrative | rr_PerformanceTableNarrativeTextBlock | After‑tax returns are an estimate, which is based on the highest historical individual federal marginal income‑tax rates, and do not reflect the impact of state and local taxes; actual after‑tax returns depend on an individual investor’s tax situation and are likely to differ from those shown, and are not relevant to investors who hold Portfolio shares through tax‑deferred arrangements such as 401(k) plans or individual retirement accounts.
|
||||||||||||||||||||||||||||||||||||||||||
| Sanford C. Bernstein Fund, Inc. | Diversified Municipal Portfolio | Diversified Municipal Class | ||||||||||||||||||||||||||||||||||||||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||||||||||||||||||||||||||||||||||||||
| Maximum Sales Charge (Load) Imposed on Purchases (as a percentage of offering price) | rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | none | ||||||||||||||||||||||||||||||||||||||||||
| Maximum Deferred Sales Charge (Load) (as a percentage of offering price or redemption proceeds, whichever is lower) | rr_MaximumDeferredSalesChargeOverOther | none | ||||||||||||||||||||||||||||||||||||||||||
| Maximum Account Fee | rr_MaximumAccountFeeOverAssets | none | ||||||||||||||||||||||||||||||||||||||||||
| Management Fees | rr_ManagementFeesOverAssets | 0.35% | ||||||||||||||||||||||||||||||||||||||||||
| Distribution and/or Service (12b-1) Fees | rr_DistributionAndService12b1FeesOverAssets | none | ||||||||||||||||||||||||||||||||||||||||||
| Other Expenses: Shareholder Servicing | rr_Component1OtherExpensesOverAssets | 0.10% | ||||||||||||||||||||||||||||||||||||||||||
| Other Expenses | rr_Component3OtherExpensesOverAssets | 0.02% | ||||||||||||||||||||||||||||||||||||||||||
| Total Other Expenses | rr_OtherExpensesOverAssets | 0.12% | ||||||||||||||||||||||||||||||||||||||||||
| Total Annual Portfolio Operating Expenses | rr_ExpensesOverAssets | 0.47% | ||||||||||||||||||||||||||||||||||||||||||
| After 1 Year | rr_ExpenseExampleYear01 | $ 48 | ||||||||||||||||||||||||||||||||||||||||||
| After 3 Years | rr_ExpenseExampleYear03 | 151 | ||||||||||||||||||||||||||||||||||||||||||
| After 5 Years | rr_ExpenseExampleYear05 | 263 | ||||||||||||||||||||||||||||||||||||||||||
| After 10 Years | rr_ExpenseExampleYear10 | $ 591 | ||||||||||||||||||||||||||||||||||||||||||
| 2013 | rr_AnnualReturn2013 | (1.22%) | ||||||||||||||||||||||||||||||||||||||||||
| 2014 | rr_AnnualReturn2014 | 4.12% | ||||||||||||||||||||||||||||||||||||||||||
| 2015 | rr_AnnualReturn2015 | 2.01% | ||||||||||||||||||||||||||||||||||||||||||
| 2016 | rr_AnnualReturn2016 | (0.34%) | ||||||||||||||||||||||||||||||||||||||||||
| 2017 | rr_AnnualReturn2017 | 3.01% | ||||||||||||||||||||||||||||||||||||||||||
| 2018 | rr_AnnualReturn2018 | 0.96% | ||||||||||||||||||||||||||||||||||||||||||
| 2019 | rr_AnnualReturn2019 | 5.64% | ||||||||||||||||||||||||||||||||||||||||||
| 2020 | rr_AnnualReturn2020 | 4.14% | ||||||||||||||||||||||||||||||||||||||||||
| 2021 | rr_AnnualReturn2021 | 1.38% | ||||||||||||||||||||||||||||||||||||||||||
| 2022 | rr_AnnualReturn2022 | (5.78%) | ||||||||||||||||||||||||||||||||||||||||||
| Highest Quarterly Return, Label | rr_HighestQuarterlyReturnLabel | Best Quarter | ||||||||||||||||||||||||||||||||||||||||||
| Highest Quarterly Return, Date | rr_BarChartHighestQuarterlyReturnDate | Jun. 30, 2020 | ||||||||||||||||||||||||||||||||||||||||||
| Highest Quarterly Return | rr_BarChartHighestQuarterlyReturn | 2.83% | ||||||||||||||||||||||||||||||||||||||||||
| Lowest Quarterly Return, Label | rr_LowestQuarterlyReturnLabel | Worst Quarter | ||||||||||||||||||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | rr_BarChartLowestQuarterlyReturnDate | Mar. 31, 2022 | ||||||||||||||||||||||||||||||||||||||||||
| Lowest Quarterly Return | rr_BarChartLowestQuarterlyReturn | (4.46%) | ||||||||||||||||||||||||||||||||||||||||||
| 1 Year | rr_AverageAnnualReturnYear01 | (5.78%) | ||||||||||||||||||||||||||||||||||||||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 1.19% | ||||||||||||||||||||||||||||||||||||||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 1.34% | ||||||||||||||||||||||||||||||||||||||||||
| Sanford C. Bernstein Fund, Inc. | Diversified Municipal Portfolio | Return After Taxes on Distributions | Diversified Municipal Class | ||||||||||||||||||||||||||||||||||||||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||||||||||||||||||||||||||||||||||||||
| 1 Year | rr_AverageAnnualReturnYear01 | (5.80%) | ||||||||||||||||||||||||||||||||||||||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 1.16% | ||||||||||||||||||||||||||||||||||||||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 1.31% | ||||||||||||||||||||||||||||||||||||||||||
| Sanford C. Bernstein Fund, Inc. | Diversified Municipal Portfolio | Return After Taxes on Distributions and Sale of Portfolio Shares | Diversified Municipal Class | ||||||||||||||||||||||||||||||||||||||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||||||||||||||||||||||||||||||||||||||
| 1 Year | rr_AverageAnnualReturnYear01 | (2.62%) | ||||||||||||||||||||||||||||||||||||||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 1.40% | ||||||||||||||||||||||||||||||||||||||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 1.51% | ||||||||||||||||||||||||||||||||||||||||||
| Sanford C. Bernstein Fund, Inc. | Diversified Municipal Portfolio | Bloomberg 5-Year General Obligation Municipal Bond Index (reflects no deduction for fees, expenses, or taxes) | ||||||||||||||||||||||||||||||||||||||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||||||||||||||||||||||||||||||||||||||
| 1 Year | rr_AverageAnnualReturnYear01 | (5.02%) | ||||||||||||||||||||||||||||||||||||||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 1.27% | ||||||||||||||||||||||||||||||||||||||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 1.46% | ||||||||||||||||||||||||||||||||||||||||||
| Sanford C. Bernstein Fund, Inc. | Diversified Municipal Portfolio | Bloomberg 1-10 Year Blend Index (reflects no deduction for fees, expenses, or taxes) | ||||||||||||||||||||||||||||||||||||||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||||||||||||||||||||||||||||||||||||||
| 1 Year | rr_AverageAnnualReturnYear01 | (4.84%) | [1] | |||||||||||||||||||||||||||||||||||||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 1.37% | [1] | |||||||||||||||||||||||||||||||||||||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 1.69% | [1] | |||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||