<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="alxo-20260806.xsd" xlink:type="simple"/>
    <context id="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001810182</identifier>
        </entity>
        <period>
            <startDate>2026-08-06</startDate>
            <endDate>2026-08-06</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_97e8baac-7962-460f-89e7-452657a03004">0001810182</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_61e2a7b3-c799-4af4-98d6-f5c1fb1ddf21">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_162aca7a-abc6-4c42-b939-264493f1c018">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_0155ce6e-94f7-4994-b475-0b75f8d2369b">2026-08-06</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_486d3cd9-934d-4c38-aae1-d8ec6814d670">ALX ONCOLOGY HOLDINGS INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_1a08d830-9663-4981-a082-7e80b88c7742">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_ce4ec2c9-007b-40eb-b692-192fc3832324">001-39386</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_9a0fd12c-7986-4c8f-9379-d3d13d5cc895">85-0642577</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_40cc27a1-403f-4e8d-a40d-2b8ce96e1185">323 Allerton Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_964dfdfd-2d27-44de-8a0c-08ef6e9f026d">South San Francisco</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_846516e7-1023-493a-b01f-23a682c04e77">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_ff661034-69dc-402d-bfc5-261a5a54f287">94080</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_3f174ca1-4c01-44ca-9667-a8e7f8f22b89">650</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_ebd1bf0a-ab38-43fb-8d51-040184d02d3f">466-7125</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_10acac75-7963-49a7-8538-5aedc9f0fba5">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_78ffb502-28dd-4840-a072-64e60fd2e520">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_27bf66a7-b143-4597-b186-72463eacdd06">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_c75e11c6-c5a8-4f7e-86e6-2fce7a00fdfe">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_669c3edc-7d36-4243-af69-689f26c9ecec">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_1ac7950c-4a8f-4b02-ad6f-e124ce2ceed4">ALXO</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_6eaaa7c2-8901-4e9f-a1bb-09b55e0af1e8">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_4f907aaa-a214-416e-85b2-db35c5bbd8d4"
      id="F_39420568-c863-4ed6-8c8b-20e49916f795">false</dei:EntityEmergingGrowthCompany>
</xbrl>
