<?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-20231001.xsd" xlink:type="simple"/>
    <context id="duration_2023-10-01_to_2023-10-01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001792044</identifier>
        </entity>
        <period>
            <startDate>2023-10-01</startDate>
            <endDate>2023-10-01</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="duration_2023-10-01_to_2023-10-01"
      id="Hidden_dei_EntityRegistrantName">Viatris Inc</dei:EntityRegistrantName>
    <dei:AmendmentFlag contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-270">true</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2023-10-01_to_2023-10-01"
      id="Hidden_dei_EntityCentralIndexKey">0001792044</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-281">8-K/A</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-282">2023-10-01</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-283">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-284">001-39695</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-285">83-4364296</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-286">1000 Mylan Boulevard</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-287">Canonsburg</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-288">PA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-289">15317</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-290">(724)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-291">514-1800</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-292">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-293">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-294">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-295">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-296">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-297">VTRS</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-298">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-299">false</dei:EntityEmergingGrowthCompany>
    <dei:AmendmentDescription contextRef="duration_2023-10-01_to_2023-10-01" id="ixv-156">On October&#160;2, 2023, Viatris Inc. (&#x201c;Viatris&#x201d; or the &#x201c;Company&#x201d;) filed a Current Report on Form 8-K (the &#x201c;Initial&#160;8-K&#x201d;) to report that Viatris had entered into an agreement with Cooper Consumer Health SAS, a French corporation (&#x201c;Buyer Parent&#x201d;) pursuant to which Buyer Parent made a binding offer (the &#x201c;Offer&#x201d;), by irrevocably granting Viatris an option (the &#x201c;Option&#x201d;), to require Buyer Parent and certain of its affiliates (collectively, the &#x201c;Buyer Parties&#x201d;) to purchase and assume, as applicable, substantially all of Viatris&#x2019; over-the-counter products business (the &#x201c;Business&#x201d;) and related assets and liabilities, on the terms and subject to the conditions of a negotiated form of Transaction Agreement (such form, the &#x201c;Transaction Agreement&#x201d; and such potential transaction, the &#x201c;Transaction&#x201d;). This Amendment No.&#160;1 to the Initial 8-K (&#x201c;8-K Amendment&#x201d;) is being filed to report that pursuant to the terms of the Offer, following the completion of the applicable consultation procedures with employee representatives where required by applicable local laws, including in France, Italy and the Netherlands, on January&#160;26, 2024, Viatris exercised the Option, and on January&#160;29, 2024, Viatris, Viatris Italia S.r.l., a wholly-owned subsidiary of Viatris, Ipex AB, a wholly-owned subsidiary of Viatris, and the Buyer Parties entered into the Transaction Agreement. A summary of the terms of the Transaction Agreement and the Transaction that applied upon the exercise of the Option are set forth in the Initial 8-K and is incorporated herein by reference. Consummation of the Transaction remains subject to various closing conditions, including, among others, (a)&#160;the receipt of certain regulatory consents and approvals, including from the European Commission (with respect to European antitrust laws and the European Union Foreign Subsidiaries Regulation) and the French Ministry of Economy, (b)&#160;the receipt of consents under, or renewals or extensions of, certain specified material supply, license and service contracts relating to the Business, subject to the terms and conditions set forth in the Transaction Agreement, including with respect to limitations on the aggregate economic impact of such consents, renewals or extensions, and (c)&#160;other customary closing conditions. The parties have received regulatory consents and approvals from the Presidency of the Italian Council of Ministries and the Commission for Protection of Competition of the Republic of Serbia. </dei:AmendmentDescription>
</xbrl>
