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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2023-03-01</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0000101778</issuerCik>
        <issuerName>MARATHON OIL CORP</issuerName>
        <issuerTradingSymbol>MRO</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001427917</rptOwnerCik>
            <rptOwnerName>Hyland M Elise</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O MARATHON OIL CORPORATION</rptOwnerStreet1>
            <rptOwnerStreet2>990 TOWN &amp; COUNTRY BOULEVARD</rptOwnerStreet2>
            <rptOwnerCity>HOUSTON</rptOwnerCity>
            <rptOwnerState>TX</rptOwnerState>
            <rptOwnerZipCode>77024</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2023-03-01</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>1938.736</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>55505.334</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2023-03-01</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>5816</value>
                    <footnoteId id="F3"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>61321.334</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">Non-Retainer Annual Director Stock Unit Award granted under Marathon Oil Corporation 2019 Incentive Compensation Plan. The annual non-retainer stock based compensation represented by these common stock units, along with their accrued dividend equivalent rights, are payable in shares of common stock upon the reporting person's departure from the Board of Directors.</footnote>
        <footnote id="F2">Includes dividends of 135.274 shares previously not reported pursuant to Rule 16a-11.</footnote>
        <footnote id="F3">Non-Retainer Annual Director Stock Unit Award granted under Marathon Oil Corporation 2019 Incentive Compensation Plan. These common stock units will vest on the earlier of March 1, 2024, or the reporting person's departure from the BOD, and be payable in shares of common stock.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>John D. Montanti, Attorney-in-Fact for M. Elise Hyland</signatureName>
        <signatureDate>2023-03-03</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "wf-form4_167788292200064.xml", "description": "FORM 4", "secsgml_size_bytes": 5413}]
X0306
4
2023-03-01
0
0000101778
MARATHON OIL CORP
MRO
0001427917
Hyland M Elise
C/O MARATHON OIL CORPORATION
990 TOWN & COUNTRY BOULEVARD
HOUSTON
TX
77024
1
0
0
0
Common Stock
2023-03-01
4
A
0
1938.736
0
A
55505.334
D
Common Stock
2023-03-01
4
A
0
5816
0
A
61321.334
D
Non-Retainer Annual Director Stock Unit Award granted under Marathon Oil Corporation 2019 Incentive Compensation Plan. The annual non-retainer stock based compensation represented by these common stock units, along with their accrued dividend equivalent rights, are payable in shares of common stock upon the reporting person's departure from the Board of Directors.
Includes dividends of 135.274 shares previously not reported pursuant to Rule 16a-11.
Non-Retainer Annual Director Stock Unit Award granted under Marathon Oil Corporation 2019 Incentive Compensation Plan. These common stock units will vest on the earlier of March 1, 2024, or the reporting person's departure from the BOD, and be payable in shares of common stock.
John D. Montanti, Attorney-in-Fact for M. Elise Hyland
2023-03-03