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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-09-01</periodOfReport>

    <notSubjectToSection16>true</notSubjectToSection16>

    <issuer>
        <issuerCik>0000866829</issuerCik>
        <issuerName>HORNBECK OFFSHORE SERVICES, INC.</issuerName>
        <issuerTradingSymbol>HOS</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001848500</rptOwnerCik>
            <rptOwnerName>Arriaga Brent Alexander</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>false</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>3505 WEST SAM HOUSTON PKWY NORTH</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 400</rptOwnerStreet2>
            <rptOwnerCity>HOUSTON</rptOwnerCity>
            <rptOwnerState>TX</rptOwnerState>
            <rptOwnerZipCode>77043</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>false</isDirector>
            <isOfficer>false</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>true</isOther>
            <otherText>FORMER VP &amp; CAO</otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F1"/>
                <footnoteId id="F2"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2026-09-01</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>4054</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F1"/>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F1"/>
                <footnoteId id="F2"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>4054</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>0</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
        <derivativeTransaction>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F1"/>
                <footnoteId id="F3"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2026-09-01</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>14306</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F1"/>
                <footnoteId id="F3"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F1"/>
                <footnoteId id="F3"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>14306</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>0</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
        <derivativeTransaction>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F1"/>
                <footnoteId id="F4"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2026-09-01</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>31898</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F1"/>
                <footnoteId id="F4"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F1"/>
                <footnoteId id="F4"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>31898</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>0</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Pursuant to the terms of the Agreement and Plan of Merger, dated as of April 22, 2026, by and among Helix Energy Solutions Group, Inc. Odyssey Sub, Inc., Hercules Sub LLC and Hornbeck Offshore Services, Inc. (the &quot;Merger Agreement&quot;), each award of restricted stock units (a &quot;Parent RSU Award&quot;) owned by the reporting person as of the Effective Time was canceled in exchange for an amount in cash equal to the number of shares of Parent Common Stock subject to such Parent RSU Award multiplied by the closing price of a share of Parent Common Stock on the NYSE on the Trading Day immediately prior to the Closing Date, which was $10.30.</footnote>
        <footnote id="F2">Each restricted stock unit subject to the Parent RSU Award granted on January 1, 2024 (&quot;2024 Parent RSU Award&quot;) represented the contingent right to receive one share of Parent Common Stock. Forfeiture restrictions lapsed with respect to one-third of the 2024 Parent RSU Award on January 1, 2025, forfeiture restrictions with respect to an additional one-third of the award lapsed on January 1, 2026 and, pursuant to the Merger Agreement, the remaining forfeiture restrictions with respect to the award lapsed on September 1, 2026.</footnote>
        <footnote id="F3">Each restricted stock unit subject to the Parent RSU Award granted on January 1, 2025 (&quot;2025 Parent RSU Award&quot;) represented the contingent right to receive one share of Parent Common Stock. Forfeiture restrictions lapsed with respect to one-third of the 2025 Parent RSU Award on January 1, 2026 and, pursuant to the terms of the Merger Agreement, the remaining forfeiture restrictions with respect to the award lapsed on September 1, 2026.</footnote>
        <footnote id="F4">Each restricted stock unit subject to the Parent RSU Award granted on January 1, 2026 (&quot;2026 Parent RSU Award&quot;) represented the contingent right to receive one share of Parent Common Stock. Pursuant to the terms of the Merger Agreement, all forfeiture restrictions with respect to the 2026 Parent RSU Award lapsed on September 1, 2026.</footnote>
    </footnotes>

    <remarks>Following the transactions contemplated by the Merger Agreement, the reporting person is no longer subject to Section 16 in connection with his transactions in the equity securities of Hornbeck Offshore Services, Inc. (formerly named Helix Energy Solutions Group, Inc.) and therefore will no longer report any such transactions on Form 4 or Form 5. Capitalized terms used herein without definition have the meanings ascribed to them in the Merger Agreement.</remarks>

    <ownerSignature>
        <signatureName>/s/ Brent Arriaga</signatureName>
        <signatureDate>2026-09-02</signatureDate>
    </ownerSignature>
</ownershipDocument>
