<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2022"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="aray-20220810.xsd" xlink:type="simple"/>
    <context id="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001138723</identifier>
        </entity>
        <period>
            <startDate>2022-08-10</startDate>
            <endDate>2022-08-10</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_b0df49ab-d7ca-4f5a-a212-ad8cea38c6e1">0001138723</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_4336522d-353f-4b85-9ef9-3032f7c6b2ef">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_cc391735-1f8a-4cb2-abe4-7b0bcdcf66f3">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_dabd4c16-137c-4a6e-a06c-f6aebbe49ed5">2022-08-10</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_6c46b02e-4503-43a6-8ff7-605b298cc912">ACCURAY INCORPORATED</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_b0239198-013f-4fb7-8802-38004e0ccc08">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_2396074c-e47d-4b33-b34f-29c7699cbb76">001-33301</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_4a6d5701-6000-4798-9fcb-95902c7862d9">20-8370041</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_ad87159c-f7b3-4942-87c4-bc906d36e199">1310 Chesapeake Terrace</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_a20eeef6-4287-4ea5-a511-f98428d23289">Sunnyvale</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_49b078f1-c078-4423-b96b-c91baef75726">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_1c9d0833-19bf-4666-aeac-aa7f8d387b34">94089</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_13f65915-828b-4a5e-a726-b79a48a45403">408</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_216da075-36b5-4d6e-9587-fb2766cc85f6">716-4600</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_430d2e9b-3da9-49e6-aebf-5287c24d75c6">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_87921c6f-969e-4808-9b3d-0b4936069554">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_87a275ea-c077-4ea1-92a8-8e2d1c23d9c8">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_9da6faf7-46dd-42a9-a649-e736aa46385d">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_44d9aa9c-1cf2-4811-ae47-6f8222c8ef59">Common Stock, $0.001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_5d2a212e-1f60-4f61-be1a-c516e5cd38e1">ARAY</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_c298d86b-f59c-4e41-949b-85a5cd2040d2">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_df6752e1-c6d5-4ffc-b7ae-812232fc1336"
      id="F_1ef7b9c8-bc1d-48fc-b807-8a9fb724b657">false</dei:EntityEmergingGrowthCompany>
</xbrl>
