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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2008-03-03</periodOfReport>

    <issuer>
        <issuerCik>0001004980</issuerCik>
        <issuerName>PG&amp;E CORP</issuerName>
        <issuerTradingSymbol>PCG</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001342052</rptOwnerCik>
            <rptOwnerName>Rosenberg Rand L</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>PG&amp;E CORPORATION</rptOwnerStreet1>
            <rptOwnerStreet2>ONE MARKET, SPEAR TOWER, SUITE 2400</rptOwnerStreet2>
            <rptOwnerCity>SAN FRANCISCO,</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>94105</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>SVP Corp. Strategy &amp; Dev.</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2008-03-03</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>12815</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>29675.46</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>163.23</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>Held by Trustee of PG&amp;E Corporation Retirement Savings Plan</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Restricted shares granted under the PG&amp;E Corporation 2006 Long-Term Incentive Plan.</footnote>
        <footnote id="F2">Includes 24.46 Special Incentive Stock Ownership Premiums (SISOPs) (Phantom stock) awarded pursuant to the PG&amp;E Corporation Executive Stock Ownership Program.  SISOPs vest three years after the date of grant subject to accelerated vesting upon certain events.  Unvested SISOPs are subject to forfeiture if certain stock ownership targets are not met.  Vested SISOPs are automatically payable in an equal number of shares following termination of employment.</footnote>
        <footnote id="F3">Represents the approximate number of shares of PG&amp;E Corporation common stock held for the reporting person in the PG&amp;E Corporation Retirement Savings Plan (RSP).  That fund holds units consisting of PG&amp;E Corporation common stock and a small short-term investments component.  The number of shares is computed by dividing the value of the units by the daily closing price.  Dividends are automatically invested in additional units at the election of the participant.  These holdings have been trued up to conform to the RSP balance at March 3, 2008 and reflect the acquisition of approximately 0.93 shares on January 15, 2008.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>Eric Montizambert, Attorney-in-Fact for Rand L. Rosenberg (signed Power of Attorney on file with SEC)</signatureName>
        <signatureDate>2008-03-05</signatureDate>
    </ownerSignature>
</ownershipDocument>

