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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2020-01-02</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>5555 SAN FELIPE ST.</rptOwnerStreet2>
            <rptOwnerCity>HOUSTON</rptOwnerCity>
            <rptOwnerState>TX</rptOwnerState>
            <rptOwnerZipCode>77056</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>2020-01-02</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>8954</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>29358.575</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2020-01-02</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>3837.719</value>
                    <footnoteId id="F3"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>33196.294</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. These common stock units will vest on the earlier of January 2, 2023, or the reporting person's departure from the BOD, and be payable in shares of common stock.</footnote>
        <footnote id="F2">Includes dividends of 87.282 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. 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>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>Anna Jones, Attorney-in-Fact for M. Elise Hyland</signatureName>
        <signatureDate>2020-01-03</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "wf-form4_157809311693912.xml", "description": "FORM 4", "secsgml_size_bytes": 5395}]
X0306
4
2020-01-02
0
0000101778
MARATHON OIL CORP
MRO
0001427917
Hyland M Elise
C/O MARATHON OIL CORPORATION
5555 SAN FELIPE ST.
HOUSTON
TX
77056
1
0
0
0
Common Stock
2020-01-02
4
A
0
8954
0
A
29358.575
D
Common Stock
2020-01-02
4
A
0
3837.719
0
A
33196.294
D
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 January 2, 2023, or the reporting person's departure from the BOD, and be payable in shares of common stock.
Includes dividends of 87.282 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. 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.
Anna Jones, Attorney-in-Fact for M. Elise Hyland
2020-01-03