<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2020-01-31"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="mygn-20201109.xsd" xlink:type="simple"/>
    <context id="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000899923</identifier>
        </entity>
        <period>
            <startDate>2020-11-09</startDate>
            <endDate>2020-11-09</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xNzAvZnJhZzpiZTljZGYwNzk0MzM0ZDFlOGIxZDAyMDJhYzVlYjNmYi90YWJsZTpkOTE1NDdhY2FhYzY0MmNjYWEzMTU5ZDllZGIzMWY3Ni90YWJsZXJhbmdlOmQ5MTU0N2FjYWFjNjQyY2NhYTMxNTlkOWVkYjMxZjc2XzItMS0xLTEtMTE1_0b564597-35c9-4c19-9067-beed26785bda">0000899923</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xNzAvZnJhZzpiZTljZGYwNzk0MzM0ZDFlOGIxZDAyMDJhYzVlYjNmYi90YWJsZTpkOTE1NDdhY2FhYzY0MmNjYWEzMTU5ZDllZGIzMWY3Ni90YWJsZXJhbmdlOmQ5MTU0N2FjYWFjNjQyY2NhYTMxNTlkOWVkYjMxZjc2XzMtMS0xLTEtMTE1_05ec1f36-2b49-4baa-a674-00b0cad3fc94">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGV4dHJlZ2lvbjo3ZDI1YjU2MDllZTI0ZGI5ODAwMGY2YjMzMDI2N2U3NF8xNjQ5MjY3NDQzMDI3_08108025-c6af-41c3-a681-23687236197d">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGV4dHJlZ2lvbjo3ZDI1YjU2MDllZTI0ZGI5ODAwMGY2YjMzMDI2N2U3NF8xMDk5NTExNjI5MjY3_38ecde95-5d1f-4335-8842-f7369037bba2">2020-11-09</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGV4dHJlZ2lvbjo3ZDI1YjU2MDllZTI0ZGI5ODAwMGY2YjMzMDI2N2U3NF8xNjQ5MjY3NDQzMDQx_bfe730bb-d580-4083-b17c-dd3735a5814e">MYRIAD GENETICS, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGFibGU6MzEwYjZkNWEyMjllNDBmNTlhYmUzMTJkMTFhNTFjZDkvdGFibGVyYW5nZTozMTBiNmQ1YTIyOWU0MGY1OWFiZTMxMmQxMWE1MWNkOV8wLTAtMS0xLTQ2_f5631372-4062-4b95-9a21-ac9d08431957">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGFibGU6MzEwYjZkNWEyMjllNDBmNTlhYmUzMTJkMTFhNTFjZDkvdGFibGVyYW5nZTozMTBiNmQ1YTIyOWU0MGY1OWFiZTMxMmQxMWE1MWNkOV8wLTItMS0xLTQ4_fa7e3d62-1220-443a-94bf-cedc3de07d50">0-26642</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGFibGU6MzEwYjZkNWEyMjllNDBmNTlhYmUzMTJkMTFhNTFjZDkvdGFibGVyYW5nZTozMTBiNmQ1YTIyOWU0MGY1OWFiZTMxMmQxMWE1MWNkOV8wLTQtMS0xLTUw_a44eb95e-3dbb-4944-b5dc-fd00905f67c7">87-0494517</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGV4dHJlZ2lvbjo3ZDI1YjU2MDllZTI0ZGI5ODAwMGY2YjMzMDI2N2U3NF8xNjQ5MjY3NDQzMDQy_9f608cdf-6f23-482e-9147-cf364719f474">320 Wakara Way</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGV4dHJlZ2lvbjo3ZDI1YjU2MDllZTI0ZGI5ODAwMGY2YjMzMDI2N2U3NF8xNjQ5MjY3NDQzMDQz_752433ea-d958-4008-9363-1af7bfbefb30">Salt Lake City</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGV4dHJlZ2lvbjo3ZDI1YjU2MDllZTI0ZGI5ODAwMGY2YjMzMDI2N2U3NF8xNjQ5MjY3NDQzMDQ0_020743ee-fd3e-435f-aa15-ce4053f423b6">UT</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGV4dHJlZ2lvbjo3ZDI1YjU2MDllZTI0ZGI5ODAwMGY2YjMzMDI2N2U3NF8xNjQ5MjY3NDQzMDQ2_e3363116-9db4-4bc1-8da1-efd7f6663807">84108</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGV4dHJlZ2lvbjo3ZDI1YjU2MDllZTI0ZGI5ODAwMGY2YjMzMDI2N2U3NF8xNjQ5MjY3NDQzMDUz_e9ff63d4-ac33-4b1e-9ea6-2053a371b5d8">801</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGV4dHJlZ2lvbjo3ZDI1YjU2MDllZTI0ZGI5ODAwMGY2YjMzMDI2N2U3NF8xNjQ5MjY3NDQzMDYy_1836cbb0-8905-4b40-b4d1-710d5182f740">584-3600</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGFibGU6NTE3NzM5MjljMTRmNGU2Mzk1NzYzN2ZjNjMxYWFlYTkvdGFibGVyYW5nZTo1MTc3MzkyOWMxNGY0ZTYzOTU3NjM3ZmM2MzFhYWVhOV8wLTAtMS0xLTYw_42bbe54f-1009-43ed-a66c-9b09166e270f">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGFibGU6NTE3NzM5MjljMTRmNGU2Mzk1NzYzN2ZjNjMxYWFlYTkvdGFibGVyYW5nZTo1MTc3MzkyOWMxNGY0ZTYzOTU3NjM3ZmM2MzFhYWVhOV8yLTAtMS0xLTU4_629edece-99a4-4046-84f9-6033cefcc84a">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGFibGU6NTE3NzM5MjljMTRmNGU2Mzk1NzYzN2ZjNjMxYWFlYTkvdGFibGVyYW5nZTo1MTc3MzkyOWMxNGY0ZTYzOTU3NjM3ZmM2MzFhYWVhOV80LTAtMS0xLTYy_eb4cacd1-cf86-4d62-a9da-5e86a6f98d76">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGFibGU6NTE3NzM5MjljMTRmNGU2Mzk1NzYzN2ZjNjMxYWFlYTkvdGFibGVyYW5nZTo1MTc3MzkyOWMxNGY0ZTYzOTU3NjM3ZmM2MzFhYWVhOV82LTAtMS0xLTY0_0a24e0c2-b844-4651-b0c9-47a11353fe59">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12gTitle
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGFibGU6M2ZjMzIxN2U4MWQ5NDc5MmJlYTUwY2NmMDg0NzFlYzgvdGFibGVyYW5nZTozZmMzMjE3ZTgxZDk0NzkyYmVhNTBjY2YwODQ3MWVjOF8xLTAtMS0xLTY2_44b7d41d-b915-473a-9e6c-9e369a795244">Common Stock, $0.01 par value</dei:Security12gTitle>
    <dei:TradingSymbol
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGFibGU6M2ZjMzIxN2U4MWQ5NDc5MmJlYTUwY2NmMDg0NzFlYzgvdGFibGVyYW5nZTozZmMzMjE3ZTgxZDk0NzkyYmVhNTBjY2YwODQ3MWVjOF8xLTItMS0xLTY4_378b76fe-8218-4f7e-b017-f3cef2c7af3a">MYGN</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGFibGU6M2ZjMzIxN2U4MWQ5NDc5MmJlYTUwY2NmMDg0NzFlYzgvdGFibGVyYW5nZTozZmMzMjE3ZTgxZDk0NzkyYmVhNTBjY2YwODQ3MWVjOF8xLTQtMS0xLTcw_0e72bbe5-5b8e-41e5-9a03-184c8c46f716">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="i71d33922e4584456a8e8a1e2d52099f5_D20201109-20201109"
      id="id3VybDovL2RvY3MudjEvZG9jOjFiMTkxZjM3NTY2MjRhODFhYmI0YmQ0MWI3ZTdjMzNhL3NlYzoxYjE5MWYzNzU2NjI0YTgxYWJiNGJkNDFiN2U3YzMzYV8xL2ZyYWc6N2QyNWI1NjA5ZWUyNGRiOTgwMDBmNmIzMzAyNjdlNzQvdGV4dHJlZ2lvbjo3ZDI1YjU2MDllZTI0ZGI5ODAwMGY2YjMzMDI2N2U3NF8xNjQ5MjY3NDQzMDc2_154b0160-5465-49d7-9ee0-337c879e6bfc">false</dei:EntityEmergingGrowthCompany>
</xbrl>
