<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2021q4"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2021-01-31"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ck0001792044-20211231.xsd" xlink:type="simple"/>
    <context id="P01_01_2021To12_31_2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001792044</identifier>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="PAsOn12_31_2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001792044</identifier>
        </entity>
        <period>
            <instant>2021-12-31</instant>
        </period>
    </context>
    <context id="PAsOn04_25_2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001792044</identifier>
        </entity>
        <period>
            <instant>2022-04-25</instant>
        </period>
    </context>
    <context id="PAsOn06_30_2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001792044</identifier>
        </entity>
        <period>
            <instant>2021-06-30</instant>
        </period>
    </context>
    <unit id="Unit_shares">
        <measure>shares</measure>
    </unit>
    <unit id="Unit_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Unit_USD_per_Share">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <dei:EntityCentralIndexKey contextRef="P01_01_2021To12_31_2021">0001792044</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="P01_01_2021To12_31_2021">true</dei:AmendmentFlag>
    <dei:DocumentFiscalPeriodFocus contextRef="P01_01_2021To12_31_2021">FY</dei:DocumentFiscalPeriodFocus>
    <dei:DocumentType contextRef="P01_01_2021To12_31_2021">10-K/A</dei:DocumentType>
    <dei:DocumentAnnualReport contextRef="P01_01_2021To12_31_2021">true</dei:DocumentAnnualReport>
    <dei:DocumentPeriodEndDate contextRef="P01_01_2021To12_31_2021">2021-12-31</dei:DocumentPeriodEndDate>
    <dei:CurrentFiscalYearEndDate contextRef="P01_01_2021To12_31_2021">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:DocumentFiscalYearFocus contextRef="P01_01_2021To12_31_2021">2021</dei:DocumentFiscalYearFocus>
    <dei:DocumentTransitionReport contextRef="P01_01_2021To12_31_2021">false</dei:DocumentTransitionReport>
    <dei:EntityFileNumber contextRef="P01_01_2021To12_31_2021">001-39695</dei:EntityFileNumber>
    <dei:EntityRegistrantName contextRef="P01_01_2021To12_31_2021">VIATRIS INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="P01_01_2021To12_31_2021">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityTaxIdentificationNumber contextRef="P01_01_2021To12_31_2021">83-4364296</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="P01_01_2021To12_31_2021">1000 Mylan Boulevard</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="P01_01_2021To12_31_2021">Canonsburg</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="P01_01_2021To12_31_2021">PA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="P01_01_2021To12_31_2021">15317</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="P01_01_2021To12_31_2021">(724)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="P01_01_2021To12_31_2021">514-1800</dei:LocalPhoneNumber>
    <dei:Security12bTitle contextRef="P01_01_2021To12_31_2021">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="P01_01_2021To12_31_2021">VTRS</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="P01_01_2021To12_31_2021">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityWellKnownSeasonedIssuer contextRef="P01_01_2021To12_31_2021">Yes</dei:EntityWellKnownSeasonedIssuer>
    <dei:EntityVoluntaryFilers contextRef="P01_01_2021To12_31_2021">No</dei:EntityVoluntaryFilers>
    <dei:EntityCurrentReportingStatus contextRef="P01_01_2021To12_31_2021">Yes</dei:EntityCurrentReportingStatus>
    <dei:EntityInteractiveDataCurrent contextRef="P01_01_2021To12_31_2021">Yes</dei:EntityInteractiveDataCurrent>
    <dei:EntityFilerCategory contextRef="P01_01_2021To12_31_2021">Large Accelerated Filer</dei:EntityFilerCategory>
    <dei:EntitySmallBusiness contextRef="P01_01_2021To12_31_2021">false</dei:EntitySmallBusiness>
    <dei:EntityEmergingGrowthCompany contextRef="P01_01_2021To12_31_2021">false</dei:EntityEmergingGrowthCompany>
    <dei:IcfrAuditorAttestationFlag contextRef="P01_01_2021To12_31_2021">true</dei:IcfrAuditorAttestationFlag>
    <dei:EntityShellCompany contextRef="P01_01_2021To12_31_2021">false</dei:EntityShellCompany>
    <dei:EntityPublicFloat
      contextRef="PAsOn06_30_2021"
      decimals="0"
      unitRef="Unit_USD">17237737213</dei:EntityPublicFloat>
    <us-gaap:CommonStockParOrStatedValuePerShare
      contextRef="PAsOn12_31_2021"
      decimals="2"
      unitRef="Unit_USD_per_Share">0.01</us-gaap:CommonStockParOrStatedValuePerShare>
    <dei:EntityCommonStockSharesOutstanding
      contextRef="PAsOn04_25_2022"
      decimals="INF"
      unitRef="Unit_shares">1212301241</dei:EntityCommonStockSharesOutstanding>
    <dei:DocumentsIncorporatedByReferenceTextBlock contextRef="P01_01_2021To12_31_2021">None.</dei:DocumentsIncorporatedByReferenceTextBlock>
    <dei:AuditorName contextRef="P01_01_2021To12_31_2021">Deloitte &amp; Touche LLP</dei:AuditorName>
    <dei:AuditorLocation contextRef="P01_01_2021To12_31_2021">Pittsburgh, Pennsylvania</dei:AuditorLocation>
    <dei:AuditorFirmId contextRef="P01_01_2021To12_31_2021">34</dei:AuditorFirmId>
    <dei:AmendmentDescription contextRef="P01_01_2021To12_31_2021">This Amendment No.&#160;1 on Form 10-K/A (this &#x201c;Amendment&#x201d;) amends our Annual Report on Form 10-K for the fiscal year ended December&#160;31, 2021, originally filed on February&#160;28, 2022 (the &#x201c;Original Filing&#x201d;). We are filing this Amendment to include the information required by Part III and not included in the Original Filing, as we do not intend to file a definitive proxy statement for an annual meeting of shareholders within 120 days of the end of our fiscal year ended December&#160;31, 2021. In addition, in connection with the filing of this Amendment and pursuant to the rules of the Securities and Exchange Commission (the &#x201c;SEC&#x201d;), we are including with this Amendment new certifications of our principal executive officer and principal financial officer pursuant to Section&#160;302 of the Sarbanes-Oxley Act of 2002. Item&#160;15 of Part IV has also been amended to reflect the filing of these new certifications. Except as described above, no other changes have been made to the Original Filing. The Original Filing continues to speak as of the date of the Original Filing, and we have not updated the disclosures contained therein to reflect any events which occurred at a date subsequent to the filing of the Original Filing.  As used in this Amendment, unless the context requires otherwise, the &#x201c;Company,&#x201d; &#x201c;Viatris,&#x201d; &#x201c;our,&#x201d; and &#x201c;we&#x201d; mean Viatris Inc. and its consolidated subsidiaries, &#x201c;NASDAQ&#x201d; means The NASDAQ Global Select Stock Market, and &#x201c;U.S. GAAP&#x201d; means accounting principles generally accepted in the United States (&#x201c;U.S.&#x201d;).  On November&#160;16, 2020, Viatris, formerly known as Upjohn Inc., Mylan N.V. (&#x201c;Mylan&#x201d;) and Pfizer Inc. (&#x201c;Pfizer&#x201d;) consummated the combination of Mylan with Pfizer&#x2019;s Upjohn business (the &#x201c;Upjohn Business&#x201d;) through a Reverse Morris Trust transaction. In accordance with the terms and conditions of the Business Combination Agreement, dated as of July&#160;29, 2019, as amended from time to time, among Viatris, Mylan, Pfizer and certain of their affiliates (the &#x201c;Business Combination Agreement&#x201d;) and the Separation and Distribution Agreement between Viatris and Pfizer, dated as of July&#160;29, 2019, as amended from time to time, (1)&#160;Pfizer contributed the Upjohn Business to Viatris, so that the Upjohn Business was separated from the remainder of Pfizer&#x2019;s businesses (the &#x201c;Separation&#x201d;), (2)&#160;following the Separation, Pfizer distributed, on a pro rata basis (based on the number of shares of Pfizer common stock held by holders of Pfizer common stock as of the record date of November&#160;13, 2020 (the &#x201c;Record Date&#x201d;)), all of the shares of Viatris common stock held by Pfizer to Pfizer stockholders as of the Record Date (the &#x201c;Distribution&#x201d;), and (3)&#160;immediately following the Distribution, Viatris and Mylan engaged in a strategic business combination transaction (the &#x201c;Combination&#x201d;). As a result of the Combination, Viatris holds the combined Upjohn Business and Mylan business. In accordance with ASC 805, Business Combinations, Mylan is considered the accounting acquirer of the Upjohn Business and all historical financial information of the Company prior to November&#160;16, 2020 represents Mylan&#x2019;s historical results and the Company&#x2019;s thereafter. </dei:AmendmentDescription>
</xbrl>
