<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="lope-20250610.xsd" xlink:type="simple"/>
    <context id="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001434588</identifier>
        </entity>
        <period>
            <startDate>2025-06-10</startDate>
            <endDate>2025-06-10</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Tc_up5Bp2X23kmFWBnvNuUx9A_2_1">0001434588</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Tc_aAQoTahBkEOEC4IkeW4ncg_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Narr_m71MNJrOu0KBiUkXJZNthQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Narr_MkcJ4nTPnUeNG4L_oueshQ">2025-06-10</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Narr_kGJbx10rzkeACWs3QXNbcA">Grand Canyon Education,&#160;Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Tc_pACZVFB8vU2w_NXC5m1FGA_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Tc_5jBHF6OO3EKM3dxrQmMGhg_1_2">001-34211</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Tc_L2946E1_yECYsT6LPJX7YQ_1_4">20-3356009</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Tc_X7pxsEswnkWI7TVwWdeHNQ_1_0">2600 W. Camelback Road</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Narr_cxG8uKp_PEa7T1Qubq0ahw">Phoenix</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Narr_Y506sf6uI0uAnMmmtZhoPA">AZ</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Tc_Mu0fKQG5-0-xBKHswtSxCw_2_1">85017</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Narr_vOUDM0HejUOmPmt-HhvYHw">602</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Narr_c70E0m_0UEabEBeFVQbUfw">247-4400</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Narr_CNgwonrSQ0Sy9fJoCjqa3A">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Narr_fc0CiikKc0S73PGHJ0kmrw">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Narr_b6QuQdIyUEmySS7IpeEmvQ">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Narr_5dvmpUv1tUSpJf8jrTNz6w">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Tc_MRbWKneS0EiczVta-VcNQg_1_0">Common Stock</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Tc_JHopWDmFn0Gb6CFOImCxtw_1_1">LOPE</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Tc_oCnJTMVRFU2bC5D2EyEGdw_1_2">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_6_10_2025_To_6_10_2025_GOqugp5fMECREknZZFOGcw"
      id="Narr_tU27dtEZ4kyGAEreW3oNvA">false</dei:EntityEmergingGrowthCompany>
</xbrl>
