<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cik0000871839="http://troweprice.com/20241231"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:rr="http://xbrl.sec.gov/rr/2023"
  xmlns:utr="http://www.xbrl.org/2009/utr"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="c485bpos-20250225.xsd" xlink:type="simple"/>
    <context id="Context_20241231_20241231">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000002068Member_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000871839:C000005423Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000871839:C000166328Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000002068Member_RiskLoseMoneyMember_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000002068Member_Stockinvesting_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000871839:StockinvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000002068Member_Fixedincomemarkets_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000871839:FixedincomemarketsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000002068Member_Interestrates_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000871839:InterestratesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000002068Member_Prepaymentsandextensions_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000871839:PrepaymentsandextensionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000002068Member_Creditquality_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000871839:CreditqualityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000002068Member_Marketconditions_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000871839:MarketconditionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000002068Member_Foreigninvesting_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000871839:ForeigninvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000002068Member_Emergingmarkets_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000871839:EmergingmarketsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000002068Member_Liquidity_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000871839:LiquidityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000002068Member_Investmentsinotherfunds_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000871839:InvestmentsinotherfundsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000002068Member_Activemanagement_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000871839:ActivemanagementMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000002068Member_Cybersecuritybreaches_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000871839:CybersecuritybreachesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_AfterTaxesOnDistributionsMember_C000005423Member_S000002068Member_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000871839:C000005423Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_AfterTaxesOnDistributionsAndSalesMember_C000005423Member_S000002068Member_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000871839:C000005423Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_MSCIAllCountryWorldIndexNet_S000002068Member_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000871839:MSCIAllCountryWorldIndexNetMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_MSCIAllCountryWorldIndexNet1_S000002068Member_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000871839:MSCIAllCountryWorldIndexNet1Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_MorningstarModerateTargetRiskIndex_S000002068Member_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000871839:MorningstarModerateTargetRiskIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_MorningstarModerateTargetRiskIndex2_S000002068Member_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000871839:MorningstarModerateTargetRiskIndex2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_CombinedIndexPortfolioNet_S000002068Member_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000871839:CombinedIndexPortfolioNetMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_CombinedIndexPortfolioNet3_S000002068Member_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000871839:CombinedIndexPortfolioNet3Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_LipperBalancedFundsIndex_S000002068Member_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000871839:LipperBalancedFundsIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_LipperBalancedFundsIndex4_S000002068Member_S000002068Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000871839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000871839:S000002068Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000871839:LipperBalancedFundsIndex4Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Years">
        <measure>utr:Y</measure>
    </unit>
    <dei:EntityRegistrantName contextRef="Context_20241231_20241231" id="ixv-141506">T.  Rowe Price Balanced Fund, Inc.</dei:EntityRegistrantName>
    <rr:ProspectusDate contextRef="Context_20241231_20241231" id="ixv-141507">2025-03-01</rr:ProspectusDate>
    <rr:RiskReturnHeading
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141508">Balanced Fund</rr:RiskReturnHeading>
    <rr:ObjectiveHeading
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141509"> 
Investment Objective(s)</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-356">&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; text-decoration:none;"&gt;The fund seeks to provide 
capital growth, current income, and preservation of capital through a portfolio of stocks and fixed income 
securities.&lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141510">Fees and Expenses</rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-359">&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:bold; text-decoration:none;"&gt;This table describes the fees and expenses that you may pay 
if you buy, hold, and sell shares of the fund. You may also incur brokerage commissions and other charges 
when buying or selling shares of the fund, which are not reflected in the table or example below.&lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ShareholderFeesCaption
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141511">Shareholder 
fees (fees paid directly from your investment)</rr:ShareholderFeesCaption>
    <rr:MaximumAccountFee
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="_17_"
      unitRef="usd">20</rr:MaximumAccountFee>
    <rr:MaximumAccountFee
      contextRef="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141513"
      unitRef="usd">0</rr:MaximumAccountFee>
    <rr:OperatingExpensesCaption
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141514">Annual 
fund operating expenses (expenses that you pay each 
year as a percentage of the value of your investment)</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141516"
      unitRef="pure">0.0043</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141517"
      unitRef="pure">0.0043</rr:ManagementFeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141518"
      unitRef="pure">0.0017</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141519"
      unitRef="pure">0.0004</rr:OtherExpensesOverAssets>
    <rr:AcquiredFundFeesAndExpensesOverAssets
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141520"
      unitRef="pure">0.0005</rr:AcquiredFundFeesAndExpensesOverAssets>
    <rr:AcquiredFundFeesAndExpensesOverAssets
      contextRef="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141521"
      unitRef="pure">0.0005</rr:AcquiredFundFeesAndExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="_25_"
      unitRef="pure">0.0065</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="_26_"
      unitRef="pure">0.0052</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="_27_"
      unitRef="pure">-0.0005</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="_28_"
      unitRef="pure">-0.0005</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="_29_"
      unitRef="pure">0.0060</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="_30_"
      unitRef="pure">0.0047</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141528">Example</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141529">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 redeem all of your shares at the end of those periods, that your investment has a 5% return 
