<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0508</schemaVersion>

    <documentType>4/A</documentType>

    <periodOfReport>2024-07-22</periodOfReport>

    <dateOfOriginalSubmission>2024-07-24</dateOfOriginalSubmission>

    <issuer>
        <issuerCik>0001278752</issuerCik>
        <issuerName>MidCap Financial Investment Corp</issuerName>
        <issuerTradingSymbol>MFIC</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001285613</rptOwnerCik>
            <rptOwnerName>STEIN ELLIOT JR</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O MIDCAP FINANCIAL INVESTMENT CORP</rptOwnerStreet1>
            <rptOwnerStreet2>9 WEST 57TH STREET</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10019</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>true</isDirector>
            <isOfficer>false</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2024-07-22</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>668</value>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>5342</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2024-07-22</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>566</value>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>5908</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>3533</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>Elliot Stein Jr. Defined Benefit Plan</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>910</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By Spouse</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>3245</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>Elliot H. Stein Irrevocable Trust FBO Elliot H. Stein Jr. U/A DTD 4/18/85</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Acquired upon the completion of, and pursuant to the transactions contemplated by, the Agreement and Plan of Merger, dated as of November 7, 2023, by and among MidCap Financial Investment Corporation, a Maryland corporation (&quot;MFIC&quot;), Apollo Senior Floating Rate Fund Inc., a Maryland corporation (&quot;AFT&quot;), AFT Merger Sub, Inc., a Maryland corporation, and Apollo Investment Management, L.P., a Delaware limited partnership (the &quot;AFT Merger Agreement&quot;). Pursuant to the AFT Merger Agreement, each share of AFT's common stock, par value $0.001 per share, was converted into the right to receive 0.9547 shares of MFIC's common stock, par value $0.001 per share (subject to adjustment for cash payable in lieu of fractional shares). The acquisition reported in this Form 4 is an exempt transaction.</footnote>
        <footnote id="F2">Acquired upon the completion of, and pursuant to the transactions contemplated by, the Agreement and Plan of Merger, dated as of November 7, 2023, by and among MidCap Financial Investment Corporation, a Maryland corporation (&quot;MFIC&quot;), Apollo Tactical Income Fund Inc., a Maryland corporation (&quot;AIF&quot;), AIF Merger Sub, Inc., a Maryland corporation, and Apollo Investment Management, L.P., a Delaware limited partnership (the &quot;AIF Merger Agreement&quot;). Pursuant to the AIF Merger Agreement, each share of AIF's common stock, par value $0.001 per share, was converted into the right to receive 0.9441 shares of MFIC's common stock, par value $0.001 per share (subject to adjustment for cash payable in lieu of fractional shares). The acquisition reported in this Form 4 is an exempt transaction.</footnote>
    </footnotes>

    <remarks>The original Form 4 filed on July 24, 2024 is being amended by this Form 4 amendment to correct the number of shares beneficially owned both directly and indirectly.  The original Form 4 filing inadvertently consolidated all ownership under direct ownership.
Exhibit List: Exhibit 24- Power of Attorney</remarks>

    <ownerSignature>
        <signatureName>/s/ Kristin Hester, as Attorney-in-Fact</signatureName>
        <signatureDate>2026-01-09</signatureDate>
    </ownerSignature>
</ownershipDocument>
