UNITED STATES
                       SECURITIES AND EXCHANGE COMMISSION
                             Washington, D.C. 20549


                                    FORM 10-K

[X]    Annual  report  pursuant  to  Section  13 or  15(d)  of the Securities
       Exchange Act of 1934 for the fiscal year ended December 31, 2004

[ ]    Transition report pursuant to Section 13 or 15(d) of the
       Securities Exchange Act of 1934 for the transition period from __ to __


                      Commission File Number  333-100818-38

                         GS MORTGAGE SECURITIES CORP.
                    (as Depositor under the Trust Agreement,
            dated as of June 1, 2004, providing for the issuance of
                   Asset-Backed Certificates, Series 2004-4)
             (Exact name of registrant as specified in its charter)

       Delaware                                       13-6357101
 (State or other jurisdiction of               (IRS Employer Identification No.)
     incorporation)

85 Broad Street
New York, NY                                                    10004
(Address of principal executive offices)                (Zip Code)

Registrant's telephone number, including area code :  (212) 902-1000


Securities registered pursuant to Section 12(b) of the Act:  None

Securities registered pursuant to Section 12(g) of the Act:  None

Indicate by check mark whether the registrant (1) has filed all reports required
to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during
the  preceding 12 months (or for such  shorter  period that the  registrant  was
required  to file  such  reports),  and  (2) has  been  subject  to such  filing
requirements for the past 90 days. Yes [X] No [ ]

Indicate by check mark if disclosure of delinquent  filers  pursuant to Item 405
of Regulation  S-K (229.405 of this chapter) is not contained  herein,  and will
not be contained,  to the best of registrant's knowledge, in definitive proxy or
information  statements  incorporated by reference in Part III of this Form 10-K
or any amendment to this Form 10-K. [X]

Indicate by check mark whether the registrant is an accelerated filer (as
defined in Exchange Act Rule 12b-2). Yes [ ]  No [X]

Indicate the number of shares outstanding of each of the registrant's
classes of common stock, as of the latest practicable date.  Not Applicable.

Not Applicable.

                   Documents incorporated by reference: None

<PAGE>

PART I

Item 1.  Business.

         Not Applicable.

Item 2.  Properties.

         Not Applicable.

Item 3.  Legal Proceedings

     The Registrant knows of no material pending legal proceedings involving the
trust  created  under the Pooling and  Servicing  Agreement,  the  trustee,  any
servicer  or the  Registrant  with  respect  to the  trust  other  than  routine
litigation incidental to the duties of the respective parties.

Item 4.  Submission of Matters to a Vote of Security Holders

         None.

PART II

Item 5.  Market for Registrant's Common Equity, Related Stockholder Matters and
         Issuer Purchases of Equity Securities.

   Currently,  there is no established  secondary  market for the Certificates
known to the Registrant.  As of December 31, 2004, the number of holders of each
class of offered certificates was 12 based on records provided by DTC.

Item 6.  Selected Financial Data.

         Not Applicable.

Item 7.  Management's Discussion and Analysis of Financial condition and
         Results of Operation.

         Not Applicable.

Item 7A. Quantitative and Qualitative Disclosures about Market Risk.

         Not Applicable.

Item 8.  Financial Statements and Supplementary Data

         Not Applicable.

Item 9.  Changes in and Disagreements with Accountants on Accounting and
         Financial Disclosure.

         None.

Item 9A. Controls and Procedures.

         Not Applicable.

Item 9B. Other Information.

         None.
                                      -2-

<PAGE>

PART III

Item 10. Directors and Executive Officers of the Registrant.

         Not Applicable.

Item 11. Executive Compensation.

         Not Applicable.

Item 12. Security  Ownership of Certain  Beneficial  Owners and Management
         and Related Stockholder Matters.

         Not Applicable.

Item 13. Certain Relationships and Related Transactions.

         No reportable transactions have occurred.

Item 14. Principal Accounting Fees and Services.

         Not Applicable.

PART IV

