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

    <schemaVersion>X0206</schemaVersion>

    <documentType>3</documentType>

    <periodOfReport>2013-03-21</periodOfReport>

    <noSecuritiesOwned>0</noSecuritiesOwned>

    <issuer>
        <issuerCik>0001389002</issuerCik>
        <issuerName>MARIN SOFTWARE INC</issuerName>
        <issuerTradingSymbol>MRIN</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001021944</rptOwnerCik>
            <rptOwnerName>TEMASEK HOLDINGS (PRIVATE) LTD</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>60B ORCHARD ROAD #06-18 TOWER 2</rptOwnerStreet1>
            <rptOwnerStreet2>THE ATRIUM @ ORCHARD</rptOwnerStreet2>
            <rptOwnerCity>SINGAPORE</rptOwnerCity>
            <rptOwnerState>U0</rptOwnerState>
            <rptOwnerZipCode>238891</rptOwnerZipCode>
            <rptOwnerStateDescription>SINGAPORE</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001434866</rptOwnerCik>
            <rptOwnerName>Temasek Capital (Private) LTD</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>60B ORCHARD ROAD, #06-18, TOWER 2</rptOwnerStreet1>
            <rptOwnerStreet2>THE ATRIUM@ORCHARD</rptOwnerStreet2>
            <rptOwnerCity>SINGAPORE</rptOwnerCity>
            <rptOwnerState>U0</rptOwnerState>
            <rptOwnerZipCode>238891</rptOwnerZipCode>
            <rptOwnerStateDescription>SINGAPORE</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001434867</rptOwnerCik>
            <rptOwnerName>Seletar Investments Pte Ltd</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>60B ORCHARD ROAD, #06-18, TOWER 2</rptOwnerStreet1>
            <rptOwnerStreet2>THE ATRIUM@ORCHARD</rptOwnerStreet2>
            <rptOwnerCity>SINGAPORE</rptOwnerCity>
            <rptOwnerState>U0</rptOwnerState>
            <rptOwnerZipCode>238891</rptOwnerZipCode>
            <rptOwnerStateDescription>SINGAPORE</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001512361</rptOwnerCik>
            <rptOwnerName>Dunearn Investments (Mauritius) Pte Ltd</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O IMM, LES CASCADES BUILDING</rptOwnerStreet1>
            <rptOwnerStreet2>EDITH CAVELL STREET, PORT LOUIS</rptOwnerStreet2>
            <rptOwnerCity>MAURITIUS</rptOwnerCity>
            <rptOwnerState>O4</rptOwnerState>
            <rptOwnerZipCode>NA</rptOwnerZipCode>
            <rptOwnerStateDescription>MAURITIUS</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001568751</rptOwnerCik>
            <rptOwnerName>SENNETT INVESTMENTS (MAURITIUS) PTE LTD</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O IMM, LES CASCADES BUILDING</rptOwnerStreet1>
            <rptOwnerStreet2>EDITH CAVELL STREET, PORT LOUIS</rptOwnerStreet2>
            <rptOwnerCity>MAURITIUS</rptOwnerCity>
            <rptOwnerState>O4</rptOwnerState>
            <rptOwnerZipCode>0000</rptOwnerZipCode>
            <rptOwnerStateDescription>MAURITIUS</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable></nonDerivativeTable>

    <derivativeTable>
        <derivativeHolding>
            <securityTitle>
                <value>Series F Preferred Stock</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F1"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <footnoteId id="F1"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F1"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>1789173</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>Held by Sennett Investments (Mauritius) Pte Ltd</value>
                    <footnoteId id="F2"/>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Series F-1 Preferred Stock</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F1"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <footnoteId id="F1"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F1"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>739032</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>Held by Sennett Investments (Mauritius) Pte Ltd</value>
                    <footnoteId id="F2"/>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Each share of Preferred Stock will automatically convert into one (1) share of the Issuer's Common Stock upon the closing of the Issuer's initial public offering of Common Stock for no additional consideration, and has no expiration date.</footnote>
        <footnote id="F2">Sennett Investments (Mauritius) Pte Ltd is a wholly owned subsidiary of Dunearn Investments (Mauritius) Pte Ltd, which is wholly owned by Seletar Investments Pte Ltd, a wholly owned subsidiary of Temasek Capital (Private) Limited, which is wholly owned by Temasek Holdings (Private) Ltd.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/ Chua Eu Jin in his capacity as Authorised Signatory of Temasek Holdings (Private) Limited</signatureName>
        <signatureDate>2013-03-26</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Chia Yue Joo in her capacity as Director of Temasek Capital (Private) Limited</signatureName>
        <signatureDate>2013-03-26</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Git Oi Chee (Michelle) in her capacity as Director of Seletar Investments Pte Ltd</signatureName>
        <signatureDate>2013-03-26</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Poy Weng Chuen in his capacity as Director of Dunearn Investments (Mauritius) Pte Ltd</signatureName>
        <signatureDate>2013-03-26</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Ang Peng Huat in his capacity as Authorised Signatory of Sennett Investments (Mauritius) Pte Ltd</signatureName>
        <signatureDate>2013-03-26</signatureDate>
    </ownerSignature>
</ownershipDocument>
