AES CORPORATION
EXHIBIT 10.4
<DOCUMENT>
<TYPE>EX-10.4
<SEQUENCE>6
<FILENAME>a2093034zex-10_4.htm
<DESCRIPTION>EXHIBIT 10.4
<TEXT>
<HTML>
<HEAD>

</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK=BLUE  VLINK=PURPLE>
<BR>
<FONT SIZE=3 ><A HREF="#02WDC2489_5">QuickLinks</A></FONT>
<font size=3> -- Click here to rapidly navigate through this document</font>
<P ALIGN="RIGHT"><FONT SIZE=2><A
NAME="page_nx2489_1_64"> </A> </FONT></P>

<!-- TOC_END -->
<P ALIGN="RIGHT"><FONT SIZE=2><A
NAME="nx2489_exhibit_10.4"> </A>
<A NAME="toc_nx2489_1"> </A>
<BR></FONT><FONT SIZE=2><B>Exhibit 10.4    <BR>  </B></FONT></P>

<P ALIGN="CENTER"><FONT SIZE=2><A
NAME="nx2489_amendment_to_the_aes_corporati__ame02965"> </A>
<A NAME="toc_nx2489_2"> </A>
<BR></FONT><FONT SIZE=2><B>Amendment<BR>  to<BR>  The AES Corporation Profit Sharing and Stock Ownership Plan    <BR>  </B></FONT></P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pursuant to the authority granted to the undersigned by the Board of Directors of the AES Corporation, The AES Corporation Profit Sharing and Stock Ownership Plan
(the "Plan") is hereby amended as follows, effective as of October&nbsp;10, 2002 or such later date as soon as practical thereafter on which the assets of The Thermo Ecotek Affiliates Retirement
Savings Plan are transferred to the Plan: </FONT></P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Section&nbsp;2.14
is amended and restated in its entirety to read as follows: </FONT></P>

<UL>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"2.14
"Elective Contributions Account" shall mean the account to which Elective Contributions are allocated. In the case of a Participant who had an account balance under the Thermo
Ecotek Affiliates Retirement Savings Plan (hereinafter the "Thermo Plan") as of the date it merged into this Plan, such Participant's "Elective Contributions Account" shall include amounts, if any,
allocated to the Participant's "Code Section&nbsp;401(k) compensation reductions amounts" account under the Thermo Plan (as defined in Section&nbsp;6.2 of the Thermo Plan as in effect on
January&nbsp;31, 2002)." </FONT></P>

</UL>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Section&nbsp;2.19
is hereby amended and restated in its entirety to read as follows: </FONT></P>

<UL>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"2.19
"Employer Matching Contributions Account" shall mean the account to which Employer Matching Contributions are allocated. In the case of a Participant who had an account balance
under the Thermo Ecotek Affiliates Retirement Savings Plan (hereinafter the "Thermo Plan") as of the date it merged into this Plan, such Participant's "Employer Matching Contributions Account" shall
include
amounts, if any, allocated to the Participant's 100% vested "Matching employer contributions" account under the Thermo Plan (as defined in Section&nbsp;6.2 of the Thermo Plan as in effect on
January&nbsp;31, 2002)." </FONT></P>

</UL>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Section&nbsp;8.2
is hereby amended and restated in its entirety to read as follows: </FONT></P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"8.2</FONT><FONT
SIZE=2><I>&nbsp;&nbsp;&nbsp;&nbsp;Retirement</I></FONT><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;</FONT></P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Upon
retirement of a Participant, the Administrative Committee shall, as directed by the Participant, direct the Trustee to apply the amount standing to the credit of such Employee's
Elective Contributions Account, Voluntary Employee Contributions Account, Employer Matching Contributions Account, Profit Sharing Contributions Account, Transferred Contributions Account, Participant
Directed Account, Rollover Contributions Account and ESOP Account (less the amount of any outstanding loans made pursuant to Section&nbsp;8.15) by payment of the amounts thereof in one of the
following methods: </FONT></P>

