<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:com="http://www.sec.gov/edgar/common">
  <headerData>
    <submissionType>144</submissionType>
    <filerInfo>
      <filer>
        <filerCredentials>
          <cik>0001566083</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>


    </filerInfo>
  </headerData>
  <formData>
    <issuerInfo>
      <issuerCik>0001597313</issuerCik>
      <issuerName>ViewRay, Inc.</issuerName>
      <secFileNumber>001-37725</secFileNumber>
      <issuerAddress>
        <com:street1>2 THERMO FISHER WAY</com:street1>
        <com:city>OAKWOOD VILLAGE</com:city>
        <com:stateOrCountry>OH</com:stateOrCountry>
        <com:zipCode>44146</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>440-703-3210</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Prange Karen</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Director</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common Stock</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Fidelity Brokerage Services LLC</name>
        <address>
          <com:street1>245 Summer Street</com:street1>
          <com:city>Boston</com:city>
          <com:stateOrCountry>MA</com:stateOrCountry>
          <com:zipCode>02110</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>37600</noOfUnitsSold>
      <aggregateMarketValue>2256.00</aggregateMarketValue>
      <noOfUnitsOutstanding>183402038</noOfUnitsOutstanding>
      <approxSaleDate>07/21/2023</approxSaleDate>
      <securitiesExchangeName>NASDAQ</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common Stock</securitiesClassTitle>
      <acquiredDate>05/10/2022</acquiredDate>
      <natureOfAcquisitionTransaction>Open Market Purchase</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Open Market Purchase</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>37600</amountOfSecuritiesAcquired>
      <paymentDate>05/10/2022</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Karen Prange</name>
        <address>
          <com:street1>c/o ViewRay, Inc.</com:street1>
          <com:street2>1099 18th Street, Suite 3000</com:street2>
          <com:city>Denver</com:city>
          <com:stateOrCountry>CO</com:stateOrCountry>
          <com:zipCode>80202</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common Stock</securitiesClassTitle>
      <saleDate>07/19/2023</saleDate>
      <amountOfSecuritiesSold>91866</amountOfSecuritiesSold>
      <grossProceeds>6908.32</grossProceeds>
    </securitiesSoldInPast3Months>
    <remarks>Shares sold are from Karen N. Prange and Eric E. Prange joint account</remarks>
    <noticeSignature>
      <noticeDate>07/21/2023</noticeDate>
      <signature>/s/ Myra King, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Karen N. Prange</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3587}]
144
0001566083
XXXXXXXX
LIVE
0001597313
ViewRay, Inc.
001-37725
2 THERMO FISHER WAY
OAKWOOD VILLAGE
OH
44146
440-703-3210
Prange Karen
Director
Common Stock
Fidelity Brokerage Services LLC
245 Summer Street
Boston
MA
02110
37600
2256.00
183402038
07/21/2023
NASDAQ
Common Stock
05/10/2022
Open Market Purchase
Open Market Purchase
N
37600
05/10/2022
Cash/Check
N
Karen Prange
c/o ViewRay, Inc.
1099 18th Street, Suite 3000
Denver
CO
80202
Common Stock
07/19/2023
91866
6908.32
Shares sold are from Karen N. Prange and Eric E. Prange joint account
07/21/2023
/s/ Myra King, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Karen N. Prange