<SUBMISSION>
<ACCESSION-NUMBER>0001004980-03-000214
<TYPE>4
<PUBLIC-DOCUMENT-COUNT>1
<PERIOD>20030521
<FILING-DATE>20030919
<REPORTING-OWNER>
<OWNER-DATA>
<CONFORMED-NAME>DARBEE PETER A
<CIK>0001188484
</OWNER-DATA>
<FILING-VALUES>
<FORM-TYPE>4
<ACT>34
<FILE-NUMBER>001-12609
<FILM-NUMBER>03902538
</FILING-VALUES>
<BUSINESS-ADDRESS>
<STREET1>ONE MARKET SPEAR TOWER STE 2400
<CITY>SAN FRANCISCO
<STATE>CA
<ZIP>94105
</BUSINESS-ADDRESS>
<MAIL-ADDRESS>
<STREET1>ONE MARKET SPEAR TOWER STE 2400
<CITY>SAN FRANCISCO
<STATE>CA
<ZIP>94105
</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-05-21</periodOfReport>
    <issuer>
        <issuerCik>0001004980</issuerCik>
        <issuerName>PG&amp;E CORP</issuerName>
        <issuerTradingSymbol>PCG</issuerTradingSymbol></issuer><reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001188484</rptOwnerCik>
            <rptOwnerName>DARBEE PETER A</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>ONE MARKET, SPEAR TOWER, SUITE 2400</rptOwnerStreet1>
            <rptOwnerStreet2></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 and CFO</officerTitle></reportingOwnerRelationship></reportingOwner><nonDerivativeTable><nonDerivativeHolding><securityTitle><value>Common Stock</value></securityTitle><postTransactionAmounts><sharesOwnedFollowingTransaction><value>1275.3</value><footnoteId id="F1"/></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>I</value></directOrIndirectOwnership><natureOfOwnership><value>Held by Trustee of PG&amp;E Corp. Retirement Savings Fund Plan</value></natureOfOwnership></ownershipNature></nonDerivativeHolding><nonDerivativeTransaction><securityTitle><value>Common Stock</value></securityTitle><transactionDate><value>2003-05-21</value></transactionDate><transactionCoding><transactionFormType>5</transactionFormType><transactionCode>G</transactionCode><equitySwapInvolved>0</equitySwapInvolved></transactionCoding><transactionAmounts><transactionShares><value>46425</value><footnoteId id="F2"/></transactionShares><transactionPricePerShare><value>0</value></transactionPricePerShare><transactionAcquiredDisposedCode><value>D</value></transactionAcquiredDisposedCode></transactionAmounts><postTransactionAmounts><sharesOwnedFollowingTransaction><value>45450.23</value><footnoteId id="F3"/></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value/></natureOfOwnership></ownershipNature></nonDerivativeTransaction><nonDerivativeTransaction><securityTitle><value>Common Stock</value></securityTitle><transactionDate><value>2003-05-21</value></transactionDate><transactionCoding><transactionFormType>5</transactionFormType><transactionCode>G</transactionCode><equitySwapInvolved>0</equitySwapInvolved></transactionCoding><transactionAmounts><transactionShares><value>46425</value></transactionShares><transactionPricePerShare><value>0</value></transactionPricePerShare><transactionAcquiredDisposedCode><value>A</value></transactionAcquiredDisposedCode></transactionAmounts><postTransactionAmounts><sharesOwnedFollowingTransaction><value>46425</value></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>I</value></directOrIndirectOwnership><natureOfOwnership><value>Held by Peter A. and Melinda M. Darbee 1995 Trust</value></natureOfOwnership></ownershipNature></nonDerivativeTransaction></nonDerivativeTable><footnotes><footnote id="F1">Represents the approximate number of shares of PG&amp;E Corporation common stock held for the reporting person in the PG&amp;E Corporation Stock Fund of the PG&amp;E Corporation Retirement Savings Fund Plan.  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.  </footnote><footnote id="F2">Reflects reporting person's exempt gift of shares of restricted stock granted under the PG&amp;E Corporation Long-Term Incentive Program to the reporting person's revocable living trust.  </footnote><footnote id="F3">Includes 10, 450.230 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></footnotes><remarks/><ownerSignature><signatureName>Eric Montizambert, Attorney-in-Fact for      Peter A. Darbee (signed Power of Attorney on file with SEC)</signatureName><signatureDate>2003-09-19</signatureDate></ownerSignature></ownershipDocument>

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