Item 15. Exhibits, Financial Statement Schedules.

(a) The following documents are filed as part of this report:

    (1) Financial Statements:

         Not Applicable.

    (2)  Financial Statement Schedules:

         Not Applicable.

    (3)  Exhibits:

    Rule 13a-14(a)/15d-14(a) Certification, filed as 31.1 hereto.

    Annual Independent Accountants' Report with Management Assertion,
     filed as Exhibit 99.1 hereto.

    Servicer's Annual Statement as to Compliance, filed as Exhibit 99.2 hereto.

(b) The exhibits required to be filed by Registrant pursuant to Item 601 of
    Regulation S-K are listed in Item (15)(a)(3) above.

(c) Not applicable.


                                      -3-
<PAGE>

GSAA Home Equity Trust 2004-4
Asset-Backed Certificates, Series 2004-4
-----------------------------------------------------------------------

SIGNATURE

Pursuant to the  requirements of Section 13 or 15(d) of the Securities  Exchange
Act of 1934,  the  registrant  has duly  caused  this report to be signed on its
behalf by the undersigned thereunto duly authorized.



                              By:     /s/ Michelle Gill
                                    --------------------------------------
                                  Name:  Michelle Gill
                                 Title:  Vice President
                                  Date:  March 30, 2005




                                      -4-
<page>

SUPPLEMENTAL  INFORMATION TO BE FURNISHED WITH REPORTS FILED PURSUANT TO SECTION
15(D) OF THE ACT BY REGISTRANTS WHICH HAVE NOT REGISTERED SECURITIES PURSUANT TO
SECTION 12 OF THE ACT.

The  registrant  has not sent an annual report or proxy material to its security
holders.  The registrant  will not be sending an annual report or proxy material
to its security holders subsequent to the filing of this form.

                                      -5-
<PAGE>


                                 EXHIBIT INDEX

Exhibit     Description

31.1    Rule 13a-14(a)/15d-14(a) Certification

99.1    Annual Independent Accountants'Report with Management Assertion

        Indymac Bank, F.S.B., as Servicer

99.2    Annual Servicer's Statement as to Compliance

        Indymac Bank, F.S.B., as Servicer

                                      -6-
<PAGE>

                                  EXHIBIT 31.1
                     Rule 13a-14(a)/15d-14(a) Certification
                                    ---------

                             DEPOSITOR CERTIFICATION

     Re: GSAA Home Equity Trust 2004-4, Asset-Backed Certificates, Series 2004-4
(the "Trust"), issued pursuant to the Trust Agreement,  dated as of June 1, 2004
(the "Trust Agreement"),  among JPMorgan Chase Bank, as trustee (the "Trustee"),
and GS Mortgage  Securities Corp., as depositor (the "Depositor"),  and serviced
by Indymac Bank, F.S.B., (the "Servicer"),  pursuant to the respective servicing
agreements (the "Servicing Agreements").

I, Michelle Gill, certify that:

     1. I have reviewed this annual report on Form 10-K ("Annual  Report"),  and
all reports on Form 8-K containing  distribution reports (collectively with this
Annual Report,  the "Reports")  filed in respect of periods included in the year
covered by this Annual Report, of the Trust;

     2. Based on my knowledge, the information in the Reports, taken as a whole,
does not  contain  any untrue  statement  of a material  fact or omit to state a
material  fact  necessary  to  make  the  statements   made,  in  light  of  the
circumstances  under which such  statements  were made, not misleading as of the
last day of the period covered by this Annual Report;

     3.  Based  on my  knowledge,  the  distribution  or  servicing  information
required  to be  provided  to the  Trustee  by the  Servicers  under  the  Trust
Agreement and Servicing Agreements,  for inclusion in the Reports is included in
the Reports;

     4. Based on my knowledge and upon the annual compliance  statement included
