{
 "version": "2.2",
 "instance": {
  "c485bpos.htm": {
   "nsprefix": "cik0000871839",
   "nsuri": "http://troweprice.com/20231231",
   "dts": {
    "schema": {
     "local": [
      "c485bpos-20240425.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "https://www.xbrl.org/dtr/type/2022-03-31/types.xsd",
      "https://xbrl.sec.gov/dei/2023/dei-2023.xsd",
      "https://xbrl.sec.gov/rr/2023/rr-2023.xsd"
     ]
    },
    "calculationLink": {
     "local": [
      "c485bpos-20240425_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "c485bpos-20240425_def.xml"
     ]
    },
    "labelLink": {
     "local": [
      "c485bpos-20240425_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "c485bpos-20240425_pre.xml"
     ]
    },
    "inline": {
     "local": [
      "c485bpos.htm"
     ]
    }
   },
   "keyStandard": 78,
   "keyCustom": 1,
   "axisStandard": 4,
   "axisCustom": 0,
   "memberStandard": 3,
   "memberCustom": 21,
   "hidden": {
    "total": 22,
    "http://xbrl.sec.gov/dei/2023": 7,
    "http://xbrl.sec.gov/rr/2023": 15
   },
   "contextCount": 25,
   "entityCount": 1,
   "segmentCount": 24,
   "elementCount": 134,
   "unitCount": 3,
   "baseTaxonomies": {
    "http://xbrl.sec.gov/rr/2023": 118,
    "http://xbrl.sec.gov/dei/2023": 8
   },
   "report": {
    "S1": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "body",
       "html"
      ],
      "baseRef": "c485bpos.htm",
      "contextRef": "Context",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "true",
     "longName": "000152316 - Disclosure - Document and Entity Information",
     "section": 0,
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "body",
       "html"
      ],
      "baseRef": "c485bpos.htm",
      "contextRef": "Context",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S2": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c485bpos.htm",
      "contextRef": "Context_S000002068Member_S000002068Summary1Member",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000152318 - Disclosure - T. Rowe Price Balanced Fund, Inc.",
     "section": 1,
     "shortName": "T. Rowe Price Balanced Fund, Inc.",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c485bpos.htm",
      "contextRef": "Context_S000002068Member_S000002068Summary1Member",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:RiskReturnHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R1": {
     "role": "http://troweprice.com/20231231/role/DocumentAndEntityInformation1",
     "longName": "01001 - Document - Document and Entity Information {Elements}",
     "shortName": "Document and Entity Information",
     "isDefault": "false",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "1",
     "firstAnchor": {
      "contextRef": "Context",
      "name": "dei:EntityRegistrantName",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Context",
      "name": "dei:EntityRegistrantName",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://troweprice.com/20231231/role/RRSummary2",
     "longName": "01002 - Document - Risk/Return Summary (T. Rowe Price Balanced Fund, Inc.) {Unlabeled}",
     "shortName": "Risk/Return Summary (T. Rowe Price Balanced Fund, Inc.)",
     "isDefault": "false",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "2",
     "firstAnchor": {
      "contextRef": "Context_S000002068Member_S000002068Summary1Member",
      "name": "rr:RiskReturnHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Context_S000002068Member_S000002068Summary1Member",
      "name": "cik0000871839:CustomRisksTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "unique": true
     }
    },
    "R3": {
     "role": "http://troweprice.com/20231231/role/RRDetailData3",
     "longName": "01003 - Disclosure - Risk/Return Detail Data (T. Rowe Price Balanced Fund, Inc.) {Elements}",
     "shortName": "Risk/Return Detail Data (T. Rowe Price Balanced Fund, Inc.)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "3",
     "firstAnchor": {
      "contextRef": "Context_S000002068Member_S000002068Summary1Member",
      "name": "rr:RiskReturnHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Context_S000002068Member_S000002068Summary1Member",
      "name": "rr:PortfolioTurnoverRate",
      "unitRef": "pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "rr:PortfolioTurnoverTextBlock",
       "p",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "c485bpos.htm",
      "unique": true
     }
    }
   },
   "tag": {
    "rr_AcquiredFundFeesAndExpensesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AcquiredFundFeesAndExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_ExpensesOverAssets",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule5"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired fund fees and expenses",
        "documentation": "Total Annual Fund Operating Expenses."
       }
      }
     },
     "auth_ref": [
      "r22"
     ]
    },
    "cik0000871839_ActivemanagementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "ActivemanagementMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_ActivemanagementMember [Member]",
        "terseLabel": "Active management",
        "documentation": "Active management"
       }
      }
     },
     "auth_ref": []
    },
    "rr_AfterTaxesOnDistributionsAndSalesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AfterTaxesOnDistributionsAndSalesMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "After Taxes on Distributions and Sales",
        "terseLabel": "After Taxes on Distributions and Sales",
        "documentation": "Calculate the taxes due on any distributions by the Fund by applying the tax rates specified in Instruction 4 to each component of the distributions on the reinvestment date (e.g., ordinary income, short-term capital gain, long-term capital gain). The taxable amount and tax character of each distribution should be as specified by the Fund on the dividend declaration date, but may be adjusted to reflect subsequent recharacterizations of distributions. Distributions should be adjusted to reflect the federal tax impact the distribution would have on an individual taxpayer on the reinvestment date. For example, assume no taxes are due on the portion of any distribution that would not result in federal income tax on an individual, e.g., tax-exempt interest or non-taxable returns of capital. The effect of applicable tax credits, such as the foreign tax credit, should be taken into account in accordance with federal tax law."
       }
      }
     },
     "auth_ref": []
    },
    "rr_AfterTaxesOnDistributionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AfterTaxesOnDistributionsMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "After Taxes on Distributions",
        "terseLabel": "After Taxes on Distributions",
        "documentation": "Calculate the taxes due on any distributions by the Fund by applying the tax rates specified in Instruction 4 to each component of the distributions on the reinvestment date (e.g., ordinary income, short-term capital gain, long-term capital gain). The taxable amount and tax character of each distribution should be as specified by the Fund on the dividend declaration date, but may be adjusted to reflect subsequent recharacterizations of distributions. Distributions should be adjusted to reflect the federal tax impact the distribution would have on an individual taxpayer on the reinvestment date. For example, assume no taxes are due on the portion of any distribution that would not result in federal income tax on an individual, e.g., tax-exempt interest or non-taxable returns of capital. The effect of applicable tax credits, such as the foreign tax credit, should be taken into account in accordance with federal tax law."
       }
      }
     },
     "auth_ref": []
    },
    "rr_AllRisksMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AllRisksMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Risks [Member]",
        "terseLabel": "All Risks [Member]",
        "documentation": "The default member of the Risk Axis."
       }
      }
     },
     "auth_ref": [
      "r27"
     ]
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "rr_AnnualFundOperatingExpensesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AnnualFundOperatingExpensesTableTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Fund Operating Expenses [Table]",
        "terseLabel": "Annual Fund Operating Expenses [Table]",
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to OperatingExpensesData."
       }
      }
     },
     "auth_ref": []
    },
    "rr_AnnualReturn2014": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AnnualReturn2014",
     "presentation": [
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2014",
        "terseLabel": "Annual Return 2014",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_AnnualReturn2015": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AnnualReturn2015",
     "presentation": [
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2015",
        "terseLabel": "Annual Return 2015",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_AnnualReturn2016": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AnnualReturn2016",
     "presentation": [
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2016",
        "terseLabel": "Annual Return 2016",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_AnnualReturn2017": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AnnualReturn2017",
     "presentation": [
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2017",
        "terseLabel": "Annual Return 2017",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_AnnualReturn2018": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AnnualReturn2018",
     "presentation": [
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2018",
        "terseLabel": "Annual Return 2018",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_AnnualReturn2019": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AnnualReturn2019",
     "presentation": [
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2019",
        "terseLabel": "Annual Return 2019",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_AnnualReturn2020": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AnnualReturn2020",
     "presentation": [
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2020",
        "terseLabel": "Annual Return 2020",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_AnnualReturn2021": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AnnualReturn2021",
     "presentation": [
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2021",
        "terseLabel": "Annual Return 2021",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_AnnualReturn2022": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AnnualReturn2022",
     "presentation": [
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2022",
        "terseLabel": "Annual Return 2022",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_AnnualReturn2023": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AnnualReturn2023",
     "presentation": [
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return 2023",
        "terseLabel": "Annual Return 2023",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets)."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_AverageAnnualReturnInceptionDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AverageAnnualReturnInceptionDate",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inception Date",
        "terseLabel": "Inception Date",
        "documentation": "Return Before Taxes."
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "rr_AverageAnnualReturnLabel": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AverageAnnualReturnLabel",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Label",
        "terseLabel": "Label",
        "documentation": "This item represents Average Annual Total Returns. If a Multiple Class Fund offers a Class in the prospectus that converts into another Class after a stated period, compute average annual total returns in the table by using the returns of the other Class for the period after conversion."
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "rr_AverageAnnualReturnSinceInception": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AverageAnnualReturnSinceInception",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Since Inception",
        "terseLabel": "Since Inception",
        "documentation": "Return Before Taxes."
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "rr_AverageAnnualReturnYear01": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AverageAnnualReturnYear01",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "1 Year",
        "terseLabel": "1 Year",
        "documentation": "Return Before Taxes."
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "rr_AverageAnnualReturnYear05": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AverageAnnualReturnYear05",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "5 Years",
        "terseLabel": "5 Years",
        "documentation": "Return Before Taxes."
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "rr_AverageAnnualReturnYear10": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "AverageAnnualReturnYear10",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "10 Years",
        "terseLabel": "10 Years",
        "documentation": "Return Before Taxes."
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "rr_BarChartAndPerformanceTableHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "BarChartAndPerformanceTableHeading",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart and Performance Table [Heading]",
        "terseLabel": "Bar Chart and Performance Table [Heading]",
        "documentation": "Risk/Return Bar Chart and Table."
       }
      }
     },
     "auth_ref": [
      "r29"
     ]
    },
    "rr_BarChartClosingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "BarChartClosingTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart Closing [Text Block]",
        "terseLabel": "Bar Chart Closing [Text Block]",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_BarChartDoesNotReflectSalesLoads": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "BarChartDoesNotReflectSalesLoads",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart Does Not Reflect Sales Loads [Text]",
        "terseLabel": "Bar Chart Does Not Reflect Sales Loads [Text]",
        "documentation": "Include the bar chart and table required by Item 4 (b)(2)(ii) and (iii) of this section. Provide a brief explanation of how the information illustrates the variability of the Fund's returns (e.g., by stating that the information provides some indication of the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund's average annual returns for 1, 5, and 10 years compare with those of a broad measure of market performance). Provide a statement to the effect that the Fund's past performance (before and after taxes) is not necessarily an indication of how the Fund will perform in the future.  Provide annual total returns beginning with the earliest calendar year. Calculate annual returns using the Instructions to Item 8(a), except that the calculations should be based on calendar years. If a Fund's shares are sold subject to a sales load or account fees, state that sales loads or account fees are not reflected in the bar chart and that, if these amounts were reflected, returns would be less than those shown."
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "rr_BarChartHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "BarChartHeading",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart [Heading]",
        "terseLabel": "Bar Chart [Heading]",
        "documentation": "Risk/Return Bar Chart and Table."
       }
      }
     },
     "auth_ref": [
      "r29"
     ]
    },
    "rr_BarChartHighestQuarterlyReturn": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "BarChartHighestQuarterlyReturn",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Quarterly Return",
        "terseLabel": "Highest Quarterly Return",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_BarChartHighestQuarterlyReturnDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "BarChartHighestQuarterlyReturnDate",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Quarterly Return, Date",
        "terseLabel": "Highest Quarterly Return, Date",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_BarChartLowestQuarterlyReturn": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "BarChartLowestQuarterlyReturn",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Quarterly Return",
        "terseLabel": "Lowest Quarterly Return",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_BarChartLowestQuarterlyReturnDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "BarChartLowestQuarterlyReturnDate",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Quarterly Return, Date",
        "terseLabel": "Lowest Quarterly Return, Date",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_BarChartTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "BarChartTableTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart [Table]",
        "terseLabel": "Bar Chart [Table]",
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to BarChartData."
       }
      }
     },
     "auth_ref": []
    },
    "rr_BarChartYearToDateReturn": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "BarChartYearToDateReturn",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart, Year to Date Return",
        "terseLabel": "Bar Chart, Year to Date Return",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_BarChartYearToDateReturnDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "BarChartYearToDateReturnDate",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart, Year to Date Return, Date",
        "terseLabel": "Bar Chart, Year to Date Return, Date",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "cik0000871839_C000005423Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "C000005423Member",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule4",
      "http://troweprice.com/20231231/role/RRSchedule5",
      "http://troweprice.com/20231231/role/RRSchedule6",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C 000005423 [Member]",
        "terseLabel": "Investor Class",
        "documentation": "Investor Class"
       }
      }
     },
     "auth_ref": []
    },
    "cik0000871839_C000166328Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "C000166328Member",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule4",
      "http://troweprice.com/20231231/role/RRSchedule5",
      "http://troweprice.com/20231231/role/RRSchedule6",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C 000166328 [Member]",
        "terseLabel": "I Class",
        "documentation": "I Class"
       }
      }
     },
     "auth_ref": []
    },
    "cik0000871839_CombinedIndexPortfolioNet2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "CombinedIndexPortfolioNet2Member",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_CombinedIndexPortfolioNet2Member [Member]",
        "terseLabel": "Combined Index Portfolio Net",
        "documentation": "Combined Index Portfolio Net"
       }
      }
     },
     "auth_ref": []
    },
    "cik0000871839_CombinedIndexPortfolioNetMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "CombinedIndexPortfolioNetMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_CombinedIndexPortfolioNetMember [Member]",
        "terseLabel": "Combined Index Portfolio Net",
        "documentation": "Combined Index Portfolio Net"
       }
      }
     },
     "auth_ref": []
    },
    "rr_Component1OtherExpensesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "Component1OtherExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_OtherExpensesOverAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Fund may subdivide this caption into no more than three subcaptions that identify the largest expense or expenses comprising \"Other Expenses,\" but must include a total of all \"Other Expenses.\" Alternatively, the Fund may include the components of \"Other Expenses\" in a parenthetical to the caption."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "rr_Component2OtherExpensesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "Component2OtherExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_OtherExpensesOverAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Fund may subdivide this caption into no more than three subcaptions that identify the largest expense or expenses comprising \"Other Expenses,\" but must include a total of all \"Other Expenses.\" Alternatively, the Fund may include the components of \"Other Expenses\" in a parenthetical to the caption."
       }
      }
     },
     "auth_ref": [
      "r21"
     ]
    },
    "rr_Component3OtherExpensesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "Component3OtherExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_OtherExpensesOverAssets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Fund may subdivide this caption into no more than three subcaptions that identify the largest expense or expenses comprising \"Other Expenses,\" but must include a total of all \"Other Expenses.\" Alternatively, the Fund may include the components of \"Other Expenses\" in a parenthetical to the caption."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "cik0000871839_CreditqualityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "CreditqualityMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_CreditqualityMember [Member]",
        "terseLabel": "Credit quality",
        "documentation": "Credit quality"
       }
      }
     },
     "auth_ref": []
    },
    "cik0000871839_CustomRisksTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "CustomRisksTableTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risks [Table Text Block]",
        "terseLabel": "Risks [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "cik0000871839_CybersecuritybreachesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "CybersecuritybreachesMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_CybersecuritybreachesMember [Member]",
        "terseLabel": "Cybersecurity breaches",
        "documentation": "Cybersecurity breaches"
       }
      }
     },
     "auth_ref": []
    },
    "rr_DistributionAndService12b1FeesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "DistributionAndService12b1FeesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_ExpensesOverAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Distribution [and/or Service] (12b-1) Fees\" include all distribution or other expenses incurred during the most recent fiscal year under a plan adopted pursuant to rule 12b-1 [17 CFR 270.12b-1]. Under an appropriate caption or a subcaption of \"Other Expenses,\" disclose the amount of any distribution or similar expenses deducted from the Fund's assets other than pursuant to a rule 12b-1 plan."
       }
      }
     },
     "auth_ref": [
      "r24"
     ]
    },
    "rr_DistributionOrSimilarNon12b1FeesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "DistributionOrSimilarNon12b1FeesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_ExpensesOverAssets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Distribution [and/or Service] (12b-1) Fees\" include all distribution or other expenses incurred during the most recent fiscal year under a plan adopted pursuant to rule 12b-1 [17 CFR 270.12b-1]. Under an appropriate caption or a subcaption of \"Other Expenses,\" disclose the amount of any distribution or similar expenses deducted from the Fund's assets other than pursuant to a rule 12b-1 plan."
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "dei_DocumentCreationDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentCreationDate",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Creation Date",
        "terseLabel": "Document Creation Date",
        "documentation": "The date the document was made available and submitted, in YYYY-MM-DD format. The date of submission, date of acceptance by the recipient, and the document effective date are all potentially different."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentDomain",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule4",
      "http://troweprice.com/20231231/role/RRSchedule5",
      "http://troweprice.com/20231231/role/RRSchedule6",
      "http://troweprice.com/20231231/role/RRSchedule8",
      "http://troweprice.com/20231231/role/RRSchedule9",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus",
        "terseLabel": "Prospectus",
        "documentation": "Type of the document as assigned by the filer, corresponding to SEC document naming convention standards."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentEffectiveDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentEffectiveDate",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Effective Date",
        "terseLabel": "Document Effective Date",
        "documentation": "The date when a document, upon receipt and acceptance, becomes officially effective, in YYYY-MM-DD format. Usually it is a system-assigned date time value, but it may be declared by the submitter in some cases."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentInformationDocumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentInformationDocumentAxis",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule4",
      "http://troweprice.com/20231231/role/RRSchedule5",
      "http://troweprice.com/20231231/role/RRSchedule6",
      "http://troweprice.com/20231231/role/RRSchedule8",
      "http://troweprice.com/20231231/role/RRSchedule9",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document [Axis]",
        "terseLabel": "Document [Axis]",
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date",
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentType",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "terseLabel": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "cik0000871839_EmergingmarketsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "EmergingmarketsMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_EmergingmarketsMember [Member]",
        "terseLabel": "Emerging markets",
        "documentation": "Emerging markets"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r0"
     ]
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityDomain",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule4",
      "http://troweprice.com/20231231/role/RRSchedule5",
      "http://troweprice.com/20231231/role/RRSchedule6",
      "http://troweprice.com/20231231/role/RRSchedule8",
      "http://troweprice.com/20231231/role/RRSchedule9",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityInvCompanyType": {
     "xbrltype": "invCompanyType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityInvCompanyType",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EntityInvCompanyType",
        "terseLabel": "EntityInvCompanyType",
        "documentation": "One of: N-1A (Mutual Fund), N-1 (Open-End Separate Account with No Variable Annuities), N-2 (Closed-End Investment Company), N-3 (Separate Account Registered as Open-End Management Investment Company), N-4 (Variable Annuity UIT Separate Account), N-5 (Small Business Investment Company), N-6 (Variable Life UIT Separate Account), S-1 or S-3 (Face Amount Certificate Company), S-6 (UIT, Non-Insurance Product)."
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Registrant Name",
        "terseLabel": "Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r0"
     ]
    },
    "rr_ExpenseExampleHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ExpenseExampleHeading",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example [Heading]",
        "terseLabel": "Expense Example [Heading]",
        "documentation": "Heading for Expense Example."
       }
      }
     },
     "auth_ref": [
      "r18"
     ]
    },
    "rr_ExpenseExampleNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ExpenseExampleNarrativeTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example Narrative [Text Block]",
        "terseLabel": "Expense Example Narrative [Text Block]",
        "documentation": "The Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds."
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "rr_ExpenseExampleNoRedemptionTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ExpenseExampleNoRedemptionTableTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption [Table]",
        "terseLabel": "Expense Example, No Redemption [Table]",
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to ExpenseExampleNoRedemption."
       }
      }
     },
     "auth_ref": []
    },
    "rr_ExpenseExampleWithRedemptionTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ExpenseExampleWithRedemptionTableTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, With Redemption [Table]",
        "terseLabel": "Expense Example, With Redemption [Table]",
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to ExpenseExample."
       }
      }
     },
     "auth_ref": []
    },
    "rr_ExpenseExampleYear01": {
     "xbrltype": "NonNegativeMonetaryType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ExpenseExampleYear01",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule6"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, with Redemption, 1 Year",
        "terseLabel": "1 Year",
        "documentation": "The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower."
       }
      }
     },
     "auth_ref": [
      "r18"
     ]
    },
    "rr_ExpenseExampleYear03": {
     "xbrltype": "NonNegativeMonetaryType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ExpenseExampleYear03",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule6"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, with Redemption, 3 Years",
        "terseLabel": "3 Years",
        "documentation": "The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower."
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "rr_ExpenseExampleYear05": {
     "xbrltype": "NonNegativeMonetaryType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ExpenseExampleYear05",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule6"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, with Redemption, 5 Years",
        "terseLabel": "5 Years",
        "documentation": "The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower."
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "rr_ExpenseExampleYear10": {
     "xbrltype": "NonNegativeMonetaryType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ExpenseExampleYear10",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule6"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, with Redemption, 10 Years",
        "terseLabel": "10 Years",
        "documentation": "The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower."
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "rr_ExpenseHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ExpenseHeading",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense [Heading]",
        "terseLabel": "Expense [Heading]",
        "documentation": "Risk/Return Summary Fee Table Includes the following information, in plain English under rule 421(d) under the Securities Act, after Item 2 Fees and expenses of the Fund This table describes the fees and expenses that you may pay if you buy and hold shared of the Fund. You may qualify for sales charge discounts if you and your family invest, or agree to invest in the future, at least $[_____] in [name of fund family] funds. Shareholder Fees (fees paid directly from your investment) Example This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower, based on these assumptions your costs would be You would pay the following expenses if you did not redeem your shares The Example does not reflect sales charges (loads) on reinvested dividends [and other distributions]. If these sales charges (loads) were included, your costs would be higher. Portfolio Turnover The Fund pays transaction costs, such as commissions, when it buys and sells securities (or \"turns over\" its portfolio). A higher portfolio turnover may indicate higher transaction costs. These costs, which are not reflected in annual fund operating expenses or in the example, affect the Fund's performance. During the most recent fiscal year, the Fund's portfolio turnover rate was __% of the average value of its whole portfolio. Instructions.  A.3.instructions.6 New Funds. For purposes of this Item, a \"New Fund\" is a Fund that does not include in Form N-1A financial statements reporting operating results or that includes financial statements for the Fund's initial fiscal year reporting operating results for a period of 6 months or less. The following Instructions apply to New Funds."
       }
      }
     },
     "auth_ref": [
      "r11"
     ]
    },
    "rr_ExpenseNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ExpenseNarrativeTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Narrative [Text Block]",
        "terseLabel": "Expense Narrative [Text Block]",
        "documentation": "This table describes the fees and expenses that you may pay if you buy, hold, and sell shares of the Fund. 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. You may qualify for sales charge discounts if you and your family invest, or agree to invest in the future, at least $[ ] in [name of fund family] funds. More information about these and other discounts is available from your financial intermediary and in [identify section heading and page number] of the Fund's prospectus and [identify section heading and page number] of the Fund's statement of additional information"
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "rr_ExpensesNotCorrelatedToRatioDueToAcquiredFundFees": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ExpensesNotCorrelatedToRatioDueToAcquiredFundFees",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Not Correlated to Ratio Due to Acquired Fund Fees [Text]",
        "terseLabel": "Expenses Not Correlated to Ratio Due to Acquired Fund Fees [Text]",
        "documentation": "The Fund may clarify in a footnote to the fee table that the total annual fund operating expenses under Item 3 do not correlate to the ratio of expenses to average net assets given in response to Item 8, which reflects the operating expenses of the Fund and does not include Acquired Fund fees and expenses."
       }
      }
     },
     "auth_ref": [
      "r17"
     ]
    },
    "rr_ExpensesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_NetExpensesOverAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule5"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total annual fund operating expenses",
        "documentation": "Total Annual Fund Operating Expenses. If the Fund is a Feeder Fund, reflect the aggregate expenses of the Feeder Fund and the Master Fund in a single fee table using the captions provided. In a footnote to the fee table, state that the table and Example reflect the expenses of both the Feeder and Master Funds. If the prospectus offers more than one Class of a Multiple Class Fund or more than one Feeder Fund that invests in the same Master Fund, provide a separate response for each Class or Feeder Fund.  Base the percentages of \"Annual Fund Operating Expenses\" on amounts incurred during the Fund's most recent fiscal year, but include in expenses amounts that would have been incurred absent expense reimbursement or fee waiver arrangements. If the Fund has changed its fiscal year and, as a result, the most recent fiscal year is less than three months, use the fiscal year prior to the most recent fiscal year as the basis for determining \"Annual Fund Operating Expenses.\""
       }
      }
     },
     "auth_ref": [
      "r16"
     ]
    },
    "rr_FeeWaiverOrReimbursementOverAssets": {
     "xbrltype": "NonPositivePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "FeeWaiverOrReimbursementOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_NetExpensesOverAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule5"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fee waiver/expense reimbursement",
        "documentation": "Total Annual Fund Operating Expenses. If there were expense reimbursement or fee waiver arrangements that reduced any Fund operating expenses and will continue to reduce them for no less than one year from the effective date of the Fund's registration statement, a Fund may add two captions to the table one caption showing the amount of the expense reimbursement or fee waiver, and a second caption showing the Fund's net expenses after subtracting the fee reimbursement or expense waiver from the total fund operating expenses. The Fund should place these additional captions directly below the \"Total Annual Fund Operating Expenses\" caption of the table and should use appropriate descriptive captions, such as \"Fee Waiver [and/or Expense Reimbursement]\" and \"Total Annual Fund Operating Expenses After Fee Waiver [and/or Expense Reimbursement],\" respectively. If the Fund provides this disclosure, also disclose the period for which the expense reimbursement or fee waiver arrangement is expected to continue, and briefly describe who can terminate the arrangement and under what circumstances."
       }
      }
     },
     "auth_ref": [
      "r22"
     ]
    },
    "cik0000871839_FixedincomemarketsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "FixedincomemarketsMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_FixedincomemarketsMember [Member]",
        "terseLabel": "Fixed income markets",
        "documentation": "Fixed income markets"
       }
      }
     },
     "auth_ref": []
    },
    "rr_HighestQuarterlyReturnLabel": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "HighestQuarterlyReturnLabel",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Quarterly Return, Label",
        "terseLabel": "Label",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_IndexNoDeductionForFeesExpensesTaxes": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "IndexNoDeductionForFeesExpensesTaxes",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Index No Deduction for Fees, Expenses, Taxes [Text]",
        "terseLabel": "Index No Deduction for Fees, Expenses, Taxes [Text]",
        "documentation": "The Performance Table includes a parenthetical, indicating that the Index \"(reflects no deduction for fees, expenses or taxes)\".  This tag is used when this is reflected in a footnote."
       }
      }
     },
     "auth_ref": [
      "r34"
     ]
    },
    "cik0000871839_InterestratesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "InterestratesMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_InterestratesMember [Member]",
        "terseLabel": "Interest rates",
        "documentation": "Interest rates"
       }
      }
     },
     "auth_ref": []
    },
    "cik0000871839_InternationalinvestingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "InternationalinvestingMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_InternationalinvestingMember [Member]",
        "terseLabel": "International investing",
        "documentation": "International investing"
       }
      }
     },
     "auth_ref": []
    },
    "cik0000871839_InvestmentsinotherfundsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "InvestmentsinotherfundsMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_InvestmentsinotherfundsMember [Member]",
        "terseLabel": "Investments in other funds",
        "documentation": "Investments in other funds"
       }
      }
     },
     "auth_ref": []
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule4",
      "http://troweprice.com/20231231/role/RRSchedule5",
      "http://troweprice.com/20231231/role/RRSchedule6",
      "http://troweprice.com/20231231/role/RRSchedule8",
      "http://troweprice.com/20231231/role/RRSchedule9",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Series [Axis]",
        "terseLabel": "Series [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "cik0000871839_LipperBalancedFundsIndex3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "LipperBalancedFundsIndex3Member",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_LipperBalancedFundsIndex3Member [Member]",
        "terseLabel": "Lipper Balanced Funds Index",
        "documentation": "Lipper Balanced Funds Index"
       }
      }
     },
     "auth_ref": []
    },
    "cik0000871839_LipperBalancedFundsIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "LipperBalancedFundsIndexMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_LipperBalancedFundsIndexMember [Member]",
        "terseLabel": "Lipper Balanced Funds Index",
        "documentation": "Lipper Balanced Funds Index"
       }
      }
     },
     "auth_ref": []
    },
    "cik0000871839_LiquidityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "LiquidityMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_LiquidityMember [Member]",
        "terseLabel": "Liquidity",
        "documentation": "Liquidity"
       }
      }
     },
     "auth_ref": []
    },
    "rr_LowestQuarterlyReturnLabel": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "LowestQuarterlyReturnLabel",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Quarterly Return, Label",
        "terseLabel": "Label",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "rr_ManagementFeesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ManagementFeesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_ExpensesOverAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule5"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management fees",
        "documentation": "Management Fees include investment advisory fees (including any fees based on the Fund's performance), any other management fees payable to the investment adviser or its affiliates, and administrative fees payable to the investment adviser or its affiliates that are not included as \"Other Expenses.\""
       }
      }
     },
     "auth_ref": [
      "r12"
     ]
    },
    "rr_MarketIndexPerformanceTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "MarketIndexPerformanceTableTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Market Index Performance [Table]",
        "terseLabel": "Market Index Performance [Table]",
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to MarketIndexPerformanceData."
       }
      }
     },
     "auth_ref": []
    },
    "cik0000871839_MarketconditionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "MarketconditionsMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_MarketconditionsMember [Member]",
        "terseLabel": "Market conditions",
        "documentation": "Market conditions"
       }
      }
     },
     "auth_ref": []
    },
    "rr_MaximumAccountFee": {
     "xbrltype": "NonNegativeMonetaryType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "MaximumAccountFee",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule4"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum account fee",
        "documentation": "Include the caption \"Maximum Account Fees\" only if the Fund charges these fees. A Fund may omit other captions if the Fund does not charge the fees or expenses covered by the captions.  Disclose account fees that may be charged to a typical investor in the Fund; fees that apply to only a limited number of shareholders based on their particular circumstances need not be disclosed. Include a caption describing the maximum account fee (e.g., \"Maximum Account Maintenance Fee\" or \"Maximum Cash Management Fee\"). State the maximum annual account fee as either a fixed dollar amount or a percentage of assets. Include in a parenthetical to the caption the basis on which any percentage is calculated. If an account fee is charged only to accounts that do not meet a certain threshold (e.g., accounts under $5)"
       }
      }
     },
     "auth_ref": [
      "r10"
     ]
    },
    "cik0000871839_MorningstarModerateTargetRiskIndex1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "MorningstarModerateTargetRiskIndex1Member",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_MorningstarModerateTargetRiskIndex1Member [Member]",
        "terseLabel": "Morningstar Moderate Target Risk Index",
        "documentation": "Morningstar Moderate Target Risk Index"
       }
      }
     },
     "auth_ref": []
    },
    "cik0000871839_MorningstarModerateTargetRiskIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "MorningstarModerateTargetRiskIndexMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_MorningstarModerateTargetRiskIndexMember [Member]",
        "terseLabel": "Morningstar Moderate Target Risk Index",
        "documentation": "Morningstar Moderate Target Risk Index"
       }
      }
     },
     "auth_ref": []
    },
    "rr_NetExpensesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "NetExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule5"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total annual fund operating expenses after fee waiver/expense reimbursement",
        "documentation": "Total Annual Fund Operating Expenses."
       }
      }
     },
     "auth_ref": [
      "r22"
     ]
    },
    "rr_ObjectiveHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ObjectiveHeading",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Objective [Heading]",
        "terseLabel": "Objective [Heading]",
        "documentation": "Investment Objectives/Goals. Disclose the Fund's investment objectives or goals. A Fund also may identify its type or category (e.g., that it is a Money Market Fund or a balanced fund)."
       }
      }
     },
     "auth_ref": [
      "r5"
     ]
    },
    "rr_ObjectivePrimaryTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ObjectivePrimaryTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Objective, Primary [Text Block]",
        "terseLabel": "Objective, Primary [Text Block]",
        "documentation": "Investment Objectives/Goals. Disclose the Fund's investment objectives or goals. A Fund also may identify its type or category (e.g., that it is a Money Market Fund or a balanced fund)."
       }
      }
     },
     "auth_ref": [
      "r5"
     ]
    },
    "rr_OperatingExpensesCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "OperatingExpensesCaption",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses Caption [Text]",
        "terseLabel": "Operating Expenses Caption [Text]",
        "documentation": "Annual Fund Operating Expenses (ongoing expenses that you pay each year as a percentage of the value of your investment)"
       }
      }
     },
     "auth_ref": [
      "r23"
     ]
    },
    "rr_OtherExpensesOverAssets": {
     "xbrltype": "NonNegativePure4Type",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "OtherExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "rr_ExpensesOverAssets",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule5"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other expenses",
        "documentation": "\"Other Expenses\" include all expenses not otherwise disclosed in the table that are deducted from the Fund's assets or charged to all shareholder accounts. The amount of expenses deducted from the Fund's assets are the amounts shown as expenses in the Fund's statement of operations (including increases resulting from complying with paragraph 2(g) of rule 6-07 of Regulation S-X [17 CFR 210.6-07]).  \"Other Expenses\" do not include extraordinary expenses as determined under generally accepted accounting principles (see Accounting Principles Board Opinion No. 30). If extraordinary expenses were incurred that materially affected the Fund's \"Other Expenses,\" disclose in a footnote to the table what \"Other Expenses\" would have been had the extraordinary expenses been included."
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "rr_PerformanceAvailabilityWebSiteAddress": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PerformanceAvailabilityWebSiteAddress",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Availability Website Address [Text]",
        "terseLabel": "Performance Availability Website Address [Text]",
        "documentation": "If applicable, include a statement explaining that updated performance information is available and providing a Website address and/or toll-free (or collect) telephone number where the updated information may be obtained."
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "rr_PerformanceInformationIllustratesVariabilityOfReturns": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PerformanceInformationIllustratesVariabilityOfReturns",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Information Illustrates Variability of Returns [Text]",
        "terseLabel": "Performance Information Illustrates Variability of Returns [Text]",
        "documentation": "Include the bar chart and table required by paragraphs (b)(2)(ii) and (iii) of this section. Provide a brief explanation of how the information illustrates the variability of the Fund's returns (e.g., by stating that the information provides some indication of the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund's average annual returns for 1, 5, and 10 years compare with those of a broad measure of market performance). Provide a statement to the effect that the Fund's past performance (before and after taxes) is not necessarily an indication of how the Fund will perform in the future."
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "rr_PerformanceMeasureAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PerformanceMeasureAxis",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Measure [Axis]",
        "terseLabel": "Performance Measure [Axis]",
        "documentation": "The Performance Measure Axis has members that distinguish different returns according to whether they are Before Taxes (the default), After Taxes on Distributions, After Taxes on Distributions and Sales, or are a pre-tax measure of returns based on a broadly available market index."
       }
      }
     },
     "auth_ref": []
    },
    "rr_PerformanceMeasureDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PerformanceMeasureDomain",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Before Taxes",
        "terseLabel": "Before Taxes",
        "documentation": "The default member of the Performance Measure axis. It represents any return that is measured before taxes."
       }
      }
     },
     "auth_ref": []
    },
    "rr_PerformanceNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PerformanceNarrativeTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Narrative [Text Block]",
        "terseLabel": "Performance Narrative [Text Block]",
        "documentation": "Risk/Return Bar Chart and Table."
       }
      }
     },
     "auth_ref": [
      "r29"
     ]
    },
    "rr_PerformanceOneYearOrLess": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PerformanceOneYearOrLess",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance One Year or Less [Text]",
        "terseLabel": "Performance One Year or Less [Text]",
        "documentation": "For a Fund that provides annual total returns for only one calendar year or for a Fund that does not include the bar chart because it does not have annual returns for a full calendar year, modify, as appropriate, the narrative explanation required by stating that the information gives some indication of the risks of an investment in the Fund by comparing the Fund's performance with a broad measure of market performance). Provide a brief explanation of how the information illustrates the variability of the Fund's returns (e.g., by stating that the information provides some indication of the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund's average annual returns for 1, 5, and 10 years compare with those of a broad measure of market performance). Provide a statement to the effect that the Fund's past performance (before and after taxes) is not necessarily an indication of how the Fund will perform in the future."
       }
      }
     },
     "auth_ref": [
      "r30",
      "r35"
     ]
    },
    "rr_PerformancePastDoesNotIndicateFuture": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PerformancePastDoesNotIndicateFuture",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Past Does Not Indicate Future [Text]",
        "terseLabel": "Performance Past Does Not Indicate Future [Text]",
        "documentation": "Include the bar chart and table required by paragraphs (b)(2)(ii) and (iii) of this section. Provide a brief explanation of how the information illustrates the variability of the Fund's returns (e.g., by stating that the information provides some indication of the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund's average annual returns for 1, 5, and 10 years compare with those of a broad measure of market performance). Provide a statement to the effect that the Fund's past performance (before and after taxes) is not necessarily an indication of how the Fund will perform in the future."
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "rr_PerformanceTableClosingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PerformanceTableClosingTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Closing [Text Block]",
        "terseLabel": "Performance Table Closing [Text Block]",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a table showing the Fund's (A) average annual total return; (B) average annual total return (after taxes on distributions); and (C) average annual total return (after taxes on distributions and redemption). A Money Market Fund should show only the returns described in clause (A) of the preceding sentence. All returns should be shown for 1-, 5-, and 10- calendar year periods ending on the date of the most recently completed calendar year (or for the life of the Fund, if shorter), but only for periods subsequent to the effective date of the Fund's registration statement. The table also should show the returns of an appropriate broad-based securities market index as defined in Instruction 5 to Item 22(b)(7) for the same periods. A Fund that has been in existence for more than 10 years also may include returns for the life of the Fund. A Money Market Fund may provide the Fund's 7-day yield ending on the date of the most recent calendar year or disclose a toll-free (or collect) telephone number that investors can use to obtain the Fund's current 7-day yield. For a Fund (other than a Money Market Fund or a Fund described in General Instruction C.3.(d)(iii)), provide the information in the following table with the specified captions AVERAGE ANNUAL TOTAL RETURNS (For the periods ended December 31, _____)"
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "rr_PerformanceTableExplanationAfterTaxHigher": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PerformanceTableExplanationAfterTaxHigher",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Explanation after Tax Higher",
        "terseLabel": "Performance Table Explanation after Tax Higher",
        "documentation": "If average annual total return (after taxes on distributions and redemption) is higher than average annual total return, the reason for this result may be explained."
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "rr_PerformanceTableHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PerformanceTableHeading",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Heading",
        "terseLabel": "Performance Table Heading",
        "documentation": "This item represents Average Annual Total Returns. If a Multiple Class Fund offers a Class in the prospectus that converts into another Class after a stated period, compute average annual total returns in the table by using the returns of the other Class for the period after conversion."
       }
      }
     },
     "auth_ref": [
      "r36"
     ]
    },
    "rr_PerformanceTableNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PerformanceTableNarrativeTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Narrative",
        "terseLabel": "Performance Table Narrative",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a table showing the Fund's (A) average annual total return; (B) average annual total return (after taxes on distributions); and (C) average annual total return (after taxes on distributions and redemption). A Money Market Fund should show only the returns described in clause (A) of the preceding sentence. All returns should be shown for 1-, 5-, and 10- calendar year periods ending on the date of the most recently completed calendar year (or for the life of the Fund, if shorter), but only for periods subsequent to the effective date of the Fund's registration statement. The table also should show the returns of an appropriate broad-based securities market index as defined in Instruction 5 to Item 22(b)(7) for the same periods. A Fund that has been in existence for more than 10 years also may include returns for the life of the Fund. A Money Market Fund may provide the Fund's 7-day yield ending on the date of the most recent calendar year or disclose a toll-free (or collect) telephone number that investors can use to obtain the Fund's current 7-day yield. For a Fund (other than a Money Market Fund or a Fund described in General Instruction C.3.(d)(iii)), provide the information in the following table with the specified captions AVERAGE ANNUAL TOTAL RETURNS (For the periods ended December 31, _____). For a Fund that provides annual total returns for only one calendar year or for a Fund that does not include the bar chart because it does not have annual returns for a full calendar year, modify, as appropriate, the narrative explanation required by paragraph (c)(2)(i) (e.g., by stating that the information gives some indication of the risks of an investment in the Fund by comparing the Fund's performance with a broad measure of market performance)."
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "rr_PerformanceTableNotRelevantToTaxDeferred": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PerformanceTableNotRelevantToTaxDeferred",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Not Relevant to Tax Deferred",
        "terseLabel": "Performance Table Not Relevant to Tax Deferred",
        "documentation": "Provide a brief explanation that the actual after-tax returns depend on an investor's tax situation and may differ from those shown, and after-tax returns shown are not relevant to investors who hold their Fund shares through tax-deferred arrangements, such as 401(k) plans or individual retirement accounts."
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "rr_PerformanceTableOneClassOfAfterTaxShown": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PerformanceTableOneClassOfAfterTaxShown",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table One Class of after Tax Shown [Text]",
        "terseLabel": "Performance Table One Class of after Tax Shown [Text]",
        "documentation": "Provide a brief explanation that if the Fund is a Multiple Class Fund that offers more than one Class in the prospectus, after-tax returns are shown for only one Class and after-tax returns for other Classes will vary."
       }
      }
     },
     "auth_ref": [
      "r32",
      "r40"
     ]
    },
    "rr_PerformanceTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PerformanceTableTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance [Table]",
        "terseLabel": "Performance [Table]",
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to PerformanceTableData."
       }
      }
     },
     "auth_ref": []
    },
    "rr_PerformanceTableUsesHighestFederalRate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PerformanceTableUsesHighestFederalRate",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Uses Highest Federal Rate",
        "terseLabel": "Performance Table Uses Highest Federal Rate",
        "documentation": "Provide a brief explanation that after-tax returns are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes."
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "rr_PortfolioTurnoverHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PortfolioTurnoverHeading",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portfolio Turnover [Heading]",
        "terseLabel": "Portfolio Turnover [Heading]",
        "documentation": "Disclose the portfolio turnover rate provided in response to Item 14(a) for the most recent fiscal year (or for such shorter period as the Fund has been in operation). Disclose the period for which the information is provided if less than a full fiscal year. A Fund that is a Money Market Fund may omit the portfolio turnover information required by this Item."
       }
      }
     },
     "auth_ref": [
      "r19"
     ]
    },
    "rr_PortfolioTurnoverRate": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PortfolioTurnoverRate",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portfolio Turnover, Rate",
        "terseLabel": "Portfolio Turnover, Rate",
        "documentation": "This element represents the rate of portfolio turnover presented as a percentage (SEC Form N-1A 2006-09-14 A.3.example.3 Portfolio Turnover  A.3.instructions.5 Portfolio Turnover)."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "rr_PortfolioTurnoverTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "PortfolioTurnoverTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portfolio Turnover [Text Block]",
        "terseLabel": "Portfolio Turnover [Text Block]",
        "documentation": "Disclose the portfolio turnover rate provided in response to Item 14(a) for the most recent fiscal year (or for such shorter period as the Fund has been in operation). Disclose the period for which the information is provided if less than a full fiscal year. A Fund that is a Money Market Fund may omit the portfolio turnover information required by this Item."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "cik0000871839_PrepaymentsandextensionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "PrepaymentsandextensionsMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_PrepaymentsandextensionsMember [Member]",
        "terseLabel": "Prepayments and extensions",
        "documentation": "Prepayments and extensions"
       }
      }
     },
     "auth_ref": []
    },
    "rr_ProspectusDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ProspectusDate",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus Date",
        "terseLabel": "Prospectus Date",
        "documentation": "The date of the prospectus."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "rr_ProspectusShareClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ProspectusShareClassAxis",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule4",
      "http://troweprice.com/20231231/role/RRSchedule5",
      "http://troweprice.com/20231231/role/RRSchedule6",
      "http://troweprice.com/20231231/role/RRSchedule8",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Class [Axis]",
        "terseLabel": "Share Class [Axis]",
        "documentation": "Prospectus Share Class Axis."
       }
      }
     },
     "auth_ref": [
      "r1"
     ]
    },
    "rr_ProspectusTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ProspectusTable",
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus:",
        "terseLabel": "Prospectus:",
        "documentation": "Prospectus Table."
       }
      }
     },
     "auth_ref": [
      "r1"
     ]
    },
    "rr_RiskAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "RiskAxis",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Axis]",
        "terseLabel": "Risk [Axis]",
        "documentation": "The Risk Axis has members that distinguish different !TODO!"
       }
      }
     },
     "auth_ref": [
      "r27"
     ]
    },
    "rr_RiskHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "RiskHeading",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Heading]",
        "terseLabel": "Risk [Heading]",
        "documentation": "Narrative Risk Disclosure."
       }
      }
     },
     "auth_ref": [
      "r26"
     ]
    },
    "rr_RiskLoseMoneyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "RiskLoseMoneyMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Lose Money [Member]",
        "terseLabel": "Risk Lose Money [Member]",
        "documentation": "Unless the Fund is a Money Market Fund, disclose in a Risk Text Block that loss of money is a risk of investing in the Fund. If the Fund is a Money Market Fund, include the following statement: \"You could lose money by investing in the Fund.\""
       }
      }
     },
     "auth_ref": [
      "r26"
     ]
    },
    "rr_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Money Market Fund May Impose Fees or Suspend Sales [Member]",
        "terseLabel": "Risk Money Market Fund May Impose Fees or Suspend Sales [Member]",
        "documentation": "In a Risk Text Block, include the statement \"The Fund may impose a fee upon sale of your shares or may temporarily suspend your ability to sell shares if the Fund's liquidity falls below required minimums because of market conditions or other factors.\""
       }
      }
     },
     "auth_ref": [
      "r28"
     ]
    },
    "rr_RiskMoneyMarketFundMayNotPreserveDollarMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "RiskMoneyMarketFundMayNotPreserveDollarMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Money Market Fund May Not Preserve Dollar [Member]",
        "terseLabel": "Risk Money Market Fund May Not Preserve Dollar [Member]",
        "documentation": "In a Risk Text Block, include the statement \"Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.\""
       }
      }
     },
     "auth_ref": [
      "r28"
     ]
    },
    "rr_RiskMoneyMarketFundSponsorMayNotProvideSupportMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "RiskMoneyMarketFundSponsorMayNotProvideSupportMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Money Market Fund Sponsor May Not Provide Support [Member]",
        "terseLabel": "Risk Money Market Fund Sponsor May Not Provide Support [Member]",
        "documentation": "In a Risk Text Block, include the statement \"The Fund's sponsor has no legal obligation to provide financial support to the Fund, and you should not expect that the sponsor will provide financial support to the Fund at any time.\""
       }
      }
     },
     "auth_ref": [
      "r28"
     ]
    },
    "rr_RiskNotInsuredMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "RiskNotInsuredMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Not Insured [Member]",
        "terseLabel": "Risk Not Insured [Member]",
        "documentation": "In a Risk Text Block, include the statement \"An investment in the Fund is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.\""
       }
      }
     },
     "auth_ref": [
      "r28"
     ]
    },
    "rr_RiskReturnAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "RiskReturnAbstract",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule4",
      "http://troweprice.com/20231231/role/RRSchedule5",
      "http://troweprice.com/20231231/role/RRSchedule6",
      "http://troweprice.com/20231231/role/RRSchedule8",
      "http://troweprice.com/20231231/role/RRSchedule9",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk/Return:",
        "terseLabel": "Risk/Return:"
       }
      }
     },
     "auth_ref": []
    },
    "rr_RiskReturnHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "RiskReturnHeading",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk/Return [Heading]",
        "terseLabel": "Risk/Return [Heading]",
        "documentation": "Risk/Return Summary Investment Objectives/Goals Include the following information, in plain English under rule 421(d) under the Securities Act, in the order and subject matter indicated"
       }
      }
     },
     "auth_ref": [
      "r4"
     ]
    },
    "rr_RiskTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "RiskTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Text Block]",
        "terseLabel": "Risk [Text Block]",
        "documentation": "Text block containing a risk heading and narrative for a single risk."
       }
      }
     },
     "auth_ref": [
      "r27"
     ]
    },
    "cik0000871839_S000002068Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "S000002068Member",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule4",
      "http://troweprice.com/20231231/role/RRSchedule5",
      "http://troweprice.com/20231231/role/RRSchedule6",
      "http://troweprice.com/20231231/role/RRSchedule8",
      "http://troweprice.com/20231231/role/RRSchedule9",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "S 000002068 [Member]",
        "terseLabel": "T. Rowe Price Balanced Fund, Inc.",
        "documentation": "T. Rowe Price Balanced Fund, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "cik0000871839_S000002068Summary1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "S000002068Summary1Member",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule4",
      "http://troweprice.com/20231231/role/RRSchedule5",
      "http://troweprice.com/20231231/role/RRSchedule6",
      "http://troweprice.com/20231231/role/RRSchedule8",
      "http://troweprice.com/20231231/role/RRSchedule9",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "S 000002068 Summary1 [Member]",
        "terseLabel": "Prospectus Summary",
        "documentation": "Prospectus Summary"
       }
      }
     },
     "auth_ref": []
    },
    "rr_ShareClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ShareClassDomain",
     "presentation": [
      "http://troweprice.com/20231231/role/DocumentAndEntityInformation1",
      "http://troweprice.com/20231231/role/RRBarChart7",
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule4",
      "http://troweprice.com/20231231/role/RRSchedule5",
      "http://troweprice.com/20231231/role/RRSchedule6",
      "http://troweprice.com/20231231/role/RRSchedule8",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All members of this domain must be elements with name starting with \"C\" and consisting of a 9-digit Fund share class CIK."
       }
      }
     },
     "auth_ref": [
      "r2"
     ]
    },
    "rr_ShareholderFeesCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ShareholderFeesCaption",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Fees Caption [Text]",
        "terseLabel": "Shareholder Fees Caption [Text]",
        "documentation": "Shareholder Fees (fees paid directly from your investment)."
       }
      }
     },
     "auth_ref": [
      "r20"
     ]
    },
    "rr_ShareholderFeesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "ShareholderFeesTableTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Fees [Table]",
        "terseLabel": "Shareholder Fees [Table]",
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to ShareholderFeesData."
       }
      }
     },
     "auth_ref": []
    },
    "cik0000871839_StockinvestingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://troweprice.com/20231231",
     "localname": "StockinvestingMember",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSchedule9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "cik0000871839_StockinvestingMember [Member]",
        "terseLabel": "Stock investing",
        "documentation": "Stock investing"
       }
      }
     },
     "auth_ref": []
    },
    "rr_StrategyHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "StrategyHeading",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Strategy [Heading]",
        "terseLabel": "Strategy [Heading]",
        "documentation": "Principal investment strategies of the Fund. Summarize how the Fund intends to achieve its investment objectives by identifying the Fund's principal investment strategies (including the type or types of securities in which the Fund invests or will invest principally) and any policy to concentrate in securities of issuers in a particular industry or group of industries."
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "rr_StrategyNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "StrategyNarrativeTextBlock",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3",
      "http://troweprice.com/20231231/role/RRSummary2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Strategy Narrative [Text Block]",
        "terseLabel": "Strategy Narrative [Text Block]",
        "documentation": "Principal investment strategies of the Fund. Summarize how the Fund intends to achieve its investment objectives by identifying the Fund's principal investment strategies (including the type or types of securities in which the Fund invests or will invest principally) and any policy to concentrate in securities of issuers in a particular industry or group of industries."
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "rr_StrategyPortfolioConcentration": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "StrategyPortfolioConcentration",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Strategy Portfolio Concentration [Text]",
        "terseLabel": "Strategy Portfolio Concentration [Text]",
        "documentation": "Principal investment strategies of the Fund. Summarize how the Fund intends to achieve its investment objectives by identifying the Fund's principal investment strategies (including the type or types of securities in which the Fund invests or will invest principally) and any policy to concentrate in securities of issuers in a particular industry or group of industries."
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "rr_YearToDateReturnLabel": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/rr/2023",
     "localname": "YearToDateReturnLabel",
     "presentation": [
      "http://troweprice.com/20231231/role/RRDetailData3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Year to Date Return, Label",
        "terseLabel": "Year to Date Return, Label",
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r1": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A"
  },
  "r2": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "1",
   "Subsection": "a",
   "Paragraph": "1"
  },
  "r3": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "1",
   "Subsection": "a",
   "Paragraph": "3"
  },
  "r4": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "2"
  },
  "r5": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "2",
   "Subsection": "a"
  },
  "r6": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "example",
   "Paragraph": "1",
   "Subparagraph": "1"
  },
  "r7": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "example",
   "Paragraph": "1",
   "Subparagraph": "2"
  },
  "r8": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "example",
   "Paragraph": "3"
  },
  "r9": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "1",
   "Subparagraph": "b"
  },
  "r10": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "1",
   "Subparagraph": "c"
  },
  "r11": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "1",
   "Subparagraph": "d"
  },
  "r12": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "3",
   "Subparagraph": "a"
  },
  "r13": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "3",
   "Subparagraph": "b"
  },
  "r14": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "3",
   "Subparagraph": "c",
   "Clause": "i"
  },
  "r15": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "3",
   "Subparagraph": "c",
   "Clause": "iii"
  },
  "r16": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "3",
   "Subparagraph": "d"
  },
  "r17": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "3",
   "Subparagraph": "f",
   "Clause": "vii"
  },
  "r18": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "4"
  },
  "r19": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instructions",
   "Paragraph": "5"
  },
  "r20": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "table",
   "Paragraph": "1"
  },
  "r21": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "table",
   "Paragraph": "1",
   "Subparagraph": "10"
  },
  "r22": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "table",
   "Paragraph": "1",
   "Subparagraph": "11"
  },
  "r23": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "table",
   "Paragraph": "1",
   "Subparagraph": "7"
  },
  "r24": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "table",
   "Paragraph": "1",
   "Subparagraph": "9"
  },
  "r25": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "a"
  },
  "r26": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r27": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Clause": "instruction"
  },
  "r28": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r29": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2"
  },
  "r30": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "i"
  },
  "r31": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "ii"
  },
  "r32": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r33": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Clause": "1",
   "Exhibit": "2"
  },
  "r34": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Clause": "1",
   "Exhibit": "5"
  },
  "r35": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "instructions",
   "Clause": "1",
   "Exhibit": "b"
  },
  "r36": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "instructions",
   "Clause": "3",
   "Exhibit": "c"
  },
  "r37": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "instructions",
   "Clause": "4"
  },
  "r38": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv"
  },
  "r39": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv",
   "Clause": "B"
  },
  "r40": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv",
   "Clause": "C"
  },
  "r41": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv",
   "Clause": "D"
  },
  "r42": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "313"
  }
 }
}
