<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001138723</identifier>
        </entity>
        <period>
            <startDate>2026-05-27</startDate>
            <endDate>2026-05-27</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001138723</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-27</startDate>
            <endDate>2026-05-27</endDate>
        </period>
    </context>
    <context id="offrl_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001138723</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-27</startDate>
            <endDate>2026-05-27</endDate>
        </period>
    </context>
    <context id="offrl_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001138723</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-27</startDate>
            <endDate>2026-05-27</endDate>
        </period>
    </context>
    <context id="offrl_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001138723</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-27</startDate>
            <endDate>2026-05-27</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-231">S-8</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-232">S-8</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-233">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-234">0001138723</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-235">ACCURAY INC</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa">N/A</ffd:OffsetTableNa>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-238">false</ffd:PrevslyPdFlg>
    <ffd:PrevslyPdFlg contextRef="offrl_2" id="ixv-239">false</ffd:PrevslyPdFlg>
    <ffd:PrevslyPdFlg contextRef="offrl_3" id="ixv-240">false</ffd:PrevslyPdFlg>
    <ffd:PrevslyPdFlg contextRef="offrl_4" id="ixv-241">false</ffd:PrevslyPdFlg>
    <ffd:FormTp contextRef="rc" id="ixv-293">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-294">ACCURAY INC</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-295">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-296">Common Stock reserved for issuance pursuant to the Accuray Incorporated Stand-Alone Inducement Performance Unit Agreement for David Shin ("Shin PSU Award")</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_1" id="ixv-297">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_1"
      decimals="0"
      id="ixv-298"
      unitRef="Shares">375000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_1"
      decimals="2"
      id="ixv-299"
      unitRef="USD">0.32</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="2"
      id="ixv-300"
      unitRef="USD">120000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="7"
      id="ixv-301"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_1"
      decimals="2"
      id="ixv-302"
      unitRef="USD">16.57</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="offrl_2" id="ixv-303">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_2" id="ixv-304">    Common Stock reserved for issuance pursuant to the Accuray Incorporated Stand-Alone Inducement Restricted Stock Unit Agreement for David Shin ("Shin RSU Award")</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_2" id="ixv-305">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_2"
      decimals="0"
      id="ixv-306"
      unitRef="Shares">375000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_2"
      decimals="2"
      id="ixv-307"
      unitRef="USD">0.32</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_2"
      decimals="2"
      id="ixv-308"
      unitRef="USD">120000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_2"
      decimals="7"
      id="ixv-309"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_2"
      decimals="2"
      id="ixv-310"
      unitRef="USD">16.57</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="offrl_3" id="ixv-311">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_3" id="ixv-312">    Common Stock reserved for issuance pursuant to the Accuray Incorporated Stand-Alone Inducement Performance Unit Agreement for Paul Miele ("Miele PSU Award")</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_3" id="ixv-313">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_3"
      decimals="0"
      id="ixv-314"
      unitRef="Shares">650000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_3"
      decimals="2"
      id="ixv-315"
      unitRef="USD">0.32</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_3"
      decimals="2"
      id="ixv-316"
      unitRef="USD">208000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_3"
      decimals="7"
      id="ixv-317"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_3"
      decimals="2"
      id="ixv-318"
      unitRef="USD">28.72</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="offrl_4" id="ixv-319">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_4" id="ixv-320">Common Stock reserved for issuance pursuant to the Accuray Incorporated Stand-Alone Inducement Restricted Stock Unit Agreement for Paul Miele ("Miele RSU Award")</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_4" id="ixv-321">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_4"
      decimals="0"
      id="ixv-322"
      unitRef="Shares">650000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_4"
      decimals="2"
      id="ixv-323"
      unitRef="USD">0.32</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_4"
      decimals="2"
      id="ixv-324"
      unitRef="USD">208000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_4"
      decimals="7"
      id="ixv-325"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_4"
      decimals="2"
      id="ixv-326"
      unitRef="USD">28.72</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-327" unitRef="USD">656000.00</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-328" unitRef="USD">90.58</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-329" unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-330" unitRef="USD">90.58</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-331">Consists of shares of the Registrant's Common Stock underlying the Shin PSU Award, which were granted to the Registrant's Senior Vice President and Chief Legal Officer, as an inducement material to his acceptance of employment with the Registrant. Pursuant to Rule 416(a) of the Securities Act of 1933, as amended (the "Securities Act"), this Registration Statement shall also cover any additional shares of Common Stock which become issuable under the Shin PSU Award that are being registered pursuant to this Registration Statement by reason of any stock dividend, stock split, recapitalization or any other similar transaction effected without the receipt of consideration which results in an increase in the number of the Registrant's outstanding shares of Common Stock. The proposed maximum offering price per share of Common Stock is estimated solely for the purpose of calculating the registration fee pursuant to Rule 457(c) and (h) under the Securities Act, based on the average of the high and low prices of the Registrant's Common Stock as reported on the Nasdaq Global Select Market on May 22, 2026.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_2" id="ixv-332">Consists of shares of the Registrant's Common Stock underlying the Shin RSU Award, which were granted to the Registrant's Senior President and Chief Legal Officer, as an inducement material to his acceptance of employment with the Registrant. Pursuant to Rule 416(a) of the Securities Act, this Registration Statement shall also cover any additional shares of Common Stock which become issuable under the Shin RSU Award that are being registered pursuant to this Registration Statement by reason of any stock dividend, stock split, recapitalization or any other similar transaction effected without the receipt of consideration which results in an increase in the number of the Registrant's outstanding shares of Common Stock. The proposed maximum offering price per share of Common Stock is estimated solely for the purpose of calculating the registration fee pursuant to Rule 457(c) and (h) under the Securities Act, based on the average of the high and low prices of the Registrant's Common Stock as reported on the Nasdaq Global Select Market on May 22, 2026.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_3" id="ixv-333">Consists of shares of the Registrant's Common Stock underlying the Miele PSU Award, which were granted to the Registrant's Senior Vice President and Chief Commercial Officer, as an inducement material to his acceptance of employment with the Registrant. Pursuant to Rule 416(a) of the Securities Act, this Registration Statement shall also cover any additional shares of Common Stock which become issuable under the Miele PSU Award that are being registered pursuant to this Registration Statement by reason of any stock dividend, stock split, recapitalization or any other similar transaction effected without the receipt of consideration which results in an increase in the number of the Registrant's outstanding shares of Common Stock. The proposed maximum offering price per share of Common Stock is estimated solely for the purpose of calculating the registration fee pursuant to Rule 457(c) and (h) under the Securities Act, based on the average of the high and low prices of the Registrant's Common Stock as reported on the Nasdaq Global Select Market on May 22, 2026.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_4" id="ixv-334">Consists of shares of the Registrant's Common Stock underlying the Miele RSU Award, which were granted to the Registrant's Senior President and Chief Commercial Officer, as an inducement material to his acceptance of employment with the Registrant. Pursuant to Rule 416(a) of the Securities Act, this Registration Statement shall also cover any additional shares of Common Stock which become issuable under the Miele RSU Award that are being registered pursuant to this Registration Statement by reason of any stock dividend, stock split, recapitalization or any other similar transaction effected without the receipt of consideration which results in an increase in the number of the Registrant's outstanding shares of Common Stock. The proposed maximum offering price per share of Common Stock is estimated solely for the purpose of calculating the registration fee pursuant to Rule 457(c) and (h) under the Securities Act, based on the average of the high and low prices of the Registrant's Common Stock as reported on the Nasdaq Global Select Market on May 22, 2026.</ffd:OfferingNote>
</xbrl>
