<SUBMISSION>
<ACCESSION-NUMBER>0001004980-03-000302
<TYPE>4
<PUBLIC-DOCUMENT-COUNT>1
<PERIOD>20031223
<FILING-DATE>20031223
<REPORTING-OWNER>
<OWNER-DATA>
<CONFORMED-NAME>COX C LEE
<CIK>0001188473
</OWNER-DATA>
<FILING-VALUES>
<FORM-TYPE>4
<ACT>34
<FILE-NUMBER>001-12609
<FILM-NUMBER>031072450
</FILING-VALUES>
<BUSINESS-ADDRESS>
<STREET1>5472 QUAIL WAY
<CITY>CARMEL
<STATE>CA
<ZIP>93923
</BUSINESS-ADDRESS>
<MAIL-ADDRESS>
<STREET1>5472 QUAIL WAY
<CITY>CARMEL
<STATE>CA
<ZIP>93923
</MAIL-ADDRESS>
</REPORTING-OWNER>
<ISSUER>
<COMPANY-DATA>
<CONFORMED-NAME>PG&E CORP
<CIK>0001004980
<ASSIGNED-SIC>4931
<IRS-NUMBER>943234914
<STATE-OF-INCORPORATION>CA
<FISCAL-YEAR-END>1231
</COMPANY-DATA>
<BUSINESS-ADDRESS>
<STREET1>ONE MARKET SPEAR TOWER
<STREET2>SUITE 2400
<CITY>SAN FRANCISCO
<STATE>CA
<ZIP>94105
<PHONE>4152677000
</BUSINESS-ADDRESS>
<MAIL-ADDRESS>
<STREET1>ONE MARKET SPEAR TOWER
<STREET2>SUITE 2400
<CITY>SAN FRANCISCO
<STATE>CA
<ZIP>94105
</MAIL-ADDRESS>
<FORMER-COMPANY>
<FORMER-CONFORMED-NAME>PG&E PARENT CO INC
<DATE-CHANGED>19951214
</FORMER-COMPANY>
</ISSUER>
<DOCUMENT>
<TYPE>4
<SEQUENCE>1
<FILENAME>edgar.xml
<DESCRIPTION>PRIMARY DOCUMENT
<TEXT>
<XML>
<?xml version="1.0"?>
<ownershipDocument>
    <schemaVersion>X0201</schemaVersion>

    <documentType>4</documentType><periodOfReport>2003-12-23</periodOfReport>
    <issuer>
        <issuerCik>0001004980</issuerCik>
        <issuerName>PG&amp;E CORP</issuerName>
        <issuerTradingSymbol>PCG</issuerTradingSymbol></issuer><reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001188473</rptOwnerCik>
            <rptOwnerName>COX C LEE</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>5472 QUAIL WAY</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>CARMEL</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>93923</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>2003-12-23</value></transactionDate><transactionCoding><transactionFormType>4</transactionFormType><transactionCode>P</transactionCode><equitySwapInvolved>0</equitySwapInvolved></transactionCoding><transactionAmounts><transactionShares><value>73</value></transactionShares><transactionPricePerShare><value>27.47</value></transactionPricePerShare><transactionAcquiredDisposedCode><value>A</value></transactionAcquiredDisposedCode></transactionAmounts><postTransactionAmounts><sharesOwnedFollowingTransaction><value>20186.3667</value><footnoteId id="F1"/></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>I</value></directOrIndirectOwnership><natureOfOwnership><value>Held by Trustee of Dividend Reinvestment Plan on behalf of the reporting person.  </value></natureOfOwnership></ownershipNature></nonDerivativeTransaction><nonDerivativeHolding><securityTitle><value>Common Stock</value></securityTitle><postTransactionAmounts><sharesOwnedFollowingTransaction><value>4704.925</value><footnoteId id="F2"/></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value/></natureOfOwnership></ownershipNature></nonDerivativeHolding></nonDerivativeTable><footnotes><footnote id="F1">Reflects purchase of 40 shares under the Directors' Voluntary Stock Purchase Program, which was credited to the Dividend Reinvestment Plan on behalf of the reporting person.  </footnote><footnote id="F2">Includes 1,368.925 units of phantom stock granted under the PG&amp;E Corporation Non-Employee Director Stock Incentive Plan, which are automatically payable in stock only.  There are no reportable transactions for these directly owned securities.  </footnote></footnotes><remarks/><ownerSignature><signatureName>Eric Montizambert, Attorney-in-Fact for       C. Lee Cox (signed Power of Attorney on file with SEC)</signatureName><signatureDate>2003-12-23</signatureDate></ownerSignature></ownershipDocument>

</XML>
</TEXT>
</DOCUMENT>
</SUBMISSION>
