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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2019-02-27</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001567226</rptOwnerCik>
            <rptOwnerName>Little Thomas Mitchell</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O MARATHON OIL CORPORATION</rptOwnerStreet1>
            <rptOwnerStreet2>5555 SAN FELIPE STREET</rptOwnerStreet2>
            <rptOwnerCity>HOUSTON</rptOwnerCity>
            <rptOwnerState>TX</rptOwnerState>
            <rptOwnerZipCode>77056</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Executive VP - Operations</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2019-02-27</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>44669</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>299155</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2019-02-28</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>5646</value>
                    <footnoteId id="F2"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>16.60</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>293509</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Employee Stock Option (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>16.79</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2019-02-27</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>73529</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F3"/>
            </exerciseDate>
            <expirationDate>
                <value>2029-02-27</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>73529.0</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>73529</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Restricted stock granted under Marathon Oil Corporation's 2016 Incentive Compensation Plan, which vests in full three years from the date of grant.</footnote>
        <footnote id="F2">Shares withheld for taxes for the restricted stock granted under Marathon Oil Corporation's 2016 Incentive Compensation Plan on 2/28/2018, which vests in three equal, annual installments beginning one year from the date of grant.</footnote>
        <footnote id="F3">Employee stock option granted under Marathon Oil Corporation's 2016 Incentive Compensation Plan, which vests in three equal, annual installments beginning one year from the date of grant.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>Anna Jones, Attorney-in-Fact for Thomas Mitchell Little</signatureName>
        <signatureDate>2019-03-01</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "wf-form4_155148042118535.xml", "description": "FORM 4", "secsgml_size_bytes": 7249}]
X0306
4
2019-02-27
0
0000101778
MARATHON OIL CORP
MRO
0001567226
Little Thomas Mitchell
C/O MARATHON OIL CORPORATION
5555 SAN FELIPE STREET
HOUSTON
TX
77056
0
1
0
0
Executive VP - Operations
Common Stock
2019-02-27
4
A
0
44669
0
A
299155
D
Common Stock
2019-02-28
4
F
0
5646
16.60
D
293509
D
Employee Stock Option (Right to Buy)
16.79
2019-02-27
4
A
0
73529
0
A
2029-02-27
Common Stock
73529.0
73529
D
Restricted stock granted under Marathon Oil Corporation's 2016 Incentive Compensation Plan, which vests in full three years from the date of grant.
Shares withheld for taxes for the restricted stock granted under Marathon Oil Corporation's 2016 Incentive Compensation Plan on 2/28/2018, which vests in three equal, annual installments beginning one year from the date of grant.
Employee stock option granted under Marathon Oil Corporation's 2016 Incentive Compensation Plan, which vests in three equal, annual installments beginning one year from the date of grant.
Anna Jones, Attorney-in-Fact for Thomas Mitchell Little
2019-03-01