<UL>
<UL>
<DL compact>
<DT style='margin-bottom:-11pt;'><FONT SIZE=2>(i)</FONT></DT><DD><FONT SIZE=2>One-lump
sum payment in cash or in Employer Stock; or
<BR><BR></FONT></DD><DT style='margin-bottom:-11pt;'><FONT SIZE=2>(ii)</FONT></DT><DD><FONT SIZE=2>Payments
over a period certain in monthly, quarterly, semiannual or annual cash installments. The period over which such payment is to be made shall
not extend beyond the lesser of twenty-five years or the Participant's life expectancy (or the life expectancy of the Participant and his designated Beneficiary). </FONT></DD></DL>
</UL>
</UL>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Distribution
of a Participant's Employer Matching Contributions Account, Profit Sharing Contributions Account and ESOP Account will be made in whole shares of Employer Stock, cash or a
combination of both, as determined by the Administrative Committee; provided, however, that the Administrative Committee shall notify the Participant of his right to demand distribution of his
accounts described above entirely in whole shares of Employer Stock (with the value of any fractional </FONT></P>

<P ALIGN="CENTER"><FONT SIZE=2>64</FONT></P>

<HR NOSHADE>
<!-- ZEQ.=1,SEQ=1,EFW="2093034",CP="AES CORPORATION",DN="5",CHK=295461,FOLIO='64',FILE='DISK012:[02WDC9.02WDC2489]NX2489A.;6',USER='YLEE',CD='12-NOV-2002;16:27' -->
<A NAME="page_nx2489_1_65"> </A>
<BR>

<P><FONT SIZE=2>
share paid in cash). Distribution of a Participant's Participant Directed Account may be made in-kind as determined by the Administrative Committee. </FONT></P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shares
of Employer Stock held or distributed by the Trust may include such legend restrictions on transferability as the Employer may reasonably require in order to assure compliance
with applicable federal and state securities laws." </FONT></P>

<!-- User-specified TAGGED TABLE -->
<TABLE WIDTH="76%" BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR VALIGN="TOP">
<TD WIDTH="49%"><FONT SIZE=2>&nbsp;</FONT></TD>
<TD WIDTH="3%"><FONT SIZE=2>&nbsp;</FONT></TD>
<TD WIDTH="49%"><FONT SIZE=2>The AES Corporation</FONT></TD>
</TR>
<TR VALIGN="TOP">
<TD WIDTH="49%"><FONT SIZE=2>Dated: September&nbsp;17, 2002</FONT></TD>
<TD WIDTH="3%"><FONT SIZE=2>&nbsp;</FONT></TD>
<TD WIDTH="49%"><FONT SIZE=2>&nbsp;</FONT></TD>
</TR>
<TR VALIGN="TOP">
<TD WIDTH="49%"><FONT SIZE=2>&nbsp;</FONT></TD>
<TD WIDTH="3%"><FONT SIZE=2>&nbsp;</FONT></TD>
<TD WIDTH="49%"><FONT SIZE=2>By:&nbsp;<U></U></FONT></TD>
</TR>
<TR VALIGN="TOP">
<TD WIDTH="49%"><FONT SIZE=2>&nbsp;</FONT></TD>
<TD WIDTH="3%"><FONT SIZE=2>&nbsp;</FONT></TD>
<TD WIDTH="49%"><FONT SIZE=2>Barry J. Sharp<BR>
Senior Vice President and CFO</FONT></TD>
</TR>
</TABLE>
<!-- end of user-specified TAGGED TABLE -->

<P ALIGN="CENTER"><FONT SIZE=2>65</FONT></P>

<HR NOSHADE>
<!-- ZEQ.=2,SEQ=2,EFW="2093034",CP="AES CORPORATION",DN="5",CHK=476344,FOLIO='65',FILE='DISK012:[02WDC9.02WDC2489]NX2489A.;6',USER='YLEE',CD='12-NOV-2002;16:27' -->
<!-- THIS IS THE END OF A COMPOSITION COMPONENT -->
<BR>
<P><br><A NAME="02WDC2489_5">QuickLinks</A><br></P><!-- TOC_BEGIN -->
<UL>
<FONT SIZE=2><A HREF="#toc_nx2489_1">Exhibit 10.4</A></FONT><BR>
</UL>
<FONT SIZE=2><A HREF="#toc_nx2489_2">Amendment to The AES Corporation Profit Sharing and Stock Ownership Plan</A></FONT><BR>

<!-- SEQ=,FILE='QUICKLINK',USER=YLEE,SEQ=,EFW="2093034",CP="AES CORPORATION",DN="5" -->
<!-- TOCEXISTFLAG -->
</BODY>
</HTML>

</TEXT>
</DOCUMENT>
