<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="vtrs-20230519.xsd" xlink:type="simple"/>
    <context id="duration_2023-05-19_to_2023-05-19">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001792044</identifier>
        </entity>
        <period>
            <startDate>2023-05-19</startDate>
            <endDate>2023-05-19</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="duration_2023-05-19_to_2023-05-19"
      id="Hidden_dei_EntityRegistrantName">Viatris Inc</dei:EntityRegistrantName>
    <dei:AmendmentFlag contextRef="duration_2023-05-19_to_2023-05-19">true</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2023-05-19_to_2023-05-19"
      id="Hidden_dei_EntityCentralIndexKey">0001792044</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2023-05-19_to_2023-05-19">8-K/A</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2023-05-19_to_2023-05-19">2023-05-19</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2023-05-19_to_2023-05-19">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2023-05-19_to_2023-05-19">001-39695</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2023-05-19_to_2023-05-19">83-4364296</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2023-05-19_to_2023-05-19">1000 Mylan Boulevard</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="duration_2023-05-19_to_2023-05-19">Canonsburg</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2023-05-19_to_2023-05-19">PA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2023-05-19_to_2023-05-19">15317</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2023-05-19_to_2023-05-19">(724)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2023-05-19_to_2023-05-19">514-1800</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2023-05-19_to_2023-05-19">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2023-05-19_to_2023-05-19">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2023-05-19_to_2023-05-19">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2023-05-19_to_2023-05-19">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2023-05-19_to_2023-05-19">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2023-05-19_to_2023-05-19">VTRS</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2023-05-19_to_2023-05-19">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2023-05-19_to_2023-05-19">false</dei:EntityEmergingGrowthCompany>
    <dei:AmendmentDescription contextRef="duration_2023-05-19_to_2023-05-19">On May&#160;22, 2023, Viatris Inc. (the &#x201c;Company&#x201d;) filed a Current Report on Form 8-K (the &#x201c;Initial 8-K&#x201d;) to report the appointment of Leo Groothuis to the Board of Directors of the Company (the &#x201c;Board&#x201d;). At the time of the Initial 8-K, the Board had not determined the committee(s) to which Mr.&#160;Groothuis would be named. This Amendment No.&#160;1 to the Initial 8-K is being filed to report that on December&#160;14, 2023, the Board appointed Mr.&#160;Groothuis to serve on the Compliance and Risk Oversight Committee, Executive Committee and Governance and Sustainability Committee, effective immediately after the 2023 annual meeting of shareholders. On December&#160;14, 2023, the Board also consolidated the Compliance Committee and Risk Oversight Committee to be the Compliance and Risk Oversight Committee and renamed the Governance and Nominating Committee to be the Governance and Sustainability Committee, in each case effective immediately after the 2023 annual meeting of shareholders.</dei:AmendmentDescription>
</xbrl>
