<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="alxo-20251107.xsd" xlink:type="simple"/>
    <context id="C_4a56497f-74a2-475e-a4b3-1403c95b62d5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001810182</identifier>
        </entity>
        <period>
            <startDate>2025-11-07</startDate>
            <endDate>2025-11-07</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_6cd4a4f8-2875-44bf-96f3-37345628a0c9">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_d0b5848a-0204-4318-a1ea-4104b5288471">0001810182</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_30fc4dde-e007-4e93-aeea-0ad866c0da26">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_d4f2641a-f8cb-49c9-b510-7a9d004d06e9">2025-11-07</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_a6e5015b-3f34-45a4-b8c8-e0351949e53d">ALX ONCOLOGY HOLDINGS INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_b6106dc2-7bde-478b-8e7b-ce6c366e2589">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_ae80a014-5756-40d9-acbc-752c0787a554">001-39386</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_9066421f-78f7-4103-99b6-a2344a8e06f2">85-0642577</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_99cf163d-14a5-42aa-9c32-914096956311">323 Allerton Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_08bd25a8-57d3-4f69-9d2a-c42a5c5e739a">South San Francisco</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_1ca872e5-f15f-4281-9227-41c1e2ab3ebe">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_b97b9fd9-cad4-487e-8421-07fb538b0398">94080</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_a5392f01-564d-4a88-ae23-1e50899b7656">650</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_c93098d3-0826-4a83-ba02-a13ba9974273">466-7125</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_efa018ea-1fb2-40da-bbe1-57b4394f4c17">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_ee94603e-077b-4c58-8d38-1e5a37a0f98f">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_7aea309c-abd9-40f4-b92f-fe345c12ffd2">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_f247a2d7-dfcd-4f10-83a6-aa27fde52df0">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_5a7c5041-cc64-4d53-8769-fe1632647a37">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_981c62bc-b3d0-421a-bc70-03606c168848">ALXO</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_743b7b91-c4a1-46ea-8ea8-d5e82a012146">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_4a56497f-74a2-475e-a4b3-1403c95b62d5"
      id="F_f9f06792-5229-4832-80ff-23090dfe5460">false</dei:EntityEmergingGrowthCompany>
</xbrl>
