<?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-20210222.xsd" xlink:type="simple"/>
    <context id="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000899923</identifier>
        </entity>
        <period>
            <startDate>2021-02-22</startDate>
            <endDate>2021-02-22</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF80L2ZyYWc6MTI2OWVjMmZlZDQ2NGZkYTkzNDcyZTUzOGNhNWQwYzYvdGFibGU6NzAwOTA1ZTEwOGJmNDYyZmIzMzdiYTZmMDc5NTc3NDkvdGFibGVyYW5nZTo3MDA5MDVlMTA4YmY0NjJmYjMzN2JhNmYwNzk1Nzc0OV8yLTEtMS0xLTA_459571b1-3e3f-4942-8f71-915a05964e00">0000899923</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF80L2ZyYWc6MTI2OWVjMmZlZDQ2NGZkYTkzNDcyZTUzOGNhNWQwYzYvdGFibGU6NzAwOTA1ZTEwOGJmNDYyZmIzMzdiYTZmMDc5NTc3NDkvdGFibGVyYW5nZTo3MDA5MDVlMTA4YmY0NjJmYjMzN2JhNmYwNzk1Nzc0OV8zLTEtMS0xLTA_d7d7b577-faab-4a70-8bbb-0261f5db0532">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGV4dHJlZ2lvbjo5ODllZjYwM2ZhMzM0YzEzOTc0YTdkYmFkNDVmOGMwYl8xMzIx_f4d82753-ce75-4a8d-9634-ed19562d9bd8">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGV4dHJlZ2lvbjo5ODllZjYwM2ZhMzM0YzEzOTc0YTdkYmFkNDVmOGMwYl80OTQ3ODAyMzI2Mzcy_39d0ee67-6aaa-4012-8ffd-da86694dd9e6">2021-02-22</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGV4dHJlZ2lvbjo5ODllZjYwM2ZhMzM0YzEzOTc0YTdkYmFkNDVmOGMwYl8xMzIy_61f697b6-4c42-4cbc-bba5-b3d75ba70f0e">MYRIAD GENETICS, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGFibGU6YmI0ZjJjNmNlOWE2NGMxYWJhMWZmODJmZWJkMWY0NjYvdGFibGVyYW5nZTpiYjRmMmM2Y2U5YTY0YzFhYmExZmY4MmZlYmQxZjQ2Nl8wLTAtMS0xLTA_1f987207-e737-4eb7-8105-b0d5dd5dfd81">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGFibGU6YmI0ZjJjNmNlOWE2NGMxYWJhMWZmODJmZWJkMWY0NjYvdGFibGVyYW5nZTpiYjRmMmM2Y2U5YTY0YzFhYmExZmY4MmZlYmQxZjQ2Nl8wLTItMS0xLTA_bce8c035-bb10-4e45-aa8e-bbf3b41324ab">0-26642</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGFibGU6YmI0ZjJjNmNlOWE2NGMxYWJhMWZmODJmZWJkMWY0NjYvdGFibGVyYW5nZTpiYjRmMmM2Y2U5YTY0YzFhYmExZmY4MmZlYmQxZjQ2Nl8wLTQtMS0xLTA_28239bba-5b90-442e-9865-6c57aef79c0a">87-0494517</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGV4dHJlZ2lvbjo5ODllZjYwM2ZhMzM0YzEzOTc0YTdkYmFkNDVmOGMwYl8xMzIz_26615c3e-47af-4032-b5a0-8ebd2c7cb51e">320 Wakara Way</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGV4dHJlZ2lvbjo5ODllZjYwM2ZhMzM0YzEzOTc0YTdkYmFkNDVmOGMwYl8xMzE3_8aaf6eb6-bb8a-4d44-8c1b-3de34a20c26a">Salt Lake City</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGV4dHJlZ2lvbjo5ODllZjYwM2ZhMzM0YzEzOTc0YTdkYmFkNDVmOGMwYl8xMzE4_768f8f8e-4f52-4482-ae50-352b8a7d4d56">UT</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGV4dHJlZ2lvbjo5ODllZjYwM2ZhMzM0YzEzOTc0YTdkYmFkNDVmOGMwYl8xMzE5_37f94df7-1deb-4f71-83f2-cff07c8a491d">84108</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGV4dHJlZ2lvbjo5ODllZjYwM2ZhMzM0YzEzOTc0YTdkYmFkNDVmOGMwYl8xMzI0_3fd59760-ad3f-43bb-991f-cde45fbd7c06">801</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGV4dHJlZ2lvbjo5ODllZjYwM2ZhMzM0YzEzOTc0YTdkYmFkNDVmOGMwYl8xMzI1_10087a91-a3fd-47b4-bc14-2db7e693338a">584-3600</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGFibGU6NTRlMGUwNWQzOTlhNGFmZTlmYzU4MmZiNmNlMDk1NmIvdGFibGVyYW5nZTo1NGUwZTA1ZDM5OWE0YWZlOWZjNTgyZmI2Y2UwOTU2Yl8wLTAtMS0xLTA_bb016056-e744-43d2-b8f8-9cac11a98956">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGFibGU6NTRlMGUwNWQzOTlhNGFmZTlmYzU4MmZiNmNlMDk1NmIvdGFibGVyYW5nZTo1NGUwZTA1ZDM5OWE0YWZlOWZjNTgyZmI2Y2UwOTU2Yl8yLTAtMS0xLTA_1d732a68-3571-4b4d-9062-58c72b537597">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGFibGU6NTRlMGUwNWQzOTlhNGFmZTlmYzU4MmZiNmNlMDk1NmIvdGFibGVyYW5nZTo1NGUwZTA1ZDM5OWE0YWZlOWZjNTgyZmI2Y2UwOTU2Yl80LTAtMS0xLTA_b71bafaf-e98f-4397-ba2a-01ad133533c8">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGFibGU6NTRlMGUwNWQzOTlhNGFmZTlmYzU4MmZiNmNlMDk1NmIvdGFibGVyYW5nZTo1NGUwZTA1ZDM5OWE0YWZlOWZjNTgyZmI2Y2UwOTU2Yl82LTAtMS0xLTA_39503ac7-fb6e-404c-b849-53b8290a254f">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12gTitle
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGFibGU6N2RmODczOTRkNGEwNGU4ZDliZDE2ZWEyOGI5OGJlODIvdGFibGVyYW5nZTo3ZGY4NzM5NGQ0YTA0ZThkOWJkMTZlYTI4Yjk4YmU4Ml8xLTAtMS0xLTA_7c270cc6-f732-4f5a-a459-697dd79da6dc">Common Stock, $0.01 par value</dei:Security12gTitle>
    <dei:TradingSymbol
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGFibGU6N2RmODczOTRkNGEwNGU4ZDliZDE2ZWEyOGI5OGJlODIvdGFibGVyYW5nZTo3ZGY4NzM5NGQ0YTA0ZThkOWJkMTZlYTI4Yjk4YmU4Ml8xLTItMS0xLTA_77e929d9-a9b2-4158-9693-d8fdc92f49c6">MYGN</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGFibGU6N2RmODczOTRkNGEwNGU4ZDliZDE2ZWEyOGI5OGJlODIvdGFibGVyYW5nZTo3ZGY4NzM5NGQ0YTA0ZThkOWJkMTZlYTI4Yjk4YmU4Ml8xLTQtMS0xLTA_1cddfc2a-4da4-4049-a257-a9cd7df23d74">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="i1aaea02897af45b59657a6d8743902aa_D20210222-20210222"
      id="id3VybDovL2RvY3MudjEvZG9jOjRlMTgxMGI0Y2JlNTQxN2I4ZTk1OTY5M2M0MzlkNmIwL3NlYzo0ZTE4MTBiNGNiZTU0MTdiOGU5NTk2OTNjNDM5ZDZiMF8xL2ZyYWc6OTg5ZWY2MDNmYTMzNGMxMzk3NGE3ZGJhZDQ1ZjhjMGIvdGV4dHJlZ2lvbjo5ODllZjYwM2ZhMzM0YzEzOTc0YTdkYmFkNDVmOGMwYl8xMzIw_e2d395ce-9d8c-4fdf-a11a-135abed19cbb">false</dei:EntityEmergingGrowthCompany>
</xbrl>