in this Annual  Report and required to be delivered to the Trustee in accordance
with the terms of the  Servicing  Agreements,  and  except as  disclosed  in the
Reports,  the Servicers have  fulfilled  their  obligations  under the Servicing
Agreements; and

     5. The  Reports  disclose  all  significant  deficiencies  relating  to the
Servicer's compliance with the minimum servicing standards based upon the report
provided by an  independent  public  accountant,  after  conducting  a review in
compliance with the Uniform Single  Attestation  Program for Mortgage Bankers or
similar  procedure,  as set forth in the Trust  Agreement,  that is  included in
the Reports.

     In giving the certifications above, I have reasonably relied on information
provided  to me by the  following  unaffiliated  parties:  the  Trustee  and the
Servicer.


     Date:  March 30, 2005
           --------------------------------

       By:  /s/ Michelle Gill
            --------------------------------------
     Name:  Michelle Gill
     Title: Vice President


                                      -7-

<page>

EXHIBIT 99.1 - Annual Independent Accountants' Report with Management Assertion



<PAGE>


Ernst & Young LLP

725 South Figuroa Street
Los Angeles, CA  90017
www.ey.com



                       Report on Management's Assertion on
   Compliance with the Specified Minimum Servicing Standards Set Forth in the
             Uniform Single Attestation Program for Mortgage Bankers

            Report of Independent Registered Public Accounting Firm


Board of Directors and Shareholder
IndyMac Bank, F.S.B.


