<SUBMISSION>
<ACCESSION-NUMBER>0001004980-03-000175
<TYPE>4
<PUBLIC-DOCUMENT-COUNT>1
<PERIOD>20030725
<FILING-DATE>20030728
<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>
<REPORTING-OWNER>
<OWNER-DATA>
<CONFORMED-NAME>LAWRENCE DAVID M
<CIK>0001142633
</OWNER-DATA>
<FILING-VALUES>
<FORM-TYPE>4
<ACT>34
<FILE-NUMBER>001-12609
<FILM-NUMBER>03806196
</FILING-VALUES>
<BUSINESS-ADDRESS>
<STREET1>395 PAGE MILL RD
<STREET2>MS A3-18
<CITY>PALO ALTO
<STATE>CA
<ZIP>94306
<PHONE>6507525447
</BUSINESS-ADDRESS>
<MAIL-ADDRESS>
<STREET1>395 PAGE MILL RD
<STREET2>MS A3 18
<CITY>PALO ALTO
<STATE>CA
<ZIP>94306
</MAIL-ADDRESS>
</REPORTING-OWNER>
<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-07-25</periodOfReport>
    <issuer>
        <issuerCik>0001004980</issuerCik>
        <issuerName>PG&amp;E CORP</issuerName>
        <issuerTradingSymbol>PCG</issuerTradingSymbol></issuer><reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001142633</rptOwnerCik>
            <rptOwnerName>LAWRENCE DAVID M</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>KAISER FOUNDATION HEALTH PLAN, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>ONE KAISER PLAZA, 18TH FLOOR</rptOwnerStreet2>
            <rptOwnerCity>OAKLAND</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>94612</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-07-25</value></transactionDate><transactionCoding><transactionFormType>4</transactionFormType><transactionCode>P</transactionCode><equitySwapInvolved>0</equitySwapInvolved></transactionCoding><transactionAmounts><transactionShares><value>396</value></transactionShares><transactionPricePerShare><value>21.40</value></transactionPricePerShare><transactionAcquiredDisposedCode><value>A</value></transactionAcquiredDisposedCode></transactionAmounts><postTransactionAmounts><sharesOwnedFollowingTransaction><value>20593.0651</value><footnoteId id="F1"/><footnoteId id="F2"/></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value/></natureOfOwnership></ownershipNature></nonDerivativeTransaction></nonDerivativeTable><footnotes><footnote id="F1">Reflects purchase of 396 shares under the Directors' Voluntary Stock Purchase Program.  </footnote><footnote id="F2">The reporting person indirectly owns 360 shares of common stock that are held by the Lawrence Family Trust.  There are no reportable transactions for these indirectly held securities.  </footnote></footnotes><remarks/><ownerSignature><signatureName>Eric Montizambert, Attorney-in-Fact for David M. Lawrence (signed Power of Attorney on file with SEC)</signatureName><signatureDate>2003-07-28</signatureDate></ownerSignature></ownershipDocument>

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