<?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>0001221221</rptOwnerCik>
            <rptOwnerName>RAMBO BARBARA L</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O 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>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
        </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>1055</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>6334.12</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <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>1055.13</value>
                    <footnoteId id="F2"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>7389.25</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Restricted shares granted under the PG&amp;E Corporation 2006 Long-Term Incentive Plan (LTIP).</footnote>
        <footnote id="F2">Restricted Stock Units under the LTIP.  Restricted Stock Units are payable in common stock on a one-for-one basis upon a director's death, disability, retirement, or a change in control, as defined in the LTIP.</footnote>
        <footnote id="F3">This total includes 1,000.09 units of phantom stock granted under the PG&amp;E Corporation Non-Employee Director Stock Incentive Plan (SIP), and reflects the acquisition of 6.88 units of phantom stock on 1/16/07, 7.01 units of phantom stock on 4/16/07, 7.81 units of phantom stock on 7/16/07, 7.39 units of phantom stock on 10/15/07, and 8.21 units of phantom stock on 1/15/08, pursuant to a dividend reinvestment feature of the SIP.  This total also includes 1,725.02 Restricted Stock Units granted under the LTIP, and reflects the acquisition of 5.86 Restricted Stock Units on 1/16/07, 12.09 Restricted Stock Units on 4/16/07, 13.47 Restricted Stock Units on 7/16/07, 12.75 Restricted Stock Units on 10/15/07, and 14.15 Restricted Stock Units on 1/15/08, pursuant to a dividend reinvestment feature of the LTIP.  The phantom stock units and the Restricted Stock Units are automatically payable in stock only.</footnote>
    </footnotes>

    <remarks></remarks>

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

