<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>314</ContextCount>
  <ElementCount>500</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>101</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952151 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952152 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952153 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/ConsolidatedStatementsofComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952154 - Statement - Consolidated Statements of Comprehensive Income (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/ConsolidatedStatementsofComprehensiveIncomeParenthetical</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952155 - Statement - Consolidated Statements of Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/ConsolidatedStatementsofStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952156 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952157 - Disclosure - Description of the Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/DescriptionoftheBusiness</Role>
      <ShortName>Description of the Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/Investments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - Business Combinations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/BusinessCombinations</Role>
      <ShortName>Business Combinations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/GoodwillandIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/PropertyandEquipment</Role>
      <ShortName>Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - Derivative Contracts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/DerivativeContracts</Role>
      <ShortName>Derivative Contracts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - Supply Chain Finance Program</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SupplyChainFinanceProgram</Role>
      <ShortName>Supply Chain Finance Program</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - Deferred Revenue and Performance Obligations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/DeferredRevenueandPerformanceObligations</Role>
      <ShortName>Deferred Revenue and Performance Obligations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - Accrued Expenses and Other Current Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/AccruedExpensesandOtherCurrentLiabilities</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - Accumulated Other Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/AccumulatedOtherComprehensiveIncomeLoss</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - Equity Awards</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/EquityAwards</Role>
      <ShortName>Equity Awards</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9952172 - Disclosure - Net Income Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/NetIncomePerShare</Role>
      <ShortName>Net Income Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9952173 - Disclosure - Provision for (Benefit from) Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/ProvisionforBenefitfromIncomeTaxes</Role>
      <ShortName>Provision for (Benefit from) Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9952174 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9952175 - Disclosure - Segment and Geographic Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SegmentandGeographicInformation</Role>
      <ShortName>Segment and Geographic Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995550 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SummaryofSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/InvestmentsTables</Role>
      <ShortName>Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/Investments</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/FairValueMeasurements</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - Business Combinations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/BusinessCombinationsTables</Role>
      <ShortName>Business Combinations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/BusinessCombinations</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - Goodwill and Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/GoodwillandIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/GoodwillandIntangibleAssets</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/PropertyandEquipmentTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/PropertyandEquipment</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - Derivative Contracts (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/DerivativeContractsTables</Role>
      <ShortName>Derivative Contracts (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/DerivativeContracts</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - Supply Chain Finance Program (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SupplyChainFinanceProgramTables</Role>
      <ShortName>Supply Chain Finance Program (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/SupplyChainFinanceProgram</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - Accrued Expenses and Other Current Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/AccruedExpensesandOtherCurrentLiabilities</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/AccumulatedOtherComprehensiveIncomeLossTables</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/AccumulatedOtherComprehensiveIncomeLoss</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/StockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/StockholdersEquity</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - Equity Awards (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/EquityAwardsTables</Role>
      <ShortName>Equity Awards (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/EquityAwards</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - Net Income Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/NetIncomePerShareTables</Role>
      <ShortName>Net Income Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/NetIncomePerShare</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - Provision for (Benefit from) Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/ProvisionforBenefitfromIncomeTaxesTables</Role>
      <ShortName>Provision for (Benefit from) Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/ProvisionforBenefitfromIncomeTaxes</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/CommitmentsandContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/CommitmentsandContingencies</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - Segment and Geographic Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SegmentandGeographicInformationTables</Role>
      <ShortName>Segment and Geographic Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/SegmentandGeographicInformation</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - Summary of Significant Accounting Policies - Common Stock Split (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SummaryofSignificantAccountingPoliciesCommonStockSplitDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Common Stock Split (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - Summary of Significant Accounting Policies - Revenue Recognition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SummaryofSignificantAccountingPoliciesRevenueRecognitionDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Revenue Recognition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - Summary of Significant Accounting Policies - Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SummaryofSignificantAccountingPoliciesInvestmentsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - Summary of Significant Accounting Policies - Property and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SummaryofSignificantAccountingPoliciesPropertyandEquipmentDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Property and Equipment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - Summary of Significant Accounting Policies - Goodwill and Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SummaryofSignificantAccountingPoliciesGoodwillandIntangibleAssetsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Goodwill and Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - Summary of Significant Accounting Policies - Advertising Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SummaryofSignificantAccountingPoliciesAdvertisingCostsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Advertising Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - Summary of Significant Accounting Policies - Stock-based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SummaryofSignificantAccountingPoliciesStockbasedCompensationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Stock-based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - Summary of Significant Accounting Policies - Concentration of Credit Risk and Significant Customers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SummaryofSignificantAccountingPoliciesConcentrationofCreditRiskandSignificantCustomersDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Concentration of Credit Risk and Significant Customers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - Investments - Summary of Investments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/InvestmentsSummaryofInvestmentsDetail</Role>
      <ShortName>Investments - Summary of Investments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - Investments - Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/InvestmentsNarrativeDetail</Role>
      <ShortName>Investments - Narrative (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - Investments - Maturities of Available-for-Sale Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/InvestmentsMaturitiesofAvailableforSaleInvestmentsDetails</Role>
      <ShortName>Investments - Maturities of Available-for-Sale Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - Fair Value Measurements (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/FairValueMeasurementsDetail</Role>
      <ShortName>Fair Value Measurements (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - Business Combinations - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/BusinessCombinationsNarrativeDetails</Role>
      <ShortName>Business Combinations - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - Business Combinations - Purchase Consideration (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/BusinessCombinationsPurchaseConsiderationDetails</Role>
      <ShortName>Business Combinations - Purchase Consideration (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - Business Combinations - Allocation of the Total Purchase Price (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/BusinessCombinationsAllocationoftheTotalPurchasePriceDetails</Role>
      <ShortName>Business Combinations - Allocation of the Total Purchase Price (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - Business Combinations - Identifiable Intangible Assets Acquired (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/BusinessCombinationsIdentifiableIntangibleAssetsAcquiredDetails</Role>
      <ShortName>Business Combinations - Identifiable Intangible Assets Acquired (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - Goodwill and Intangible Assets - Schedule of Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/GoodwillandIntangibleAssetsScheduleofGoodwillDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Schedule of Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - Goodwill and Intangible Assets - Schedule of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/GoodwillandIntangibleAssetsScheduleofIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Schedule of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - Goodwill and Intangible Assets - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/GoodwillandIntangibleAssetsNarrativeDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - Goodwill and Intangible Assets - Schedule of Estimated Future Amortization of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/GoodwillandIntangibleAssetsScheduleofEstimatedFutureAmortizationofIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Schedule of Estimated Future Amortization of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - Property and Equipment - Schedule of Property and Equipment, Net (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/PropertyandEquipmentScheduleofPropertyandEquipmentNetDetail</Role>
      <ShortName>Property and Equipment - Schedule of Property and Equipment, Net (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - Property and Equipment - Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/PropertyandEquipmentNarrativeDetail</Role>
      <ShortName>Property and Equipment - Narrative (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - Derivative Contracts - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/DerivativeContractsNarrativeDetails</Role>
      <ShortName>Derivative Contracts - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - Derivative Contracts - Fair Value by Balance Sheet Location (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/DerivativeContractsFairValuebyBalanceSheetLocationDetails</Role>
      <ShortName>Derivative Contracts - Fair Value by Balance Sheet Location (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - Supply Chain Finance Program (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SupplyChainFinanceProgramDetails</Role>
      <ShortName>Supply Chain Finance Program (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/SupplyChainFinanceProgramTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - Deferred Revenue and Performance Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/DeferredRevenueandPerformanceObligationsDetails</Role>
      <ShortName>Deferred Revenue and Performance Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/DeferredRevenueandPerformanceObligations</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - Accrued Expenses and Other Current Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetail</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9955555 - Disclosure - Debt - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/DebtNarrativeDetails</Role>
      <ShortName>Debt - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9955556 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/AccumulatedOtherComprehensiveIncomeLossDetails</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/AccumulatedOtherComprehensiveIncomeLossTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - Stockholders' Equity - Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/StockholdersEquityNarrativeDetail</Role>
      <ShortName>Stockholders' Equity - Narrative (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9955558 - Disclosure - Stockholders' Equity - Outstanding and Reserved Shares of Common Stock for Future Issuance (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/StockholdersEquityOutstandingandReservedSharesofCommonStockforFutureIssuanceDetail</Role>
      <ShortName>Stockholders' Equity - Outstanding and Reserved Shares of Common Stock for Future Issuance (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9955559 - Disclosure - Equity Awards - Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/EquityAwardsNarrativeDetail</Role>
      <ShortName>Equity Awards - Narrative (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>9955560 - Disclosure - Equity Awards - Summary of Stock Option Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/EquityAwardsSummaryofStockOptionActivityDetail</Role>
      <ShortName>Equity Awards - Summary of Stock Option Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>9955561 - Disclosure - Equity Awards - Restricted Stock Unit Table (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/EquityAwardsRestrictedStockUnitTableDetails</Role>
      <ShortName>Equity Awards - Restricted Stock Unit Table (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>9955562 - Disclosure - Equity Awards - Schedule of Fair Value Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/EquityAwardsScheduleofFairValueAssumptionsDetails</Role>
      <ShortName>Equity Awards - Schedule of Fair Value Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>9955563 - Disclosure - Net Income Per Share - Calculation of Basic and Diluted Net Income Per Share Attributable to Common Stockholders (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/NetIncomePerShareCalculationofBasicandDilutedNetIncomePerShareAttributabletoCommonStockholdersDetail</Role>
      <ShortName>Net Income Per Share - Calculation of Basic and Diluted Net Income Per Share Attributable to Common Stockholders (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>9955564 - Disclosure - Provision for (Benefit from) Income Taxes - Components of Loss From Continuing Operations Before Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/ProvisionforBenefitfromIncomeTaxesComponentsofLossFromContinuingOperationsBeforeIncomeTaxesDetail</Role>
      <ShortName>Provision for (Benefit from) Income Taxes - Components of Loss From Continuing Operations Before Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/ProvisionforBenefitfromIncomeTaxesTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>9955565 - Disclosure - Provision for (Benefit from) Income Taxes - Components of Provision for Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/ProvisionforBenefitfromIncomeTaxesComponentsofProvisionforIncomeTaxesDetail</Role>
      <ShortName>Provision for (Benefit from) Income Taxes - Components of Provision for Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/ProvisionforBenefitfromIncomeTaxesTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>9955566 - Disclosure - Provision for (Benefit from) Income Taxes - Reconciliation of Federal Income Tax Rate (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/ProvisionforBenefitfromIncomeTaxesReconciliationofFederalIncomeTaxRateDetail</Role>
      <ShortName>Provision for (Benefit from) Income Taxes - Reconciliation of Federal Income Tax Rate (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/ProvisionforBenefitfromIncomeTaxesTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>9955567 - Disclosure - Provision for (Benefit from) Income Taxes - Reconciliation of Deferred Tax Assets and Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/ProvisionforBenefitfromIncomeTaxesReconciliationofDeferredTaxAssetsandLiabilitiesDetail</Role>
      <ShortName>Provision for (Benefit from) Income Taxes - Reconciliation of Deferred Tax Assets and Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/ProvisionforBenefitfromIncomeTaxesTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>9955568 - Disclosure - Provision for (Benefit from) Income Taxes - Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/ProvisionforBenefitfromIncomeTaxesNarrativeDetail</Role>
      <ShortName>Provision for (Benefit from) Income Taxes - Narrative (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/ProvisionforBenefitfromIncomeTaxesTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>9955569 - Disclosure - Provision for (Benefit from) Income Taxes - Reconciliation of Beginning and Ending Balance of Total Unrecognized Tax Benefits (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/ProvisionforBenefitfromIncomeTaxesReconciliationofBeginningandEndingBalanceofTotalUnrecognizedTaxBenefitsDetail</Role>
      <ShortName>Provision for (Benefit from) Income Taxes - Reconciliation of Beginning and Ending Balance of Total Unrecognized Tax Benefits (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.servicenow.com/role/ProvisionforBenefitfromIncomeTaxesTables</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>9955570 - Disclosure - Commitments and Contingencies - Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/CommitmentsandContingenciesNarrativeDetail</Role>
      <ShortName>Commitments and Contingencies - Narrative (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>9955571 - Disclosure - Commitments and Contingencies - Annual Future Minimum Payments Under Operating Leases / Facility Exit Obligation (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/CommitmentsandContingenciesAnnualFutureMinimumPaymentsUnderOperatingLeasesFacilityExitObligationDetail</Role>
      <ShortName>Commitments and Contingencies - Annual Future Minimum Payments Under Operating Leases / Facility Exit Obligation (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>9955572 - Disclosure - Segment and Geographic Information - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SegmentandGeographicInformationNarrativeDetails</Role>
      <ShortName>Segment and Geographic Information - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>9955573 - Disclosure - Segment and Geographic Information - Revenues by Geographic Area (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SegmentandGeographicInformationRevenuesbyGeographicAreaDetail</Role>
      <ShortName>Segment and Geographic Information - Revenues by Geographic Area (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="now-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>9955574 - Disclosure - Segment and Geographic Information - Property and Equipment, Net by Geographic Area (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.servicenow.com/role/SegmentandGeographicInformationPropertyandEquipmentNetbyGeographicAreaDetail</Role>
      <ShortName>Segment and Geographic Information - Property and Equipment, Net by Geographic Area (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="now-20251231.htm">now-20251231.htm</File>
    <File>now-20251231.xsd</File>
    <File>now-20251231_cal.xml</File>
    <File>now-20251231_def.xml</File>
    <File>now-20251231_lab.xml</File>
    <File>now-20251231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>now-20251231_g1.jpg</File>
    <File>now-20251231_g10.jpg</File>
    <File>now-20251231_g11.jpg</File>
    <File>now-20251231_g12.jpg</File>
    <File>now-20251231_g13.jpg</File>
    <File>now-20251231_g14.jpg</File>
    <File>now-20251231_g15.jpg</File>
    <File>now-20251231_g16.jpg</File>
    <File>now-20251231_g17.jpg</File>
    <File>now-20251231_g18.jpg</File>
    <File>now-20251231_g19.jpg</File>
    <File>now-20251231_g2.jpg</File>
    <File>now-20251231_g20.jpg</File>
    <File>now-20251231_g21.jpg</File>
    <File>now-20251231_g22.jpg</File>
    <File>now-20251231_g23.jpg</File>
    <File>now-20251231_g24.jpg</File>
    <File>now-20251231_g25.jpg</File>
    <File>now-20251231_g26.jpg</File>
    <File>now-20251231_g27.jpg</File>
    <File>now-20251231_g28.jpg</File>
    <File>now-20251231_g29.jpg</File>
    <File>now-20251231_g3.jpg</File>
    <File>now-20251231_g30.jpg</File>
    <File>now-20251231_g31.jpg</File>
    <File>now-20251231_g4.jpg</File>
    <File>now-20251231_g5.jpg</File>
    <File>now-20251231_g6.jpg</File>
    <File>now-20251231_g7.jpg</File>
    <File>now-20251231_g8.jpg</File>
    <File>now-20251231_g9.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="3">http://fasb.org/srt/2025</BaseTaxonomy>
    <BaseTaxonomy items="1201">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="15">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="38">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="13">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