each year, and that the fund&#x2019;s operating expenses remain the same. The example also assumes that any 
current expense limitation arrangement remains in place for the period noted in the previous table; therefore, 
the figures have been adjusted to reflect fee waivers or expense reimbursements only in the periods for 
which the expense limitation arrangement is expected to continue. Although your actual costs may be higher 
or lower, based on these assumptions your costs would be:</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141530"
      unitRef="usd">61</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141531"
      unitRef="usd">192</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141532"
      unitRef="usd">335</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141533"
      unitRef="usd">750</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141534"
      unitRef="usd">48</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141535"
      unitRef="usd">151</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141536"
      unitRef="usd">263</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141537"
      unitRef="usd">591</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-764">&lt;p style="-sec-ix-redline:true;font-size:8.0pt; font-family:Arial; text-align:left; font-weight:bold; text-decoration:none;"&gt;Portfolio Turnover  The 
fund pays transaction costs, such as commissions, when it buys and sells securities (or &#x201c;turns over&#x201d; 
its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result 
in higher taxes when the fund&#x2019;s shares are held in a taxable account. These costs, which are not reflected 
in annual fund operating expenses or in the example, affect the fund&#x2019;s performance. During the most 
recent fiscal year, the fund&#x2019;s portfolio turnover rate was 39.2% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141538">Portfolio Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141539"
      unitRef="pure">0.392</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141540">Principal Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-768">&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; text-decoration:none;"&gt;The fund normally invests 
approximately 65% of its net assets in stocks and 35% of its net assets in fixed income securities, although 
the amount may vary based on market conditions. The fund invests at least 25% of its net assets in fixed 
income senior securities and may invest up to 35% of its net assets in foreign securities. &lt;/p&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; text-decoration:none;"&gt;When deciding upon overall 
allocations between stocks and fixed income securities, the adviser may favor stocks when strong economic 
growth is expected and may favor fixed income securities if the economy is expected to slow sufficiently 
to hurt corporate profit growth. The fund also gains exposure to stocks and fixed income securities, 
as well as specific asset classes, through investments in other T.&#160;Rowe Price mutual funds and/or exchange-traded 
funds.&lt;/p&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; text-decoration:none;"&gt;The 
fund invests in bonds, including foreign issues, which are primarily rated investment grade (i.e., assigned 
one of the four highest credit ratings by credit rating agencies or by T.&#160;Rowe Price) and are chosen 
from across the entire government, corporate, and mortgage- and asset-backed securities markets. Maturities 
generally reflect the adviser&#x2019;s outlook for interest rates.&lt;/p&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; text-decoration:none;"&gt;When selecting particular stocks, the adviser 
examines relative values and prospects among growth- and value-oriented stocks, domestic and international 
stocks, small- to large-cap stocks, and stocks of companies involved in activities related to commodities 
and other real assets. Domestic stocks are drawn from the overall U.S. market and international stocks 
are selected primarily from large companies in developed countries, although stocks in emerging markets 
may also be purchased. This process draws heavily upon the adviser&#x2019;s proprietary stock research expertise. 
While the fund maintains a well-diversified portfolio, its portfolio manager may at a particular time 
shift stock selection toward markets or market sectors that appear to offer attractive value and appreciation 
potential.&lt;/p&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; text-decoration:none;"&gt;A 
similar security selection process applies to bonds. When deciding whether to adjust duration, credit 
risk exposure, or allocations among the various sectors (for example, high yield or &#x201c;junk&#x201d; bonds, 
mortgage- and asset-backed securities, foreign bonds, and emerging markets bonds), the adviser weighs 
such factors as the outlook for inflation and the economy, corporate earnings, &lt;/p&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; text-decoration:none;"&gt;expected 
interest rate movements and currency valuations, and the yield advantage that lower-rated bonds may offer 
over investment-grade bonds.&lt;/p&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskHeading
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141541">Principal Risks</rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_RiskLoseMoneyMember_S000002068Summary1Member"
      id="ixv-141542"> The fund&#x2019;s share price fluctuates, which means you could lose 
money by investing in the fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_Stockinvesting_S000002068Summary1Member"
      id="ixv-791">&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Stock investing:&lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;  Stocks generally fluctuate 
in value more than bonds and may decline significantly over short time periods. There is a chance that 
stock prices overall will decline because stock markets tend to move in cycles, with periods of rising 
and falling prices. The value of stocks held by the fund may decline due to general weakness or volatility 
in the stock markets in which the fund invests or because of factors that affect a particular company 
or industry.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_Fixedincomemarkets_S000002068Summary1Member"
      id="ixv-795">&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Fixed income markets:&lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;  &lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;Economic and other market developments 
can adversely affect the fixed income securities markets. &lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;At times, participants in these markets 
may develop concerns about the ability of certain issuers of debt instruments to make timely principal 
and interest payments, or they may develop concerns about the ability of financial institutions that 
make markets in certain debt instruments to facilitate an orderly market. Those concerns could cause 
increased volatility and reduced liquidity in particular securities or in the overall fixed income markets 
and the related derivatives markets. A lack of liquidity or other adverse credit market conditions may 
hamper the fund&#x2019;s ability to sell the debt instruments in which it invests or to find and purchase 
suitable debt instruments.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_Interestrates_S000002068Summary1Member"
      id="ixv-801">&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Interest rates:&lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;  &lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;A rise in interest rates typically causes 
the price of a fixed rate debt instrument to fall and its yield to rise. Conversely, a decline in interest 
rates typically causes the price of a fixed rate debt instrument to rise and the yield to fall. The prices 
and yields of inflation-linked bonds are directly impacted by the rate of inflation as well as changes 
in interest rates. Generally, funds with longer weighted average maturities and durations carry greater 
interest rate risk. Changes in monetary policy made by central banks and/or governments are likely to 
affect the interest rates or yields of the securities in which the fund invests.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_Prepaymentsandextensions_S000002068Summary1Member"
      id="ixv-806">&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Prepayments and extensions: 
 &lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;The 
fund is subject to prepayment risks because the principal on mortgage-backed securities, asset-backed 
securities, or any debt instrument with an embedded call option may be prepaid at any time, which could 
reduce the security&#x2019;s yield and market value. The rate of prepayments tends to increase as interest 
rates fall, which could cause the average maturity of the portfolio to shorten. Extension risk may result 
from a rise in interest rates, which tends to make mortgage-backed securities, asset-backed securities, 
and other callable debt instruments more volatile.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_Creditquality_S000002068Summary1Member"
      id="ixv-810">&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Credit quality:&lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;  An issuer of a debt 
instrument could suffer an adverse change in financial condition that results in a payment default (failure 
to make scheduled interest or principal payments), rating downgrade, or inability to meet a financial 
obligation. Securities that are rated below investment grade carry greater risk of default and should 
be considered speculative.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_Marketconditions_S000002068Summary1Member"
      id="ixv-827">&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Market 
conditions:&lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;  The value of the fund&#x2019;s investments may decrease, sometimes rapidly or unexpectedly, 
due to factors affecting an issuer held by the fund, particular industries, or the overall securities 
markets. A variety of factors can increase the volatility of the fund&#x2019;s holdings and markets generally, 
including economic, political, or regulatory developments, recessions, inflation, rapid interest rate 
changes, war, military conflict, acts of terrorism, natural disasters, and outbreaks of infectious illnesses 
or other widespread public health issues (such as the coronavirus pandemic) and related governmental 
and public responses (including sanctions). Certain events may cause instability across global markets, 
including reduced liquidity and disruptions in trading markets, while some events may affect certain 
geographic regions, countries, sectors, and industries more significantly than others. Government intervention 
in markets may impact interest rates, market volatility, and security pricing. These adverse developments 
may cause broad declines in market value due to short-term market movements or for significantly longer 
periods during more prolonged market downturns.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_Foreigninvesting_S000002068Summary1Member"
      id="ixv-831">&lt;p style="-sec-ix-redline:true;font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Foreign investing:  &lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;Non-U.S.&lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:bold; text-decoration:none;"&gt; 
&lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;securities 
tend to be more volatile and have lower overall liquidity and trading volume than investments in U.S. 
securities and may lose value because of adverse local, political, social, or economic developments overseas, 
or due to changes in the exchange rates between foreign currencies and the U.S. dollar. Further, securities 
of non-U.S. issuers are subject to trading markets with potential governmental interference, varying 
regulatory, auditing, and accounting standards, and settlement and clearance practices that differ from 
those of U.S. issuers. Investment in non-U.S. securities also carries currency risk. Any attempts to 
hedge currency risk could be unsuccessful. Such investments may have higher transaction costs compared 
with U.S. markets. The fund&#x2019;s overall foreign investing risk is increased to the extent it has exposure 
to emerging markets.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_Emergingmarkets_S000002068Summary1Member"
      id="ixv-837">&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Emerging markets:  &lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;Investments in emerging market countries 
are subject to greater risk and overall volatility than investments in the U.S. and other developed markets. 
Emerging market countries tend to have economic structures that are less diverse and mature, less developed 
legal and regulatory regimes, and political systems that are less stable, than those of developed countries. 
In addition to the risks associated with investing outside the U.S., emerging markets are more susceptible 
to governmental interference, political and economic uncertainty, local taxes and restrictions on the 
fund&#x2019;s investments, less efficient trading markets with lower overall liquidity, and more volatile 
currency exchange rates.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_Liquidity_S000002068Summary1Member"
      id="ixv-841">&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Liquidity:&lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;  The fund may not be able to meet requests to redeem shares 
issued by the fund without significant dilution of the remaining shareholders&#x2019; interests in the fund. 
In addition, the fund may not be able to sell a holding in a timely manner at a desired price. Reduced 
liquidity in the bond markets can result from a number of events, such as limited trading activity, reductions 
in bond inventory, and rapid or unexpected changes in interest rates. Markets with lower overall liquidity 
could lead to greater price volatility and limit the fund&#x2019;s ability to sell a holding at a suitable 
price.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_Investmentsinotherfunds_S000002068Summary1Member"
      id="ixv-845">&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Investments 
in other funds:&lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;  The fund bears the risk that its underlying funds will fail to successfully 
employ their investment strategies. One or more underlying fund&#x2019;s &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; text-decoration:none;"&gt;underperformance 
or failure to meet its investment objective(s) as intended could cause the fund to underperform similarly 
managed funds.&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_Activemanagement_S000002068Summary1Member"
      id="ixv-864">&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Active management:&lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;  The fund&#x2019;s overall investment program and holdings selected 
by the fund&#x2019;s investment adviser may underperform the broad markets, relevant indices, or other funds 
with similar objectives and investment strategies.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_Cybersecuritybreaches_S000002068Summary1Member"
      id="ixv-868">&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Cybersecurity breaches:&lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;  The fund could be 
harmed by intentional cyberattacks and other cybersecurity breaches, including unauthorized access to 
the fund&#x2019;s assets, confidential information, or other proprietary information. In addition, a cybersecurity 
breach could cause one of the fund&#x2019;s service providers or financial intermediaries to suffer unauthorized 
data access, data corruption, or loss of operational functionality.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141543">Performance</rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-873">&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; text-decoration:none;"&gt;The 
following performance information provides some indication of the risks of investing in the fund. The 
fund&#x2019;s performance information represents only past performance (before and after taxes) and is not 
necessarily an indication of future results. &lt;/p&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;The following bar chart illustrates how much returns can differ 
from year to year by showing calendar year returns and the best and worst calendar quarter returns during 
those &lt;/span&gt;&lt;span style="font-size:8.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;"&gt;years for the fund&#x2019;s Investor Class. Returns for other share classes vary since 
they have different expenses.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141544">The 
following performance information provides some indication of the risks of investing in the fund. The following bar chart illustrates how much returns can differ 
from year to year by showing calendar year returns and the best and worst calendar quarter returns during 
those  years for the fund&#x2019;s Investor Class. Returns for other share classes vary since 
they have different expenses. The following table shows 
the average annual total returns for each class of the fund that has been in operation for at least one 
full calendar year. The fund&#x2019;s performance information included in the table is compared with a regulatory 
required index that represents an overall securities market (Regulatory Benchmark). In addition, the 
table may also include one or more indexes that more closely aligns to the fund&#x2019;s investment strategy 
(Strategy Benchmark(s)).</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141545"> The 
fund&#x2019;s performance information represents only past performance (before and after taxes) and is not 
necessarily an indication of future results.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:BarChartHeading
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141546">Calendar Year Returns</rr:BarChartHeading>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-890">&lt;table cellpadding="0" cellspacing="0" style="border-collapse:collapse" width="100%"&gt;&lt;tr style="font-size:1pt;"&gt;&lt;td style="width:9.02%;"&gt;&#160;&lt;/td&gt;&lt;td style="width:14.01%;"&gt;&#160;&lt;/td&gt;&lt;td style="width:14.99%;"&gt;&#160;&lt;/td&gt;&lt;td style="width:13%;"&gt;&#160;&lt;/td&gt;&lt;td style="width:.49%;"&gt;&#160;&lt;/td&gt;&lt;td style="width:14.99%;"&gt;&#160;&lt;/td&gt;&lt;td style="width:14.99%;"&gt;&#160;&lt;/td&gt;&lt;td style="width:13%;"&gt;&#160;&lt;/td&gt;&lt;td style="width:5.5%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:top; font-size:1pt;"&gt;&#160;&lt;/td&gt;&lt;td style="vertical-align:top; font-size:1pt;"&gt;&#160;&lt;/td&gt;&lt;td style="vertical-align:top;"&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:center; font-weight:normal; text-decoration:none;"&gt;Quarter Ended&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:top;"&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:center; font-weight:normal; text-decoration:none;"&gt;Total&lt;/p&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:center; font-weight:normal; text-decoration:none;"&gt;Return&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:top; font-size:1pt;"&gt;&#160;&lt;/td&gt;&lt;td style="vertical-align:top; font-size:1pt;"&gt;&#160;&lt;/td&gt;&lt;td style="vertical-align:top;"&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:center; font-weight:normal; text-decoration:none;"&gt;Quarter Ended&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:top;"&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:center; font-weight:normal; text-decoration:none;"&gt;Total &lt;/p&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:center; font-weight:normal; text-decoration:none;"&gt;Return&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:top; font-size:1pt;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:top; font-size:1pt;"&gt;&#160;&lt;/td&gt;&lt;td style="vertical-align:top; background-color:#E6E6E6;"&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:center; font-weight:normal; text-decoration:none;"&gt;Best 
Quarter&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:top; background-color:#E6E6E6;"&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:center; font-weight:normal; text-decoration:none;"&gt;6/30/20&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:top; background-color:#E6E6E6;"&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:center; font-weight:normal; text-decoration:none;"&gt;14.99%&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:top; font-size:1pt;"&gt;&#160;&lt;/td&gt;&lt;td style="vertical-align:top; background-color:#E6E6E6;"&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:center; font-weight:normal; text-decoration:none;"&gt;Worst Quarter&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:top; background-color:#E6E6E6;"&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:center; font-weight:normal; text-decoration:none;"&gt;3/31/20&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:top; background-color:#E6E6E6;"&gt;&lt;p style="font-size:8.0pt; font-family:Arial; text-align:center; font-weight:normal; text-decoration:none;"&gt;-14.51%&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:top; font-size:1pt;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</rr:BarChartClosingTextBlock>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      id="ixv-141547">Best 
Quarter</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      id="ixv-141548">2020-06-30</rr:BarChartHighestQuarterlyReturnDate>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141549"
      unitRef="pure">0.1499</rr:BarChartHighestQuarterlyReturn>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      id="ixv-141550">Worst Quarter</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      id="ixv-141551">2020-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141552"
      unitRef="pure">-0.1451</rr:BarChartLowestQuarterlyReturn>
    <rr:PerformanceTableNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-934">&lt;p style="-sec-ix-redline:true;font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; text-decoration:none;"&gt;The following table shows 
the average annual total returns for each class of the fund that has been in operation for at least one 
full calendar year. The fund&#x2019;s performance information included in the table is compared with a regulatory 
required index that represents an overall securities market (Regulatory Benchmark). In addition, the 
table may also include one or more indexes that more closely aligns to the fund&#x2019;s investment strategy 
(Strategy Benchmark(s)).&lt;/p&gt;
&lt;p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; text-decoration:none;"&gt;In 
addition, the table shows hypothetical after-tax returns to demonstrate how taxes paid by a shareholder 
may influence returns. 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. Actual after-tax returns 
depend on an investor&#x2019;s tax situation and may differ from those shown. After-tax returns shown are 
not relevant to investors who hold their fund shares through tax-deferred arrangements, such as a 401(k) 
account or an IRA. After-tax returns are shown only for the Investor Class and will differ for other 
share classes.&lt;/p&gt;</rr:PerformanceTableNarrativeTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141553"> 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.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141554"> Actual after-tax returns 
depend on an investor&#x2019;s tax situation and may differ from those shown. After-tax returns shown are 
not relevant to investors who hold their fund shares through tax-deferred arrangements, such as a 401(k) 
account or an IRA.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141555">After-tax returns are shown only for the Investor Class and will differ for other 
share classes.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <rr:PerformanceTableHeading
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141556">Average Annual Total Returns Periods 
ended December 31, 2024</rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnInceptionDate
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      id="ixv-141557">1939-12-31</rr:AverageAnnualReturnInceptionDate>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141558"
      unitRef="pure">0.1184</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141559"
      unitRef="pure">0.0723</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141560"
      unitRef="pure">0.0743</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_AfterTaxesOnDistributionsMember_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141561"
      unitRef="pure">0.0975</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_AfterTaxesOnDistributionsMember_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141562"
      unitRef="pure">0.0555</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_AfterTaxesOnDistributionsMember_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141563"
      unitRef="pure">0.0579</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_AfterTaxesOnDistributionsAndSalesMember_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141564"
      unitRef="pure">0.0805</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_AfterTaxesOnDistributionsAndSalesMember_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141565"
      unitRef="pure">0.0533</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_AfterTaxesOnDistributionsAndSalesMember_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141566"
      unitRef="pure">0.0552</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnInceptionDate
      contextRef="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member"
      id="ixv-141567">2015-12-17</rr:AverageAnnualReturnInceptionDate>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141568"
      unitRef="pure">0.1200</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141569"
      unitRef="pure">0.0737</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnSinceInception
      contextRef="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141570"
      unitRef="pure">0.0834</rr:AverageAnnualReturnSinceInception>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_MSCIAllCountryWorldIndexNet_S000002068Member_S000002068Summary1Member"
      id="_114_">MSCI All Country World Index Net </rr:AverageAnnualReturnLabel>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_MSCIAllCountryWorldIndexNet_S000002068Member_S000002068Summary1Member"
      id="ixv-141572">(reflects 
no deduction for fees and expenses)</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_MSCIAllCountryWorldIndexNet1_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141573"
      unitRef="pure">0.1749</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_MSCIAllCountryWorldIndexNet1_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141574"
      unitRef="pure">0.1006</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_MSCIAllCountryWorldIndexNet1_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141575"
      unitRef="pure">0.0923</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnSinceInception
      contextRef="Context_20241231_20241231_MSCIAllCountryWorldIndexNet1_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="_119_"
      unitRef="pure">0.1061</rr:AverageAnnualReturnSinceInception>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_MorningstarModerateTargetRiskIndex_S000002068Member_S000002068Summary1Member"
      id="ixv-141577">Morningstar Moderate Target Risk Index </rr:AverageAnnualReturnLabel>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_MorningstarModerateTargetRiskIndex_S000002068Member_S000002068Summary1Member"
      id="ixv-141578">(reflects 
no deduction for fees, expenses, or taxes)</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_MorningstarModerateTargetRiskIndex2_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141579"
      unitRef="pure">0.0827</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_MorningstarModerateTargetRiskIndex2_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141580"
      unitRef="pure">0.0537</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_MorningstarModerateTargetRiskIndex2_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141581"
      unitRef="pure">0.0605</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnSinceInception
      contextRef="Context_20241231_20241231_MorningstarModerateTargetRiskIndex2_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="_125_"
      unitRef="pure">0.0698</rr:AverageAnnualReturnSinceInception>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_CombinedIndexPortfolioNet_S000002068Member_S000002068Summary1Member"
      id="_126_">Combined 
Index Portfolio Net </rr:AverageAnnualReturnLabel>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_CombinedIndexPortfolioNet_S000002068Member_S000002068Summary1Member"
      id="_127_">(reflects no deduction for fees and expenses)</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_CombinedIndexPortfolioNet3_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141585"
      unitRef="pure">0.1215</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_CombinedIndexPortfolioNet3_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141586"
      unitRef="pure">0.0754</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_CombinedIndexPortfolioNet3_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141587"
      unitRef="pure">0.0760</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnSinceInception
      contextRef="Context_20241231_20241231_CombinedIndexPortfolioNet3_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="_131_"
      unitRef="pure">0.0836</rr:AverageAnnualReturnSinceInception>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_LipperBalancedFundsIndex_S000002068Member_S000002068Summary1Member"
      id="ixv-141589">Lipper 
Balanced Funds Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_LipperBalancedFundsIndex4_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141590"
      unitRef="pure">0.1083</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_LipperBalancedFundsIndex4_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141591"
      unitRef="pure">0.0678</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_LipperBalancedFundsIndex4_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141592"
      unitRef="pure">0.0678</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnSinceInception
      contextRef="Context_20241231_20241231_LipperBalancedFundsIndex4_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="_136_"
      unitRef="pure">0.0759</rr:AverageAnnualReturnSinceInception>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141594">Updated performance information is available through troweprice.com.</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141595">troweprice.com</rr:PerformanceAvailabilityWebSiteAddress>
    <dei:DocumentType contextRef="Context_20241231_20241231" id="ixv-141598">485BPOS</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Context_20241231_20241231" id="ixv-141599">2024-12-31</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="Context_20241231_20241231" id="ixv-141600">0000871839</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="Context_20241231_20241231" id="ixv-141601">false</dei:AmendmentFlag>
    <dei:DocumentCreationDate contextRef="Context_20241231_20241231" id="ixv-141602">2025-02-25</dei:DocumentCreationDate>
    <dei:DocumentEffectiveDate contextRef="Context_20241231_20241231" id="ixv-141603">2025-03-01</dei:DocumentEffectiveDate>
    <dei:EntityInvCompanyType contextRef="Context_20241231_20241231" id="ixv-141604">N-1A</dei:EntityInvCompanyType>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141605">~ http://troweprice.com/20241231/role/RRSchedule4 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141606">~ http://troweprice.com/20241231/role/RRSchedule5 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141607">~ http://troweprice.com/20241231/role/RRSchedule6 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141608">~ http://troweprice.com/20241231/role/RRBarChart7 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141609">~ http://troweprice.com/20241231/role/RRSchedule8 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualReturn2015
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141866"
      unitRef="pure">0.0065</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141867"
      unitRef="pure">0.0592</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141868"
      unitRef="pure">0.1801</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141869"
      unitRef="pure">-0.0492</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141870"
      unitRef="pure">0.2074</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141871"
      unitRef="pure">0.1457</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141872"
      unitRef="pure">0.1336</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141873"
      unitRef="pure">-0.1726</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141874"
      unitRef="pure">0.1799</rr:AnnualReturn2023>
    <rr:AnnualReturn2024
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      decimals="INF"
      id="ixv-141875"
      unitRef="pure">0.1184</rr:AnnualReturn2024>
    <rr:ExpensesNotCorrelatedToRatioDueToAcquiredFundFees
      contextRef="Context_20241231_20241231_C000005423Member_S000002068Member_S000002068Summary1Member"
      id="ixv-141883">The figures shown in the 
fee table do not match the &#x201c;Ratios to average net assets&#x201d; shown in the Financial Highlights table, 
as those figures do not include acquired fund fees and expenses.</rr:ExpensesNotCorrelatedToRatioDueToAcquiredFundFees>
    <rr:ExpensesNotCorrelatedToRatioDueToAcquiredFundFees
      contextRef="Context_20241231_20241231_C000166328Member_S000002068Member_S000002068Summary1Member"
      id="ixv-141884">The figures shown in the 
fee table do not match the &#x201c;Ratios to average net assets&#x201d; shown in the Financial Highlights table, 
as those figures do not include acquired fund fees and expenses.</rr:ExpensesNotCorrelatedToRatioDueToAcquiredFundFees>
    <cik0000871839:CustomRisksTableTextBlock
      contextRef="Context_20241231_20241231_S000002068Member_S000002068Summary1Member"
      id="ixv-141885">~ http://troweprice.com/20241231/role/RRSchedule9 ~</cik0000871839:CustomRisksTableTextBlock>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc xlink:href="#_17_" xlink:label="_17_" xlink:type="locator"/>
        <link:footnote id="fn1_" xlink:label="fn1_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; text-decoration:none;">Subject to certain exceptions 
and account minimums, accounts are charged an annual $20 fee.</xhtml:p></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_17_"
          xlink:to="fn1_"
          xlink:type="arc"/>
        <link:loc xlink:href="#_29_" xlink:label="_29_" xlink:type="locator"/>
        <link:loc xlink:href="#_30_" xlink:label="_30_" xlink:type="locator"/>
        <link:loc xlink:href="#_25_" xlink:label="_25_" xlink:type="locator"/>
        <link:loc xlink:href="#_26_" xlink:label="_26_" xlink:type="locator"/>
        <link:footnote id="fn2_" xlink:label="fn2_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; text-decoration:none;">The figures shown in the 
fee table do not match the &#x201c;Ratios to average net assets&#x201d; shown in the Financial Highlights table, 
as those figures do not include acquired fund fees and expenses.</xhtml:p></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_29_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_30_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_25_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_26_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:loc xlink:href="#_28_" xlink:label="_28_" xlink:type="locator"/>
        <link:loc xlink:href="#_27_" xlink:label="_27_" xlink:type="locator"/>
        <link:footnote id="fn3_" xlink:label="fn3_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:p style="font-size:8.0pt; font-family:Arial; text-align:left; font-weight:normal; text-decoration:none;">T. Rowe Price Associates, 
Inc., permanently waives a portion of the fund&#x2019;s management fee in order to ensure that the fund&#x2019;s 
management fee does not duplicate the fund&#x2019;s management fees of each underlying fund.</xhtml:p></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_28_"
          xlink:to="fn3_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_27_"
          xlink:to="fn3_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_114_"
          xlink:label="_114_"
          xlink:type="locator"/>
        <link:footnote id="fn4_" xlink:label="fn4_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-size:7.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;">Due 
to new SEC Rules on shareholder reporting, the fund adopted a new broad-based securities market index, 
referred to as the Regulatory Benchmark.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_114_"
          xlink:to="fn4_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_127_"
          xlink:label="_127_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_126_"
          xlink:label="_126_"
          xlink:type="locator"/>
        <link:footnote id="fn5_" xlink:label="fn5_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-size:7.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;">Combined Index Portfolio is an unmanaged blended benchmark 
that from 5/1/11 through 7/31/12, was composed of 51.35%-46.14% domestic stocks (S&amp;P 500 Index), 
35% bonds (Bloomberg U.S. Aggregate Index), and 13.65%-18.86% international stocks (MSCI EAFE Index Net). 
Since 8/1/12, the blended benchmark has been composed of 45.5% domestic stocks (S&amp;P 500 Index), 35% 
bonds (Bloomberg U.S. Aggregate Index), and 19.5% international stocks (MSCI EAFE Index Net). The indices 
and percentages may vary over time.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_127_"
          xlink:to="fn5_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_126_"
          xlink:to="fn5_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_136_"
          xlink:label="_136_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_119_"
          xlink:label="_119_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_125_"
          xlink:label="_125_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_131_"
          xlink:label="_131_"
          xlink:type="locator"/>
        <link:footnote id="fn6_" xlink:label="fn6_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-size:7.0pt; font-family:Arial; font-style:normal; font-weight:normal; text-decoration:none;">Return 
since 12/17/15.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_136_"
          xlink:to="fn6_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_119_"
          xlink:to="fn6_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_125_"
          xlink:to="fn6_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_131_"
          xlink:to="fn6_"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