We have examined  management's  assertion,  included in the accompanying  report
titled Report of Management,  that IndyMac Bank, F.S.B, (the Bank) complied with
the  servicing  standards  identified  in  Exhibit  A  (the  "specified  minimum
servicing  standards")  to the Report of Management as set forth in the Mortgage
Bankers Association of America's Uniform Single Attestation Program for Mortgage
Bankers  (USAP)  during  the  year  ended  December  31,  2004.   Management  is
responsible for the Bank's  compliance with these  specified  minimum  servicing
standards. Our responsibility is to express an opinion on management's assertion
about the Bank's compliance based on our examination.

Our  examination  was  made in  accordance  with  standards  established  by the
American  Institute of Certified Public  Accountants and  accordingly,  included
examining,  on a test  basis,  evidence  about the  Bank's  compliance  with the
specified minimum servicing standards and performing such other procedures as we
considered  necessary  in the  circumstances.  We believe  that our  examination
provides a reasonable basis for our opinion.  Our examination does not provide a
legal  determination  on  the  Bank's  compliance  with  the  specified  minimum
servicing standards.

In  our  opinion,  management's  assertion  that  the  Bank  complied  with  the
aforementioned  specified  minimum  servicing  standards  during  the year ended
December 31, 2004, is fairly stated, in all material respects.


By:  /s/ Ernst & Young LLP
---------------------------

February 23, 2005

                                      -8-
<page>



Ernst & Young LLP

725 South Figuroa Street
Los Angeles, CA  90017
www.ey.com



                       Report on Management's Assertion on
   Compliance with the Specified Minimum Servicing Standards Set Forth in the
             Uniform Single Attestation Program for Mortgage Bankers

            Report of Independent Registered Public Accounting Firm


Board of Directors and Shareholder
IndyMac Bank, F.S.B.


We have examined  management's  assertion,  included in the accompanying  report
titled Report of Management,  that IndyMac Bank, F.S.B, (the Bank) complied with
the  servicing  standards  identified  in  Exhibit  A  (the  "specified  minimum
servicing  standards")  to the Report of Management as set forth in the Mortgage
Bankers Association of America's Uniform Single Attestation Program for Mortgage
Bankers  (USAP)  during  the  year  ended  December  31,  2004.   Management  is
responsible for the Bank's  compliance with these  specified  minimum  servicing
standards. Our responsibility is to express an opinion on management's assertion
about the Bank's compliance based on our examination.

Our  examination  was  made in  accordance  with  standards  established  by the
American  Institute of Certified Public Accountants and,  accordingly,  included
examining,  on a test  basis,  evidence  about the  Bank's  compliance  with the
specified minimum servicing standards and performing such other procedures as we
considered  necessary  in the  circumstances.  We believe  that our  examination
provides a reasonable basis for our opinion.  Our examination does not provide a
legal  determination  on  the  Bank's  compliance  with  the  specified  minimum
servicing standards.

In  our  opinion,  management's  assertion  that  the  Bank  complied  with  the
aforementioned  specified  minimum  servicing  standards  during  the year ended
December 31, 2004, is fairly stated, in all material respects.


By:  /s/ Ernst & Young LLP
---------------------------
February 23, 2005

                                      -9-
<page>

                                                                IndyMac Bank

                      Management's Assertion on Compliance
            with the Specified Minimum Servicing Standards Set Forth
         in the Uniform Single Attestation Program for Mortgage Bankers

                              Report of Management

We, as members of management of IndyMac Bank, F.S.B. (the Bank), are responsible
for complying with the servicing standards  identified in the attached Exhibit A
(the  "specified  minimum  servicing  standards")  as set forth in the  Mortgage
Bankers Association of America's Uniform Single Attestation Program for Mortgage
Bankers  (USAP).  We are  also  responsible  for  establishing  and  maintaining
effective   internal  control  over  compliance  with  these  specified  minimum
servicing  standards.  We have performed an evaluation of the Bank's  compliance
with the specified minimum  servicing  standards as of December 31, 2004 and for
the year then ended.  Based on this  evaluation,  we assert that during the year
ended December 31, 2004, the Bank complied,  in all material respects,  with the
specified minimum servicing standards.

As of December  31,  2004 and for the year then ended,  the Bank had in effect a
fidelity bond in the amount of $50,000,000 and an errors and omissions policy in
the amount of $20,000,000.


/s/ Michael W. Perry                    /s/ Tony Ebers
---------------------                   -----------------------------
Michael W. Perry                        Tony Ebers
Chairman and                            Executive Vice President
Chief Executive Officer                 Home Loan Servicing

/s/ Scott Keys                          /s/ Jeff Lankey
----------------------                  -----------------------------
Scott Keys                              Jeff Lankey
Executive Vice President and            Senior Vice President and
Chief Financial Officer                 Chief Accounting Officer

February 23, 2005

                                      -10-
<page>

                                                                    Exhibit A

                     Specified Minimum Servicing Standards

I.   Custodial Bank Accounts

1.   Reconciliations shall be prepared on a monthly basis for all custodial bank
     accounts and related bank clearing accounts. These reconciliations shall:

    a.  be mathematically accurate;

    b.  be prepared within forty-five (45) calendar days after the cutoff date.
        The cutoff date is the date as of which a bank account is reconciled
        every month.  It may, or may not, coincide with a prescribed investor
        reporting date but shall be consistant from period to period;

    c.  be reviewed and approved by someone other than the person who prepared
        the reconciliation; and

    d.  document explanations for reconciling items.  These reconciling items
        shall be resolved within ninety (90) calendar days of their original
        identification.

2.   Funds of the servicing  entity shall be advanced in cases where there is an
     overdraft in an investor's or a mortgagor's account.

3.   Each  custodial   account  shall  be  maintained  at  a  federally  insured
     depository institution in trust for the applicable investor.

4.   Escrow  funds  held in  trust  for a  mortgagor  shall be  returned  to the
     mortgagor within thirty (30) calendar days of payoff of the mortgage loan.

II.  Mortgage Payments

1.   Mortgage  payments  shall be deposited into the custodial bank accounts and
     related bank clearing accounts within two (2) business days of receipt.

2.   Mortgage  payments made in accordance with the  mortgagor's  loan documents
     shall be posted to the  applicable  mortgagor  records  within two (2)
     business days of receipt.

3.   Mortgage  payments  shall be allocated to principal,  interest,  insurance,
     taxes or  other  escrow  items in  accordance  with  the  mortgagor's  loan
     documents.

4.   Mortgage  payments  identified  as  loan  payoffs  shall  be  allocated  in
     accordance with the mortgagor's loan documents.

III. Disbursements

1.   Disbursements  made via wire  transfer on behalf of a mortgagor or investor
     shall be made only by authorized personnel.

2.   Disbursements  made on behalf of a mortgagor  or  investor  shall be posted
     within two (2)  business  days to the  mortgagor's  or  investor's  records
     maintained by the servicing entity.

3.   Tax and  insurance  payments  shall be made on or  before  the  penalty  or
     insurance policy  expiration dates, as indicated on tax bills and insurance
     premium notices, respectively, provided that such support has been received
     by the  servicing  entity at least thirty (30) calendar days prior to these
     dates.

4.   Any late payment  penalties paid in conjunction with the payment of any tax
     bill or insurance premium notice shall be paid from the servicing  entity's
     funds and not charged to the mortgagor,  unless the late payment was due to
     the mortgagor's error or omission.

5.   Amounts  remitted to investors per the  servicer's  investor  reports shall
     agree with cancelled  checks,  or other form of payment,  or custodial bank
     statements.

6.   Unissued checks shall be safeguarded so as to prevent unauthorized access.

IV.  Investor Accounting and Reporting

1.   The servicing  entity's investor reports shall agree with, or reconcile to,
     investors'  records  on a monthly  basis as to the total  unpaid  principal
     balance and number of loans serviced by the servicing entity.

V.   Mortgagor Loan Accounting

1.   The servicing entity's mortgage loan records shall agree with, or reconcile
     to, the records of mortgagors with respect to the unpaid principal  balance
     on a monthly basis.

2.   Adjustments  on adjustable rate mortgage (ARM) loans shall be computed
     based on the related  mortgage note and any ARM rider.

3.   Escrow accounts shall be analyzed,  in accordance with the mortgagor's loan
     documents, on at least an annual basis.

4.   Interest on escrow  accounts  shall be paid, or credited,  to mortgagors in
     accordance with the applicable state laws.

VI.  Delinquencies

1.   Records  documenting  collection  efforts  shall be  maintained  during the
     period a loan is in default  and shall be undated  at least  monthly.  Such
     records shall  describe the entity's  activities  in monitoring  delinquent
     loans  including,  for example,  phone calls,  letters and mortgage payment
     rescheduling  plans in cases  where the  delinquency  is  deemed  temporary
     (i.e., illness or unemployment).

VII. Insurance Policies

1.   A fidelity bond and errors and  omissions  policy shall be in effect on the
     servicing entity  throughout the reporting period in the amount of coverage
     represented to investors in management's assertion.

                                      -11-



<PAGE>



EXHIBIT 99.2 - Annual Servicer's Statement as to Compliance


<PAGE>


IndyMac Bank

                              Officer's Certificate

The following shall certify,  to the best of my knowledge,  that (1) a review of
the  activities  of  the  Servicer  during  the  preceding  fiscal  year  and of
performance under this Agreement has been made under such officer's  supervision
(2) based on such review,  IndyMac Bank, Inc. acting as Servicer,  has fulfilled
all of its obligations under this Agreement throughout such fiscal year, and (3)
all reports and information  provided to the Owner by the Servicer,  pursuant to
the Servicer's  reporting  requirements  under the  Agreement,  are accurate and
complete in all material  respects.  Copies of such statement may be provided by
the Owner to any Person  identified as a  prospective  purchaser of the Mortgage
Loans.


                                           By:  /s/ Robert M. Abramian
                                                ----------------------
                                                Robert M. Abramian
                                                Vice President
                                                Home Loan Servicing
                                                Investor Reporting
                                                IndyMac Bank


Prepared for:   GS Mortgage Securities Corp

Date:           March 1, 2005

Ref:            The Servicing Agreement dated as of February 1, 2004, executed
                by IndyMac, F.S.B., as Servicer, and Goldman Sachs Mortgage
                Company, as Owner.  GSAA 2004-4


                                      -12-