<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>159</ContextCount>
  <ElementCount>322</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>65</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - COVER</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/COVER</Role>
      <ShortName>COVER</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>9952151 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952152 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952153 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952154 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952155 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS??? EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS??? EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952156 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952157 - Disclosure - THE COMPANY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/THECOMPANY</Role>
      <ShortName>THE COMPANY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - REVENUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/REVENUE</Role>
      <ShortName>REVENUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - BUSINESS COMBINATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/BUSINESSCOMBINATION</Role>
      <ShortName>BUSINESS COMBINATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - GOODWILL AND INTANGIBLE ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/GOODWILLANDINTANGIBLEASSETS</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - BALANCE SHEET COMPONENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/BALANCESHEETCOMPONENTS</Role>
      <ShortName>BALANCE SHEET COMPONENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - CONTENT ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/CONTENTASSETS</Role>
      <ShortName>CONTENT ASSETS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - STRATEGIC INVESTMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/STRATEGICINVESTMENTS</Role>
      <ShortName>STRATEGIC INVESTMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - FAIR VALUE DISCLOSURE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/FAIRVALUEDISCLOSURE</Role>
      <ShortName>FAIR VALUE DISCLOSURE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - LEASES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/LEASES</Role>
      <ShortName>LEASES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - DEBT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/DEBT</Role>
      <ShortName>DEBT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - STOCKHOLDERS??? EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/STOCKHOLDERSEQUITY</Role>
      <ShortName>STOCKHOLDERS??? EQUITY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - COMMITMENTS AND CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/COMMITMENTSANDCONTINGENCIES</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/INCOMETAXES</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - NET INCOME (LOSS) PER SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/NETINCOMELOSSPERSHARE</Role>
      <ShortName>NET INCOME (LOSS) PER SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952172 - Disclosure - SEGMENT INFORMATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/SEGMENTINFORMATION</Role>
      <ShortName>SEGMENT INFORMATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.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>24</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - REVENUE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/REVENUETables</Role>
      <ShortName>REVENUE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.roku.com/role/REVENUE</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - GOODWILL AND INTANGIBLE ASSETS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/GOODWILLANDINTANGIBLEASSETSTables</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.roku.com/role/GOODWILLANDINTANGIBLEASSETS</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - BALANCE SHEET COMPONENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/BALANCESHEETCOMPONENTSTables</Role>
      <ShortName>BALANCE SHEET COMPONENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.roku.com/role/BALANCESHEETCOMPONENTS</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - CONTENT ASSETS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/CONTENTASSETSTables</Role>
      <ShortName>CONTENT ASSETS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.roku.com/role/CONTENTASSETS</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - FAIR VALUE DISCLOSURE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/FAIRVALUEDISCLOSURETables</Role>
      <ShortName>FAIR VALUE DISCLOSURE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.roku.com/role/FAIRVALUEDISCLOSURE</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - LEASES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/LEASESTables</Role>
      <ShortName>LEASES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.roku.com/role/LEASES</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - STOCKHOLDERS??? EQUITY (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/STOCKHOLDERSEQUITYTables</Role>
      <ShortName>STOCKHOLDERS??? EQUITY (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.roku.com/role/STOCKHOLDERSEQUITY</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - COMMITMENTS AND CONTINGENCIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/COMMITMENTSANDCONTINGENCIESTables</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.roku.com/role/COMMITMENTSANDCONTINGENCIES</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - NET INCOME (LOSS) PER SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/NETINCOMELOSSPERSHARETables</Role>
      <ShortName>NET INCOME (LOSS) PER SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.roku.com/role/NETINCOMELOSSPERSHARE</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - SEGMENT INFORMATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/SEGMENTINFORMATIONTables</Role>
      <ShortName>SEGMENT INFORMATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.roku.com/role/SEGMENTINFORMATION</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - THE COMPANY (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/THECOMPANYDetails</Role>
      <ShortName>THE COMPANY (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.roku.com/role/THECOMPANY</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.roku.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - REVENUE - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/REVENUENarrativeDetails</Role>
      <ShortName>REVENUE - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - REVENUE - Schedule of Contract Balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/REVENUEScheduleofContractBalancesDetails</Role>
      <ShortName>REVENUE - Schedule of Contract Balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - BUSINESS COMBINATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/BUSINESSCOMBINATIONDetails</Role>
      <ShortName>BUSINESS COMBINATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.roku.com/role/BUSINESSCOMBINATION</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - GOODWILL AND INTANGIBLE ASSETS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/GOODWILLANDINTANGIBLEASSETSNarrativeDetails</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - GOODWILL AND INTANGIBLE ASSETS - Summary of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/GOODWILLANDINTANGIBLEASSETSSummaryofIntangibleAssetsDetails</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS - Summary of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - GOODWILL AND INTANGIBLE ASSETS - Schedule of Estimated Future Amortization Expense for Intangible Asset (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/GOODWILLANDINTANGIBLEASSETSScheduleofEstimatedFutureAmortizationExpenseforIntangibleAssetDetails</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS - Schedule of Estimated Future Amortization Expense for Intangible Asset (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - BALANCE SHEET COMPONENTS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/BALANCESHEETCOMPONENTSNarrativeDetails</Role>
      <ShortName>BALANCE SHEET COMPONENTS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - BALANCE SHEET COMPONENTS - Schedule of Accounts Receivable, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/BALANCESHEETCOMPONENTSScheduleofAccountsReceivableNetDetails</Role>
      <ShortName>BALANCE SHEET COMPONENTS - Schedule of Accounts Receivable, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - BALANCE SHEET COMPONENTS - Schedule of Property and Equipment, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/BALANCESHEETCOMPONENTSScheduleofPropertyandEquipmentNetDetails</Role>
      <ShortName>BALANCE SHEET COMPONENTS - Schedule of Property and Equipment, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - BALANCE SHEET COMPONENTS - Schedule of Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/BALANCESHEETCOMPONENTSScheduleofAccruedLiabilitiesDetails</Role>
      <ShortName>BALANCE SHEET COMPONENTS - Schedule of Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - BALANCE SHEET COMPONENTS - Schedule of Other Long Term Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/BALANCESHEETCOMPONENTSScheduleofOtherLongTermLiabilitiesDetails</Role>
      <ShortName>BALANCE SHEET COMPONENTS - Schedule of Other Long Term Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - CONTENT ASSETS - Schedule of Content Assets Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/CONTENTASSETSScheduleofContentAssetsNetDetails</Role>
      <ShortName>CONTENT ASSETS - Schedule of Content Assets Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - CONTENT ASSETS - Schedule of Amortization of Content Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/CONTENTASSETSScheduleofAmortizationofContentAssetsDetails</Role>
      <ShortName>CONTENT ASSETS - Schedule of Amortization of Content Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - STRATEGIC INVESTMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/STRATEGICINVESTMENTSDetails</Role>
      <ShortName>STRATEGIC INVESTMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.roku.com/role/STRATEGICINVESTMENTS</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - FAIR VALUE DISCLOSURE - Schedule of Financial Assets Measured at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/FAIRVALUEDISCLOSUREScheduleofFinancialAssetsMeasuredatFairValueDetails</Role>
      <ShortName>FAIR VALUE DISCLOSURE - Schedule of Financial Assets Measured at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - FAIR VALUE DISCLOSURE - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/FAIRVALUEDISCLOSURENarrativeDetails</Role>
      <ShortName>FAIR VALUE DISCLOSURE - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - LEASES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/LEASESNarrativeDetails</Role>
      <ShortName>LEASES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - LEASES - Schedule of Components of Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/LEASESScheduleofComponentsofLeaseExpenseDetails</Role>
      <ShortName>LEASES - Schedule of Components of Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - LEASES - Schedule of Supplemental Cash Flow Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/LEASESScheduleofSupplementalCashFlowInformationRelatedtoLeasesDetails</Role>
      <ShortName>LEASES - Schedule of Supplemental Cash Flow Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - LEASES - Schedule of Supplemental Balance Sheet Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/LEASESScheduleofSupplementalBalanceSheetInformationRelatedtoLeasesDetails</Role>
      <ShortName>LEASES - Schedule of Supplemental Balance Sheet Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - LEASES - Schedule of Future Lease Payments under Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/LEASESScheduleofFutureLeasePaymentsunderOperatingLeasesDetails</Role>
      <ShortName>LEASES - Schedule of Future Lease Payments under Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - DEBT (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/DEBTDetails</Role>
      <ShortName>DEBT (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.roku.com/role/DEBT</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - STOCKHOLDERS??? EQUITY - Preferred Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/STOCKHOLDERSEQUITYPreferredStockDetails</Role>
      <ShortName>STOCKHOLDERS??? EQUITY - Preferred Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - STOCKHOLDERS??? EQUITY - Common Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/STOCKHOLDERSEQUITYCommonStockDetails</Role>
      <ShortName>STOCKHOLDERS??? EQUITY - Common Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - STOCKHOLDERS??? EQUITY - Stock Repurchase Program (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/STOCKHOLDERSEQUITYStockRepurchaseProgramDetails</Role>
      <ShortName>STOCKHOLDERS??? EQUITY - Stock Repurchase Program (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - STOCKHOLDERS??? EQUITY - Schedule of Share Repurchase Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/STOCKHOLDERSEQUITYScheduleofShareRepurchaseActivityDetails</Role>
      <ShortName>STOCKHOLDERS??? EQUITY - Schedule of Share Repurchase Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - STOCKHOLDERS??? EQUITY - Schedule of Reserved Shares of Common Stock for Issuance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/STOCKHOLDERSEQUITYScheduleofReservedSharesofCommonStockforIssuanceDetails</Role>
      <ShortName>STOCKHOLDERS??? EQUITY - Schedule of Reserved Shares of Common Stock for Issuance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - STOCKHOLDERS??? EQUITY - Equity Incentive Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/STOCKHOLDERSEQUITYEquityIncentivePlansDetails</Role>
      <ShortName>STOCKHOLDERS??? EQUITY - Equity Incentive Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - STOCKHOLDERS??? EQUITY - Summary of Restricted Stock Unit Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/STOCKHOLDERSEQUITYSummaryofRestrictedStockUnitActivityDetails</Role>
      <ShortName>STOCKHOLDERS??? EQUITY - Summary of Restricted Stock Unit Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - STOCKHOLDERS??? EQUITY - Restricted Stock Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/STOCKHOLDERSEQUITYRestrictedStockUnitsDetails</Role>
      <ShortName>STOCKHOLDERS??? EQUITY - Restricted Stock Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - STOCKHOLDERS??? EQUITY - Summary of Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/STOCKHOLDERSEQUITYSummaryofStockOptionActivityDetails</Role>
      <ShortName>STOCKHOLDERS??? EQUITY - Summary of Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955555 - Disclosure - STOCKHOLDERS??? EQUITY - Stock Option Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/STOCKHOLDERSEQUITYStockOptionPlanDetails</Role>
      <ShortName>STOCKHOLDERS??? EQUITY - Stock Option Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9955556 - Disclosure - STOCKHOLDERS??? EQUITY - Stock-based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/STOCKHOLDERSEQUITYStockbasedCompensationDetails</Role>
      <ShortName>STOCKHOLDERS??? EQUITY - Stock-based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - STOCKHOLDERS??? EQUITY - Schedule of Share-based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/STOCKHOLDERSEQUITYScheduleofSharebasedCompensationExpenseDetails</Role>
      <ShortName>STOCKHOLDERS??? EQUITY - Schedule of Share-based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9955558 - Disclosure - COMMITMENTS AND CONTINGENCIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/COMMITMENTSANDCONTINGENCIESDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.roku.com/role/COMMITMENTSANDCONTINGENCIESTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9955559 - Disclosure - INCOME TAXES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/INCOMETAXESDetails</Role>
      <ShortName>INCOME TAXES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.roku.com/role/INCOMETAXES</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9955560 - Disclosure - NET INCOME (LOSS) PER SHARE - Schedule of Calculation of Basic and Diluted Net Income (Loss) Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/NETINCOMELOSSPERSHAREScheduleofCalculationofBasicandDilutedNetIncomeLossPerShareDetails</Role>
      <ShortName>NET INCOME (LOSS) PER SHARE - Schedule of Calculation of Basic and Diluted Net Income (Loss) Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.roku.com/role/NETINCOMELOSSPERSHARETables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9955561 - Disclosure - NET INCOME (LOSS) PER SHARE - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/NETINCOMELOSSPERSHARENarrativeDetails</Role>
      <ShortName>NET INCOME (LOSS) PER SHARE - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.roku.com/role/NETINCOMELOSSPERSHARETables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9955562 - Disclosure - SEGMENT INFORMATION - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/SEGMENTINFORMATIONNarrativeDetails</Role>
      <ShortName>SEGMENT INFORMATION - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="roku-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9955563 - Disclosure - SEGMENT INFORMATION - Schedule of Customer Accounting for 10% or More of Segment Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.roku.com/role/SEGMENTINFORMATIONScheduleofCustomerAccountingfor10orMoreofSegmentRevenueDetails</Role>
      <ShortName>SEGMENT INFORMATION - Schedule of Customer Accounting for 10% or More of Segment Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</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-Q" isDefinitelyFs="true" isUsgaap="true" original="roku-20260331.htm">roku-20260331.htm</File>
    <File>roku-20260331.xsd</File>
    <File>roku-20260331_cal.xml</File>
    <File>roku-20260331_def.xml</File>
    <File>roku-20260331_lab.xml</File>
    <File>roku-20260331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="2">http://fasb.org/srt/2025</BaseTaxonomy>
    <BaseTaxonomy items="655">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="30">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="11">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
